AboutNothing special about me yet. Just a weeb with some programming skills and hope for an internet without all this political BS interference and dictatorship
SkillsFullstack Elixir dev. Languages I wasted time on: [Java, JSP, PHP] Languages I appreciate, but don't get to use much: [C, Python, Kotlin] I also like Arch Linux, Vim, tiling window managers.
Joined devRant on 8/18/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
I tried to run a migration I wrote with a an older dump from production. Turns out it had a cost of 150129966.7 and didn't finish within half an hour. Turns out I didn't understand joins in update queries as well as I thought1
The joys of using overpriced enterprise software...
Me: Hey, I tried connect to the server, but I'm getting a "connection refused" error. Is it really running.
Other: hmm, I'll check
Other: The host restarted, but I'll get the software up again, no problemo
Other: I started the server again, but there's, but it's throwing errors while initializing. Time to write customer support
And then you get that premium customer support that think we don't know how to use their software at times. And once they realize we do, they don't know much better either. And once they realize we know how to use it there are 3 possibilities:
* They need our help to debug stuff before knowing what is going on
* They need to release a new version and accidentally break backwards compatibility and create enough work for us to burn through the clients contact hours
* They provide helpful advice (secret ending)
These fuck don't even release a proper changelog for their software nor their manuals.2
Frontend dev: Hey, could you break HTTP conventions and change the API so I don't have to manage the context of the request?7
Gotta appreciate the grass so many developers fueled by the development teams despair
That might seem a bit random, but I started off this year with a nightmare (a literal dream) where I've fallen victim to remote code execution, because I cloned someone's git repo.
Is such a thing even possible? The closest thing I've found was this blog
(and the info on it was already worrying enough), but that shouldn't have affected my dream computer.
Some details I more or less remember:
* The execution happened right after git clone
* The uri to the repo was a custom domain (no github, gitlab or anything)
* no submodules
* Go to sleep at reasonable times
* Watch some of those anime I never quite finished
* Read more books
* Become more proficient with rust
* Replace go with rust at work
* Setup a weeb media center I can remotely
* Finally make a personal webpage/blog without overthinking things, to actually get it done
* Find or make a storage solution for all the memes I sto- I mean collected, where I can add tags to find them more quickly. Would love to have them have the tagging be done automatically with machine learning, but I don't think we're quite there yet.2
Fuck chromium devs and their hate for linux. Piece of shit
Screen share with audio is broken under chromium, because some user didn't want the desktop audio appear when asking for input devices, when there's no microphone available.
The thread doesn't mention a specific cause for this besides "for some reason pulseaudio does this"
So what did the gigabrains working on chromium decide to do? Not list monitors (basically recording devices for on desktop audio) at all.
* UI is hard
* Because we say so
* Fuck standards
And they only do that on linux. Windows, which uses a similar concept works just fine. Mac? Yeah, just hacked it in. Linux? GL won't fix
Meanwhile they decide to add all shits of non standard, bug causing events for shits and giggles, but when you actually want to resolve issues you're met with silence and arrogance.
Once again, what a piece of shit. Chromium devs must love making things worse with every passing version8
Why hello there, your profile mentions you're not looking for an offer and lists PHP as a technology you don't want to work with.
Boi, are you in luck, cause I have that sweet PHP offer for you4
I've tried installing plex on a raspberry pi. The good news is that it finds my videos. The bad news is that my entire library is 1080 seasons of "aho girl" and and I never realized it
"Please help, when I login as a client somehow the name gets updated to my name. Pls help, ai really don't know why"
How about you be careful and don't hit save to overwrite their names
TIL ECMAScript (2015) supports tail call optimization, except virtually only safari can do that, making it useless1
I'm just fucking glad this day is over
* less than 3h of sleep thanks to insomnia
* unable to get breakfast
* unable to concentrate at work
* Almost falling asleep
* Lunch was not even enough to sate my hunger
* Accidentally upset a good friend because I cannot communicate well in general, but even worse when tired
* Get something snitched away from my by cutting in line
* get told by said person that I should have reacted faster
* get told by said person that they'll sell me the the thing that was supposed to be mine in the first place
* get a half assed apology when they saw that they made me mad (still keeping mentioned item)
* Don't get to meet up with friend for workout
* Get home and don't even wanna do anything5
Today the 'restrict account' feature I made hit production. Restricted an account and got an angry email with broken english.
Funniest shit that happened today. Made me proud.
To top it off we might get free loadtesting lol16
Today a company we work together to provide a service for a government sent us an update about the installation of the successor of the most hideous Data storage I had ever worked with. The successor comes from the same company and provided the previous one. Anyways, went like this:
"Even after a full day of installing/migrating the software, we could not complete the task.
The installation failed multiple times due to errors from the installer, as well as missing, undocumented dependencies.
According to our developers the installation process is miles away from a normal installation process for this day and age. Our developers often have to research errors on their own or ask the provider for assistance.
We cannot estimate when we will be able to complete the installation."
I've felt pain and sadness while reading that...
From one pc problem to the next, today while I thought everything was fine, my pc probably overheated and now the motherboard doesn't seem to boot anymore (rgb turns on, but the lights indicating the current step of the boot don't). I panicked and thought maybe it was the CPU, because it was my first time applying thermal paste and did the thing where I ripped the cooler off the motherboard and the CPU attached to it, which I only learned in retrospect that that was a thing. I slightly bent 2 CPU pins doing that.
So far no reason to be overly pissed than panicked, but then I decided to ask on r/pcmasterrace (or masterinsolent) and boy, probable because I mentioned the game I was playing I was only getting responses like "OP dumb, game doesn't do that. I love this game so much I let the developers fuck my wife while I am playing" instead of trying to help or clear up misunderstandings.
Thankfully a system/server admin I know was able to provide me with advice to fix the bent pins, but the motherboard itself still seems pretty dead.
I'll plug the cpu into my older motherboard tomorrow and see if that might be the reason. If you have additional advice, I would appreciate it4
Lead: I want you to make this library we wrote mockable, so that we can write better tests.
Lead at the end of the day: How's it going with the library?
CO: Good, I have made all calls to the library mockable.
Lead: you mean inside the library, right?
CO: No, all calls to the library
TL;DR; I unfucked a micro sd used by a nintendo switch with one command: fsck
I had noticed that the nintendo switch displayed way more storage usage then it should. I didn't mind at first, but at some point I couldn't download any games. When I checked I saw some ridiculous storage usage.
According to the system, all games summed up ~20Gb, but >100Gb was in use? Sounds retarded, so I did the following:
* Plugged it into laptop
* Spend one our searching for a way to to access this seemingly unknown filesystem
* Find out this filesystem is actually exFAT
* Find out that 2/3 sd adapters suck
* check filesystem with dust (A visually more pleasing version of du)
* Find 20Gb of files, nothing hidden or whatever
* run fsck
* "File system contains some errors want me to fix then?"
* check usage
As for the reason why this happened in the first place, my guess is that the switch labels the whole segment of the card as used before downloading a game and it something goes wrong, it shits itself.
Anyways, fsck is a pretty useful command.1
6 months ago I had to implement a new feature and realized that a related uploading feature was broken if you choose a specific service to upload to.
I was wondering why nobody had reported this, so I took a look at the usage of said feature and it seems literally no client ever used it since it was released almost 2 years ago.
Only the product owner used it in the beginning... only for testing it...
2 weeks well spend.5
Well, seems like my boss realized what he did (see my last rant) and wrote a passive aggressive commit message about himself to make up for it
Too bad staging is still broken 🤣🤣🤣🤣2
Boss: "You hardcoded the redirect uri in the code (Early on during development and forgot about it, because apple OAuth is a piece of shit), but don't worry I fixed it by hardcoding the uri with the production host into the config file where clearly all settings are fetched from the OS Environment variables at runtime. This will surely fix the problem in staging we have, no need to thank me"5
Fuck my internal clock, it's 11am, I went to sleep at 4am, I'm still tired and yet my body refuses to sleep any longer. Just let me sleep to my fullest for once!14
A: Do you still have that number?
Me: What number?
A: That number written on that paper I see on your desk.
Me: I guess it's on that paper then.
A: Thanks *leaves*
It was an email and it's missing the domain...1