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
-
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.4
-
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 :)11 -
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...9 -
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 -
Finally, at last I found a way to hack my parents' Xiaomi router. Now that I've got root access to it, I can now fix it, so it's able to.. you know... route traffic.
Because stock router's firmware only operates as a NAT device. Not a router.
The measures we have to take to get shit fixed.....12 -
Goes on teams, since it got shoved down my throat because everyone has to use this malware. Might at least clock around to see what free shit it has to offer.
Oh cool, visio? Thats the architecture diagramming tool isnt it? Thats perfect I could use it for my presentation, let me just drag this UML class...
YoU HaVe DiScOvErEd A PrEmIuM FeAtUrE! BuY ViSiO NoW!!
Sometimes, I wish the times of companies simply barring you from access completely to come back. Freemium is the worst bullshit piece of shit business model ever.5 -
One day, a friend introduced me to Python, calling it a "friendly programming language for beginners." I remember spending my first few hours writing simple scripts, and though it was challenging, I was hooked. For the first time, I could see the immediate result of my efforts, and it felt incredibly empowering. At 23, I made a bold decision. I started teaching myself programming in earnest while still juggling my other responsibilities. I took online courses, read books, and spent hours practicing. I made countless mistakes and encountered errors that felt insurmountable, but I learned to see them as puzzles to solve. By the time I turned 24, I landed my first job as a junior developer. It wasn’t an easy journey, but it was one of the most rewarding experiences of my life. Programming taught me not only technical skills but also how to think critically and approach problems methodically.4
-
You use English because it’s the only language you know
I use English because it’s the only language YOU know
We are not the same53 -
Just learned that the existing US administration is going to restrict AI to a just a handful of allowed companies. They are talking about limiting AI like they did physics during WW2.
If you don't hate your government then you don't know the evil shit they are doing.
Not sure what will happen come January.12