Details
Joined devRant on 10/16/2020
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
-
Welp it's been implied that I'm a Nazi on devRant, now. That didn't take too long. They even assumed my nationality to do it.
I think I'll take my leave.
Bye idiots.4 -
Lol. In the years that `const` and `let` have been in Javascript, not once have they ever helped me read the code better or caught a bug. They have not helped me understand anyone else's code, nor have they really helped convey any sort of meaning for other developers that I have heard.
Usually the rule is, const first, then change it to let if you need to. It adds nothing.
All this gold plating is weighing things down.15 -
Any Burmese here?
Let us know what's going on before your internet is cut off.
Good luck. Watching helplessly from Germany.7 -
Someone, somewhere, in the standard C library headers for my particular libc implementation, is #undef'ing assert() unconditionally and it's causing massive headaches.
Fuck the C preprocessor. There's no way I can track this down it seems, but my assert implementation is being quietly ignored and I have no recourse for it.
Gotta change all of my asserts to a different name now. Fun.
*long sigh*5 -
My mom bought my very Italian boyfriend an espresso maker for his birthday. He bought the best Italian espresso grounds he could find here in Germany, and we just had a cup at 10pm (our sleep schedules are fucked up).
I've had a lot of coffee and a lot of espresso in my life, but right now I feel like if I jumped hard enough I could fucking fly. I feel like bashing my head through my computer screen for no particular reason. I feel like I could divide by zero and be OK.
Holy shit you Italians are fucking crazy.17 -
Phish everyone's slack tokens, make markov chain bots that immitate everyone and delete any messages not coming from the bots.
Have the entire company chatting with itself nonsensically without allowing any human interaction for a whole day.
Then buy the sysadmin their favorite bottle of alochol for the trouble I put them through.1 -
!dev
My entire 1am train ride across Berlin tonight, a Saturday night/Sunday morning, was devoid of anyone else in the train. I even passed through one of the biggest stations.
This pandemic is wild.2 -
FUCK YOU, UNITY.
The fucking UI lag causes mouse events in the editor to aggregate and act fucking weird when it's randomly reloading scripts and shit.
I just needed to move some assets into another folder. I control clicked a few scripts at the same time Unity decided to recompile them. It ended up thinking I was making a box selection and then, weirdly, some mouse combo that duplicates scripts (didn't even know that existed).
Okay, whatever, nbd. I just control clicked the other scripts (all with `1` postfixes) to delete them. No problemo, right click, delete.
FUCKING UNITY LAGGED, THOUGHT I BOX-SELECTED AGAIN, AND DELETED EVERYTHING IN THE GOD DAMNED FUCKING FOLDER. HOURS OF WORK. JUST GONE.
FUCK YOU UNITY. YOU'VE CRASHED THREE TIMES THIS WEEK AND NOW THIS. FUCK YOU.14 -
Repeat after me:
process.env is not standardized. Keep it out of the browser.
process.env is not standardized. Keep it out of the browser.
process.env is not standardized. Keep it out of the browser.
process.env is not standardized. Keep it out of the browser.
Fucking hate the web community. It's just a large trash barge at this point.19 -
We now have green dots literally posting doxxing rants.
Are people really still dying on the "the post quality is fine!" hill?
Where the fuck are the admins?4 -
Accidentally copying my sex tape into an npm repository without realizing, publishing it, and having it be downloaded billions of times before I could unpublish it.8
-
Big win today. Set up a custom motion capture pipeline for Unity using my Vive/controllers today. Quote a bit of scripting but I went from nothing to complete animation reel for our character model in a single day.
Successful day for once. I can sleep well tonight.2 -
!dev
In the US, when a technician or something says "yeah anywhere from 8am to 7pm" they will show up around 6pm.
In Germany, however, if they say "8am to 7pm" they're at your door at 7am, knocking loudly and unapologetically.
Yes, please, checking my heaters is so urgent, please do it right now. There's not a moment to lose. Don't worry, it's not like we were still asleep.
>_>14 -
Fuck NameCheap.
They will show you a domain is on sale, make you contact support to buy it, tell you "oh sorry it's your browser cache's fault, please restart your browser" and then JACK UP THE PRICE 10x.
Royally fuck you. This shit should be illegal. If I thought it would solve anything I'd contact ICANN.
God I fucking hate this industry. It's all a fucking scam.22 -
It's a fucking shame computed goto didn't make it into the C standard.
It's by far my favorite non-standard feature of C. Writing this VM would suck without it.17 -
There isn't a single good hex editor for the command line.
No, xxd+vim is not a solution when you need to move bytes around or create files from scratch.
I want something that shows me e.g. u32/u64 values at certain locations as I'm editing, color coding bytes by printable or not, etc.
There are lots of *viewers*, and a lot of shitty basic editors that hardly work, but nothing that feels solid and actually usable.
Frustrating.7 -
Complain about your build systems/pipelines here please! I want to hear about it.
----
I'm finally ready to publicly say I've been designing a build system. It's a culmination of around a decade of studying, thought, ideas and prototypes.
If you have any sort of build step in your project (any language, any compiler) that is unusual, custom, weird, or has a lot of requirements, extensive, etc. - anything even slightly outside the box - please let me know about it below. I want to know as much as possible about it.
Any strong opinions, hateful comments, gripes or annoyances, etc. please don't hesitate. I'd love to hear what issues you face with build systems. I want to make sure such cases are covered.
I'll also answer any questions for the curious.6 -
Someone on a C++ learning and help discord wanted to know why the following was causing issues.
char * get_some_data() {
char buffer[1000];
init_buffer(&buffer[0]);
return &buffer[0];
}
I told them they were returning a pointer to a stack allocated memory region. They were confused, didn't know what I was talking about.
I pointed them to two pretty decently written and succinct articles, the first about stack vs. heap, and the second describing the theory of ownership and lifetimes. I instructed to give them a read, and to try to understand them as best as possible, and to ping me with any questions. Then I promised to explain their exact issue.
Silence for maybe five minutes. They disregard the articles, post other code saying "maybe it's because of this...". I quickly pointed them back at their original code (the above) and said this is 100% an issue you're facing. "Have you read the articles?"
"Nope" they said, "I just skimmed through them, can you tell me what's wrong with my code?"
Someone else chimed in and said "you need to just use malloc()." In a C++ room, no less.
I said "@OtherGuy please don't blindly instruct people to allocate memory on the heap if they do not understand what the heap is. They need to understand the concepts and the problems before learning how C++ approaches the solution."
I was quickly PM'd by one of the server's mods and told that I was being unhelpful and that I needed to reconsider my tone.
Fuck this industry. I'm getting so sick of it.26 -
Working on a very large project in C that will ultimately be open sourced and will almost definitely receive the attention of a lot of people - though it's not clear if it'll be good reception or bad reception.
It's like performing in front of a large group of people. It's very nerveracking to know that all of this effort could get shat on after months of hard work.
Only inebriation brings me motivation to do it (it's a necessary part of a much larger project and just needs to get finished). Having thought about this problem for almost 10 years and just now doing something about it is a lot of stress.2 -
If you're going to ban Parler, ban Facebook, Twitter and Reddit too.
Or don't ban anything, because it won't change anything.
What idiocy.2 -
I have a series of timestamps (second granularity). I need to derive a "frequency" from them and produce a string like "every X minutes/hours/days/weeks/etc", to where it fits closest.
Is there a well-known algorithm for this? I'm having trouble finding search terms.7 -
Not even 30 yet and I feel like I've reached a point of stagnation in my career. I no longer enjoy writing code. What else is there to do? My life is set up right now so that I must be a software engineer; I don't have much of a choice.
I feel trapped.10 -
BIRD OWNERS. If you live near ANYWHERE with fireworks, few or many, just a friendly yearly reminder that the smoke from those fireworks will destroy your bird's respiratory system. KEEP YOUR WINDOWS CLOSED. Do not underestimate how dangerous that smoke is for them.
Happy new years everyone!11 -
A big part of my frustration as a programmer is that I don't have a lot of friends that are on a similar level that are willing to let me bounce ideas off of them. The last few years I've been flying blind with no external frame of reference except for the few really beginner dev friends that I have.
Where do you people socialize? IRC has long been... well, kinda dead compared to how it was 15 years ago or before. I have ideas that I'd love to discuss with others in the same sphere of interests but simply cannot find them.
Frustrating.5