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
Search - "print("confusion!")"
-
I was at Leeds Central train station the other day, waiting for the platform to be announced on the screen in the main bit. I noticed a commotion to my right. There was a teenage girl screaming and writhing around on the floor, her mother was knelt on one knee trying to calm her. I walked over without thinking, I know nothing about Epilepsy or first aid, at a push I could probably figure out the recovery position from a faint diagram i have stored in the unused part if my brain...
(it’s where I keep the washing machine instructions, which incidentally were designed for maximum confusion, if Id designed a washing machine it would have 1 button labelled ‘wash’)...
Sorry, back to the story. So i walked over and just before I got there, with the mother looking directly at me, I realised, what the fuck am I doing, meanwhile the daughter was screaming still and writhing, a bit like a rapid angel print you would make in the snow as a kid (until your hand touched the dog shit).
I couldn’t help it, the words just came out, like a dumb fucker, i said ‘Has she got epilepsy?’ , i stood there waiting for the sarcastic comment or the murderous stare, even a fuck off would suffice, so that I could remove myself from the situation.
To my surprise, and shock, she looked at me, calmly and said “oh no, it’s not epilepsy or anything like that.... she’s lost her iPhone”.5 -
Python is a wonderful language.
But apparently the C syntax is still so deeply engrained in my mind that I get errors when using "printf()" instead of "print()" on a regular basis. m)6 -
Due to covid, mgrs decided to fire 10% but could not negotiate schedule increase with internal IT. With no promotions or hikes, few full stacks we have leave.
Now am working with 2 data engg doing cloud java microsvs work while learning. Their first delivery was applauded by their mgr who is under pressure to retain them.
I as arch review their code. No unit tests, print statements all around, shoddy exception handling, variable naming issues. We have Sonar by default in our build. They ignore the report. I ask them about it. Seems mgr told them he is getting a contract person from another team on part time basis to do/fix. I share my confusion.
Mgr calls me up and checks if we can put it as tech debt backlog and deploy to prod !!!1 -
ohno I'm rewriting that async proxy swarm thing again
third time's the charm, right?
brain's a bit better so maybe I'll get rid of the weird mystery async hanging error this time...
and this time I'll have one persistence object instead of 4 scripts that all juggle loading the same files without running into each other through sheer wit (which now I'm so unsure of 😭, so fragile!). thanks tui
and there's a logging library called tracing that would let me access logs of innermost libraries if I log using tracing instead of print lines, then I can subscribe to the logs and get them in the tui to debug with them and bam. let's see how it goes. might work well for debugging async code. it's built to handle async logging actually
I'm not sure why a lot of rust libraries are a mess but with power of gp5 writing me demos I'm ticking along even if I run into dead ends... like how I gotta do my own text wrapping in tuis and it won't work with ansi codes. eesh. but that was only a couple hours detour of confusion at least instead of me getting too frustrated with it. I came up with a solution that works good enough and wasn't too fancy, phew1