Details
-
SkillsPython, C(++), Golang, Java, Git, Learning Rust
-
LocationNetherlands
Joined devRant on 7/28/2019
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
-
I just wrote a function that creates a configuration struct that is stored in a Singleton struct, but to create it I called the Singleton to get a connection to the database.
This created an infinite recursive function that maximized connections on the database, as the Singleton never got fully initialized. Not a good idea.
So to fix this I created the configuration after the creation of the Singleton, still calling the singleton from within the function. This worked.
Then I remembered that I could have just passed the connection as a parameter to the function. Like I've done a million times before...
It's time for the weekend, I need a break -
Have been on holiday for 2 weeks now, starting to get to the point where I can’t even sleep anymore because all I can think about is projects I want to start or other things I want/need to do. To the point where I’m typing this at 3 in the morning instead of sleeping.
Even starting to get anxious to get back to work...
Feel like such a workaholic right now. -
Actual Shower thought about showers.
Every shower has 2 “parameters”: Throughput and Intensity.
When the intensity is high and the throughput is high, you feel like you are being hosed down by the fire brigade.
If the intensity is low and the throughput is high, it feels like you’re standing in the rain.
When the intensity is low and the throughput is low, you get mist/fog.
If the intensity is high and the throughput is low you’re just being fucking pissed on.
Somewhere in between is the sweet spot imo.7 -
Started a new job.
Got called at 8.30 on Tuesday with the question:”Where the hell are you? You should be starting today!”. I replied:”I thought I started on Friday?!?”. We were both wrong, I should have started on Thursday 😑.4 -
Worst thing about having internet during your holiday is receiving Slack messages.
Do people honestly expect that I’m gonna help fix their problem while I’m sitting at the pool?6