As a JS dev, I approve of this meme.
- 0 Posts
- 23 Comments
Journalists using LLMs to turn bullet points into a full article
Readers using LLMs to summarize a full article into a series of bullet points
ebc@lemmy.cato
Programmer Humor@programming.dev•Python needs an actual default function
2·9 months agoother people’s Java
I’m gonna have to disagree here, it’s always a guessing game of how many layers of abstraction they’ve used to seemingly avoid writing any implementation code… Can’t put the code related to “bicycles” in the
Bicycleclass, no, that obviously goes inWheeledDeviceServiceFactoryBeanImplthat’s in the ‘utils’ package.
ebc@lemmy.cato
Selfhosted@lemmy.world•Anyone else here self-hosting on absolutely shit hardware?English
2·1 year agoRunning a bunch of services here on a i3 PC I built for my wife back in 2010. I’ve since upgraded the RAM to 16GB, added as many hard drives as there are SATA ports on the mobo, re-bedded the heatsink, etc.
It’s pretty much always ran on Debian, but all services are on Docker these days so the base distro doesn’t matter as much as it used to.
I’d like to get a good backup solution going for it so I can actually use it for important data, but realistically I’m probably just going to replace it with a NAS at some point.
In the near future: Journalists use AI to turn 1 or 2 sentences into a full article. Meanwhile, readers use AI to summarize long articles into 1 or 2 sentences.
ebc@lemmy.cato
Selfhosted@lemmy.world•Would you buy "self-hosted in a box" hardware?English
4·1 year agoDocker’s secret that most “getting started” tutorials seem to miss is docker-compose.yml. Who wants to type these long-ass commands to start containers? I always just create a compose file, and then
docker compose up -d.Dockerfile is for developers, you shouldn’t need more than a docker-compose.yml for self-hosting stuff.
I use famous programmers. First Linux server was Torvalds, first mac was Woz, currently in service I have Kernighan (one of the inventors of C), KJohnson (Katherine Johnson was a programmer for NASA) and Shamir (The S in RSA).
ebc@lemmy.cato
Programmer Humor@programming.dev•Some of my iterations are delightfully recursive
151·2 years agoA great point in favour of maps is that each iteration is independent, so could theoretically be executed in parallel. This heavily depends on the language implementation, though.
shove some text into stdout
That’s not what this operator does normally, and if you try to “shove” something into anything else (an int into a variable? a function into an object?) you’ll get surprises… Basically it’s “special” and nothing else in the language behaves like it. Learning hello world in C++ teaches you absolutely nothing useful about the language, because it doesn’t generalize.
C, in contrast, has many instances of complex functions like printf (another commenter mentioned variable arguments), and learning to call a function is something very useful that generalizes well to the rest of the language. You also learn early enough that each different function has its own “user manual” of how to use it, but it’s still just a function call.
this
std::cout << "hello world"bullshit is in no way intuitive. You’re using the bit-shift operator to output stuff to the console? WTF? Why 2 colons? What is cout? And then these guys go on to complain about JS being weird…No, C is where it’s at:
printf("hello world");is just a function call, like all the other things you do in C.
ebc@lemmy.cato
Programmer Humor@programming.dev•As someone not in tech, I have no idea how to refer to my tech friends' jobs
1·2 years agoMeanwhile I actually studied computer engineering, but can’t legally call myself an engineer (yay Québec).
In most jurisdictions the protected title is “professional engineer”, but here it’s just “engineer”.
I disagree. Before I had to copy and edit a huge-ass script (100+ lines) in init.d where 80% of it was concerned with PID files. I just want to start a process on boot, why is it so hard?
Now I can look at the documentation and write a simple unit file myself. It’s like 4 lines.
ebc@lemmy.cato
Programmer Humor@programming.dev•If I had a penny for every time I had to deal with a project putting something I need behind this messy walled garden...
1·2 years agoI might’ve very well glanced over it, but the point is that I missed it when it’s probably the most important one. Why is it added when you do ctrl-f but not when clicking?
EDIT: Actually, it doesn’t show it until you actually type in the box:

ebc@lemmy.cato
Programmer Humor@programming.dev•If I had a penny for every time I had to deal with a project putting something I need behind this messy walled garden...
1·2 years agoIt shows you all the filters except the one for the channel…
ebc@lemmy.cato
Programmer Humor@programming.dev•If I had a penny for every time I had to deal with a project putting something I need behind this messy walled garden...
201·2 years agoHaving tried it, search is horrible. You have to look up the help to even know how to filter the search to a specific channel, by default it searches the whole server. I never managed to find anything, I had to ask again instead…
I use pancake, works pretty well. It’s paid, but only a one-time payment and you get the code.
EDIT: here’s the link: https://www.pancakeapp.com/
ebc@lemmy.cato
linuxmemes@lemmy.world•Screw init wars, real OGs discriminate based on DE
6·2 years agoAt the level I care about, which is “I want this daemon to start when I boot up the computer”, systemd is much better. I can write a ~5 line unit file that will do exactly that, and I’ll be done.
With init, I needed to copy-paste a 50-line shell script that I don’t really understand except that a lot of it seemed to be concerned with pid files. Honestly, I fail to see how that’s better…
Last time they charged for an OS update was with Mountain Lion, which was also the last “big cat” OS. That was in 2012, and it was only 20$. The last OS release that was over 100$ (or even 50$) was Leopard, in 2007, at 130$. Back then, the only way to get it was on a CD, which is obviously much more expensive to manufacture and distribute than a download…
I don’t bother correcting people if they think I’m a guy online.
There are no girls on the internet anyway ;)
I’m one of these people. Simple answer? It’s the documentation. I’ve given k8s an honest try, but it honestly feels like the “draw the rest of the fucking owl” meme, starts way basic then gets wayy too hard without explaining anything in between.
Meanwhile docker is 1 file, 1 command to get started.
Edit: I just realized you were talking about k3s, not k8s. Is that something different somehow? Google says it’s a “k8s” distribution? WTF would that be?