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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Thinking about asking a colleague if they remember how they tested some code they wrote over 10 years ago according to source control.4
-
There are sites that list different datasets, this makes them dataset of datasets.
As there are multiple of these sites, and they are listed on Google, that made Google dataset of dataset datasets.1 -
This is how eldritch beings get you these days.
No more whispers of immortality,or to bring back a loved one.
Just straight up ultra fast broadband.2 -
Okay, maybe I'm unlucky, but I find macOS to be extremely buggy and inconsistent across the board compared to Windows.
The "it just works" slogan hasn't been true in my case.
Like, there's always some dumb issue hindering me.
For example, I can't seem to resize a window by its edge on my second screen in macOS. It just doesn't work.
Of course, Windows isn't perfect, but it works without a hitch in my case.
Finally, the memory swapping issues that lead to lag.
On a typical day, I have two instances of IntelliJ running, Android Studio or XCode, and two Edge + Mozilla, and Docker. 32GB should be able to handle this smoothly. This works fine on my 32GB Windows workstation.
On my 32GB M2 MacBook Pro however, I have to constantly close some programs because of lag.
Not to mention, memory fills up really quickly. I essentially turn on the MacBook and 18 GB are in use. WTF!9 -
The Facebook web app (on mobile) is so incredibly garbage in a foul, vile way; no client would have accepted it if I was the one who delivered it. Its Twitter counterpart is fairly functional despite all the js fidelity. Some things still behave as you are accustomed to. Facebook tried to hijack ALL native browser capability and ended up releasing an abominable artifact that should be a disgraceful, stark, warning as to how horrid and insufferable the extremism of javaScript can get
You can't open links in new tabs. Sometimes you can "like", other times app that loaded sits still and unresponsive like a corpse. The most annoying part has to be absence of urls, so you can't reference anything. You can't even share posts ffs
Funny enough, this used to have an edge over the restrictive mobile app eg you could reuse profile pictures. You could share specific photos out of a set, etc. Now, it's painfully broken. It doesn't even compensate for it with passable ui. That too, looks amateurish. The only thing you can do on it now is scroll5 -
Procastinator's tricks to be productive: Schedule messages
I hate to write people. They could answer. My whole plan might be thrown off. But when is the best time to answer them? The day after tomorrow? Too late. Tomorrow. Around 10? Thank you to all messengers that allow me to schedule a message. Instead of procrastinating, I answer, I schedule, and if I am in a bad mood, I later come back and abort and rewrite the message nicer.
Went perfectly swimmingly with my happy new year messages. Everyone got them at 00:00. Yes my friend, you're obviously the most important thing in my life, first thing I did was writing you!3 -
Statistics. Tbh, it is way more. Didn't use the codeium plugin for a long time. Regarding key presses i'm in the 0.10%. Longest streak is not impressive. 21 on codeium and 40 on github or so.
At this moment I'm very happy with the plugin, it knows me completely. * tab tab tab *. Almost always knows what I want to do. It advanced a lot last year, I did quit a few times on it last year for few months because it often sucked. Now it's perfect. Especially under VIM it's very cool!2 -
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 -
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