Details
Joined devRant on 7/15/2022
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
-
This is how you grow your web app indefinitely:
1. Strip the codebase of all frameworks
2. Ban DRY principle. Don't reuse the code, period.
3. When feeling the urge to write a unit test, refactor the code instead.
4. When seniors “discover” a new “paradigm” that applies to the codebase and want to make a framework, rotate them.
5. Profit!11 -
> made tea 3 hours ago in a thermos
> got distracted by stuff
> tea still warm
it's the little things in life8 -
Swift does some things really well, but then falls flat in others. Why is polymorphic JSON decoding/encoding such a pain?
In Kotlin, it's a breeze to support multiple object types.6 -
Fucking hell! Why is it so hard to just create a simple websocket!
C#: Yeah, you should use ASP.Net with SignalR! But heres a totally undocumented mess of a lib to get it to work. J.k. Deadlock!
Rust: async while let OK((some)) = ws.create.unwrap_or_else().suckadick()
Why the fuck is Rust so fucking dense! I want one line that means one thing! If I would compress my code with gzip it would be less information dense than this!
Zig: Yeah, Its in Beta and shits semi stable. Atleast i got it to work? Nope!
I've ben fussing aound with these three Languages for more than a week now and can say: Just use an established way to webdev. Its not worth it to try and make it as simple as possible!6 -
Sleeping well cleans our mind and let us approach a problem in a different way and help us find the solution. For some days I was worried about how to solve a couple of bugs, but this morning after a good sleep I magically realized how easy the solution was:
WON'T FIX -
I wish I could go back to the days I was struggling to understand heuristic search.
Today I struggle with probabilistic inference, as I've been doing so on and off for the last 2 years.
Something is just not fucking clicking.2 -
New year, new salary. My mind doesn’t comprehend the total world of difference between the toxic environment i was in, and the positive place i’m at now.4
-
The data at the bottom are statistics regarding my key presses. It's literally every key pressed on this laptop since 2024-12-08. Since that date I entered a total of unique 925450 unique inputs. I did 4751951 keyboard inputs.
I know from 595 hours exactly what i've done for tasks (described by LLM based on my keylog data).
I type 107 lines per hour on average (return presses) based on 595 hours. With that logic, i did around 63925 lines.
I'm not very happy with the statistics, especially not because backspace is a hardcore first. Now, while i'm typing i'm focusing on how much I use it and it's not a lot at all.
But the thing is, if you remove abcdef, you have one a, one b, but six times back space. And these are real presses - not keyboard repeats. Also abcdef will be counted by the tag counter as a whole. Everything is a tag until it sees a new line or a white space or some punct.
Funny is that there are completely different keys on the list than I expected. You're so you used to those keys that you don't even notice using them.
I'm almost considering to add a sound under the backspace button to teach myself WHEN i use it and try to avoid it.
The key logger database is now 346Mb. Some overhead because every keypress takes around 40 chars of description (timestamp, press type, char, input device).
Creating statistics for the tags (unique words typed) takes several minutes. Already rewriting that part to C. The stats are made by python, the key logs with C.
I'm just shocked, I used 144644 times a key that I think not to use that much? :P How retoorded can you be. Imagine if i actually fixed typo's :P
But based on these keys you can see that i'm mainly working in terminal / vim. The 'i' for insert for example, typed so many times. The 'x' for save+quit. The '0' to go to beginning of line.
Did you expect that these buttons would've been the most used?
#0 BACKSPACE is pressed 144644 times (15.63% of total input)
#1 UP is pressed 92711 times (10.02% of total input)
#2 LEFT_SHIFT is pressed 73777 times (7.97% of total input)
#3 ENTER is pressed 63883 times (6.9% of total input)
#4 DOWN is pressed 56838 times (6.14% of total input)
#5 TAB is pressed 43635 times (4.72% of total input)
#6 RIGHT is pressed 37710 times (4.07% of total input)
#7 SPACE is pressed 34438 times (3.72% of total input)
#8 LEFT is pressed 26800 times (2.9% of total input)
#9 LEFT_CTRL is pressed 25402 times (2.74% of total input)
#10 LEFT_ALT is pressed 17289 times (1.87% of total input)
#11 I is pressed 12856 times (1.39% of total input)
#12 X is pressed 6106 times (0.66% of total input)
#13 A is pressed 5163 times (0.56% of total input)
#14 0 is pressed 4487 times (0.48% of total input)
#15 PAGEDOWN is pressed 4151 times (0.45% of total input)5 -
This was few years ago, I was an intern in the company (first job I ever had). After few months of fiddling around stuff (haven't yet touched a production project). We landed a 'high priority' project.
We were told by the client (A multinational company) that they had a contract that fell through with another software house and the app is already made they just need to integrate it inside their main app instead of having it a separate app.
We were like, okay, and we made sure that everything will stay the same (APIs, Feature flows, etc). My managers gave it an estimate of two months.
And after a couple of weeks they started changing everything (APIs, flows, design, ALL OF IT) and they insisted we meet the deadline. It was a project for a multinational telecom company so it had payments, features for user's consumption and a shit-ton of other features.
At some point I was the only developer working, had to pull more than 16 hours a day to meet the deadline but we did.
I was in my fourth year of college as well. It was crazy.
May not be the craziest deadline overall, but for sure was the craziest deadline for me to meet.
Edit: Oh and after all of that it was never released bc of "financial reasons"2 -
I've spent like 2 days on this semi-toy project, for which I would have been paid generously had I chosen to work for a client instead. This pleasure cost me hundreds of €s not earned. But it feels ssooooo good to code smth just for pleasure.
Totally worth it!22 -
I am SOOOO tired of outdated, easily circumvented, methods of attempting to find rule breaking culprits...
especially when they can't even come up with anything more specific than 'suspecting' "unusual activity".13 -
Ok, it costed me a whole night but I finally made the perfect OpenAI agent manager for all purposes using Python!
It's open source and a finished product. It's tested quite well. I will use this as base for my perfect working assistant that communicates trough the wireless JBL Go! speaker on my desk. It reacts to everything it hears until I ask it to go to sleep until I tell it to wake up. That's the mute mode. I never have to touch or click anything. 24/7 active.
It can be an assistant, but also a companion like Replika. Replika is normally very expensive, with my library nothing and it has great benefits like a perfect memory. Original Replika is a goldfish in comparison to this one.
It's also possible to create a custom RAG within minutes!
Check it out, it was never easier: https://molodetz.nl/retoor/ragent11 -
The kind of testers I'm dealing w/ right now:
Until fairly recently, they thought it was a good idea to keep retesting stale && untouched bug reports to see whether an issue is still present, then leave a comment.
Imagine being assigned as a watcher to a report, but keep seeing comments made by testers akin to:
- version 1: issue is still present.
- version 2: issue is still present.
- version 3: issue is still present.
- version 4: issue is still present.
Which was true for some 90-95% of the cases.
How retarded does a person have to be to think that this is a good idea?
I say it's a great way to piss somebody off.
Reminds me of movies w/ scenes where there is this annoying brat in the back seat of a car asking 'Are we there, yet?' over && over again.
Once a report is up, just be fucking patient && wait until someone replies!10 -
I opened the backlog today and found a bug assigned to me.
the bug basically describing that the images are not loading on the app, I take one look at the response and find the images url are sent as ip address.
I mention this to the tester and with a straight face they say "well why is it working on my laptop?" the laptop that's connected to their company's network.
god why am I even doing this.2 -
I have made an interactive talking AI but it's not open source. It contains passwords/keys and tasks that are personal. But, a lot was learned while the code is nearly nothing. I spend many hours on research and didn't want to let it go to waste.
If you are interested in TTS / STT, this will be a nice resource: https://molodetz.nl/retoor/...
Side note: the builtin webkit TTS/STT engine is maybe even better and has a great API! Amazed by the quality of that thing.
This is python research. I hope that I can motivate someone but devRant is always empty on Saturday.
If someone needs help with an implementation regarding this, you know where to find me.5 -
Trust your guts!
Just remember that your gut is designed to take the most tastey things and turn it into shit.2 -
Funny how clients demand for pixel perfection on apps when they took their sweet time on vacations.
Oh well, let's do it 💪6 -
Soo... Turns out, if your laptop has usb-c charging and it has several such usb-c ports, you can use them simultaneously.
My lappy has issues with usb-c sharging, i.e. it becomes sluggish when charging w/ usbc (compared to on-battery and charging through barrel plug). Aaaaand Linux tends to occasionally crash if I unplug the charger while it's "awake". I wanted to change chargers, so I figured I could plug in the second one (hoping not to see any smoke) and unplug the first one. As soon as I plugged in the second one, all the lag disappeared and the battery keeps charging.
So if you have an usb-c charger that's too weak for your laptop, try using two of them :D
Never would have thought....16 -
i dream of having a working dev and test environment
or being good enough to have my own stuff working
i don't go out of my way to fuck around with any of it, i just want to do my work, clock in, clock out8 -
A fancy position opened up in a good spot, which I should be applying for. I want to. But this soul sucking place I currently work for has crushed me and I really don't see it in me anymore. The robots have more soul in this corridor than people.10
-
if someone in the group blames you for something, do you "accept responsibility" even if you didn't do the thing?
why or why not?6 -
I just listened to the devops at my new place recite a strategy that I recognised to be git flow. I surprisingly wasn't traumatised or suffer the ptsd I have at the sound or sight of SLACK and Microsoft teams, despite using them roughly within the same era
For some reason, the instructions for git flow now sound straightforward:
Pull from staging. Checkout to a fresh branch on your local. Push there. Once approved, merge to staging or send a pull request to staging
But slack and teams are an indication that the gig/position is going to hit the rocks soonest. Has happened more than once, it just makes me sick now. The beep of their notifications, their ui, their stupid rules and regulations why it doesn't work on the browser but want me to install their dumb apps on my phone (even if you use desktop mode)2 -
I'll keep on going about my vacation.
Went down the piste from where I took the picture, usually takes half an hour on average, I took less than 15 minutes.
I'm a tiny bit proud of myself :)14