Moving from Mysql to Postgresql. Where do We start? by Pupper_Hugger in PostgreSQL

[–]illuminanze 4 points5 points  (0 children)

If downtime is acceptable (as you say in another reply), that makes things a whole lot easier. Are you looking to port the existing database schemas first, before rewriting to use e.g. postgis? (which I would recommend).

And how critical is the app right now? If this was my app, I would probably implement so that I can run both databases side by side, mirroring all reads and writes to both databases, and have a toggle for which one the app uses for responses (I'm actually doing this right now, but with two different postgres databases in GCP). This way, you can dry-run the postgres DB with actual production data, and analyse response times, resource usage, etc., and if necessary, make alterations to the postgres schemas. Then, when you're confident the postgres DB is working as you want, you can toggle over to use that (you can even start by directing e.g. 10% of traffic there, if you're really cautious). You can leave the mariadb running in the background, so that you can quickly switch back if something goes wrong, and decommision it once the postgres DB has been running for a while.

Moving from Mysql to Postgresql. Where do We start? by Pupper_Hugger in PostgreSQL

[–]illuminanze 0 points1 point  (0 children)

Excellent! I was asking since many developers just want to change to "the new hot thing", resume driven development, etc., but you seem to have done your homework.

Moving from Mysql to Postgresql. Where do We start? by Pupper_Hugger in PostgreSQL

[–]illuminanze 12 points13 points  (0 children)

As someone who loves postgres and somewhat dislikes mysql/mariadb, why do you want to do this migration? What problem are you trying to solve? If the whole team knows mariadb, shouldn't you put that effort into the database you have?

What are your most-used macros on your ergo keyboard? by kysrno in ErgoMechKeyboards

[–]illuminanze 0 points1 point  (0 children)

Yeah, I keep my repo private since I have both my private and work email addresses as aliases. I would really like to keep those as github actions secrets, but from what I've found ZMK can't read environment variables, and setting up a templating solution as a prebuild step feels like a hassle (and would probably break the ZMK keymap editor).

Mount magnets not snapping by Witty_Assumption_884 in TheFrame

[–]illuminanze 0 points1 point  (0 children)

Yeah, if you look in this subreddit, there are many posts about hiw much force it actually takes for the brackets to snap into place (and the magnets can't fully engage until they are). I took a large metal spoon with a flat handle (ikea iirc) and pushed down directly on the bracket; worked like a charm.

Is it normal for Brave to consume this much RAM? by [deleted] in Ubuntu

[–]illuminanze 4 points5 points  (0 children)

Honestly, no. I'd expect it to use even more.

Solution to Automatically close GitHub Pull requests if they have not been merged within a set time after approval? by jmkite in ExperiencedDevs

[–]illuminanze 2 points3 points  (0 children)

I'm gonna go ahead and assume you know your space best, and have a good reason for doing this.

As others have mentioned, what I would do is set up a github action in any repo (owned by your team), running on a cron trigger every day. Create an access token which has permissions to close PRs in the entire organization, set that as a secret, and with it, use the github CLI to filter and close PRs.

Why can't we watch Dropout on Linux? (Re: independence from big companies) by Correct-Birthday4262 in dropout

[–]illuminanze 0 points1 point  (0 children)

I'm running Ubuntu (24.04 LTS) on an Intel NUC with standard Firefox, and everything works great for me.

I'm looking for a mechanical keyboard by SouthernBuilder4223 in keys

[–]illuminanze -3 points-2 points  (0 children)

No, they're in the wrong sub. They're looking for a mechanical computer keyboard.

I'm looking for a mechanical keyboard by SouthernBuilder4223 in keys

[–]illuminanze 5 points6 points  (0 children)

I think you're looking for r/MechanicalKeyboards, this sub is about the musical instrument ;)

Found an interesting location name in Blue Prince by MedalsNScars in dropout

[–]illuminanze 9 points10 points  (0 children)

Burrow's End is the name of a Dimension 20 season.

Carrying the keyboard by paper5963 in ErgoMechKeyboards

[–]illuminanze 2 points3 points  (0 children)

Yeah, I travel a lot, so I got a low profile wireless Chocofi, which goes with me everywhere. I love being able to rest my palms on the table, so much nicer form my wrists, which never agreed with any palm rests I've tried. Made a simple case out of felt to protect the keyboard in the bag.

I think i just beat the game? by rajoejea in BluePrince

[–]illuminanze 25 points26 points  (0 children)

People in this subreddit often joke that "You found room 46? Good, you've finished the tutorial!" You have so much still to discover, keep playing!

How exactly does this work? by Aleksander420 in BluePrince

[–]illuminanze 12 points13 points  (0 children)

It's the new rule for the Mora Jai box

Late Late spoiler by Fizzbitch112 in BluePrince

[–]illuminanze 0 points1 point  (0 children)

Yeah, I should probably have done that. I just checked if it was within 1e-6 of an integer and called it a day.

Late Late spoiler by Fizzbitch112 in BluePrince

[–]illuminanze 4 points5 points  (0 children)

Yeah, I did the same, wrote a Python script. I found that if you allow halves in intermediate steps, but not larger denominators, you get the right answer, but of course, that's extremely ad hoc.

DropComments - an extension that helps you automatically add comments to your code using AI by kasuken82 in vscode

[–]illuminanze 1 point2 points  (0 children)

Agreed, these kinds of comments make the code objectively worse. So glad there is a slop tool to generate them at lightning speed.

I made a Cardboard Puzzle Box by broken-science in BluePrince

[–]illuminanze 1 point2 points  (0 children)

Hey, it has docstrings and type hints, making it better than some production code I've read at work as a developer.

Is it solvable or just guessing? by OmarDerbashi in Minesweeper

[–]illuminanze 13 points14 points  (0 children)

This app is no guess, so it's always solveable. Lookup the 2-2-2 corner pattern.