As for languages that are acceptable for business logic, C++ is lolno, Java is kinda surprisingly okay because so much business logic is already written in it and debugging is trivial, Python is not worse than Java for the same reason when you are using proper linter to catch typos, C# / Go / Ruby are probably the best because they are most modern with the lowest footgun ratio.
pelya
- 0 Posts
- 65 Comments
JSON-in-a-string is a commonplace method of having a generic or
anytype when you are too lazy to write a proper structure for it, or want to save an object into a database without creating an additional table. In all fairness it has nothing to do with the language itself, and more with lazy coders. Postgresql even have additional SQL operators to access individual JSON fields inside a record, so yeah, you can dump a whole new unstructured database into a row of your existing database, it’s totally an acceped practice.
I’ve successfully used pyenv in the past, although
uvclaims that it includes allpyenvfunctions and more.
It’s Javascript with types. You are still using one hundred NPM packages to do the simplest thing. Any string can be JSON. And Node is single-threaded, so if you plan to create some kind of parallel computation, you’d need to run 16 Docker containers of your Node server, one per CPU core, with NGINX or some other load balancer at the business end, and hope that your database engine won’t reorder transactions. And yeah, Docker is mandatory, because Node version in your latest Ubuntu release is already outdated.
TypeScript and safety-critical paths should not be in one sentence.
pelya@lemmy.worldto
Linux@programming.dev•Winux Tries to Mimic Windows While Staying Fully Linux
6·23 days agoWake me up when they recreate the ultimate power of Regedit.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Free software has some glib naming conventions
4·1 month agoThe G is silent
pelya@lemmy.worldto
Linux@programming.dev•780k Windows Users Downloaded Linux Distro Zorin OS in the Last 5 Weeks
33·2 months agoIt’s honestly like that with free mobile apps. You either find a paid version or you install free abandonware riddled with ads.
The entirety of
crondocumentation is contained in the twenty lines of comments in the new config file created bycron -eThe only thing you need to know is
cron -ecommand. There’s no learning curve, it’s more like - you are acronexpert in five minutes after learning that such a tool exists.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Clock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"
9·2 months agoWhen an API request fails, the seconds clock handle becomes red, and the time health management microservice sends an alert SMS to your phone once per second (scaled with the number of clients)
Letsencrypt certs are the only certs you will ever need, everything else is corporate posturing.
pelya@lemmy.worldto
Programmer Humor@programming.dev•Clock but the PM quit and was replaced halfway through the project. Handover instructions: "Make the clock hands show the current time"
15·2 months agoSeconds hand does not show seconds.
pelya@lemmy.worldto
Linux@programming.dev•What you do with your windows button on your keyboard?
3·2 months agoMeta-Tab switches between activities on KDE.
Don’t call it Windows key. It’s Meta, even if Micro$oft paid to put an advert on it.
pelya@lemmy.worldto
Linux@programming.dev•Debian's APT Will Soon Begin Requiring Rust: Debian Ports Need To Adapt Or Be Sunset
1·2 months agoWasn’t there a Rust-to-C compiler that would circumvent this limitation?
pelya@lemmy.worldto
Programming@programming.dev•Why write code if the LLM can just do the thing? (web app experiment)
43·3 months agoConsidering that most techbro startups are going to be dead within a year, I’d say AI wins.
Plus most of the competent programmers already have high resistance for technobabble bullshit, and will simply refuse to work on something like an online contacts app (are you copying a Facebook or what?)
pelya@lemmy.worldto
Programming@programming.dev•Why write code if the LLM can just do the thing? (web app experiment)
20·3 months agoThe future is here! And it costs $10-$50 per 1000 HTTP requests.
pelya@lemmy.worldto
Programming@programming.dev•What could be the best way to introduce the world of computers to a kid, let's say of 6 years old, so that he learns to handle it like a toy and stops dreading it like some esoteric, arcane and
11·3 months agoNah, it must be a PC, with broken audio socket on the motherboard, PCI soundcard with no drivers as a replacement, an IDE CD drive, only SATA sockets on the motherboard, and a stack of CDs with hundreds of DOS games on each. Plus $10 to buy an IDE-to-SATA adapter.


Well, my Raspberry Pi 5 works perfectly.