deleted by creator
- 5 Posts
- 222 Comments
Only if it can also be a microservice.
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Is there a good email server that can be run through Docker?English
2·6 days agoI’m still looking for a good solution that includes support for notes. I’m migrating off Exchange Online and using mailcow temporarily but the built in notes feature is sorely missed.
“Hmmmm. This codebase seems surprisingly lightweight.”
Opens random ‘Helper’ class.
“Oh… Oh boy.”
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Stop using MySQL in 2026, it is not true open sourceEnglish
11·26 days ago“Lets use Oracle DB for that.”
Statements made by the utterly deranged.
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Stop using MySQL in 2026, it is not true open sourceEnglish
511·26 days agoNo. But there are a number of advantages of using PostgreSQL over the others.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•y'all are gonna hate me for this, but it's the truth
691·1 month ago10 minutes later…
divideMp4IntoNSegmentsOfLengthTButPleaseDoItCorrectlyThisTimePrettyPrettyPleaseJesusFuckWhyAreYouSoFuckingStupid(){ }
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Router VPN? Express put to restEnglish
3·2 months agoThose Protectli Vaults are neat little devices.
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Router VPN? Express put to restEnglish
3·2 months agoIt definitely makes it more difficult to switch endpoints manually. I have multiple VPN connections with different exit nodes configured for failover in case one (or more) of them is unreachable. I don’t run into geoblocking issues very often but I also don’t route all my WAN traffic over VPN. Just some of it.
What you can automate depends on your routers capabilities. Mine is a Mikrotik which does have fairly extensive support for custom scripts. However, detecting Geoblocking is probably going to involve parsing HTTP responses which is beyond the capabilities of almost all consumer grade routers. You would have to effectively do a MITM attack (aka deep packet inspection) in order to accomplish that on something other than the client device.
TLDR: I manually change routes to a different VPN if needed but I very rarely run into Geoblocking issues.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•My code is self-documenting
691·2 months ago/* By all accounts, the logic in this method shouldn't work. And yet it does. We do not know why. It makes no sense whatsoever. It took three weeks and numerous offerings to the programming gods, including using one of the junior devs as a human sacrifice, to unlock this knowledge. DO NOT LET HIS VIOLENT AND UNTIMELY DEATH BE IN VAIN! Touch this at your own peril. --jubilationtcornpone 12/17/25 */ public async Task<IResult> CalculateResultAsync() { // Some ass backwards yet miraculously functional logic. }
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Router VPN? Express put to restEnglish
11·2 months agoI exclusively use my router as the VPN client for a few reasons. There are multiple services on my network that use the VPN. I’ve got static routes configured which effectively act as a kill switch and I can use QOS to prioritize traffic. It’s pretty much set it and forget it. You can use any VPN service as long at they offer a protocol your router supports. I use Proton via WireGuard and have for years.
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Am i cooked? SAS or SATAEnglish
11·2 months agoWhy not just use what you have until you can afford to and/or need to upgrade? SAS drives are more expensive because they typically offer higher performance and reliability. Hardware raid may be “old” but it’s still very common. The main risk with it is that if your raid card fails, you’ll have to replace it with the same model if you don’t want to rebuild your server from scratch.
I’ve been running an old Dell PowerEdge for several years with no issues.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
7·2 months agoOne of my old bosses used to say, “the choice is often not between right and wrong, but good, better, and best.”
I agree with that sentiment for the most part. Different styles is fine. But sometimes you run into someone who is trying to use a socket wrench to drive nails and all you can do is just kind of watch in amazement and wonder how they arrived at the conclusion that this was the way to go.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•What are some of the worst code you have seen in a production environment?
17·2 months agoFirst One:
Big ASP.Net Core Web API that passed through several different contract developer teams before being finally brought in house.
The first team created this janky repository pattern on top of Entity Framework Core. Why? I have no idea. My guess is that they just didn’t know how to use it even though it’s a reasonably well documented ORM.
The next team abandoned EFCore entirely, switched to Dapper, left the old stuff in place, and managed to cram 80% of the new business logic into stored procedures. There were things being done in sprocs that had absolutely no business being done there, much less being offloaded to the database.
By the time it got to me, the data layer was a nightmarish disaster of unecesary repo classes, duplicates entities, and untestable SQL procedures, some of which were hundreds of lines long.
“Why are all our queries running so slow?”
We’ll see guys, it’s like this. When your shoving a bunch of telemetry into a stored procedure to run calculations on it, and none of that data is even stored in this database, it’s going to consume resources on the database server, thereby slowing down all the other queries running on it.
Second One:
Web app that generates PDF reports. Problem was it generated them on-the-fly, every time the PDF was requested instead of generating it once and storing it in blob storage and it was sllloowwwww. 30 seconds to generate a 5 page document. There were a list of poor decisions that led to that, but I digress.
Product owner wants the PDF’s to be publicly available to users can share links to them. One of the other teams implements the feature and it’s slated for release. One day, my curiosity gets the best of me and I wonder, “what happens if I send a bunch of document requests at once?” I made it to 20 before the application ground to a halt.
I send a quick write up to the scrum Master who schedules a meeting to go over my findings. All the managers keep trying to blow it off like it’s not a big deal cause “who would do something like that?” Meanwhile, I’m trying to explain to them that it’s not even malicious actors that we have to be concerned about. Literally 20 users can’t request reports at the same time without crashing the app. That’s a big problem.
They never did fix it properly. Ended up killing the product off which was fine because it was a pile of garbage.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•Why /dev/null Is an ACID Compliant Database
20·3 months agoIts also incredibly fast.
“We’re going to use NestJS for the backend.”
Wait… Oh no. Oh please no. God why!?!
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•This is literally me
30·3 months agoAll the function parameter and returns types are going to be “any”.
jubilationtcornpone@sh.itjust.worksto
Programmer Humor@programming.dev•I wish debugging looked like this
4·3 months agoAnd we’re not going to tell you.
jubilationtcornpone@sh.itjust.worksto
Selfhosted@lemmy.world•Is self-hosting becoming too gatekept by power users?English
61·3 months agoSelf hosting is a great opportunity to learn about some popular technologies and even acquire a few sysadmin skills. Required knowledge of a self-hosted solutions tech stack is not gatekeeping any more than required knowledge of tools and building materials is gatekeeping when it comes to renovating your bathroom. In either scenario, if you don’t know what you’re doing, it’s going to be a much more difficult job.
reverse proxies
That said, you should not be exposing any of your services to the public if you don’t know what you’re doing. That’s a quick way to a bad time.
I once worked with an SVP at a huge corporation that liked to engage in “bike shedding”. This guy is like seven rungs above me on the ladder and is trying to tell me what fields each SQL table should have.
Then we got a new department director who was very good at keeping upper management distracted and off our backs. Lots of people in middle management don’t justify their own salaries but I would argue that he sure did.