Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Basically: Shoutout to my dad!
My dad's not an engineer or anything. But he likes building PCs and has a bunch of tech at home.
Well, thanks to him, I had a PC very early on, and of course, I did the typical skiddie stuff it, aka "fake batch virus haha funny" and playing Minecraft.
Well, at some point, after tinkering with mods to enhance the quality of gameplay, I found the ultimate mod: Macro / Keybind Mod.
This mod allows you to bind stuff to keybinds, such as commands or chat messages, or... Macros.
This mod has a custom macro language. (Hint: This is where the fun begins)
Another mod I used was AutoSwitch. However, that mod required a "core mod" (aka library installed in a dumb way). I thought, "why do I install 2 mods to get 1 thing? dumb", and made an ugly macro with lots of nested if-elses, which perfectly emulated AutoSwitch behavior for the Minecraft version I was on.
Yup, I basically got rid of 2 jar files in my mods folder by making my own ugly macro.
The fact that I recreated something in an obscure language, having not even coded any program before, made me grow interest into actual programming languages.3
Ever wanted to have a live webcam stream from a room at a dog shelter somewhere in the U.S.?
Done using https://git.kescher.at/jeremy.kesch... :)
Yeah that stream is a webcam they left publicly accessible. Probably on accident, but who cares.17
Today, I got my first recruiter spam (read: unsolicited) email! If they get more common than that, I'll have to build a filter for those.2
y'all surely like up-to-date docs and shit, and there's an unofficial project that has been revived to document devRant's API. Check the collab:
So I just had to tell three people to read the fucking docs in the comments of an AUR package.
They complained about linker errors, figured "oh happens with GCC 10, doesn't with GCC 9, let's use GCC 9".
If they had read the docs, they'd know that maybe, all that was needed to be able to compile the code was a single command-line flag. `-fcommon`.
People, just RTFM. If you see "oh upgrading from version X to version Y causes some issue", look up "porting from S X to Y", and find something like this: https://gcc.gnu.org/gcc-10/...
Was it so hard? Yes? Then why are you compiling any packages for yourself with a PKGBUILD when you should rather just stick to the non-customized packages built by people that know what they're doing, from the repositories?22
What is it with wget and repeatedly getting this odd bug where it segfaults or passes invalid sizes to free() or malloc() when you resize a terminal it's running in? For fuck's sake6
Well, fuck this. It seems that politicians are trying their best to validate conspiracy theorists.
This is a German article about the EU Council of Ministers discussing the implementation of backdoors into services in the same way the US and Australia do.
The link will automatically place you at a slideshow, containing images of the proposal's pages. If you can't view it, use Inspect Element to open the JPEGs individually.16
https://mosh.org, together with GNU Screen running on the remote, is just the best when I'm trying to fix something on my server while I'm in the fucking forest with bad reception that would cause normal ssh sessions to kill themselves all the time
The fear that I'm too thorough, and out of that, the fear that I'm too slow and "others might find out at some point".
I will never forget that screenshot of a corrupt jar file viewed in 7-Zip containing something with a compressed size of 19 bytes, which would result in more than 1 TB uncompressed
Things like these are why I'm still breathing12
For editing small stuff? micro. Intuitive shortcuts and useful commands.
For editing larger projects? Definitely a JetBrains IDE. The way they make debugging work properly out of the box is fascinating.
PSA: If you do reverse proxying stuff, prefer unix domain sockets over localhost internet sockets, if it's on the same machine (and if it's forwarded over ssh too). You can even serve HTTP as a unix socket.
Unix domain sockets don't have the overhead of IP, so generally speaking, data will flow to your other process with much less overhead.
I've recently stopped being lazy at this, and it's worth it.3
Look at this bullshit. Open your devtools and go to the network tab. This shit deadass takes 18 MB to load initially. And why? Images. High-res images.
Impact on schools in Austria:
full blast on eLearning from home. For everyone, from March 18 until at least April 19.
Unis already have it, 9th grade and up will do so from March 16 onwards already.
Man that's crazy8
*sends out email about Coronavirus and suggests not being close to many people*
*immediately invites entire grades 9, 10, 11 and 12 to talk about how filming yourself throwing teachers is bad for half an hour*
!dev but definitely rant
Here's a fucking thought:
How is holding women over different standards at events and (non-physical) competitions (hackathons especially, somehow) NOT widely considered sexist? I don't even mean towards men - yes, of course.
But also towards women: By preferring their results in some competitions in order to "support them", you implicitly degrade them to be small children in need for praise. You imply that you expect them to perform worse. By "women-first" PR bullshit, you do what you claim to be against. Fuck you.
Why can't we just hold everyone to the same fucking standards? Women can be just as good in tech as men, when interested. I would even make a point that these different standards hold back women from trying to get into any tech-related career.18
Somehow, shit's more fucked up on Debian systems for me than it is on Arch. Debian's supposed to be the stable one, and Arch the one that breaks, but nah.6
To the people that mistake i and j in nested loops: Have you considered giving these different names?20
Here, you are able to see a Windows installation in its natural habitat. This particular specimen is confused whether an internet connection exists or not.
(The internet was working fine on that machine btw)5
Well, if your backups don't include /etc/nginx, make them include that directory. Mine's gone and I'll have to configure that again Friday evening. Woops.5
If you use conky (https://github.com/brndnmtthws/...), make a screenshot of what your config looks like, and maybe also share the config with a link!
I will also contribute mine, once I'm happy with it.7
(PSA: serious replies to this kind of wk tag might be best suited under Random)
"The way you've done this seems much less complicated that what I would've come up with."
"You've been reading Clean Code?"
"I didn't think that was possible, nice."
And finally, the most extreme one:
"Can you print this code for me so I can hang it on my wall of good code?"3