There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

navi , in Simple trick
@navi@lemmy.tespia.org avatar

This comes back to bite you when you purchase in-flight wifi which is tied to your MAC address. Make sure to disable that option for the in-flight access point!

derock ,

on an AA flight I was recently on, they gave out free 20 mins of internet for watching a 15s ad, but this was once per device type of deal. In this case, turning on randomized mac addresses meant I get free inflight wifi for the entire flight!

RealJoL ,

Tragic airplane crash: Over 2700 suspected dead due to airplane data log

arcimboldo , in single binary executable and dlls

When a basic dynamic library needs to be updated because, for instance, there is a big security issue, then all your statically linked binaries will have to be updated. Which means every one of those developer teams need to keep track of all the security fixes, release a new version of the binary and push it, and every user will have to download gigabytes and gigabytes of data.

While if you have dynamic libs you only have to download that one, and the fix will be pushed earlier and all the apps will benefit from it.

muleunchangedstarved OP ,

if users compile the program on their computers (like AUR) then no need to download gigabytes, you just need the source code.

Kache ,

That route already exists today as “the web”, where the “latest” JavaScript source is downloaded and JIT-ed by browsers. That ecosystem is also not the greatest example of stable and secure software.

MechanicalJester ,

Mmmmmmm yes yes can I interest you in a big surprise piping hot dish of Log4J?

milady ,
@milady@lemmy.world avatar

How is log4j related to what they said ? /genuine

PoolloverNathan ,

