• 11 Posts
  • 1.22K Comments
Joined 2 years ago
cake
Cake day: June 10th, 2024

help-circle
  • Honestly it’s fine. LSPs are nice but you don’t need them per se. A combination of vim, tmux, entr, a fast incremental compiler, grep, and proper documentation can get you a long way there.

    A lot of critically important code that’s running the servers we’re using to communicate was written this way. And, if capitalist decline continues long enough, we will all eventually be begging for vim while writing code with ed.

    Personally I use helix with an LSP, because it helps speed up development quite a bit. I even have a local LLM for writing repetitive boilerplate bullshit. But I also understand that those are ultimately just tools that speed the process up, they do not fundamentally change what I’m doing.


  • It’s nicer to develop anything on a beefy machine, I was rocking a 7950X until recently. The compile times are a huge boon, and for some modern bloated bullshit (looking at you, Android) you definitely need a beefy machine to build it in a realistic timeframe.

    However, we can totally solve a lot of real-world problems with old cheap crappy hardware, we just never wanted to because it was “cheaper” for some poor soul in China to build a new PC every year than for a developer to spend an extra week thinking about efficiency. That appears to be changing now, especially if your code will be running on consumer hardware.

    My dad used to “write” software for basic aerodynamic modelling on punchcards, on a mainframe that has about us much computing power as some modern microcontrollers. You wouldn’t even consider it a potato by today’s standards. I’m sure if we use our wit and combine it with arcane knowledge of efficient algorithms, we can optimize our stacks to compile code on a friggin 3.5GHz 10-core CPU (which are 10 year old now).


  • You can write code just fine on 20 or even 30 year old hardware. Basically if it runs Linux, chances are it can also run vim and compile code. If you spring for 10-15 year old hardware, you can even get an LSP + coc or helix, for error highlighting and goto definition and code actions. And you definitely don’t need a beefy GPU for it (unless you’re doing something GPU-specific of course).

    Editing 720p videos (which, if you encode with a high enough bitrate, still looks alright) can be done on 10-15 year old hardware.

    Research is where it gets complicated. It does indeed often require a lot of computing power to do modern computational research. But for some simpler stuff - especially outside STEM - you can sometimes get away with a LibreOffice spreadsheet on an old Dell or something.

    From the looks of it we will have to get used to doing more with less when it comes to computers. And TBH I’m all for it. I just hope that either my job won’t require compiling a lot more stuff, or they provide me with a modern machine at their expense.



  • balsoft@lemmy.mltoBicyclingReverse traffic pyramid
    link
    fedilink
    English
    arrow-up
    3
    ·
    15 hours ago

    But we can’t really discount the energy source. An intercity bus service running fully on renewables is not feasible neither now nor for the foreseeable future. What we should do is have more efficient rail service between city, with more slower and cheaper options for when you don’t mind the extra hour on your train.


  • balsoft@lemmy.mltoBicyclingReverse traffic pyramid
    link
    fedilink
    English
    arrow-up
    2
    ·
    19 hours ago

    an intercity bus is usually greener than a high-speed train, even discounting energy source - mainly because speed carries a major efficiency penalty

    Are you sure? Where I live all high-speed trains are running on 100% renewable electricity, while intercity buses run on diesel. Also multiple carriages at the same time, traveling on rails, should be significantly more efficient than a single bus traveling on asphalt. I agree that there will be an increase in energy expenditure depending on speed, but it shouldn’t be as significant as the combination of the other two.

    air travel is an unmitigated disaster on the level of personal carbon footprints - there’s basically no way to make it sustainable

    We would have to make it sustainable eventually, since it’s the only practical way for passengers to travel between americas/australia/afroeurasia. I guess something hydrogen-based is the most likely candidate for reducing the carbon impact.



  • #3 has way more ratings and way higher ones too:

    I guess it could be lower because it’s a series or something, but #10 is a movie, has a higher rating, and has more ratings too:

    My only other idea of what “popularity” could mean is the page view count, but then it should probably be called something other than “top 10 on IMDb” IMHO.






  • balsoft@lemmy.mltoFuck AIBrilliant, innit?
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    edit-2
    3 days ago

    There are jurisdictions where a price tag in the store is almost always assumed to be an offer (a.k.a “public offer”) and the company is legally required to honor it. In some circumstances the employees who screwed up and put the incorrect price tag will bear most the financial responsibility which sucks. That’s why you shouldn’t do it if you get the chance - it’s not a legal loophole to stick it to a corpo, you’re just ruining the life of some poor overworked retail employee who misplaced the price tag.

    And yeah, the good faith part is also really important. If the person has asked a couple of questions to a chatbot, got recommended some products, asked if there’s a discount available and then got an 80% discount out of the blue, got excited and made the deposit, it would probably be enforceable. If the customer knowingly “tricked” an LLM into giving out a bogus discount code, it would be very dubious at best.


  • I’m using Lemmy, and since I highly doubt the admins will implement the age control thing, the new laws will make it pretty much illegal. So, either:

    • They ban it and everyone has to start using a vpn/tor to access it (which would spread the word about it, and many kids would also do it with facebook or twitter or tiktok).
    • Or they don’t bother about small platforms, in which case kids will flock to those smaller platforms, which now have no incentive at all to care about legality of their content. Congrats, it’s worse now.

    Requiring easier to use parental controls on phones and tablets is the actual way forward. Maybe they could publish a regularly updated list of what they consider “social media not suitable for kids” and make it the default blocklist when activating parental controls on any device.

    I’m also not against regulations that punish platforms for knowingly hosting misinformation, spying on users, or other dark patterns. But a ban on social media which doesn’t do age checks will not achieve any of that, it has the opposite effect.




  • Yeah I think the actual experiments were for fun first and foremost, accuracy or integrity were second to that. But in general the idea of testing your existing beliefs and biases via an experiment, and changing your opinion when it turns out to be wrong, was really quite important and profound for the general public.


  • Human remains are not humans. I think we obsess way too much about what happens after a human dies, mostly due to historical reasons (i.e. it makes sense to be afraid of dead bodies or consider them sacred, because interacting with them could make you sick).

    If you make sure that the remains are not identifiable to anyone, why not use them for anything you like?

    If anything I am more annoyed that at some point they stopped bothering about only buying corpses of pigs which died from natural reasons, and started supporting the meat industry more directly by buying from the regular butchers/supermarket. Even then, I’m only very slightly annoyed.