Details
-
AboutA young Swede that likes to cook up rhymes In the bathroom all alone Singing hooky hooky gibberish into his phone
-
SkillsMostly frontend I guess. Vue. You know. Right?
-
LocationSweden, Malmö
-
Website
-
Github
Joined devRant on 10/19/2017
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
-
Oh, I found the old Minecraft-world that I had together with a few ones from Devrant
ANGRY-CLIENT still here? :D3 -
im trying to cut down on my digital ocean bill and have a few small freelance websites, im paying 15$ a month for a mysql db and kinda feel ripped off
i know mongodb atlas offers mongo for free, does any service offer mysql for free and would you recommend using it for a clients website?7 -
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'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 -
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
-
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 :)16 -
If you want a terrifying name for your metal band, don't call it “Whispers from the Abyss of Despair” or “Through the Veil of Darkness and Desolation”.
Call it “Surgery Robot From Temu”.2 -
Most expensive thing you ever bought?
I think I just bought about 20 seconds of relevant audio recordings for over 300€ 🙃
But hey, the virtual car has to sound good or whatever... totally not a painful investment...13 -
Hmm... I was reading postnatal depression fliers for moms and came across a depression quiz.
Turns out, I have a severe depression, 23/27 score 😁
that would actually explain a lot... A LOT...8 -
"While a spectrum is defined as a function of frequency, a cepstrum is defined as a function of 'quefrency'. Quefrency is measured in 'time' and can be interpreted as a measure for time offsets of patterns in the time domain."
What in the actual fuck did I just read14 -
okay, it's time.
a friend of mine left Microsoft a while ago. he said that the reason he left was The Microsoft Way Of Doing Things that, upon accepting and embracing it, will make you unhirable to everyone else. Doing so was a requirement — you won't make it long without becoming One Of Them.
he may or may not have used Visual C++, C# and F#, and he may or may not have touched Windows.8 -
There is this old story about a couple accepting Apple into their life and things didn't go so well after that.
Let's call them Adam and Eve...48 -
gonna try working from the hospital while my youngest brother is in surgery from a car accident yay american work culture forcing productivity in difficult times9
-
A software developer's experience life cycle:
0 - 5 years: attempt to replicate what your current senior is preaching, assuming that's the right way. Reading "Clean code" and preach it as gospel, even though you don't practice any of it.
6-12 years: gained the belief that you are better off coming up with solutions yourself, usually "sophisticated" and "elegant" which to everyone else (and also yourself a few years later) is an over-complicated inheritance ridden shit show. You have realised the "Clean code" movement is actually a cult but still believe code reuse is the holy grail.
13+ years: finally realized that simplicity and pragmatism is the most sensible way for most software development. Code is now readable, maintainable and functional. You took the few good bits from "Clean code" and ignored the extremism. These are the golden years.
The problem is most developers jump ship and stop developing before reaching the golden years, thus resulting in most software projects looking like shit.
Unpopular opinion, but it doesn't make it untrue.12 -
Could the all of the Tencent cloud kindly please fuck off back to China?
Those assholes don't even publish their IP ranges so one could easily block their ass.
Had to rely on external tools and hunt down all of their different ASNs to finally block them from overloading a client's webapp...
Ugh, I need a beer.6 -
A typical situation in some badly-configured projects...:
1) Having to restart an entire webserver every time you make any change to the code. Hot reload? Unheard of. lol. Then there's also no time to research things because it's push push push.
2) Other ugliness: frameworks so proprietary and locked that you can't hook into anything, so you have to debug using println() everywhere.
I don't suffer from 2) but sadly still from 1).
We live in a world where things are better than this. Come on.6 -
So I wrote some code to sort images in folders based on dates.
Like 2024>06>12.
I thought thats a good little script for GPT to help me out as I wanted to write it in rust.
Everything was fine and after processing all images and videos for 24 hours I was happy.
My test runs worked well.
Two days passed and I realize something.
Some images are not put in date folders. Why? Well I guess a little bug.
Starting to dive deep and checking if other images are in folders.
I see that I have images in folders since 2015 for most months and dates.
But why are some not put in exact day folders.
So another deep dive and I find out that the creation date is different to the folder the images are in.
Often its off by months.
Turns out I forgot to double check how the code generated by GPT maps the time between image creation date and unix epoch to a date folder.
It was just doing a division by an approximation of seconds that a month has, a year has, and a day has.
This caused things to be completely off the further away we go from 1970.
Lucky me that I did not mess up the creation dates :)
Looks like another 24 hours run5 -
It's almost my birthday. My mom wanted to give me a month ChatGPT for my birthday but I have it already. Actually amazed by the spot-on suggestion. Recently for xmas she was spot-on too. She gave a 10kg warm blanket. Ever slept under such heavy blanket? You sleep in NO TIME. Heavy recommend!
Tip for when somebody asks what to give you for present and you have no idea: supermarket stuff of their own choice. You'll learn some new products that way and will have stuff you normally don't buy. So asked that.
A good friend who lives in Ukraine comes to my birthday so I'm happy.12 -
> Press "Push" button in the IDE.
IDE: ❌ Error 😩 Unable to push branch 'dev' to origin
* Ugh. *
> Open console. Type "git push".
Console: All deltas resolved, chief. 🫡 dev -> dev
Why. Another day, another experience to prefer the command line.2 -
depending on where you are and when you read it should be ok but anyway happy new year from here =]1
-
AI hacking attempts being spotted in the wild because they're too polite
https://someone.elses.computer/@mik...
there's actually a similar vetting process in the crypto industry where you have to swear or you won't get hired. forget why now
this seems optimistic to me because companies generally don't do security. a hacker desperate for money has less money to blow on AI hacking than someone invested in protecting their company would on AI pentesting. poor low level pentesters I guess though -
Needed an application that generates data very fast for a networking application i'm writing but I did notice that /dev/urandom and /dev/random are not very consistent in speed.
Still, i needed something fairly random with more consistent speed. Now, I made an application that caches 1000 randoms upfront and use them for calculation. Now I have my own randomization algorithm backed by the uniqueness of the original rand(). For fun I added data in the set like some phone numbers. I can watch ages to the data to find smth in common or interesting combinations of the data.
I did verify with GPT is the algorithm is unique and it's fail. It generated a complete ML script for itself to check it. Very awesome.
You use urandom, i use retoordom. We are not the same.15 -
Another weird property of the devRant API:
For every POST request the url parameters need to be passed in the http body instead of in the URL, like this:
app=3&user_id=42
Wtf why?22 -
My lovely colleagues from planning bought me this for "my continuous help over this year".
I love those guys.4