I joined Lemmy back in 2020 and have been using it as @qaz@lemmy.ml until somewhere in 2023 when I switched to lemmy.world. I’m interested in systemd/Linux, FOSS, and Selfhosting.
- 59 Posts
- 445 Comments
qaz@lemmy.worldto
Programmer Humor@programming.dev•Yet another reason to hate on the worse DB in existenceEnglish
13·30 days agoUntil it randomly gets removed without warning
qaz@lemmy.worldto
Programmer Humor@programming.dev•All money probably went into NVIDIA GPUsEnglish
6·2 months agohas enabled us to support massive global traffic with a single primary Azure PostgreSQL flexible server instance(opens in a new window) and nearly 50 read replicas spread over multiple regions globally. This is the
I do wonder why they are using Azure PostgreSQL flexible instead of the Azure CosmosDB Postgres offering based on Citus
Maybe FerretDB will work.
FerretDB allows you to use MongoDB drivers seamlessly with PostgreSQL as the database backend. Use all tools, drivers, UIs, and the same query language and stay open-source.
For GDPR compliance, absolutely
It shouldn’t be
That’s fucked up
I’ve used it before but couldn’t see the advantage over using JSONB with Postgres except change streams.
What are you referring to?
I really like how I can turn everything into immutable
val’s and represent different paths as expressions, it can IMO really reduce the complexity of a function and makes it easier to spot bugs. I’ve been migrating some code of a FOSS app to Kotlin and was able to shrink most classes by like 30% while making it easier to read. The only thing I dislike about it is the additional syntax for various things, I could do without having multiple ways to write a constructor.
Also, like, fuck golang, it’s such a shit language and the compiler does very little to protect you
I never understood why people like it. It’s a “new” language, and it still doesn’t seem to get the basics right. No proper null handling, and don’t get me started on
interface{}. It’s like they set out to build a better alternative to C++ while ignoring the other developments outside C/C++ for the past 15 years. The compiler is damn quick, though.
qaz@lemmy.worldto
Fediverse@lemmy.ml•Random idea: a federated alternative to Amazon Prime built from independent shops?English
2·3 months agoI was thinking of this myself, but I think there are a couple challanges.
To gain widespread adoption, you need trust. This is complicated when you have a large amount of vendors. How are people going to access it? Will they go through different sites? How are you going to handle payments? And what if you buy multiple products from different vendors at once? How do you deal with a vendor misbehaving? Do you deferate with them, what if others don’t? What if a vendor spams or uses fall advertising?
I don’t think a federated webshop with the current fediverse model works, but I think it’s still possible with more organization.
There could be non-profit’s or coop’s that manages the single customer facing website, moderates the site, and other matters that need to be handled centrally. Similar to how there are people organizing real life markets that bring the stalls, advertise the event locally, etc.
The software behind the web store would be an open source project which receives funding through the aforementioned organizations.
qaz@lemmy.worldto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead handsEnglish
3·3 months ago@InternetCitizen2@lemmy.world seems to think you’re referring the instance lemmy.blahaj.zone, instead of the blahaj they have as profile pic
qaz@lemmy.worldto
Linux@lemmy.ml•Linux is awesome at home, but aren't y'all forced to use Windows at work?English
6·3 months agoYes, unfortunately
But then it wouldn’t be able to do anything unless they properly configured the apps permissions :(
qaz@lemmy.worldOPto
Programmer Humor@programming.dev•Who cares about time complexityEnglish
2·5 months agoI’m pretty sure it’s Java (due to the syntax and Eclipse editor default color scheme), so that isn’t an issue
qaz@lemmy.worldOPto
Programmer Humor@programming.dev•Who cares about time complexityEnglish
7·5 months agopublic static int convertRomanNumeral(String numeral) { return numeral.replace("M", "DD") .replace("CD", "CCCC") .replace("D", "CCCCC") .replace("C", "LL") .replace("XL", "XXXX") .replace("L", "XXXXX") .replace("X", "VV") .replace("IV", "IIII") .replace("V", "IIIII") .length(); }
Yesterday I got feedback on my PR asking me to add more XML comments. The userId parameter of type Guid parameter didn’t have a param tag that said that it was the ID of the user. I was unable to convince them this was unnecessary and eventually conceded by adding a comment userId: ID of user.
qaz@lemmy.worldOPto
Science Memes@mander.xyz•“Mixed-Species Herding Patterns of Electric Kick Scooters”English
2·6 months agoI don’t think Jerboa supports it. I just use open the webinterface for that.
What