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
-
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 🙈40
-
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 -
I grew up in Russia. We don't use imperial units in any way, shape or form: we're fully metric. Every single person who taught me at school and whatnot was born and raised in Soviet Union that was also fully metric, and science was worshiped. We used to laugh at imperial units.
Given all that, I... don't hate imperial system. Inches, feet, miles, Fahrenheit degrees, gallons, all units based on human proportion. Just think where the word for "feet" came from.
Zero C is meh, nothing in particular. A hunge boils your blood kills you instantly. It's useless: it's a "shit ton of heat" in human scale.
Zero F is chilly, a hunge F is toasty. It's based around human perception. To me, there is no difference between 100 and 90 C, but the difference between 100 and 90 F is more perceptible, and thus more useful to a human being.
Same with every other unit. What's a gallon? A gallon is enough for an average Joe to get drunk, that's what a gallon is.
Where it all falls apart is when you're trying to create something. When you're trying to get some calculation going. When you're making — not consuming — you need your units to add up, e.g. to have the SYSTEM in place. Imperial system is not a system.
Imperial units are perfect for _consuming_ stuff: a gallon of milk, a pint of beer, a (real) footlong sandwich, a pound of meat. Six foot high dude with seven inch dick.
Metric units are indispensable when you're _making_ stuff, at any scale. That's the difference. Imperial units are the tool of consumption, metric system is the tool of creation.
Only the time units seem to be the same for everyone on earth right now. Time itself in its mercilessness gives the same treatment to all entities, doesn't matter if you're a human or a grain of sand.23 -
I just got blocked on chess.com because some british guy blundered away like three pieces in a row and I went "blimey! the brexit geezer gambit!"
simple as.45 -
I don't know if I'm one of the only ones who struggles performing at their job.
I have a good foundation in Computer Science and a few degrees, yet I somehow always struggle, especially in Business Analysis. I know it's partially my specific situation since I need to catch up on some studying.
I want Software Development to be comfortable, not agony where 80% of the time I'm pulling my hair out trying to understand how something works. It just makes the job unpleasant. I currently hate algorithms, databases and custom client logic.
For me, Software Development is either fun solving a problem, or dealing with a convoluted, annoying business problem that has to be solved in a very custom way, coupled with tons of headaches about how to engineer things. I don't want that. I want fun and discovery, not agony and wishing I weren't in this industry.18 -
Ugh, I remember the first time I tried to post on Reddit — I had this super niche theory about time travel in cartoons, and I was SO excited to share it. But nope, not enough karma. Ended up commenting on cat pics for like a week just to level up 😂 Felt like I was grinding XP in a video game just to be allowed to talk. Reddit really said: “Earn your right to be weird here.”2
-
How many of you wake up and the first screen you see is your development environment (IDE, terminal)? lol11
-
I'm slowly but surely make my KDE Debian's UX better than what I was familiar with on macOS. It's already _way_ faster.
When I'll get UX done, I'll get to UI -- all kinds of beautification
pro tip: AI is VERY good at configuring linux for you3 -
My workplace just lost a contract that would bring us a €20000 revenue because the CEO refused to spend €5.12
-
Him: Hey your program doesn't work
Me: what's the error
Error: malformed data file
Me: where'd you get that data file?
Him: oh in this new place I saw
Me: that's not the correct data file for that command
Him: are you sure? This is more convenient for me
Me: the command needs the correct data from the correct source....1 -
Camel case can't be used in Postgres: table names are case insensitive. Pascal case can't be used too.
Kebab case is readable, but it can only be used in HTML, Clojure and probably some other lisps.
Thus, ugly-looking snake case is the most compatible casing.5 -
It occurs to me that the only people left on devrant are shills, bots, racists, and insane people, and I've yet to decide whether to leave or count myself into that last category.53
-
Ever tried opening up x15 IntelliJ IDEA's sessions with all different repos at the same time after 3 months, so all of them would trigger reindexing?
There's the first time for everything I guess...16 -
What shall it be today?
- AoK returning
- retoor shilling python
- kiki posting about her diet
- Me shitposting about devrants people once more
- All of the above19 -
Google Maps: Hey you are at restaurant XYZ! You wanna see the menu?
Me: Yeah, why would I want to see the worse edition of the menu on maps! If only I could just move my eyeballs slightly...2 -
In CSS, never ever enlarge anything by hover. There will exist a set of cursed cursor positions somewhere on the edge of fully zoomed out and fully zoomed in states, which will make your UI element twitch between two states at 60+ FPS.
If you want this effect, wrap the element you want to enlarge in a wrapper whose size won't change. Add :hover state on the wrapper, not the element, and change the element in that selector. It will make the curse go away.
wrong:
.zoom:hover { transform: scale(1.1) }
right:
.zoom-wrapper:hover .zoom { transform: scale(1.1) }8 -
Y'all ever have a project that's going great until you get about 80% in then the client starts getting all clienty?5
-
At my work we still deploy web files the old-fashioned way, copying newer versions over from dev to test and test to prod. For comparing and copying changed files we use WinMerge. Although our workflow sucks, WinMerge itself is actually a nifty little tool for comparing any sort of text files. But today it pissed me off in a way it never has before. I copied a diff from left to right and then meant to save it with Ctrl + S, but accidentally pressed Ctrl + D. Guess what happened? To my horror, both sides went completely blank! It looked as if the file contents had been deleted, and undo had no effect. To my relief, the files were intact when opening them in VS Code. Thinking this was a glitch in WinMerge, I restarted it but still, all files were blank. No contents displayed! Then I thought, perhaps pressing Ctrl + D again would bring the file contents back into view. And it did! So the bottom line is: Pressing Ctrl + D makes the compared files appear as empty. Now, who would want that to happen? What a nice feature, you've got here WinMerge! (I'm being sarcastic in case you missed that)6
-
The sheer rage I feel after sending an 'urgent' email to a client, following up five times with no reply, and finally getting a reply a week later: 'Thanks for your patience!'... I wasn't being patient, I was suffering.1