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
I already searched for a while and couldn't find a viable solution.
I setup a service with docker-compose, and published it on port 80.
However port 80 is only published on ipv4 networks, not ipv6.
How can I make docker publish the service on ipv6 networks as well.1
Is it normal, that a newly bought laptop, has a wrong BIOS time set?
The one on my thinkpad was nearly an hour off.3
Damn, Square Enix hasn't even released Bravely Default 2 yet, but they are already publishing the demo for their next awesome game.3
Hey guys ,
I just finished the first specification of a format I call CommandFile.
It's a configuration file format, largely designed after dockerfile with bits of TOML.
Can anyone of you, who is more well versed in writing specifications than me, read over the spec and check if it's concrete enough and if restrictions are reasonable?4
I think the Golang serialization API is utter garbage.
By convention it usually looks like this,
This means that all serialization and deserialization is done on, heap allocated, in memory buffers ( technically also mmaped files, but thats not cross platform).
As the Go GC is ruthlessly optimized for minimum latency, this can potentially cause memory leaks in long running applications.
I think we need a new serialization API that looks more like
I finally got fprintd to work on my laptop.
It's awesome to authorize sudo and polkit with a tap to the scanner rather than typing my passphrase again and again.
Did some of your repos get included into githubs Arctic Codevault?
My dotfiles got included, so future generations can, after a nuclear apocalypse, see my shitty i3 config.7
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