deleted_by_author

  • Loading...
  • roembol ,

    Log4J is for Java. This is about JavaScript.

    MNByChoice ,

    Gentoo builds take a long time. Plus hard to use the computer during that time.

    (I may be presuming as the comment above yours is about OS wide. And this was how Gentoo handled things.)

    zagaberoo ,

    I use my machine all the time when its updating no problem. You can always configure portage to leave a core or two idle anyway.

    MNByChoice ,

    Oh, thank you! I am realizing I have not used Gentoo in ages. It was the only option on the Xbox at the time, and that didn’t have many cores. I should give it another go.

    chocobo13z ,

    As someone using it as a daily driver, I wish you the best of luck. If you stick with it, I expect you’ll learn a lot about what goes on behind the scenes in other distros that have a lot pre-configured, like greeters, compositors (or DEs and WMs), etc.

    zagaberoo ,

    I use all cores for updating and still have no problems. Doesn’t even make videos stutter. I think you’ll find things much less heinous than they were on Xbox.

    mustardman ,

    Let’s get grandma running Gentoo!

    arcimboldo ,

    Great idea. I’m sure Microsoft, Apple, Adobe, and almost every company that makes money with their software will be super happy to share their source code with me!

    Edit: typo

    exi ,

    But it’s a gigantic waste of energy and time when you could just download a 2mb package and be done with it.

    AProfessional , in single binary executable and dlls

    Shared libraries are not a theoretical good, they have been the backbone of computers for decades and many vendors have successfully maintained ABIs for decades.

    Modern languages do the statically compiled solution and it has its own downsides. Makes language bindings hard, no stable ABI means no binary platforms exist (other than awkward C wrappers), rebuilds are slow and OS wide results in a lot of churn, reasoning about security fixes is very hard.

    fsxylo , in Hours of work

    It’s a good thing I’m a hobbyist so that I can avoi- hmm, now that I think about it this feature could be really cool and shouldn’t take too long to implement…

    queque31 ,
    @queque31@lemmy.world avatar

    2am me: why the fuck this doesn’t work anymore!!!

    potoo22 ,

    Spouse at 7:00 AM: “Why do only some of the house lights work and there’s no hot water?”

    Me: “You know that quick fix I was working on last night. Well, umm, one thing led to another aaaand… Umm… Just so you know, your phone is using mobile data because the wifi is out.”

    ArbitraryValue , in single binary executable and dlls

    Another advantage: enforced compartmentalization. If you have a single binary, someone will always give in to the temptation to bypass whatever honor policy is keeping your code from becoming spaghetti.

    podperson , in Oh yay new features

    Why are we still posting screencaptures of stuff from Twitter/not-X/Twitter?

    lugal ,

    Tbf the tweet is from 2021 so this looks like the category “I found old funny screenshots on my phone”

    dbilitated OP ,
    @dbilitated@aussie.zone avatar

    well if you can say something funnier, I’ll post a screenshot of that

    1984 , in single binary executable and dlls
    @1984@lemmy.today avatar

    Honestly, I love statically compiled binaries for their simplicity. I was writing a small utility in Rust today and I wanted to share it with a colleague on windows.

    One command to cross compile my Linux version to windows version and it worked on first attempt on his computer. To me it’s worth giving up a lot of the advantages of shared libraries for that kind of simplicity.

    There is no install. There is only run.

    mustardman ,

    We should replace software repositories with the friendly person who stops by with a USB. Running “apt upgrade” pulls up an Uber-like interface that says when your software will arrive. Latency is terrible but bandwidth is phenomenal.

    dot20 ,

    IIRC apt actually does support external media (because back in the day, not everyone had fast internet).

    JustBrian7872 ,

    Yes it does, still used when installing from media like DVD

    mindbleach , in Simple trick

    Why’s it need to be temporary, anyway? It’s an airport. Nobody’s sticking around.

    IphtashuFitz ,

    You haven’t “flown” recently, have you?

    mindbleach ,

    Why, did they add a week-long quarantine in baggage check? It’s an airport. The whole point is to show up and leave. Even if the wait lasts longer than the flight.

    If your ass in there longer than 24 hours, the wifi should be considered an apology.

    yumpoopsoup ,

    It lasted 1 hour for me and if you’ve been to a busy airport you can be there for longer than that

    mindbleach ,

    Then why is it one hour?

    shroomato ,

    Unless you’re Tom Hanks

    malloc ,

    Long time ago, it was probably due to overcrowding. Very easy to get shit quality of service once it hits a certain time of day.

    But with advances in wireless technology (backhaul, 5Ghz, MIMO, …) I think that’s no longer the case.

    SIGSEGV , in single binary executable and dlls

    Did you,… hrm,… did you even take classes about this stuff. Ffs, this is why this career pays well: you have to understand complicated things.

    Maybe your issue is with Windows. I suggest moving away from that platform.

    Dynamic libraries are essential to computing, and allow us to partition out pieces of the code. One giant library would have to be recompiled with every change.

    philm ,

    I mean yeah, dynamic libraries are great if used correctly (via something like Nix), but the unfortunate truth is, that they are not used correctly most of the time (the majority of the Unix and Windows landscape is just a mess with dynamic libraries).

    With modern systems programming (Rust) the disadvantages of static compilation slowly fade away though via e.g. incremental compilation.

    That said dynamic libraries are still a lot faster to link and can e.g. be hot-swapped.

    JoYo , in Not Mine; Enjoy
    @JoYo@lemmy.ml avatar

    this is what I’ll post whenever I get that fucking stupid interview question.

    ChickenLadyLovesLife , in Hours of work

    My favorite thing was having to rewrite an enormous amount of code to support a new feature because the original architect originally wrote an enormous amount of code in anticipation of supporting a new feature like it.

    tourist , in Hours of work
    @tourist@community.destinovate.com avatar

    And you’ll have to do documentation and everything and then they won’t even use it.

    jetsetdorito , in Simple trick

    fun fact, an early iPhone jailbreak would always change the phones wifi mac to the same address, so there was a meme for a while that if you had a jailbroken iPhone you couldn’t use airport wifi

    cordlesslamp ,

    Why would anyone do that? If there’s 2 jailbreak iphones on the same network then non of them would have internet access due to IP conflict?

    shotgun_crab , in Hours of work

    Composition helps a little at least

    gens , in single binary executable and dlls

    Because programmers find a good way to do something then apply it to everything. It becomes the one true way, a dogma, a rule. Like how OOP was the best thing ever for everything, and just now 30 years later is proven to be actually bad. At least appimage is more like DOS-s “just unzip and run it” then “download another 500MB of useless stuff because the program depends on 1 20kB file in it”.

    That said, well made libraries are good. As in those that have a stable API so versions don’t matter that much.

    leviosa ,
    @leviosa@programming.dev avatar

    Like how OOP was the best thing ever for everything, and just now 30 years later is proven to be actually bad.

    Alan Kay coined the term 57 years ago and we have to look at the landscape back then to see just how much OOP has actually influenced pretty much all languages, including ones that distance themselves from the term now. Avoiding shared global state. Check. Encapsulating data and providing interfaces instead of always direct access. Check. Sending signals to objects/services for returned info. Check check check.

    gens ,

    Data oriented design is the new thing, much different from that.

    OOP, other then smalltalk and maybe few other languages, is somewhat different in practice from the original idea. I can dig up a great talk from Alan Kay on OOP if you want. Actually i want to watch it again so i’l edit it in here when i find it.

    Edit: www.youtube.com/watch?v=fhOHn9TClXYGreat talk, as far as i remember.

    That said, we often have to process seemingly unrelated data together which is slow with the model of passing data arround (even when by reference). When OOP was invented memory access was as fast as actual operations on it, while today memory is much slower then processing. With caches and simd and such, it is much faster if everything is an array. Peronally i’m not a fan of OOP because of the “everything has to be an object” mentality, but do whatever you like.

    jarfil ,

    DOP, OOP… just give me “C with classes” and I’ll cast whatever void* to whatever’s needed 😜

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines