npm, or node js by extension, is famous (infamous?) for having a library for however simple something is to implement. For example a whole library to trim spaces of a string, but only for the left side. Here the joke takes it to the extreme and even import numbers, if conditions, etc., features that are already available in the core language, from external npm libraries, and use that to write a code snippet.
- 0 Posts
- 19 Comments
I’ll take the egg any minute, it’s awesome, and I recommend everyone to try it
No… at such a young age too… what’s next, null and undefined???
42yeah@eviltoast.orgto
Programmer Humor@programming.dev•Anon died on the "clang format bad" hill
6·1 month agoThe default clang-format configuration is absolutely horrendous, but for our company we had an in house clang-format configuration that actually made the code look quite good. The problem is you still have to control code spacing/some alignments yourself.
42yeah@eviltoast.orgto
Programmer Humor@programming.dev•Anon died on the "clang format bad" hill
143·1 month agoYeah! Emacs has always been the superior editor!
Sometime, less is more, but not for an encyclopedia, which is, by definition, literally supposed to contain all knowledge. The previous encyclopedias were limited by their volume, as they must be physical, but not Wikipedia. I think Wikipedia wins 100% on this front.
42yeah@eviltoast.orgto
Programmer Humor@programming.dev•David Revoy - "Do you have the password ?"
3·1 month agoThe global cybersecurity is compromised everytime someone swings their golf club. “Fore!!”
42yeah@eviltoast.orgto
Technology@lemmy.world•The US is ordering every civilian agency to rip out DeepSeek, even tools built on itEnglish
41·1 month agoI would assume the gov agencies self host their instances due to sensitive data. But even if they don’t, why not switch to self host?
42yeah@eviltoast.orgto
Technology@lemmy.world•The US is ordering every civilian agency to rip out DeepSeek, even tools built on itEnglish
18·1 month agoIt’s self hosted tho?? I don’t get it. Isn’t remote-togglable stuff way more dangerous, like I don’t know, the Star Link?
Time for some marshmallows!
42yeah@eviltoast.orgto
Technology@lemmy.world•Character.ai has initiated voluntary Chapter 11 bankruptcyEnglish
2·2 months agoReverse aquihire means no trademarks and no company assets though, right? Just the talent s being hired away. That means the founding team have already noticed that company is going down, otherwise why leave the company you founded?
42yeah@eviltoast.orgto
Games@lemmy.world•Haunted Chocolatier 'More of an Action RPG' Compared to Stardew Valley, ConcernedApe SaysEnglish
4·2 months agoI am hungry, RAVENOUS, for high quality life sim, please, feed me CA
42yeah@eviltoast.orgto
Greentext@sh.itjust.works•Anon isn't worried about population decline
2·2 months agoThe biggest problem is the aging population and the need to support them via social security, etc. As the population ages, the distribution becomes an inverted pyramid and we’ll need to pay for more and more people’s retirement. It’ll slowly become worse and worse as one person will eventually be responsible for the survival of 4-5 old people (and their family notwithstanding). Otherwise I think a declining population is fine.
42yeah@eviltoast.orgto
Games@lemmy.world•Upcoming Starfield mod introduces seamless planet landing - by Frederik WessbergEnglish
91·2 months agoIt’s such an intrgral feature for space flight games (IMO) and it saddens me to see that after all these years they still haven’t implemented it, and the community has to step in.
42yeah@eviltoast.orgto
Technology@lemmy.world•‘Pure insanity’: Mathematicians will need years to make sense of OpenAI’s latest dropEnglish
47·2 months agoI think OpenAI has retracted some of them already. For OpenAI it’s a really low-risk thing: if it’s wrong, then just retract the paper. If it’s right though, the fame all goes to OpenAI. Meanwhile, people who spent their whole life researching on this topic, needs to confirm this manually for OpenAI.
42yeah@eviltoast.orgto
Games@lemmy.world•Day 807 of posting a Daily Screenshot from the games I've been playingEnglish
1·2 months agoNo Pokémon for today? Aww.
42yeah@eviltoast.orgto
Technology@lemmy.world•Boox Picco unveiled: Petite 3.97" e-reader with Pomodoro, microSD, and MagSafeEnglish
6·2 months agoIt’s a very tiny device. Are there any prev owners here? Can you actually read from this? This is gonna take 4-5 flicks to advance the span of a normal book page, right?

Beautiful game! I love it. The game has stunning ocean and lush islands. Overall it gives a very adventurous vibe. The DLC is not as good tho (IMO)