[-] alr@programming.dev 20 points 6 months ago

If you're random Joe Schmoe who happens to need a database, I don't expect you to contribute. But when you're of the largest tech firms in the world...

[-] alr@programming.dev 8 points 11 months ago

Is kill -11 even allowed?

[-] alr@programming.dev 29 points 11 months ago

On the other hand, the OOM killer is worst of all: "kill process or sacrifice child."

[-] alr@programming.dev 7 points 11 months ago

It actually makes some sort of weird sense if you can get past the inconsistent labeling. Since it's a daycare, each option is probably an enrollment period, and they are arranged in reverse chronological order. Still weird, but perhaps not as outrageous as it initially appears.

[-] alr@programming.dev 5 points 1 year ago

Just what we've been waiting for!

[-] alr@programming.dev 29 points 1 year ago

NEMA has called them "plugs" and "receptacles" for decades.

[-] alr@programming.dev 57 points 1 year ago

You forgot "don't say 'thank you for pointing out that we were sending social security numbers to everyone who visits our website that anybody could stumble across,' but rather 'you will be prosecuted to the fullest extent of the law, hacker!'" Courtesy of the Missouri Department of Education.

[-] alr@programming.dev 10 points 1 year ago

Rather than messing with the EventListener, wouldn't it be easier to just throttle the function that it calls? You can find a bunch of articles online that will explain how to implement a throttle (and also a debouncer, which is similar, but not quite what you're looking for; a throttle allows a function to be called immediately unless it's already been called too recently, while a debouncer waits every time before calling the function and restarts the wait timer every time someone tried to call the function).

[-] alr@programming.dev 6 points 1 year ago* (last edited 1 year ago)

The Danish word for 99 is nioghalvfems, which literally means "nine and half five." Which you could be forgiven for assuming meant 11½. The trick is that a) "half five" actually means 4½, as in half less than five, and b) it's implied that you're supposed to multiply the second part by 20. So the proper math is 9 + (-½ + 5) * 20 = 99.

[-] alr@programming.dev 9 points 1 year ago

So Java is kinda slow. Its "everything is a class" mentality has lost favor as first-class functions have become popular through languages like JavaScript (no relation to Java) and Python. Even C++ has them now.

Independent of the language itself, Oracle (the company that owns Java) has become unpopular in the industry recently as they changed the way the Java Development Kit was licensed, making it significantly more expensive, and for being on the wrong side of the Google v. Oracle suit. (Literally everyone, from the OSF and the EFF to the "big five" tech companies took Google's side.)

[-] alr@programming.dev 5 points 1 year ago

That was just crazy. And instead of owning up to it, they doubled down on the whole thing by having GPT invent fake rulings which they could claim to have cited and wrapped up the whole shebang by revealing that the attorney who filed the stupid thing wasn't the person who "wrote" it and hadn't even read it and therefore shouldn't be held accountable for its contents.

[-] alr@programming.dev 5 points 1 year ago

They've already been on strike. They went on strike on the 5th. They're asking people to refrain from voting, close voting, and accessing review queues.

view more: next ›

alr

joined 1 year ago