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'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!25 -
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 -
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 -
I finally finished up my post on Bibilobunny, my book note extraction tool for Kindle and Play Books:
https://battlepenguin.com/tech/...
I hope to add support for getting notes off Nook and Kobo next. You can follow the instructions to create your own book quote bot, and you can follow mine here: https://tweeflood.com/@bookquotebot4 -
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.5
-
I don't remember the Netflix show name, but it was cyberpunk and animated. From the show, I find this idea very interesting.
Put prisons behind an API. And use it for various tasks that require intelligence. There you go, we solved the AI problem.
But I wonder say we're using it for a self-driving, the prisoner just deliberately crashes it.12 -
> made tea 3 hours ago in a thermos
> got distracted by stuff
> tea still warm
it's the little things in life8 -
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 -
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.7 -
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!20 -
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 FIX1