- 8 Posts
- 24 Comments
potatoguy@lemmy.eco.brto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
4·3 days agoWhat is your purpose?
Do you just want a job or do you want to program for fun? If you want backend, that’ll be very different than frontend, do you want corporate or startup?
I didn’t care about that, but I think java, for backend would be a first choice, as it has the biggest amount of “it just works with that”.
I think scala is cool too, very modern and with A LOT of less boilerplate, all the JVM support, so it can work with almost anything in the backend, but for working for jobs, it’s not very used.
potatoguy@lemmy.eco.brto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
9·3 days agoThe most used language has the most of the worst code, quarkus is a new framework (and very good), ejbs are enterprise java beans (the worst thing ever made).
I think a lot of the code was written by a lot of people in a rush, very backend of the backend, but EXTREMELY needed. Java is hated (I hate it too), but the new things in it? It’s amazing too (I only love the new stuff).
potatoguy@lemmy.eco.brto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
6·3 days agoGson in the corner murdered:
potatoguy@lemmy.eco.brto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
6·3 days agoit wasn’t funny in any way, but J
SHITBOSS “microservice” (it was a jboss service with one microservice inside, in a kubernetes pod, with only one core, tell me about redundancy). Service classes with over 2000 lines of code, it shouldn’t even be called spaghetti code, more like lasagna code, the pasta came in layers, separation of concerns was a mere suggestion, code was not thread safe (and it needed to be), but there was only 40 Ejbs for each “stateless” service inside de EAR, so number go up, code goes better.I refactored it, it’s now in the glorious quarkus 3.27, on virtual threads and java 21, not hyperbole, but 5x more throughput and you don’t need 7 phds in italian cousine.
Edit: I also saw, in Angular, the infamous:
if (variable === true || variable === 'true' || variable === "true") {
potatoguy@lemmy.eco.brto
Technology@lemmy.world•Snapdragon X1 Elite Linux laptop cancelled due to performance concerns — Linux PC maker says Qualcomm CPU is ‘less suitable for Linux than expected’English
31·5 days agoTheir drivers are SHIT, for wifi there is CNSS, ICNSS, then QMI, all do the same thing, but differently, but NO, it’s the same thing, but what does this do??? Is this really a different event or is this just rewritten in that event? Idk still, no one knows.
Edit: I tried to port the not working kernel drivers for the wifi on the Redmi Note 9s to postmarketos (wifi is not working), didn’t work and it’s now on LineageOS
Yeah, it’s a joke, but I disagree on the void, the other languages on the meme doesn’t need a return type (when they are returning nothing), java needs it.
And the best:
public static void () {}spoiler
/s
potatoguy@lemmy.eco.brto
Asklemmy@lemmy.ml•Do you have any life hacks to develop interest or learn ?
9·7 days agoI just put a video of a depressed phd student trying to make some money on, like dig, that explains some of the bronze age archeology and history.
Are you tring to study for some exam or just learning about something?
potatoguy@lemmy.eco.brto
World News@lemmy.world•Canada Considers Snubbing US F-35 For Sweden’s Gripen Fighter JetsEnglish
9·7 days agoThe Gripen is quite interesting, who would have guessed that licensing fighter jets for manufacturing on other countries (Embraer is building them too, Colombia bought some, other countries seem to want it too) would be a good strategy?
I’ll wait 50 years for a Gripen to be sold on Aliexpress for 150 thousand dollars, 250 thousand with replacement parts with a cool paint job.
potatoguy@lemmy.eco.brto
Linux@lemmy.ml•Handled a ThinkPad today. What distro should I go with? Ubuntu? Arch?
4·12 days agoI use CachyOS on my X220 with btrfs and lzo as disk compression (lzo is very good on old cpus and makes the SSD go really fast). But I think any distro could be good on that hardware.
As a side note, I would really like an x86_64-v2 distro, people jumped from no additional instructions to v3 in no time, but these thinkpads and older pcs could really shine with that kind of optimization.
Don’t stress the coffee machine, please, ask it gently “can you please stop ddosing someone on the other side of the planet and make a nice coffee for me?”.
This always work for me.
Yeah, it seems its used for passing devices to virtualized environments, but it seems, on these old bulldozer motherboards, the usb devices are virtualized (I have read a long time ago, could be wrong).
potatoguy@lemmy.eco.brto
Linux@programming.dev•Tip for noisy microphones while using pipewire: importing module-echo-cancel from pulseaudio
2·13 days ago(Now on my main account)
Yeah, I used that before, but it used a lot of cpu (Idk why). As I searched for an alternative for my old setup on pulseaudio, I found I could just load pulseaudio modules, so I made this post, because I couldn’t find anyone talking about just loading that module, only the werman module with rnnoise.
The module is still cool though! Thanks for sharing.
potatoguy@lemmy.eco.brto
Linux@programming.dev•Linux PC Occasionally *completely* freezes
1·13 days agoI had this in KDE (I have Nvidia too…), it was when I was sharing or downloading linux ISOs. If you see this problem when downloading or moving files (like KDE itself freezing, changing volume, but it staying the same, changing brightness, but it actually staying the same), I recommend going after another DE while using nvidia, because I could never figure out why it only freezes on KDE (I changed a lot of things over the years, only KDE gave me this problem).
potatoguy@lemmy.eco.brto
Technology@lemmy.world•What does Oracle actually do? Take other businesses' data hostage for profit | Good Work [11:47]English
15·23 days agoThe video glances at this, but this happened where I work, so I can’t give the direct sources for the case against the place I work, but if even the Oracle employees talk about the draconic bullshit Oracle does, imagine what happens to the companies/governments they sue.
potatoguy@lemmy.eco.brto
Technology@lemmy.world•What does Oracle actually do? Take other businesses' data hostage for profit | Good Work [11:47]English
36·23 days agoOracle sues for everything, when they sue you, they can ask for their payment to be related to the total employees of the company, to take that as users of the Oracle Database (trademark)(copyright)(shat my pants) or Java (do I need to repeat?). Yeah, they sue for EVERYTHING.
potatoguy@lemmy.eco.brto
Technology@lemmy.world•What does Oracle actually do? Take other businesses' data hostage for profit | Good Work [11:47]English
21·23 days ago100%.
Reminds me of this.
potatoguy@lemmy.eco.brto
Technology@lemmy.world•What does Oracle actually do? Take other businesses' data hostage for profit | Good Work [11:47]English
69·23 days agoOracle makes the worst database system ever imagined by anyone ever. Can’t even insert multiple rows in the same statement, you have to put multiple insert statements and Oracle sues you for dreaming about any other database.
Then he takes all the antidotes.











deleted by creator