• 0 Posts
  • 27 Comments
Joined 3 years ago
cake
Cake day: December 29th, 2023

help-circle

  • Pup Biru@aussie.zonetolinuxmemes@lemmy.world•Repost.
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    2
    ·
    edit-2
    4 days ago

    also as another commenter said, apple had a donation matching program so could possibly have been some employee donated $20 and apple matched it

    also also, osx is based on openbsd; not freebsd so id expect them to donate maybe to kernel development and the actual distro it’s based on rather than a random other one




  • I’m saying if there’s 1000x more lines of code than necessary, it’s unmaintainable slop. I could understand 2x or even 10x the lines of code just being a difference in architecture, but even 100x is getting crazy.

    and i’m saying who’s to say what’s necessary with the linux kernel? it’s a one of a kind project: the largest software undertaking by humanity, ever

    there probably are 100x more LOC than technically necessary… heck there are… how many LOC in the linux kernel? millions? there’s n-1 more LOC than necessary because it’s C and can be a one-liner (hell even python can be a one liner if you turn it into something resembling brainfuck more than python)

    what are you comparing 2x, 10x, 100x to? bsd? windows? neither are particularly good comparisons because linux is so much more capable (in many respects) than either, and solves different problems of scale that either too

    linux has no point of comparison for a simple LOC metric… the only thing we can judge is the output itself: its efficient to run, velocity of new features is great, bug count is low for a project of its size, and tech debt gets paid down

    again, i think given those factors it wouldn’t matter if linux were 100x the LOC that it actually is: it is the benchmark that other things are measured against

    LOC has always been, and will remain a terrible metric for anything except number of newline characters in a source repo


  • and if a display driver can’t be written in 1 line that doesn’t make the thousands of lines unmaintainable slop

    some things just require more code

    i’d argue if the linux kernel were billions of LOC, then that’s just what’s necessary

    and necessity is probably relative at that point; many of your LOC are likely technically unnecessary abstractions to help with human understanding


  • LOC doesn’t inherently make things unmaintainable slop, as long as you have strong abstractions (which Linux certainly does)

    one could argue that most Linux distros have billions to trillions of LOC and their abstraction is packages, which are kinda a level of abstraction higher than libraries, which are just a level of abstraction higher than a folder of util functions

    things being “not my code” doesn’t mean it’s not part of your system


  • Pup Biru@aussie.zonetolinuxmemes@lemmy.world•Linux source code leaked
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    4 months ago

    if it’s a partnership with microsoft, imo it’s an awful idea… to me it reads as:

    everyone knows linux is secure AF… way more secure than windows in many contexts, so it sets you up in the “wait this is BS” mindset

    the logical next step that you make, imo, is that the argument that closed source is more secure than open source in other contexts should be viewed with similar scepticism: office/libreoffice, onedrive/nextcloud, etc

    (which is true: closed source software is often far more insecure than open source software)




  • in a situation in which harm increase over time, like the rise of far right, anti-science, environmental damage, etc… perhaps that “wait” is a less ethical solution than to solve the problem

    now, perhaps causing harm isn’t the way to go, but… the lesser of 2 evils may still be somewhat problematic






  • Pup Biru@aussie.zonetoScience Memes@mander.xyz•*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    22
    arrow-down
    21
    ·
    6 months ago

    right? i sounds great until you realize oh shit… logistics exist… all those perishable goods don’t just magically appear on people’s plates… 2.3billion people’s worth of food waste for 7.7bn people is honestly bloody miraculous tbh… can we do more to reduce food waste in our rich nations? sure… would that help feed people in areas of famine? unlikely


  • the case for grid-scale batteries is getting stronger every month:

    the more people driving EVs the more used EV batteries will become available… EVs require a pretty good energy density, but grid storage can buy up a bunch of dirt cheap EV batteries with 60% capacity and call it a day, and then onsell them for recycling in 10 years for exactly the same price (because the raw materials are the same: recyclers don’t care if the battery has 100% or 60% or 50% max capacity)

    other battery tech is also getting much more interesting, like sodium batteries. they don’t have the energy density of lithium, but they’re more durable and have less fire risk. they’re pretty ideal for grid-scale storage, and when commodities of scale kick in with them they’re likely to become pretty common in grid storage and prices and usefulness just gets better from there

    also, afaik gravity batteries aren’t really being used… the most common thing these days looks like it’s going to be flywheels, but using them more like capacitors: smoothing out load spikes and maintaining grid frequency (which with PV can go downhill fast)


  • i agree with the anti-nuclear, but the mining conditions are really far less of a problem with uranium… canada and australia are #2 and #4 in the world respectively

    uranium is relatively plentiful, and hugely energy-dense so most places have some that’s viable to extract, and it’s not worth cheaping out on costs to save a couple of $ buying from slave mines given the potential backlash

    i actually wouldn’t be surprised if uranium mining is one of the best jobs in the developing world because if they actually want to sell their product they’d have to market their working conditions


  • nuclear costs a shit load of money up front and has such massive NIMBY pushback… it’s great for the fossil fuel industry to argue for because it’s politically impossible to actually implement: we need more nuclear! stop with all the renewables! leads to only 1 thing… talk about nuclear and no more renewables

    meanwhile, batteries really don’t produce much environmental damage… that’s just straight up misinformation… and the bonus with batteries is nice the materielsd are mined, you can recycle them back to brand new forever… you don’t have to keep mining all the lithium; just enough to keep up with new capacity