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
Feed
All
Post Types
- Rants
- Jokes/Memes
- Questions
- Collabs
- devRant
- Random
- Undefined
Cancel
All
-
Apparently, in jinja2 templating framework (Ansible, Python) a variable can be either assigned, undefined or null/None. Interestingly, the meaning of the last two is opposite to their meanings in javascript:
undefined -- if its value evaluates to anything falsy
none - if the variable does not exist
I burned more than half a day trying to figure this out, and only good chaps helped me out when I opened a GL issue.
Who could've thought a Python framework would treat defined but unassigned variables as undefined, and undefined variables as None/null :)
And they say javascript is backwards4 -
Is it easy to switch to a different type of development?
I.e. going from desktop to web development, or to game development or systems development etc?2 -
Me at 3 front-end tech screenings of candidates with +3y of exp last year: "can you name a few npm commands you have used?"
Candidate:
- "Ehh.. npm start?" (npm start is a shortcut to a user-defined run-script)
- "npm version, it publishes the package" (wrong)
- "not going to pretend I know and sound stupid"
Mind you these candidates were not necessarily bad, but come on? You never used npm info, outdated, audit, install, remove, update, why, link, init?3 -
1. As i was freelancing on upwork some company contacted me and said my CV looks interesting and they gave me a link from their site to download a .rar file with details about their company and dev positions
2. Ok i open the link and the whole site is just blank page with 1 single button: "Download 5.8 mb"
3. Thought to myself: who the fuck has this low quality site of a company, shitty as fuck and as if its built in the 90s. But ok
4. About 2 days later they got banned on upwork and we cant chat anymore. I send this .rar file to virus total and 7 anti virus softwares scanned a trojan + 14 security vendors flagged the rar as malicious malware
Are you FUCKING kidding me? This is the type of bullshit I'm expecting to see in web3 world. Who the FUCK comes on upwork to infect ENGINEERS?? Are you FUCKING KIDDING ME? I'll publish their data right now:
Link:
https://hsatrack.com/files/...
Password: 49-49Zb2
Their site:
https://hsatrack.com/
Honestly if i opened this fucking home page site first i would have smelled a virus miles away. But i just didnt expect a fucking virus AT ALL on UPWORK. Never happened to me before. This is the type of criminal fraud malware shit i expect AND SEE DAILY on WEB3 -- WHO TF DOES IT IN WEB2 IN 2023?? I'LL FUCK THIS CEO'S LIFE UPSIDE DOWN 180 RIGHT NOW1 -
Why does every programming language have to have so many different ways of doing the same thing? I mean, come on, do we really need both for and foreach loops? And why do we have to choose between switch and if-else? Can't we all just get along and use the same damn structure? #FirstWorldProblems15
-
Every time I look up a tutorial, a guide, some sort of documentation on something that's new to me, and all I can find is written with the implication that you already have a level of understanding on this thing. It's new to me, I don't have that. Instantly questioning whether or not I'm cut out for this.1
-
MS Teams markdown shortcuts are now broken for me and my whole org. Literally never happened with discord or slack. How is a company this big so bad at making good software?2
-
https://youtu.be/X2f7YkSNAXs
ahhh for that earlier time period where engineers didn't bother testing their designs so they could constantly role out the next model in a an endless wave of greed and cruelty while selling their children's body parts to disgusting perverse strangers with every bit of overstock sold and third world countries had their populations poisoned and our own society was left in a state of constant questioning about their own future and health even though none of this was exactly necessary..
oh wait... heh
and then they started burning landfills.
https://youtube.com/clip/...4 -
When I launch my startup, I'm gonna insert all kinds of very stupid and weird error messages in place of the actual errors just so the people can have a chuckle instead of being annoyed
maybe someone's gonna post it on reddit or something, I don't mind, that's actually a good thing11 -
I find GPT3/ChatGPT an interesting development but at the same time I'm afraid which the spread of deep learning is going to take away further power from individuals and small companies to put it in the hands of big tech companies: the only ones who can afford to hoard countless GPUs/TPUs and exabytes of data to train top performing AIs.6
-
Not sure if it should be a joke or a rant, but something rather funny (at least to me) happened today.
TL;DR; Someone's outlook was crippled by 100k+ of warning notifications
So we have developed a server that has an internal database that wraps around an elastic search instance, that is managed by a POS vault/storage solution, that we have to use for legal reasons. The elastic search is "provided" by the software, but we keep this internal database just to be sure and totally not because it's unreliable POS.
Anyways, they take data integrity very seriously, so every warning our server produces is emailed to someone in charge to review it and if necessary forward it to us. This will be important later on.
Couple of days ago we got error forward when trying to write an entry into the POS software we get an error, because an object we tried to write already existed. After some investigation we concluded an entry was missing when the internal database was created, so we asked them to repopulate elastic search to solve this problem.
When start the server we always sync the internal database to the elastic search and emit a warning when an entry is missing in internal database or vice versa. And well... almost all of them were missing, which caused our server to emit ~40 warnings/ms. Poor outlook. Still investigating for the cause, but damn, I never expected I'd take down someone email account by accident -
Hard times create strong men
Strong men create good times
Good times create weak men
Weak men create hard times
What segment of this infinite loop are we living in right now?8 -
Why does Chromes sometimes suck balls when it comes to caching and reloading updated files on the backend web server?
Sometimes I get stuck in a state where I don't get the whole F-ing site refreshed... until I open a new virgin browser who's never been touched by the web code.
Why can't refresh .. .just REFRESH?
GRRRR4 -
I'm fucking tired. We have to deliver everything quickly and perfectly to a bunch of hienas that don't care how we do our job and won't stop complaining about us to our bosses, even though we do what they ask. we're not being given the proper tools to work and other teams in the company are a pain to work with, cause they'd rather sabotage us instead of cooperate. I'm fucking sick of this job2
-
Writing simple driver for AT24C256 eeprom on pico (RP2040)
It turned out it was FT24C256A, which should follow same protocol.
After literally over month of coming back to it, getting stuck again, rewriting things (including some functions of pico-sdk), i almost gave up a d started just yolo trying random shit.
Afterall the documentation on addressing the chip fucking missled me -_- (1st bit is r/w flag and 2-7 bits are address, counted from MSB->LSB)
I made it work yesterday.
In meantime Ive rewritten Wire library, Ive modified someone's else rewrite, extended sdk to allow getting i2c registers, tried to use tiny go just to learn it doesnt support i2c slave mode, resoldered entire thing few times, measured connections few too many times etc.
Frustrated I doubted I will ever manage to finish putting this project together because it looked like Im just too noob. -
I fucking hate foglight!
Fucking piece of over bloated shit software that can't do anything right!
This pile of harkonnen vomit is such a source of stress and frustration.
Can you believe that a monitoring tool, that needs to monitor 550 agents (host,dB's, webservices,whatever) needs a whopping 20+GB ram and 4vcpu's just to receive metrics and sent it to the main server, for just being a middleman???
Fucking piece of shit.
And worse of it all, due to some fuckery at mgmt-customer relationship level, they want to I stall MORE of this shit
Fucking shit
Quest software, never engage with them. You'll lose equal amounts of money as for dynatrace but be very bad off1 -