Details
-
AboutWhere'd I put my fries?
-
Skillsgit commit -a -m $(fortune)
Joined devRant on 5/13/2016
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'm absolutely fed up with all documentation being tutorial-based these days! Well written documentation doesn't start with you creating a new project from scratch.
This is basically how all of Microsoft's documentation starts: Step 1 - Open Visual Studio. Step 2 - Create a new project...
I just checked out their WPF samples repository, and about 8 of the projects won't even compile. Absolutely ridiculous. There's 205 projects in the repository, and of course the one I need is on the list of those that won't compile.1 -
WASM was a mistake. I just wanted to learn C++ and have fast code on the web. Everyone praised it. No one mentioned that it would double or quadruple my development time. That it would cause me to curse repeatedly at the screen until I wanted to harm myself.
The problem was never C++, which was a respectable if long-winded language. No no no. The problem was the lack of support for 'objects' or 'arrays' as parameters or return types. Anything of any complexity lives on one giant Float32Array which must surely bring a look of disgust from every programmer on this muddy rock. That is, one single array variable that you re-use for EVERYTHING.
Have a color? Throw it on the array. 10 floats in an object? Push it on the array - and split off the two bools via dependency injection (why do I have 3-4 line function parameter lists?!). Have an image with 1,000,000 floats? Drop it in the array. Want to return an array? Provide a malloc ptr into the code and write to it, then read from that location in JS after running the function, modifying the array as a side effect.
My- hahaha, my web worker has two images it's working with, calculations for all the planets, sun and moon in the solar system, and bunch of other calculations I wanted offloaded from the main thread... they all live in ONE GIANT ARRAY. LMFAO.If I want to find an element? I have to know exactly where to look or else, good luck finding it among the millions of numbers on that thing.
And of course, if you work with these, you put them in loops. Then you can have the joys of off-by-one errors that not only result in bad results in the returned array, but inexplicable errors in which code you haven't even touched suddenly has bad values. I've had entire functions suddenly explode with random errors because I accidentally overwrote the wrong section of that float array. Not like, the variable the function was using was wrong. No. WASM acted like the function didn't even exist and it didn't know why. Because, somehow, the function ALSO lived on that Float32Array.
And because you're using WASM to be fast, you're typically trying to overwrite things that do O(N) operations or more. NO ONE is going to use this return a + b. One off functions just aren't worth programming in WASM. Worst of all, debugging this is often a matter of writing print and console.log statements everywhere, to try and 'eat' the whole array at once to find out what portion got corrupted or is broke. Or comment out your code line by line to see what in forsaken 9 circles of coding hell caused your problem. It's like debugging blind in a strange and overgrown forest of code that you don't even recognize because most of it is there to satisfy the needs of WASM.
And because it takes so long to debug, it takes a massively long time to create things, and by the time you're done, the dependent package you're building for has 'moved on' and find you suddenly need to update a bunch of crap when you're not even finished. All of this, purely because of a horribly designed technology.
And do they have sympathy for you for forcing you to update all this stuff? No. They don't owe you sympathy, and god forbid they give you any. You are a developer and so it is your duty to suffer - for some kind of karma.
I wanted to love WASM, but screw that thing, it's horrible errors and most of all, the WASM heap32.7 -
!dev
Ffuuuuucckk
This day just sucks.
Got a speeding ticket, went to pay it first thing in the morning. To renew insurance I had to call the bank to update my phone nr for 2FA. In this endless loop of „for this, press 1, for that, press2“ I pressed the wrong number and it invalidated my e-Banking password.
After a while got my number updated, after that called the insurance, after waiting for like 20min got that sorted and wanted to check my bank balance but I couldn’t log in. Now I can’t reset it either because it’s locked.
Need to call then again but needed a break and wanted to cook something but now my FUCKING SINK is clogged.
Have to uninstall half of the kitchen to get to t he pipes..
And it’s only noon.5 -
I'm starting my new job in 10 days, but I don't have the proper internet access to feel really confident about it. My parents want me to move out of the house so they don't have to accommodate for my new job. I'm getting chemo in a few weeks. I'm really sick of fighting shit. Trusting in the plan though.4
-
* Sets up some software
"Alright, and now to start the database"
* types "sudo systemctl start po-"
* hits tab -> poweroff.target
* Enter
...fuck me
little did I know, the database was already started...4 -
Boss: So what are your biggest achievements for this year?
Me: mmm, probably not killing myself
Boss: .....
Me: I meant I reduced the number of fraudulent transactions in our service by adding machine learning to flag suspicious transaction
Boss: Yeah, you should've start with that
Me: .....3 -
I just had a nightmare like I open the fridge and there is a cup with rotten slices of ham inside it and I look around and there is my ex with 8 hands telling me to E A T I T
and there is a feeling of complete helplessness and immense fear like I'm going to die right there. It's like suffocating in your sleep it's awful1 -
i've been informed by my friend group that i'm the only person to consistently hit issues with not having the skill to do a project, go do other projects to gain the skills, then *come back* to the initial project.
how is this not a common thing2 -
I'm so sick of dumb project managers, they want "updates" but then they reply with "I didn't understand any of that but it sounds like it's going well"
I literally have a PM who does it all the time, at this point I could talk to him in another language, and he'd just say "Great, sounds like its going well" then proceed to ask for updated a couple hours later *hardfacdpalm*6 -
No need to think small when you have eternity to work with. Right now I am building a network operating system, something I've started around 2 years ago. I expect to have an installable and more or less usable system in maybe a few more years.
When I would have an eternity to work with, I'd first look to make our planet redundant. It's insane to imagine that we only have this blue marble to work with, while we have a fireball of hell as a neighbor in our cosmic neighborhood. What even happened there? I'd like to find out. Granted Musk is already figuring out Mars, and he has the money for it while I don't. I don't like the man all that much (too much marketing wank) but hey, at least he's got us covered there.
Maybe one day we could live forever. Maybe we could map and upload our minds. Maybe we could replace our entire body with synthetic components when the frail meat-based components inevitably fail. Perhaps it could even happen in our lifetime, at the pace technology is progressing at. If and when that happens, sign me up!2 -
Do you ever learn a particular technology, have something playing in the background and then associate the tech with that for-fucking-ever?
To me, when I was learning about Ruby on Rails I was watching Full Metal Alchemist Brotherhood for like the 5th time (I am a big FMA fan) and have thought of Rails to be associated with it forever. heck, even with just doing scripts in Ruby without rails I have always felt like I was doing alchemy or some shit.
Yeh I know, spot the weeb.
I don't give a shit I just love Ruby.7 -
I love Ada, it seems to be a pretty unpopular opinion, and maybe I’m biased because the best organized project I’ve worked on happened to be in Ada, but that’s association not causation.
However, the lack of multi-line comments in a language made to have specific custom type compliance seems like a fairly decent oversight. Wouldn’t you expect the authors to want to explain about their types?
The other thing that is a draw back about Ada is searching for help. I love the Americans with Disabilities Act as much as anybody, but but somehow “Ada language types” will still bring up ADA info. (Yes “-disability” helps but it’s an extra step)5 -
A cracker just fell under my desk.
I cannot find it.
It's not possible that the cracker traveled farther than everywhere I looked.
But I still can't find it.20 -
[during a project discussion]
Client: We've been getting very low results on google lighthouse on the site
Me: The results are highly volatile, don't believe their lies
Client: *shares screen and runns lighthouse test*
Lighthouse test: 95
Me:7 -
Years ago I co-authored a technical paper. I now see you can buy a paper copy of it on Amazon for nearly $900.00
Its freely available anyways so I sure hope nobody has actually bought it haha.5 -
NO YOU PIECE OF FUCK APP I DO NOT WANT TO TURN ON YOUR FUCKING NOTIFICATIONS SO I WILL IMMEDIATELY GET YOUR SUPPOSEDLY AMAZING FEATURE STOP FUCKING ASKING.2
-
Did you read about the new Digital Services Act and Digital Markets Act laws of the European Union, that will go in effect in 2022? Pretty neat stuff, more transparency, user rights and a tool against internet monopolies.
"Very big online plattforms" must submit reports on freedom of speech, abuse of human rights, manipulation of public opinion.
EU assigned scientists will gain access to trade secrets like google search or Amazon recommendation algorithm to analyze potential threats.
The EU can fine serial offenders 10 % of their yearly income. And break up companies that stiffle competition.
Internet companies like Facebook will not be permitted to share user data between their products like Instagram and WhatsApp.
There will be a unified ruleset on online advertisement. Each add must have the option to find out why this add is shown to the user.
Unlike the GDRP data protection rule the two acts will be valid at the Union level. So that there won't be any exceptions from single member states.
Let's hope this leads to a better Internet and not things like cookie pop ups 😄
Link to the EU DMA DSA page
> https://ec.europa.eu/digital-single...49 -
I JUST GOT AN OFFER. God has blessed me. I also found out I have cancer a couple weeks ago. What a confusing time this is lol.13
-
One of our juniors was adding a feature and made a small mistake in one of their (copy-pasted) unit tests by forgetting to cast a return value of a mock
So he spent a ton of time changing the main code to do type checks, try/catching and error handling.
Poor soul realized the mistake in code review one day later2 -
To make matters even worse, my manager gave the horrible client also access to another clients environment just to 'compare' things, and nitpick over configuration that he is missing, but just hasn't setup yet...
Fucking fuck fuck fuck fuck fuck my manager, what a total 🌰🔩🥜nutjob5 -
That feeling when you’re scraping a website to build an API and your script downloads 4049/6170 pages before failing and you have to rewrite it so that puppeteer hits the next button 4049 times before executing the script. 😅
This database is so frustrating.
I hate this website (the one I’m scraping).
It’s going to be so satisfying when this is finished.6