Details
-
LocationHome
-
Github
Joined devRant on 7/14/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
I am not sure which 24 hours was the craziest one, but I will pick 2.
This one happened just a few weeks after I started working for the one and only company I have ever worked for. The huge-ass multi-tenant website stopped working. There was out of memory exception and nobody knew what is going on. I was still very new and knew shit about how it worked + plus my PHP knowledge was limited back then. Everyone was looking for the culprit but with no luck. Then the next day I finally managed to find a fucking infinite loop in our weather plugin.
We were working on a moderately big project for a client. There was a lot of work lately (on different projects) and we were *very* behind schedule on this one. Deadline? You guessed it - tomorrow. What was worse is that we couldnt move it any further, becuase we already did once before. So I had to work for about 20 hours straight to kinda finish the work. Worst part? Client turned out to be moron and half-scammer, so they are not our client anymore and the project was never deployed to production. Never again.2 -
Who the fuck thought it is a good idea to disable i2c_hid module in Linux kernel 5.12 by default?
I compiled the kernel 3 times and was wondering why is my touchpad not working...5 -
No, Steam support, I don't wanna see your copy-paste shit, I just want you to fix your broken SSL on one of your server...
I hate writing to support so much (doesn't have to be Steam). I just want to see a human approach for once, but all I get is copypasta bullshit.2 -
Caching in Prestashop 1.6 (idk about 1.7) is fucking bullshit. I don't know who made it but he surely must be an idiot. There is no way that the cache is going to speed up your website after a few days of using it.
Memcache/d - For some strange reason, it gets slower and slower after just a few hours. There is literally almost no entries in memcache, but it becomes slower than without cache? WTF
APC - Do you have multiple websites running? You are out of luck. Do you make a change to your website? Restart PHP to see changes. WTF
Redis - Same as APC, but you have to run flushall manually. WTF
CacheFS - God, this is a fucking monstrosity. It rapes the storage drives so hard, it is like running a fucking benchmark nonstop. 400-600MB writes are completely "normal". I have no idea, what is it doing tho. I would expect that writing ~3MB file to disk doesn't require over 100MB/s disk write for 2(!) or more seconds. Also, it doesn't clean up after itself, so after a few days you are out of disk inodes and you have to setup CRON to clean this shit up regularly. In the end, it makes your website fast, but only as long as you have <={number of CPU cores} customers shopping. Then, it becomes a complete disaster and requests are taking 5+ seconds to finish.3 -
So a few months ago, I got a half-broken old iPhone (microphone, speaker and cameras not working) for testing purposes and it lays 99.9% of the time on my shelf turned off. Today, I turned it on and after I opened Safari, I surprised in not exactly the most pleasant way.
When I started writing in the address bar a strange suggestion from Siri came up for a website my mom searched a few hours ago on her android tablet. Like what the actual fuck?? There is absolutely 0 connection between these 2 devices, there is PiHole running on local network. The only thing that I can think of is that she is using Google (logged out) and it looks like they are actively sharing their data based on IP addresses. Wow...1 -
I think I have a "Slack" syndrome. Sometimes, I hear the notification sound even when there is no notification...12
-
I hate so much when someone uses != or == instead of !== or === in PHP/JavaScript. These people are fucking monsters.7
-
Github Actions.
A nice feature that can drive you nuts.
"GITHUB_EVENT_PATH: The path of the file with the complete webhook event payload. For example, /github/workflow/event.json."
"github.event_path: The path to the full event webhook payload on the runner."
Well guess what? These fucking variables are completely useless since the path in them is non-existent.
Fortunately /github/workflow/event.json works...but for how long?
Also using header Accept: application/vnd.github.v3+json to download a zip file is masochism.4 -
Just updated my system to the new Plasma 5.21.
Of course, there was some shitty nvidia error again, but this time I actually found a solution, so everything went perfectly. And I am almost speechless.
The smoothness of the animations, scrolling in Firefox and everything in the system is overwhelming. It is running perfectly. The latency fixes really helped a lot and even with triple buffering enabled, you can't feel any input lag.
But yes, there is a but. Why are my taskbar icons so fucking big?? Like what the fuck happened there...5 -
Fuck you librsvg and your stupid rules. I mean, they are not completely stupid, but they can at least make it follow symlinks or allow us to disable it...
https://gitlab.gnome.org/GNOME/... -
Yes, converting Github account into an organisation is a good idea. Today couldn't have end up any better.4
-
Jetbrains Java runtime.
I just disabled it and enabled system Java runtime instead. I should have done this months ago, or maybe even years. The performance went from terrible to amazing in just a few seconds. Wow!12 -
One of our clients codebase, once almost completely PHP, now officially contains more JS than PHP code. I don't know if we should celebrate or cry.10
-
Can traefik's documentation and configuration be any more confusing and retarded? I hate this thing. Any good alternatives?1
-
I just ran system updates on my PC and it looks like Nvidia has enabled ultra dark mode on their new 455 driver by default.8
-
Finally pushed myself to complete readme and release the docker image most of our websites use.
For anyone interested, the image is open-source and available on Github, feel free to use it or suggest any improvements :)
https://github.com/Eworkssk/... -
I just deleted HTTPS Everywhere plugin from Firefox on my phone. Everything runs much faster. Very optimized plugin!8