SkillsPython, java, all things Web
Joined devRant on 9/21/2016
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
We got married and started our relationship at 1.0. After our first argument, we managed to patch things up, so it wouldn't all break down: 1.0.1
Same night, I suggested a sexy new feature, and we worked up a good sweat implementing it together.
I got too excited and released prematurely: 1.1.0
After that, she was a bit cross, but then I suggested a hotfix. She agreed and got right on top of it. After a few minutes she finished and managed a release as well: 1.1.1 😏4
As this is as good a place as any to vent, I feel the need to proclaim that I've had to unsubscribe from /r/ProgrammerHumor on account of all the "volume control" jokes.
I am a patient man, but I simply cannot deal with monotony. It is the same fucking joke over and over again popping into my feeds.
Gonna give it a couple of months until it dies down.
Here on devrant, I guess I'll just have to downvote and trust in algo to save me2
I guess days lile today, where hard work and solid effort is rewarded with a promotion and a sizeable increase in salary.
Feels good man
So, should I refactor this into a .greatGreatGrandParent() method, or should I just go hang myself?
(Thanks former colleague for this gem)10
I'm seeing more and more of the shit on here, that I got so fed up with on 9gag. Not all of the memes and stuff, but people asking all manner of silly questions.
I come here to consume interesting content, not to be asked what music I wear or what colour my underwear is. In my opinion, make a post if you've actually got something to share. Otherwise stay quiet. Or find a community that is interested in your ridiculous poll taking2
Feature request: a way to ignore users so their rants don't appear in my feed. Some of the frequent ranters, while very popular on here, really rubs me the wrong way, and I'd love to be able to filter them out4
In this digital age, we really need an IT equivalent of "by the strength of my back, and sweat of my brow". Suggestions?
I wonder why stack overflow gets so much hate on here. To me, it is a tremendously helpful community. People are usually pleasant and forthcoming.
I sometimes see questions closed as "not constructive", even though it has thousands of upvotes, but generally, if you follow the rules, you'll have a good time.
Maybe people want SO to be something it is not, or maybe people behave differently around different technologies. I mostly find Python, Djang and general web answers, and they are fine5
My version of the rubber duck is Outlook. I start writing a mail to the PM explaining an issue with the domain logic and how I see multiple ways to resolve it, but not sure which one is better.
As I write the email clearly enough for him to understand, I end up knowing exactly what to do and I delete the email 😜2
When is devrant going to fix the notification counter? I've never seen it work properly. The numbers spins through several seemingly random numbers and end on a wrong number 😕1
I have in my head parts of a game, I'd love to build. A top-down space colonization game. You control various spacecrafts and build spacestations etc. to expand your control.
The catch is that you have limited direct controls in-game. Most of the "gameplay" consists of having your own piece of software running somewhere, communicating with the API and controlling your colony.
Biggest annoyance of favorite language:
Python has no static type checking. I know that is not something that is intended for Python. It's just that I enjoy the syntax, but would love the type-safety of something like Kotlin/Java12
Is it just me that have an issue with "reply" and "report" being too similar in the devrant app? Even with the warning when pressing report, I just accidentally reported a comment instead of replying to it (sorry @letmecode).
Maybe the report button could be hidden in a context menu or something?
So at the old job, i needed support for an issue relating to Amazon S3. We used a third party Python plugin for sending files to our buckets, but had some pretty severe performance issues when trying a 2-way sync.
Naturally, I sought help on StackOverflow, and was asked to share my config. Without much thought, I pasted the config file.
Next comment made me aware that our API id and key was listed in this config (pretty rediculous to keep such private info in the same file as configuration, but oh well).
I edited my question and removed the keys, and did not think about the fact that revisions are stored.
Two weeks later, my boss asks me if I know why the Amazon bill is for 25.000$ when it used to be <100$ 😳
I've never been so scared in my life. Luckily, Amazon was nice enough to waive the entire fee, and I leaned a little about protecting vital information4
At my old job, me and a colleague were tasked with designing a new backup system. It had integrations for database systems, remote file storage and other goodies.
Once we were done, we ran our tests, and sure enough. The files and folder from A were in fact present at B and properly encrypted. So we deployed it.
The next day, after the backup routine had run over night, I got to work and noone was able to log in. They were all puzzled.
I accessed a root account to find the issue. Apparantly, we had made a mistake!
All files on A were present at B... But they were no longer present at A.
We had issued 'move' instead of 'copy' on all the backups. So all of peoples files and even the shared drives have had everything moved to remote storage :D
We spent 4 hours getting everything back in place, starting with the files of the people who were in the office that day.
Boss took it pretty well at least, but not my proudest moment.
*Stay tuned for the story of how I accidentally leaked our Amazon Web Services API key on stack overflow*
The moment when you realize, that you have a more careful backup for your dotfiles than for the pictures of your newborn son1
Sitting here coding a new API with "Ride of the Valkyries" blasting in my headphones. Good times. be right back, getting more caffeine
Recently had trouble with some SQL. My tests would not pass, so I had to manually run it to debug it.
SELECT * FROM a JOIN b ON [...] WHERE b.foo NOTNULL
Yielded 0 of 3 rows. Expected 1
Tried querying WHERE b.foo ISNULL instead. Would have expected 2 of 3 rows, but got 1.
After googling i discovered that comparing with NULL does not return a true/false binary description, but may also return unknown if the type is not a NULL type, e.g. 42 ISNULL =" UNKNOWN
Saw this in the Python project codebase today:
arg = '\"foo\"'
Which is funny, because '\"foo\"' == '"foo"'