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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
I collect my fingernails to glue them together with transparent epoxy into very cursed micarta and use it on my diy kinfe's handle.
You don't want to know what the blade was quenched in.7 -
My wife went to do some work for a charity. They "got her the best computer available". It was a poor mangled MacBook whose better days were somewhere in the dawn of the last decade.
She tries to type anything... and only gibberish appears on screen.
She comes to me, absolutely me puzzled. I try to type anything... gibberish. I boot up in safe mode, everything is OK.
I look around for system configs... there is a custom keyboard mapping enabled by default.
We check the weird stains on the keyboard... they are regular and in all keys. Like if there used to be adhesive stickers on the keys, and those stickers were later removed.
I boot up again... and type "q". It becomes "a". I type "w". It becomes "b". I dread typing "e". Sure as bug, it becomes "c".
By the love of byte, someone asked for a custom keyboard layout... IN FUCKING ALPHABETICAL ORDER.
It was easy enough to change the layout after that, but the weirdness continues: my wife asked around, and apparently the laptop used to belong to some old dude... who was convinced there were characters missing from his keyboard. Apparently he could never find them in a regular QWERTY layout.
I wish I could give some encouraging words for the kid who came up with the solution. Working around technophobes is a drying art, that needs to be rewarded.10 -
Anyone ever tried Embedded Swift?
I should have posted this as a joke but, guess what Apple does NOT use when developing Embedded Swift stuff for their Secure Enclave firmware...
Yep, they don't use Xcode! 🤣🤣🤣🤣
(ok, I know, not surprising, but love the irony!)12 -
What I’d give for a modern version of gladiator fights. And no, not to watch people die. The belief that they massacred themselves in the arenas is hollywood propaganda. Many fighters werent even slaves. And had pretty high status3
-
> When you fix a bug at 3AM and forget how you did it 💻🤯
Spent 9 hours debugging a production issue.
At 3:17 AM: Changed one random line. It worked. 😵💫💀
Next morning:
Boss: “What fixed it?”
Me: “Yes.”
#debugging #programming #devlife #accidentalgenius #plswork #relatable2 -
Drug addiction is better than gambling addiction in every way:
- some of the world's greatest artists/musicians were drug addicts, so you can claim to be like them
- there are a lot of different drugs to try
- your drug spending is regulated by your body. There is a set amount of drugs your body can absorb, and if you try to stuff it more, you die. In gambling, you can lose $10,000 just as easy as you can lose $10. So, when you die, you'll leave less debt to whoever's gonna be responsible for repaying it.
- drug addiction is primarily viewed as a medical problem, and in the western world, addicts often get compassion. Gamblers are universally mocked and laughed at, not just in the west, but pretty much everywhere.
- there are good things that were created under the unfluence of drugs. nothing good was created because of gambling
- quitting vast majority non-opioid (and even some opioid) drugs is ststistically easier than quitting gambling.
- If you decide to quit, there is vast support network of volunteers and organizations. there is huge body of scientific work about how to cure drug addiction. there is a dedicated field of medicine called addiction management. there is harm reduction. there are special meds like narcan that can do the impossible --- make a heroin addict with burnt out receptors a functional member of society. but there is almost zero support for gamblers.
- there is precedent of people getting rich by doing drugs. there is zero precedent of people getting rich by gambling.10 -
is it just me, or is reading LLM-generated text really annoying?
It feels like I'm reading the same thing over and over again, in different contexts about different things.4 -
My anxiety runs on an event loop:
while(alive) { overthink(); }
What’s your callback function to escape the void?
(Mine’s () => { orderDumplings(); })9 -
So like eating healthy and sleeping early and working out/running did not improve my mood.
I'm just more angrier and wants to fight/kill everyone I see.11 -
Murder I can understand and sometimes even empathize with. Yes, it wasn’t up to you to decide who lives and who doesn’t, but here is something poetic, albeit grim, in having revenge against those who made (the best time of) your life miserable. Yes, you should appear before the court of law, but at the very least you’re still a human being.
But if you’re a school shooter who kills indiscriminately, you don’t deserve the air you breathe. You’re lower than the dirtiest pedophile. I don’t consider you a human at all. I’m against the death penalty, but you should be put down like a rabid animal.14 -
Death penalty is bad, and here’s why:
- It’s decided and implemented by humans. Thus, sooner or later, an innocent person will be executed. It happened before. To me, one innocent life is worth more than all the money the government saves by executing people rather than feeding/maintaining them indefinitely.
- Solitary confinement for life without parole is a way better of a deterrent for soon-to-be death row inmates. I heard that El Chapo began to mutilate his body as a desperate suicide attempt in ADX Florence, and it scared the hell out of me.
- Botched execution is very painful. Government should not inflict physical pain as a punishment on unarmed people, period.11 -
OK here's lang, very easy.
set lines, (split "\n", orc fname). ; ORC -- open, write, close
map lines, strip.
grep lines, filter blanks.
map lines, # lineproc:
- on line match, qr~^# \s* (?<name> [\a]+) \((?<type> [\a+])\) \s*:\s*~x.
· · * have type or default type.
· · * set dst, name or new type name.
- on line match, qr~^\- (?<name> .*)~x.
· · * dst->cur eq dst->[name] eq new list name.
- on line match qr~^\* (?<item> .*)~x.
· · * push dst->cur, item.
- else
· · * cat dst->cur, line or throw fuk.
I'm skipping over a couple edge cases (no dst/cur, I be throw fuk for brevity) but you get the gist of it maybe.
Anyway what's this for? Lists, like so:
```rol
# dst (type):
- attr:
· · * hi im item one in list
· · · still item one lmao.
· · * hi im item two in list.
```
That gives `dst { attr: [item_1, item_2] }`. There's another bit I'm omitting to make this recursive so as to allow for nested dicts, but nevermind that it's a tree you get it right.
So what it's lame. Yes. Let's smoke some crack now I can add preprocessor in subclass:
```
# dst (cracktype):
$:%fn args;>
(text)
$:/fn;>
```
That will call `fn text,args` to process text __before__ lineproc, `fn` is just callback from callback table in Nebraska maybe.
$:peso;> syntax is just so text can contain funstuff OK.
I like <fn args /> better, and $:this;> is just stuff no one ever writes so it's safe to use.
Want to reference object in text too, what? `{$obj [fn args]}` anywhere in text to make call, now can do database lookup so naming be important. Have import mechanism to fetch collections, can't bother showing.
Anyway what's the point I dunno, just copying and pasting from local library to pack entire app in single html file. Why? Can't remember; doesn't matter.
Also can convert to json but I prefer my own version of it.
Called jargon.
Same thing but no quotes just because so `obj {attr:[(value), (value)]}`.
Now eat baguettes.
Have a nice wallop.1 -
Putting people on too many projects (6 projects) is bad because when it comes to reviewing your work (let's say 30 x 200 lines of code), they will spend 5 minutes on it, 10 tops, give a shitty, lazy review and then they get back to their projects.
This is just pure mismanagement. You're stressing your employees to get everything done, the 'quality' is then spread so thin everything turns to shit.3 -
I hate Outlook! It's a mail client from hell, its diabolity now powered by an intrusive Artificial Idiocy interferring with any mail I try to write, popping up undesired autocomplete suggestions and driving me mad! Microsoft, by forcing your CoPilot-shit on your users, you have degenerated the entire MS office package into a FUCKING USELESS UX!9
-
This is the nth software company where you have some asshole who for some reason (probably because they hate you) plays blame-games when it comes to code reviews, when they themselves screwed up in the first place (I know there's git blame, but..).
The guy writes shitty code quickly because the manager asked, then I take my time and patience to make it better, and in the code review they shit on me for things THEY wrote badly? Wtf man. What kind of logic is that? Fucked up people. And then putting shit in bold and exclamation marks (wtf?).
Is it just me or have you also seen this behavior with your colleagues?11 -
Monday - delivered feature1. Manager demands starting to work on new feature2. I start working on feature2.
Thursday - in late evening manager provides feedback from testing feature1 for which internal testing starts Monday.
Friday. I start investigating. Everything is fucking broken. Backend contract broken from BE side, UI broken by another team member's PR from FE side. Missing configuration from FE side that was not documented anywhere.
I start working on issues from my side, inform relevant parties and coordinate that they would make fixes on their side (ofc after getting a lot of pushback trying them to force me to write workarounds to work with their broken implementations)
My manager during the day: what was the reason for us being blocked now?
Me: broken BE, broken FE by another team member, missing undocumented configs. Too late (and incomplete) testing feedback. Having to switch to feature2 priorities before finishing everything with feature1. Basically all things out of my scope.
My manager: so just to clarify we are blocked from internal testing because YOU missed this? Why it wasnt caught sooner?
Me: due to 5 same reasons that I listed before, I can list more but would prefer focusing on getting things working today
Manager: Ok, as WE discussed let's focus on getting things working and discuss about improving this processes in the future.
Seriously it fucking sucks working in this bank as a mobile developer.
We are responsible for basically everything.
From scoping out work according to business requirements, documenting stuff, to creating/maintaining BE contracts and constantly double triple checking everyone else's work across the chain.
Actual mobile implementation or proper testing is like the last priority in this case. And yet we are the ones that take all the blame if we fail to meet arbitrary deadline.
Fucking hell. Im gonna start documenting all decisions of this retarded manager, I'm not gonna allow him to throw me under the bus due to failures caused by his own shitty decisions10