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
-
damn, can't get enough of my new mouse that has a trackball instead of your regular scroll wheel. Oh how convenient it is to scroll horizontal containers and switch workspaces6
-
me likes competition me thinks competition good for me. Gives me them blings and fussies and yep me happy1
-
I'm developing a board game and it’s so much fun to come up with structures and logic to implement the rules of the game and make it in a way that is clever and doesn’t require a lot of repetition and explicit definitions which would increase the probability to introduce bugs and make future changes tedious.
This is what I love about programming. The pure joy of thinking about those problems and solving them.
I'd never want to delegate this task to an AI even if I'd be convinced that it would do a good job.4 -
Real rant.
If you downvote, go get cancer faggot.
I make $1,370.26 (200k yen) a month after taxes and rent. That's only if I overtime 40 hours a month extra, otherwise it becomes $959.27 (140k yen). I save and save, but a single trip breaks bank.
$2,740.36 bonus twice a year. (June and December)
Has a health insurance. In Japan. 27 y/o male. 1 wife and 2 kids.
Do I quit and look for better paying company/country or stay? ($5 a month pay raise if I stay)11 -
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.9 -
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