Details
-
About'99 baby King of microoptimizations. Full stack developer before knowing what full stack developer meant. Coded REST APIs before knowing what REST APIs were. My style has been described as "Functional and symmetrical.".
-
SkillsJavaScript (HTML, CSS and PHP too); MariaDB; Java; Things I'm not proud of like Brainfuck, Roblox scripting... Things I learned at the University, like Pascal, Python, Smalltalk, C#, ... does SQL count if I already knew MySQL? Oh well...
-
LocationArgentina
-
Website
-
Github
Joined devRant on 1/2/2020
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
-
Update to my "I broke prod" rant:
- I managed to unfuck it on the same evening.
- Worked fine for one day
- Crashed today morning
- Can't fix it because I had surgery yesterday and am on sick leave currently
=> Probably gonna result in me VPNing into the comp network and RDPing into the prod instance to analyse the failure
Yep, ladies and gents, more open heart surgery on the menu!11 -
Let's Americanize idioms:
1. Break the ice — Open the wallet
2. Bite the bullet — Pay the price
3. Hit the nail on the head — Count the exact change
4. Let the cat out of the bag — Drop a dime
5. Piece of cake — Easy money
6. Costs an arm and a leg — Break the bank
7. Under the weather — In the red
8. The ball is in your court — The check is in your hands
9. Burn the midnight oil — Spend the last dollar
10. Hit the sack — Cash in for the night
11. Barking up the wrong tree — Investing in a bad stock
12. When pigs fly — When money grows on trees
13. Kick the bucket — Cash out
14. Spill the beans — Drop a coin
15. Break a leg — Make a fortune
16. Pull someone's leg — Shortchange someone
17. Once in a blue moon — Once in a financial windfall
18. A blessing in disguise — A hidden treasure
19. The best of both worlds — A double dividend
20. Caught between a rock and a hard place — Between a loan and a hard debt16 -
Drag-to-select in Samsung's "My Files" app is a disaster.
If you don't move your finger and stop dragging towards the top or bottom, it goes into "drag-and-drop" after one second. When you release your finger, it unselects everything, so you have to start over.
This is why every mobile file manager needs range selection. This means tapping two files, tapping a button, and everything inbetween is immediately selected.
This is similar to shift+click selection on desktop. We take this for granted since it has been a standard feature for three decades. But mobile apps still can't do this simple thing as of 2024.
"Drag-to-select" is better than individual selection, but comes nowhere close to real range selection. "Drag to select" is at best an ugly twin of full desktop-like range selection, but file manager developers can still get away with giving it the label of "mass selection".
ES File Explorer had this since at least 2012, yet billion-dollar Samsung and Google fail to implement this in their file managers.2 -
My last post was a year ago. What brought me back here is the ability of AI to agree and apologize to anything and everything, while producing the worst hopeful code.
4 days I wasted, trying to make an android audio visualizer, but AI... sigh.
It gave me the wrong structure of FFT bytes emitted. I corrected it
It gave me the wrong logarithm calc, I corrected it
It gave me the wrong sampling rate, I corrected it.
It gave me the wrong texture order, I corrected it.
It gave me the wrong glsl sample2d, I corrected it.
It gave me the wrong textureID generation, I corrected it.
It gave me a render which was about 10 fps, I found out that instead of using native onDraw, I had a fcking delta time in my shader. I almost corrected it, I gave up
Lets go to code generators with Annotations.
Like always, starts very positive, until I start to correct it.
It gave me the wrong file locations, I corrected it.
It gave me the wrong order of find copy modify and write to .build, I didnt correct it.
It gave me regexes to find annotations. Im like So whats the use of an "ANNOTATION PROCESSOR"
It apologizes and used a fucking regex in the processor,..... I didnt correct it, in the end, I was left with a separate module, targetting iOS Android and JVM, with an annotation processor implemented in jvmMain, which tries to modify commonMain src by finding annotations with regexes, which wont run on app build or app sync project, but only on java -jre command pointing to that fucking .java class in that module, which takes at least 2 mins to run, and Finally generate 0 files.
I needed to rant, I understand LLMs are just models of words built and stolen from the most intelligent and dumbest people out there. But Im an idiot for getting my hopes high. I cant build anything new and unheard of. I used to do that. I once made a textView + image print util for a bluetooth printer just to say FU to libraries and heavy sdks. like literally rasterizing shit to bluetooth packets. I needed to let off some steam. I havent been here in a year so I dont know what reactions I can get from this rant. I bet someone will just say yeah we tired of 'Fuck AI' rants. but shit, it hurts. When I gave up on that visualizer, I downloaded an app, I think its called project M, like in reference to MilkDrop.. like the Winamp Milkdrop. I opened it, played something on spotify, and let my eyes go blind9 -
*rewrites rust mpsc*
you did it wroooong
I thought my threads were locking if I had thousands of jobs spawning thousands of more jobs. turns out it's fine. actually if I organize my data locks in the way everyone wants to do them my CPU fans go off but my original way you don't feel jack shit and processes faster
turns out it's because 320k jobs is a bit much for mpsc. because my jobs can spawn more jobs the whole thing just grinds to a halt. and there's sync-mpsc which allows you to have a maximum number of data you send through it, therefore I can just have 245 sent jobs instead of 320k but then this locks all the threads because for a thread to finish it needs to finish sending jobs, but a sync mpsc won't let you send a job if current jobs are over the specified limit. so all the threads get stuck sending jobs. smart. not. what's even the point of that?!
and evidently there's no built-in way to prioritize certain jobs. the AI thinks you should just send jobs in and each thread should have a priority queue. I don't know sounds dumb to me. then you could by random luck have threads with lots of jobs that need to be prioritized to be done and other threads stuck hanging waiting for previous jobs / the other threads. no thanks
so clearly the solution is to rewrite mpsc but allow prioritization when a thread goes in to ask for a job to do
since my jobs are intended to start other jobs, it makes sense to have no actual upper bound limit to the number of jobs in the queue but to favour doing jobs that won't start new jobs to lower the RAM and compute necessary to juggle all this
hope this is the actual problem. cuz the code works for like 200 jobs spawning 500 jobs each, which is 100k jobs total
but it stalls to a halt doing 8300 jobs spawning 500 jobs each (which if I do the math -- in my tests it stalls at 320k jobs and seems the number should be 4,150,00 jobs -- yeah I think this is probably the damned problem)8 -
The handle on the faucet in one of the bathrooms broke off today. You can still operate the faucet with some finger strength. It is just difficult. We also got a reminder today that we are not to be streaming video or music using the company wifi. They ask that we use our own bandwidth on our phones.
So on the bathroom door where the faucet handle is broken I placed this sign:10 -
Dear humans that identify as Frontend Web Devs,
I get that you aren't adept at the logic aspects of dev, but I would greatly appreciate if you tried to better your simple, common sense logic... or at least have someone do basic QA.
Sincerely,
A Concerned Citizen5 -
Ubuntu has taken the "Lindows" thing too far. Three updates in and the built-in RDP server gets fucked.
If canonical makes so much money with ubuntu...why are they even allowed to make such mistakes? Fedora is much more stable with newer packages.
Sadly most popular software opts in for Debian's cousin who likes to eat Elmer's glue. -
Why can't html just render boxes with backgrounds next to each other without lines in between at some zoom levels 🙄5
-
Pre-Soviet poster:
“Young negro's first misfortune”
— Why are you crying, little boy?
— Well, my parents caught a tourist, cooked him and promised to give me his brain. But now they're telling me he had no brain — he was pro-October revolution!2 -
Who could have known that a break up gives you so unlimited energy?
I am grinding the gym more than ever ever since and I love it!
I needed this haha9 -
Women will live alone and buy a dining table, if I live alone I’m absolutely fine with sitting in the couch and eating for the rest of my life13
-
I feel like I'm getting lost in social media these days. I know I should be aware of this happening, but lately I start scrolling on my phone and don't realize 20-30 mins fly by me.
Weird, that it's happening to me now.3 -
How fast is Google Docs and how slow is Notion highlights the difference between real six figures engineers who know their shit and wannabe JavaScript hipsters.4
-
Is anyone aware of any good software dev/comp sc magazines? I want to take a break from news letters and podcasts.7
-
Kidnapping and torture are the worst crimes one can commit. If it was up to me, both would amount to life in prison without parole, no exceptions.7
-
I already knew that Disney was scum, but trying to use an EULA to claim immunity in a wrongful death is off the charts.
Imagine, you used WIndows once and then switched to Linux. Then Bill Gates accidentally runs you over while executing his duties at Microsoft. Well sucks for you. You agreed to some absurd terms in the Windows EULA. You waived your right to sue Microsoft for any reason. Now lets be less ridiculous. You are at a hospital and the machine that helps the doctors determine drug dose has a software bug. This software is made by Microsoft. Nope buddy, you are fucked. You used Windows once.
I realize the logic even for a lawyer was flawed, but the fact that these POS companies try this shit is so wtf. I am not even sure what to think. They are definitely not interested in your well being.8