Details
-
AboutI like penguins, gnus, elephants, and pythons.
-
SkillsPython, asyncio, Linux Sysadmin, devops, PostGis, a little JS.
-
LocationEurope
Joined devRant on 12/17/2017
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
-
@-ANGRY-STUDENT- depends on the language but where == means equality, you'd need && to check for logical "and". A single "&" often is a bitwise "and".
-
@johnmelodyme how about the very urgent task of writing down the current time every 10 seconds on peace of paper for a week?
-
That post sounds amazing in the office and horrific in the ER.
Congrats! -
There are better ways to do it, but it's not worse than a physical key. At least as long as the IDs are random
-
@jassole completely off-topic, but mentioning Hitler is a safe way to derail anny discussion where a German is in the room (my apologies)...
Regarding the "Hitler started out cleaning up factories" thing: He was very explicit about his intentions before he was in power and as soon as he became dictator he started preparing and executing the holocaust. At no time it looked like a good idea to put him into power. With todays values that is. Big part of him getting so far was that he wasn't taken seriously soon enough.
That said, the point that it's never a good idea to give an individual absulute power still holds (since you at least need some way of fixing if you picked the wrong one). -
Many services like that decided that the cost of preventing you to steal it is too high and just sue you as soon as you use it publicly.
-
@magicMirror examples for syntactically valid adresses:
- @example.com
- '@'@example.com
- !@wtf
- 一个@阿育王。印度
Good look validating emails with a regex ;) -
A lot of the official docker images are hopelessly out of date, except for the one thing they are supposed to provide because they don't bother to rebuild all their dependencies.
docker pull <seevice> sounds easy but is a security nightmare. -
BEGIN TRANSACTION;
DELETE FROM Invoices;
478968
ROLLBACK; -
Always be specific when running destructive commands: Never rm *, and put -r at the end. E.g rm subdir/* instead of cd subdir; rm * and rm subdir/folder -r to prevent accedentially hitting enter at rm -r subdir. Doesn't help when dropping tabels, but you can disable autocommit.
-
@stop the flat earth predates the spherical earth by centuries. If you asked the Sumer 3000BC they would tell you the earth is a disc (think continent) floating in a giant ocean with a sky dome above it (pretty much what some flat earthers think today). But you are right that the spherical earth pretty much remained the predominant model throughout the middle ages to today (the dispute with the church was more about whether the earth is the center of the world or not).
-
All good, I was half joking! Welcome to devRant!
-
@Necolanch I don't remember and I'm not sure this is a social engineering attempt or a genuine question, but I guess you succeeded in getting my ++
-
Maybe I'm the exception, but I quite liked the sessions where we were just provided with food and beers and otherwise left alone.
-
Sorry guys, I have to close devRant now!
-
@rittmann I don't mind someone asking me for a meeting because they got stuck in their debugging or train of thought and need someone to talk it through and hopefully untie the knot in their head. But the kind of meetings where I have to do all the thinking after being asked a question one could easily write down are really pointless.
-
@intoleRANT sounds like a nice prank device (can be installed on a locked pc)
-
https://en.m.wikipedia.org/wiki/... reads like a comedy plot.
Reminds me of companies which imitate Scrum by doing all the rituals but forgetting about their purpose. -
Hey, this is the devRant guest book, right?
-
I don't hate it as an exchange format for final results, it's pretty common in the GIS world to use sqlite files for distribution of map data (mbtiles).
-
I'm on my phone right now so couldn't really test it, but the README.md seems really well written and easy to follow!
The only step I could find that would be different on Linux is that activating the virtual env is done by `source <name_of_virtualenv>/bin/activate`
(Also Python is usually installed there but you already got that covered.) -
"I don't know about that" = "I'm not convinced yet, please try to explain it to me like I'm the idiot I am"
It's a valid response for a lot of people. -
What you are describing is illegal in Germany: you cannot treat freelancers like staff, you have to employ them, including mandatory heath and rent insurance, if you do.
-
My chromebooks keyboard only works when it's on a flat surface, seems like a connection is a bit wonky.
-
@pmso I guess the waterproof way of doing this would be to store the hash of the username in the audit log since the username likely contains personal info. This way you could still answer whatever a specific account was deleted without knowing anything about the deleted accounts.
-
Congrats! Don't forget to sleep, drink and eat regularly and enjoy the ride! I miss those days where I learned something new every day.
-
Unless you signed over the copyright you can open source it. And I think you should, this way you have it as a public reference for future jobs!
-
Ink on paper has a few features your digital copy cannot provide:
- software and platform indipendent
- a lot more durable than any affordable digital storage
- strictly read only, alterations would be obvious
You could argue that your thesis isn't worth archiving, but academia is centered around keeping track of what we know. Having a digital copy is good and might proof itself within the next couple hundred years, but with paper we just know it'll still be readable until it's actively destroyed.
Of cause it would be nice if the faculty could just put it on their preferred archiving storage themselves instead of expecting everyone to own a printer. -
For me that sounds like you'd have to look at the CPU implementation to predict whether -1 + 1 < 1 - 1.
Also it breaks the assumption that "<" implies "!=" (also that's not that important with floats where equality doesn't really work well anyway). -
Was this a verbal conversation? Maybe the "IT Manager" just had issues hearing the word "zip" right? Either that or they were trolling. I mean pick any recent distribution of any OS with a pre-installed GUI and it will open a Zip out of the box.