AboutI'm just a guy love's coding and gaming.
Joined devRant on 3/19/2018
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
Fuck this shit.
I got tested positive this morning.
I might have accidentally infected my parents and my colleagues.24
Do you know some websites where I can get good dev/tech stickers.
My new Thinkpad X1 Carbon arrived a few days ago and I want to ruin it's neat professional design with some weaponised cringe.
I'm gonna go get the large pack from Unix stickers, but I'm also searching for other sources.5
I just found out, there is a GCC flag that prevents you from using integers in a bool context in C.
Not only is this the original "bool" implementation of C, but it's also a widespread concept for use in NULL checks and the likes.6
Whatcha thinking about the
Lenovo ThinkPad X1 Carbon Gen 8
(i7-10510U, 16GB, 512GB, 1080p)?
Found one for a dirt cheap price (campus discount) and think about buying it.
I'm largely using linux, including somewhat exotic distros like Void,Gentoo, Alpine.2
To everyone who writes acronyms in identifiers in all-caps.
Fuck you, you fucking piece of shit.
You're mom's a hoe and so are you.3
Authentication and Identity management are just one giant shit fuck.
Ldap, PAM, OAuth and what not.
Each of them with it's own caveats.
Ldap, supposedly being the most widely used, isn't even an actual Identity management or authentication service, but just a DB misused as one.
The best part is, that if you want to selfhost some apps, you're pretty much forced to host one of these abominations too.
At least if you don't want to manage each service account's separately.11
I get the feeling, there are 2 devs in the Golang team, that were like
"Every idiot knows that Acronyms should be all caps."
"Da fuck?! Wanna know what should be all caps?!
The sign on your mom's brothel, dickhead!"
And so they both tried to establish their style as a convention in the stdlib, and that's why half the the Acronyms are written in all-caps and the other half isn't.1
How does FS-based locking,
Eg. What sqlite does, work on the inside?
I'm working on a file-format for storing binary data and I want it to be safe for concurrent use.2
Our programing teacher(CPP) is so fucking bad at teaching.
I'm pretty sure his classes actually cause permanent damage, by rendering the other students unable to learn programing properly.
Whenever a sentence starts like, "For the advanced around you...", you can cough bullshit from the top of your lungs, because what he's about to tell is first semester c-basics.5
Does the Go GC move heap-objects?
I found some articles that say it does, but in the sync package, there is the copyChecker type, which could only work if the GC never moves memory.6
I got myself a french press yesterday.
How the fuck did I live without this thing for so long?16
Whatcha thinking about the Dell XPS 13 9300?
There's one on discount during the prime days and I'm thinking about buying it.6
Question to the ones one here, that also suffer from insomnia occasionally.
How do you manage to pull through the day, with very few or no sleep at all?4
Okay I got a genius/exceptionally stupid idea.
Some of you may know Xi. If not, it's an, in development, text editor backend, written in Rust.
It does all the heavy lifting and communicates changes with the Frontend over an rpc-api, typically on stdin/stdout.
Now, why don't we do this, but for other kinds of applications, that have been reinvented a million times, because a feature is missing or the ui has been shit.
Cross-Platform backends for file-managers, web browsers, password managers, media players,...2
Holy fucking shit.
I just read an article about Barton Gellman, one of the journalists that wrote the snowden articles for the Washington Post and one of the 3 that got contacted directly by snowden.
It seams like several intelligence agencies tried/succeeded to compromise his infrastructure.
His iPad got compromised through an RCE exploit.
The turkish intelligence service tried to compromise his laptop by tricking him into installing a customized RAT.
Like fuck man, I can't imagine how it is to be targeted by pretty much every government there is.15
When building a REST-API, that is secured with tokens (JWT or something),
Should the token be included in the body or in the headers?4
What do you think about the Crystal language?
It looks kinda cool, but I'm somewhat worried about the lack of Multithreading and the beta status so far.24
Why do io-interfaces usually use a signed integer to return the number of bytes processed?
Like seriously, you literally can't write/read less than 0 bytes.4
I think there should be a term for linux software that is advertised as self-containment or statically linked, when it very much isn't.
I suggest "statistically linked", because statistically, it appears to be statically linked on about 50% of all systems it will be run on.5
I recently published this library
It provides ready to use DTOs, for working with JSON-data in go.
The API is documented on https://pkg.go.dev/github.com/...4
Quick question, if anyone knows.
Does Wireguard encrypt traffic end-to-end or only between neighbor peers?1
Yeah, the newest Firefox-Android update killed compatibility for a fuckton of add-ons once again.
The usability is strong in this one.4
School starts again next week and, so far, they didn't manage to publish the new schedule on their website.
Like fuck, I'd kinda like to know, in which room to go on Monday.1