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
-
Took me 1 week to deploy a Pet-Store app in AKS (and build the AKS ofc, in Tofu).
that doesn't look good.2 -
I noticed an increased usage of the word unalive, such as in "to un-alive someone" on youtube, spoken in the videos and written in the comments.
I suppose this is to avoid the word kill?
So we are at the stage of changing the language just to avoid using a bad word on a platform of hypersensitive woke snowflakes who will cancel you for saying a specific word regardless of the context it’s been used in?
Please tell me I‘m wrong. 😒32 -
I’ve typed a question into google and the AI generated response was directly contradicting every web search result on the first page.
So, you can’t even rely on it to pull out the correct info, on top of the fact that it might have hallucinated.
Completely useless and deceptive.
It’s depressing to think about how many people blindly rely on this crap not realizing how bad it is.3 -
alright so I opened a big ass curtain in my office, and it seems the sun glaring the fuck out of the screen of the person sitting in front of that window. But it's been weeks now.
Today I found out who is sitting in front of that window. It's the guy who is working with me and whom we had dinner last week.
omg I'm so sorry for opening that curtain.1 -
The only reasons I'm with my current employer is because;
1. I interview bad
2. Too lazy to update my CV
One of these days...9 -
why... WHY do I always attract all sorts of weird problems...
I feel like it makes me look incompetent :/
Like this side-gig. I had a client who brought us essentially half a rack (20 blade servers, 7 units of network equipment) and asked us to spin it up. No passwords, no topology - nothing. It was my first such "project".
So I'm setting it all up, using chatgpt and notions of vlan theory from college years ago. I managed to make smth work. Went away for the rest of the day. Hours later I come back -- no longer can connect to ovpn running on a MikroTik router. wtf... connect to office router's vpn, winbox via mac to the router to see wtf. Everything seems alright, except when I try to `/ip route print` it just hangs there. Tried a few times. -- same result. As if routes just got borked while noone was touching it. Found someone who's working with networks wtf, he said he's NEVER seen this happening. A router reboot sorted this out. That's weird problem #1.
I finished reverse-engineering and re-setting up the networking, sketched a topology with patching scheme and asked colleagues to take it all to the DC. They did it, connected it all up. 5 nodes aren't accessible via network. So I connect remotely to the router's openvpn and try to see what's up. Indeed, some servers are reachable, others aren't; even though MT switch (router's downlink) sees those servers plugged in with link up, servers don't see the link. I noticed some ports aren't trunking some VLANs. I started adding those ports when the winbox connection dropped out of the blue. 5-4-3-2-1-reconnecting... it reconnected. Yayy!! But wait, where is everything...? All interfaces -- gone (physical ones too). All IPs -- gone. All routes -- gone. Everything's gone. Half a minute later I'm disconnected again. The switch IP is no longer pingable. Servers plugged into it aren't reachable either. That's weird problem #2.
Then I figured I might try to see whether I can see anything from the router level. Try to ssh to it -- attempt was dropped, as if 22/tcp was closed. wtf? It was working in the office. winbox into it -- yayy, that works. Try to open a terminal via winbox -- a dialog pops up "Terminal <1> - not permitted (9)". wtf..? I Google this error up, it says that user is a member of group that does not have telnet and ssh permission. Indeed, I loog into groups -- the group 'admin' does not have them. Try to add them -- also not permitted. And I'm the 'admin' user, a single user in the router after a factory reset. How the hell else do I change permissions if even admin is flipped a finger.
That's weird problem #3
And now I look like an incompetent prick with two left hands who is only breaking shit.
And it's been like that my whole career
Why... How... ffs, that's getting annoying. Maybe I should downgrade myself to a QA. Problems find me themselves, I don't even have to look for them2 -
Management has reviewed DevOps which is already being shown to customers and wants to introduce a code coverage metric to show customers how good the code is. Code coverage now has to be 80% or higher across the board, it's been decided by management, and there is no discussion on this topic. The front-end presentation layer has minimal business logic and most of the code that exists is generated objects to shift data to the backend (which in turn mostly shifts it to a 3rd party API that does a lot of the business logic). I now have to write thousands of pointless tests while also being 85% billable to the client.
I think code coverage can be used as a tool, but should not be used as a metric to promote the product.
I suggested an automated e2e test might be better placed to prove that things are working, but have been told we're not going in that direction.
I'm close to writing a code coverage test that uses reflection to touch all of the code, catch all exceptions, and return a positive result.6 -
New JoyRant build (38) with a new feature:
Every user that you see in a rant will be stored in a list which can be used for @mentioning and viewing the profile.
https://devrant.molodetz.nl/IMG_529...
https://devrant.molodetz.nl/IMG_529...
https://devrant.molodetz.nl/IMG_529...
https://devrant.molodetz.nl/IMG_529...
Sometimes you just don‘t remember the exact name of a user and hopefully this feature will help.
It might also be a nice summary of how many users are active.14 -
My boss insists that we shouldn’t lock or password-protect a particular system because, in her words, remembering or write down a password is hard and email as a concept is confusing. I tried to explain if people who don't know what left versus right-clicking do have full admin access, it’s only a matter of time before something goes terriblely wrong. She listened but ultimately decided to keep everything open, confident that everyone would use it responsibly.
Unfortunately, that’s not what happened, it never has been and never will be. The problems started, just as I feared, and now I’m stuck cleaning up the chaos, one issue at a time. I do have a backup and automation snapshots, but things got so tangled up that it will still be a hassle.
I tried soft lock so everyone could only access the section relevant to them. The reaction was immediate—they were confused and stressed, saying they’d be unable to do anything if it stayed that way. They didn’t get the idea that keeping them from touching certain things (that they shouldn't be touching in the first place) wasn’t the same as blocking their whole work. But since they’re all my superiors, I had no choice but to remove the restrictions and leave the system wide open again.
Nothing serious came out, just really annoying because something like this happens all the time.4 -
Manager: Keep the debug logs
Me: I won't use them as I use the status report or run it manually to see the problem, but fine whatever.
1 week later
Manager: the debug logs are hard to read, the status report is hard to read too but it's a bit more concise
Me: Yes. The fuck you want me to do? I don't use logs and don't care. You can write code, make the logs more useful to you if you want to use them.2 -
My daughter: "why don't you want to do a pinkie promise?"
Me: "because promises have been supported natively for like ten years now."5 -
messy backend API. root level payload object has a property that is being repeated in a property that takes an array of objects where this same property exists in each object in this array.
why do people work in a messy manner like this? why pass the same data twice in the exact same request?
(lead architect is smart, but holy fuck is his work a goddamn mess of technical debt and hurts my brain and productivity)1 -
In french the world fish means "poisson". Not to be confused with a "boisson" (beverage), nor with the "poison" (poison).
But you could have fish beverage, which would be a "boisson de poisson". And some fish are poisonous, which would make it "poisson poison". Now let's take some poisonous fish, like some fugu, and turn it into a soup. You get a poisonous fish beverage, so "une boisson de poisson poison".
It also follows the poisson distribution6 -
Work just keeps surprising me and giving me wtf moments. They want me to finish a course in 1/10th of the time that the industry recommends just because they don't have budget for more time. I'm quite pissed off. Now I have to work 700% faster. Let's do this shit. lol7
-
Me and a fellow friend started working as a freelancer.
of 3 projects that we have:
One has a terrible code (like really nasty and over engineered to the maximum). albeit each new feature is a challenge to our sanity... they pay are are somewhat nice.
Another after we did the job they don't want to pay (thankfully we are on a platform that is like the middle man for work, they already have the money so should be "trivial") because they say we did not do what they asked. Brother, the 2 A.M. is not an hour to be called, and we did all the little shitty task they askend AND the original tasks...
And in the last one we hired a team to work with us because we don't have more hours in a day... and they only rename some vars, call it a day, ignoring the task on the sprint and they wanna get paid for the "job"
I just wanna drink a few pints of guinness...1 -
There was an illegal rave in france. The people had paid for a container to come and people stayed on the site to pick up their trash.
The police kicked them out BEFORE they could clean and then made videos about how ravers were disguisting.5 -
Am i the only one who fucking loves it when YouTubers find old “call toll free” numbers or old numbers for various sweepstakes/contests, games, help hotlines whatever and actually call them? Especially when they still work….4
-
I did a little bit of finger practice in Unity, nothing fancy just two spheres and a capsule-guy under Newtonian gravity and a force-driven player control script that works on spheres.
I will never understand how C# libraries spontaneously decide that some operations will be nonvirtual methods while others will be static methods. It is the exact same thing! You're just ruining intellisense for no conceivable reason!
Also, transform has a right but no left, the float return value of Vector3.SignedAngle is not the same unit as Transform.Rotate(Vector3, float), Transform has LookAt(Vector3 position) but not Look(Vector3 direction), to do that you need to
transform.rotation = Quaternion.LookRotation(Vector3.ProjectOnPlane(transform.up, direction).normalized(), direction)
you can't discover whether a collision encountered sticky or dynamic friction, you need to infer that by calling RigidBody.GetPointVelocity on both RB-s at the collision point, which has its own quirks. Apparently this is to keep the API engine agnostic, but any serious project will have its own physics materials which already specify the sticky friction coefficient. A simulation that works correctly with physics materials but doesn't discover the kind of friction as an intermediate result is not possible.
RigidBody's velocity isn't displayed in the GUI, so you can't give it an initial value without a dedicated script. I have a script on this fucking moon that does nothing but add a force in Start.
Is it just me or does Unity feel cheap somehow? Like a hastily written library for a research project that was never rounded out with the obvious features. I understand that it's a free product that catalyzed the golden age of indie game development, but I think it's seriously struggling to keep up, not with the showy investor bait stuff, but with the standard of comfort modern tooling provides.10 -
Driving data from your car (direction, Gs, cameras) can be used to estimate your “recklessness”, bought by banks and used to “properly evaluate” your insurance price 🙈37
-
Proud owner of a brand new Volkswagen, baked less than a month ago :)))
Lots of touch and tech inside, lots of assisting technologies -- quite a jump from a 2005 Audi a6. You can even track your car in your phone now OOTB :) cool!19 -
I feel like the social good of tech never really came to fruition. Like my local store can probably tell I have poorly managed ADHD from my irregular shopping schedule and caffeine/sugar addiction but all they use this info for is to try to sell me more salty peanuts.
The peanuts are tasty tho ngl3