AboutI like penguins, gnus, elephants, and pythons.
SkillsPython, asyncio, Linux Sysadmin, devops, PostGis, a little JS.
Joined devRant on 12/17/2017
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
Was playing chess, the guy blundered mate in one, he didn’t even wait to see if I realized, he quit immediately, 😂😂 must be punching air right now, trust me I know the feeling
Just finished writing a RISC-V(RV32IM) emulator in C. Give it a try
You will have a first phase when you will do everything on your own.
Then you will have a second phase when you will totally rely on external libraries found on the internet.
Then you will have a phase when you will use libraries only for the stuff you don’t want to bother because, never reinvent the wheel but do not get too much tech debt.
Then the hyper simplification phase when you will refuse modern solutions for good old robust stuff as they used to do back then
Then I don’t know… but I am getting interested in agriculture
Anyway try always to learn new stuff and don’t be afraid of change as it is normal. And learn other skills not related to code, those will keep you alive1
Applied to nearly 50 vacancies in Australia for role of Software Engineer/Developer. Maybe about 10 of them replied and said:
1. due to current international restrictions we are unable to provide Visa sponsorship for overseas candidates
2. we have decided not to move forward with your application
Waiting for others to reject me too.2
I ended today a meeting.
Did it bastard administrator of hell style.
I shut down the necessary staging machine for presentation after disabling the network service.
Of course the machine died unexpectedly and sadly we had to postpone this important meeting.
In reality this meeting was as important as hay rolling down a street.
I hate everything at the moment.1
Our tech lead left a mess in the database. He turned his screw-up into an architectural discussion, weighing the benefits of duplicated, messy data vs. keeping it consistent. He suggested that, instead of fixing his broken script and cleaning the mess, we should break all of the other scripts and have them trash the database, too.
They almost believed it.
What a clever maneuver. I wish he would use his cleverness to make good software, instead.
Here’s how you deploy changes in Soviet Russia.
“Dear subscriber of the Great Soviet Encyclopedia
The government scientific publisher “The Great Soviet Encyclopedia” recommends you remove pages 21, 22, 23 and 24 from book 5, as well as the portrait in between pages 23 and 24. Replacement pages containing new text will be sent to you.
You have to cut those pages off with scissors or razor, keeping a small area you have to glue the new pages to.
— The government scientific publisher “The Great Soviet Encyclopedia””
Context: this happened after Lavrentiy Beria, the man who carried on the great terror after Ezhov, was declared the enemy of the state and executed.7
My friend, Gavin, an air steward (a job that he had done for decades), told me about an incident at work. He said that (shockingly to me) passengers occasionally die on a flight (particularly long-haul), just as a matter of course. This can be because people sometimes travel to visit loved ones BECAUSE they are dying, people sometimes find travelling itself stressful (so it can exacerbate an existing medical condition), or simply that, if you took a large number of people and shut them up in a space together for some considerable time, some of them would pop off through sheer statistical probability. Cabin crew are, apparently, fully trained to deal within this eventually in a calm, almost routine manner.
This particular flight, Gavin was working with another gay man: Peter, who was actually a VERY funny personality. Camp, extravagant and loud, Peter really lit up the place. But naturally, when the very elderly male passenger in seat 38b died peacefully in his sleep halfway across the Atlantic, Peter acted (like the entire crew), with decorum and dignity. As per the protocol, all the lights in the cabin were dimmed. A hush fell over the passengers (Gavin told me that, although no announcement is ever made, the other passengers nearly always instinctively know what's happened, with the news spreading via the media of hushed whispers and nudges). Then, as per standing instructions, two of the crew carefully lifted the deceased out of his seat and gently carried him to the crew station where he was laid down on a bed for the remainder of the flight.
After the late gentleman disappeared behind the discreetly drawn curtain, you could have heard a pin drop. There was a demure pause during which, slowly, the lights went back up.
Suddenly Peter's cheery face appeared, poking through the gap in the drapes. He looked around, blinking brightly with curiosity at the seated passengers, and said, in a voice that echoed around the whole cabin:
"SO! Anyone else have the fish?"
He narrowly avoided getting sacked.10
Client: please be sure to let us know with enough notice if you plan on taking any time off so we can anticipate how to operate during your absence.
Me to client 4 months before vacation: "I’m going to be on vacation in July for such amount of time".
Client: OK thanks
Client 3 months before vacation: are you taking any time off this summer?
Me: yeah I’m taking such amount of time in July.
Client 2 months before vacation: are you taking any time off this summer.
Me: yeah I’m taking such amount of time in July.
Client a month before vacation: wait you’re taking time off this summer?
Me: yeah, in July.
Client: oh, we need to start figuring out how to manage your absence.
…client has enough time to figure things out.
Client two weeks ago: we’re switching you to a another project where you’ll be replacing someone who’s leaving; and you’ll be developing alone. You’ll be working closely with our software architect. He’ll be the one who can answer all your questions.
Me totally lost on new project as it’s barely documented, sql tables are a mess with barely any relations between them and data structures are totally inconsistent. Supposed to be getting info from partner APIs but I can’t test them and don’t know exactly what data to expect. Only the software architect has the necessary knowledge.
Client a week ago: hey don’t hesitate to reach out to us if you have any questions. We can’t afford to fall behind from schedule.
Me: oh don’t worry, I’m already flooding your guy with questions.
Me last Monday to client: hey do you know what’s up with your architect? I’ve been waiting for him to answer some important questions and it’s going to be hard to move forward without him getting back to me.
Client: you’re telling us you’re not going to be able to move forward efficiently until our architect gets back from vacation in two weeks?
Me: wait, he’s on vacation?
(on the inside: when the fuck were you guys planning on telling me he would be gone???)4
I feel a bit bad when I reject most people after interviews - they'll do alright, just don't have the knowledge we're looking for.
Other people who fail interviews just piss me off.
If you're applying for a *senior* position, yet you tell me a race hazard is "what happens when concurrent applications are working efficiently", a GET request is "only ever used in a REST API", a POST request is "when you use TCP directly" and you can't write a single line of code in a new project because "in the real world we always just modify what's there already", then please sod right off. There comes a point when you clearly know bugger all, have extensively lied on your CV, and you're just trying to con your way into a position while hoping no-one notices.
I sincerely cannot live through another daylight saving time change. I cannot. Please, oh politicans, have mercy upon me. My work deals with 5 different time zones. PLEASE5
If you're sick, just type "I'm feeling sick today"
Don't give a full paragraph of all the drugs you're talking and all your symptoms. That's just cringe.5
After noticing 4 operations in a single line, I comment a pr stating the line is not simple to read as there are many operations which can be, especially in the eyes of a junior, hard to read.
I proceed to suggest a better solution.
Colleague: “what??? How is this not readable??? Is it [op1], [op2], [op3] or [op4]? 🤷♂️”
I kindly explain this person that it’s not about the single operations, but the fact they are all on a line. Inside an object assignment.
Colleague: “you should learn stuff! (4 links to websites giving that snippet of code”
Ah yes, the oldie: “but other people are jumping off a cliff, why don’t WE do it???”5
There is a russian cartoon called Fixiks (“Фиксики”, tiny fixers) which is about tiny creatures that live inside tech and fix it when it breaks without the owner knowing. This is a fun, family-friendly cartoon rated 3+ filled with approachable explanations of how does common tech stuff around us work: TVs, washing machines, etc.
However, there is one weird, super grim episode about one such creature who forgot to leave a TV he was living inside that is being thrown away and ending up on the scrapyard.
Having no choice but to follow his purpose, he becomes obsessive trying to fix an endless amount of broken tech there, with new broken stuff being delivered to that scrapyard every moment. After a while, he completely loses his sanity.
That episode displays what seems like a weird mix of schizophrenia and OCD. Having a psychological trauma he fails to recognize the rescue team of his own kind, attacking them. He loses his ability to talk, resorting to random screams of aggression.
This episode doesn’t really feature even a single explanation of how something works. It just is there somehow among the episodes of a casual, happy cartoon for children.
Needless to say, this is my favorite episode.12
Hold yourself, this may be controversial.
I prefer to write CSS by hand instead of using a framework like Bootstrap because at least I know the way I'm fucking up my page layout.
I am gonna hide under a blanket now.20
- incredibly flexible
- express a lot of commands trough very little code (just raise the middle finger and tell me if you are not expressing something VERY strong with VERY little complexity)
- smells of good soap
- highly power consuming
- wrinkly, ehw!
- overthinks a lot
- imposter syndrome
- hooked on sugar like it was cocaine
- hooked on cocaine like it was sugar
- refuses to comprehend chthulu6
If you are a graduate/junior developer be very careful about joining a small Ltd company.
You would get better support in a bigger team and have better insight of the industry in a bigger organisation.2
DELETE FROM Invoices;
I am on test, right? OH SH!T
had a recent backup tho and no data were lost.
Happened once and never again. I was still pretty much junior in a senior position to be fair 😅7
I was having dinner yesterday and I suddenly get a message from someone from another team.
(No response for 20 mins)
Them: I'm having some problem with your service. Its not working when I do <task>
Me: Okay, let me look into that.
Them: Also, <task2> is not working
Them: And <task3> has problems
Them: Could you also look into <task4>?
Me: (visibly sweating) Let's discuss this in detail in the morning.
[Next day, morning]
*convinced that the service has a major bug*
Me: Yeah, show me what is causing the problem.
They show me what they tried. Turns out they made an invalid call and got an error, AS THEY SHOULD, and reported that as a bug. And all the other tasks were because the first call didn't work.
Guys, Recently I have started working on a project with a very tight deadline, and the requirement from the client was to build the application in Python - Flask; So I was browsing for a bare minimum implementation of Flask with Docker and postgres just like the perks we get in Django but unfortunately couldn't find any so I have crafted something on my own to help other developers in future.
Here is a very simple Flask with almost everything to get you started with your next project, feel free to use or contribute - https://github.com/codvlpr/dlask3
So HR invited us to a mandatory hour long talk on why rest and relaxation is important for work efficiency.
On a Saturday.
You can’t make this shit up.15
lel just noticed a pattern here:
if someone asks newbie questions on devrant about anything - gets shat on
but if that person asks about react - its all roses and rainbows
i say there's a new cult in town and theyre recruiting!12