Details
-
LocationFuckheadistan
Joined devRant on 1/7/2024
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
-
Open letter to any website that is trying to implement "smooth scrolling" on their website using JavaScript: stop, consider how awful it is 100% of the time, and kill yourself please.
-
The stupidity of a post box service marketed for digital nomads that requires proof of current address.
Which fuckwit thought that through?6 -
So this just happened and I am mystified as to how. When I talk on the phone with my cell phone in my left pant pocket I get a sensation of being poked with a hot pin in my leg about 1 to 2 inches above the phone. It almost feels like the sensation of a bee sting. It happened the other day as well. I did not have this sensation with my 4G phone I just retired. My new phone is 5G. Its the most random thing and I would not have believed it. So I search a bit and some dude has been experiencing some weird phone related pain for like 20 years. Of course, none of the replies are constructive. Just assholes poking fun at someone who is trying to understand what they are experiencing.
I checked all of my clothing and there is nothing like a pin or anything stuck in my clothes. The temperature outside is about 32 degrees. So nothing actually stung me. I am going to be pissed if its actually my phone. Going to try putting it in another pocket to see what happens. My hope is its my clothing pulling on a damn hair or something. But it didn't do this at all when walking around the building without my phone. Just when I walked outside.
I can still feel the pain lingering in my leg with my phone on the desk. I checked and the spot where I scratched at it is red. Just another weird thing to deal with I guess.
I always thought electrosensitives were nutjobs. Now I am not so sure.10 -
Modern technology is absolutely bullshit
I can't even
Now my keyboard on my phone is even too broken to complain about it
I wanted to look at someone's post history on a forum
To do so the forum wants an account. Ok. So I gave it my old junk Hotmail account during sign up for it to send me an email confirm so I can make the account so I can search. Well I'm refreshing this account for this confirm account email through the Gmail app on my phone because who even checks emails on computers anymore
Turns out, aside from this Hotmail spam email account having a lot of junk emails (it is my junk email account), there's this little pop-up that happens SOMETIMES claiming that it can't sync. I checked inbox and spam and the email isn't in there. So 1 out of 10 times I refresh there's this little "cannot sync" message that pops up and I click it. It claims my storage on my phone is too full to sync. Ok.
So I go try to find storage through the settings in my phone. It doesn't exist as a category anymore apparently. Thankfully phones have a search feature now -- because we can't have sane settings anymore so here's a search feature. First result it gives me is just device info. That's useless. It's just the hardware specs for my phone
Second it shows storage. 90% full apparently. That's odd. I have 132 gb. Thankfully it subdivided it by what's taking up space but it doesn't make much sense and a bunch of the categories don't open to anything
Apparently the fucking android operating system is 32 GB now? Well you're fucked if you wanna remove that. Apparently years of photos and videos is 20 gb, I can back those up and delete them. Similarly I have downloads in folders, and that's about 20 gb
Why are there 20 GB of apps? I literally have no apps!
Part of apps? Wtf is Gboard and why is it a gig
Why is my WEATHER APP using a gig of storage?
And none of the apps can I remove the storage they're using. The cache is like 600kb, and I can delete all data and it's using like 60 MB. So the fucking weather app executable itself is a gig of space? Wtf?
I deleted the data for Gboard and turns out that's the keyboard. So now all my keyboard settings are fucked.
Thankfully I wrote syncing scripts ages ago to sync various folders from my phone to my external HDD. I just had to connect it to the laptop and run the script on the external HDD. Problem? Well turns out no matter what I do I can't get the laptop to connect to the phone if it's USB file transfer mode. I can do photos. But this is gonna be more than photos.
So I do my sync backup script from the laptop to the external HDD. This will sync the camera, since I have sync thing sync my laptop and phone all the time, so I can just sync the laptop to the external HDD and then delete the older photos and get 20gb. Quick fix for now
Why do I need this quick fix?
Well
Get this
I've been having issues with my Gmail client for ages. It just won't display new email notifications which is really annoying because I need to know when emails get sent to me.
Now I'm thinking, maybe I can de-sync older emails and have more storage space maybe? But that's not an option anywhere. Actually, I can't even unconnect an email address from my phone. Gmail doesn't even let you do that
What the flying fuck is the state of modern technology
Now I have to go figure out what my fucking settings were for my stupid phone keyboard
The 90s were much fucking saner than this garbage. I don't need a 32 GB operating system on a phone. Is this fucking windows 8? And let me fucking tell YOU how many fucking emails you should sync to my phone. Holy shit what the fuck is all this
At least my Linux scripts fucking work like I wrote them13 -
I'm writing a devrant like site, so a kind of forum that supports live chat under every article. Login will be just username and password to stay anonymous. Email is optional for password reset. Also it won't have password requirements. Who cares if user uses insecure password. I do like the devrant avatar thing. I will use the ducky generator instead. So everyone on the site is a custom duck. K-SASS prolly never expected his generator to be used anywhere. The requirement of this site is that it scales very well. I have db calls of 0.006s, this is for persistent data only and will be used by all site instances. I expect that it can handle many clients concurrent as long I do not return more than 30 rows or so. Events get handled by a self written pubsub server.
All sounds great and development goes fine. But why is this a rant? Because the same thing as always is biting me, I can't design a site at all. I know how but I don't have any feeling for design at all making me almost incapable of building an attractive site. The only thing I can 'design' is an application in bootstrap or smth. I spend so much time one design while I don't like to do it ironically. But looks of site is almost as important as an good working site. Good working site doesn't get used if looks bad in many casee. This is since the start of my career an issue and it sucks that I appearantly can't deliver a whole site on my own meeting my standards.
My backend work is top notch tho. Btw, this application is not to be an alternative for devrant. I do not think I can attract more users than it already has and I've seen two communities disappearing once because someone decided to make a new one, took half of community with him and both communities died after short while.
End product of this project is a working project, not a live site hosted somewhere. It's pure about mixing mostly self written tech to get the best performance. Reinventing wheel on many levels. I wanted maybe to do the site in C but decided that it's way to much work for the value. I change the site so rapid since I don't have decent plan that python aiohttp is the best choice in amount of writing it yourself and fast. It's very lightweight.
More a story than a rant, sorry33 -
All brand new tech products are a scam. They lose half of their value when you open the box.
Buy used. It’s better for both your wallet and the environment. After a month of use, your brand new thing would’ve looked similar anyway. Yes, you lose the unboxing experience when you buy used, but it’s nothing but a consumption addiction reinforcement.15 -
opens a youtube video
a minute of ads
checks adblocker
reloads youtube
youtube: adblockers violate our terms of service
turns off adblocker
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
a minute of ads
reloads page
0 seconds of ads14 -
Do the first project for a cheap price, I swear I will pay you more money for the next ones.
I've heard this so many times now, it actually makes me wanna kill myself when I hear it again from someone new.6 -
Have legal troubles in the UK? Scammed someone? Messed with the wrong person? Facing charges and a lengthy jail time? No problem! Go and touch some children. UK protects pedos at all costs, so you’ll immediately be pardoned. Maybe they’ll even give you a medal.4
-
Who doesn't love a good CSS blowout in spite of giving an image container upper dimensions?
https://jsfiddle.net/4yc7jbwf/
CSS doesn't suck, you're just bad at it.11 -
What the fuck is Medium anyway? And what makes them have the audacity to paywall everything? Their site looks like an out-of-the box Wordpress template anyway...6
-
Aubergine, oukome, taupe… wtf man. Just call colors old fashioned names, you know? Red, blue, green, yellow? Bitch13
-
Went on a roadtrip for a couple of days to a friend's lovely farm in the middle of nowhere, 2400km trip and now I am back at work and hating this rat race bullshit. I don't want to do this for the rest of my life.4
-
So, I applied for a job. People tend *not* to answer my applications, probably because my resume very clearly states I implemented malloc in fasm, among other things.
I imagine them going like "Sir, this is a Wendy's", or rather "we're looking for a 10X rockstar AnalScript ZAZQUACH mongoose-deus puffery quarter-stack developer". Fair enough, I certainly don't fit that bill.
But this time I not only got an answer, the guy went like "I'm impressed". Is this... recognition? From a human? What?
Fellas, I cannot process this emotion. Being frank, it's not even about the job. But willfully going against the idiocy of the industry standard, and then seeing that utterly deranged move actually amounting to something -- no matter how small -- is quite uncanny.
And of fucking course, it's a Perl job. Figures. Great minds think alike.3 -
I’ve been slowly removing salt, meats, and sugar from my diet. It’s all going great. It’s cheaper, cleaner, and healthier. But I am struggling against milk. It pairs with way coffee so well…19
-
I have received tons of shade from my organization for insisting we document business logic (literally had leads pull me aside and tell me to stop suggesting it) and I think I understand why now...5
-
Dual Boot Linux & Windows.
I hardly ever see anyone do it right. And there is just two tricks that make a completely new experience out of it. I am not sharing it with you to be nice, I am sharing because I am curious if you're already doing it.
1. Install on a second hard drive, not a different partition. Learn which button to hold on the boot screen to select the boot drive. You can still chain-load via Grub, but the major advantage, updates of neither OS will fuck up your boot loader. You can update it abso-fucking-lutely risk free. Second advantage, advice 2. becomes trivially easy.
2. Set up a virtual machine. Select as its hard drive the raw disk volume where you have installed your Windows. You can do this with VirtualBox, but QEMU with virtual machine manager make is far easier to set this up in. You can now start Windows under Linux as a virtual machine. You can always start a small application, but the big deal is installing. Start a Steam download, have it installed and ready without switching over. Running windows updates. And when you then have time to play the game, just reboot and you have it already installed.
I feel like many are not aware that you can start a virtual machine of a real hard drive. It's one of those things that improve usability of it enormously. It's something where many will just not think about it because they keep dual booting and virtual machines in two different categories in their brains, but immediately will think it is obvious as soon as they hear about it.
So, who already did this? Raise your hands!26 -
so, I am trying to implement a caching solution for my CI/CD (because, you know, BitBucket CI caching sucks ass big time). This time I was writing a module in Python. I spent 2 evenings in the evening building it, debugging and testing, implementing several features making it a flexible solution.
So, yesterday I had a pretty much well working version. Before pushing changes I wanted to drop the cache and give it another round of testing, just to be sure I was pushing a truly working code. I rm-rf the cache directory, restart the engine and I'm greeted with an error message saying the module I was working on cannot be found.
wtf..?
Out of a sudden the IDE stopped showing all the project files as well.
wtf happened....?
oh, of course.. I rm-rf'ed my project directory, not the cache directory. Deleting EVERYTHING I had.
fuck.
I should not be working half-asleep4 -
could'nt build my react app, didn't understand the error Module not found: Error: Can't resolve '.... app.css'
worked on my macbook, didn't on my ubuntu server, took me 3 days until I realised the css file is named App.css and not app.css
wtf apple, wtf me -
*Now that's what I call a Hacker*
MOTHER OF ALL AUTOMATIONS
This seems a long post. but you will definitely +1 the post after reading this.
xxx: OK, so, our build engineer has left for another company. The dude was literally living inside the terminal. You know, that type of a guy who loves Vim, creates diagrams in Dot and writes wiki-posts in Markdown... If something - anything - requires more than 90 seconds of his time, he writes a script to automate that.
xxx: So we're sitting here, looking through his, uhm, "legacy"
xxx: You're gonna love this
xxx: smack-my-bitch-up.sh - sends a text message "late at work" to his wife (apparently). Automatically picks reasons from an array of strings, randomly. Runs inside a cron-job. The job fires if there are active SSH-sessions on the server after 9pm with his login.
xxx: kumar-asshole.sh - scans the inbox for emails from "Kumar" (a DBA at our clients). Looks for keywords like "help", "trouble", "sorry" etc. If keywords are found - the script SSHes into the clients server and rolls back the staging database to the latest backup. Then sends a reply "no worries mate, be careful next time".
xxx: hangover.sh - another cron-job that is set to specific dates. Sends automated emails like "not feeling well/gonna work from home" etc. Adds a random "reason" from another predefined array of strings. Fires if there are no interactive sessions on the server at 8:45am.
xxx: (and the oscar goes to) fuckingcoffee.sh - this one waits exactly 17 seconds (!), then opens an SSH session to our coffee-machine (we had no frikin idea the coffee machine is on the network, runs linux and has SSHD up and running) and sends some weird gibberish to it. Looks binary. Turns out this thing starts brewing a mid-sized half-caf latte and waits another 24 (!) seconds before pouring it into a cup. The timing is exactly how long it takes to walk to the machine from the dudes desk.
xxx: holy sh*t I'm keeping those
Credit: http://bit.ly/1jcTuTT
The bash scripts weren't bogus, you can find his scripts on the this github URL:
https://github.com/narkoz/...53 -
God, NIX users are wayy more obnoxious than Arch users ever were.
This is getting ridicolous with the preachiness about how bad linux is.
I do understand the value of nix, but it feels like these people are kids in their 20s that fundamentally misunderstand how the traditional software distribution model works.10 -
A reddit kind of question.
Guys, if you come to find our that your girl [gf/wife] is messing arround with another girl [eg you find them in bed when you get home, you see them in home's cctv, neighbours' hints, she tells you, etc], would you consider that as infidelity / grounds for a breakup?
Gals: same qn, only about your boy17 -
doing things right seems to be a waste of time
especially considering how fast things change beneath you
for years I've said I should just stop overoptimizing but I've yet to fucking try it. I said this to myself 5 hours ago and what am I doing. I spent the last 5 hours trying to overoptimize for a theoretical scenario that I won't ever even be in, because I haven't even decided what I want to immediately do
how about immediately do something Jesus fuck
next Tuesday this system will have to be rewritten again anyway
how many fucking asset loading systems do I want under my belt
just load the fucking assets
maybe decide on which assets you'll be using first so then you don't overoptimize for "WELL MAYBE ILL LOAD THEM INDIVIDUALLY THEN PUT THEM IN A NICE IMAGE IN RAM FIRST BEFORE I SEND IT OFF TO THE GPU" omg just shut up. just because you can doesn't mean you should. doesn't help everyone using this thing keeps insisting you do it this way. but you don't fucking need to.
actually you know what, I blame them. they kept confusing me with yOu ShOulD do It ThiS WAY. next thing I know I'm walking through every possible conceivable way to do asset loading so I can decide how to load assets and then end up in architecturizing of the perfect system. I didn't want to be on this path. but they told me to be on this path. I blame them
take-away: if you can make it work at all, just use that unless it breaks something. fuck how or for "what" the dumb system is designed. people don't stick to their "designs" anyway -- it's idealism just like free stuff sounds great in theory, but in reality it just shits up everything because it's unrealistic3