Joined devRant on 7/19/2018
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
Can anyone tell me what the difference between a DevOps person and a SRE is? They both seem super similar to me, and I haven't been able to find a clear answer online.
My (younger) brother used to be way better than me at programming. He was making all this cool stuff (mainly Arduino).
I learned to program to make cool stuff like him basically. I learned Python to start since someone told me it would be easier to start with (it was).
I made a bunch of small programs (shitty things to help with homework, text based game, etc).
Eventually took programming classes in university.
Now I do C++ for a living.
Just found out that the CI for valgrind on my personal project wasn't working properly, I'm leaking memory all over the fucking place...
Fuck this shit
"What are all the meanings of static in C and C++?"
Not a particularly good question but I think I'll always remember it because of how weirdly specific it is.
(And, anyone who wants to have a go at this WITHOUT Googling, feel free to.)13
What container data structures do all of you actually use?
For me, I'd say: dynamically sized array, hashtable, and hash set. (And string if you count that.)
In the past 8 months, I've used another container type maybe once?
Meanwhile, I remember in school, we had all these classes on all these fancy data structures, I havent seen most of them since.20
Procrastinating important tasks because they're not fun, then stressing right before my deadlines..3
If anyone needs parity checking for integers in SaaS form, definitely check this out!6
Someone, I have no idea who, commented on my personal project that he wanted to pick up one of the issues.
Then, he followed through and fixed it and sent a PR.
Feels good man.4
I was hired as a C++ dev, ended up doing full stack (React/Redox frontend, Djanho backend).
I was just an intern but by the time I was done there I was in charge of the whole frontend because the other guys quit.
Fuck that place.5
I'm really sad to see what's going on in the world right now, particularly America.
Millions of jobs are just, gone, automated away, or turned into shitty contract positions. This leaves us with huge unemployment, so people then are forced to participate in a race to the bottom for the shitty contract jobs.
Ridesharing now classifies its employees as contractors. Who does this help? The companies of course, cause they dont need to give anyone benefits or even minimum wage.
And then since these guys are contractors, restaurants and stuff end up eliminating their drivers since they can't compete with the lean mean ridesharing machine.
Soon most "essential" work is just going to be poor people begging for tips from their work because the companies count them as contractors and dont give them benefits or enough to live on.
Fuck this shit. I'm so glad I'm a dev and mostly shielded from this, for now. But it's upsetting to think of what the world will be like in 20 years as this continues.4
When it finally works after hours or days of suffering.
Or, when you clean things up and get to delete some garbage code.
Makes it all worth it in the end5
Anyone else fucking pissed off by all the shit saying "Learn to Code in 21 Days".
You don't see anyone trying to become a doctor in 21 days so why the fuck do people think our work is so easy that any fucking asshole can do it in 21 days.
Fuck this whole fucking stupid world...24
How the fuck do you do a performance review?
For me, we need to do self assessments.
Part of it is what I do well, part of it is what i need to improve.
No idea what to put, since I feel like I'm awful at everything lol.11
I got two, both my internships sucked.
First one, I got hired for a C++ job, did JS for most of it. Half the team quit while I was there lol. I was in charge of the whole frontend when I left.
Second one, again half the team quit while I was there, leaving me with only ppl in Europe to talk to lmao.1
So, first a bit of background:
We've got a parent class, owned by another team, and two child classes, owned by my team. One of the children is unused. (Already sounds bullshit right.)
On to the story:
6 months ago, I had to modify one of the children (add new functionality).
I try to modify the base class to add it, the senior dev in charge says "no, just add it on the child". So I do, then merge it in.
Yesterday I wake up to a high priority bug. Turns out the senior guy wants to add another child class, and wants the functionality I put in my class on the base class.
Even commented on my PR from 6 months ago asking why I didn't do that.
The fucker opened up a high priority issue assigned to me, asking ME TO DO THE CHANGE I WANTED TO DO 6 MONTHS AGO THAT HE SAID NO TO.
Fuck this shit. I have a meeting with him and my boss in an hour. My boss is pissed, I hope he tells the other guy to go fuxk himself and do the change himself.14
So, as a programmer, I'm basically the go-to tech support guy for my family (and now my gf's family).
So, my gf's mum updated windows and her computer stopped playing around through headphones, asks me for help.
I've got no fucking idea, I don't even use windows.
She's like "if your computer did this what would you do".
"I'd google the problem and randomly try solutions until it started working again. And hope I didnt break anything else."
She didn't seem happy with my debugging technique...13
When my friends ask me why we don't just have one language for everything, and I'm just here like, "we've got C++ already".2
Best way to deal with office politics?
As background: we have our own implementation of some C++ data structures, including an "Array" class (basically the same as std::vector).
A few years ago, the senior guys on my team refused to add new features to it for (seemingly) no good reason.
So senior guys from another team added the features anyways, in THEIR repo.
My team couldn't stop them, but refused to allow the new features in OUR repo, so now our Array is split between two repos for no good reason 😢.
Two years later, here I am, hoping to clean this up. As far as anyone knows, there's no good reason to have it split up like this.
How do i convince my team that we should move the code to OUR repo where it belongs?7
Update on my "remote internship" (see my post history):
Asked my co-workers (overseas) for help yesterday evening. They completely ignored my slack messages in our teams channel, not even an acknowledgement of my message. It was only after i followed up this morning that they said "sorry don't really know" (this is right before they all go home).
Then, when i get into the office, two teams push broken code to master so I'm left dealing with that until almost lunch. After lunch, I try to work on my other task, but realise i dont remember anything since it's been two weeks since i worked on it. (I got pulled off for "high priority" stuff that apparently my team can't take 5 min to help me with.)
Finally get back in the zone on my old task, remembered id been stuck on that and needed to talk to the rest of team (Who are sleeping at this point).
Not sure what to do for the rest of the day.
So i started an (8 month) internship in January. Team of 4 (2 senior/mid level devs + boss) plus 6 or so other people in our other office overseas. Everything was going really well IMHO. Boss's feedback for halfway through the internship was good too.
First 4/5 months were great: loved the team, got feedback and help when i needed it, wasn't stuck doing support too much, etc.
This all changed when both the devs moved to our other office. My boss works from home a lot and has frequent meetings, so i hardly see him. I have a 1 hour window first thing in the morning if i need help from the devs overseas. After that im on my own.
If i get stuck, even on something very small that a more senior dev could explain in 2 minutes, I'm stuck either unable to work or figuring it out (wasting hours of time) for the rest of the day.
On top of this, since I'm the only one around in our office, im stuck on support every week which takes hours of my time usually. Last week support ate up most of my week, which put me way behind schedule on my other work. (That was an unusually busy week of support.)
Feeling incredibly frustrated right now, just wanted to get this off my chest.12
My biggest ambition? I'm working on a programming language as a side project right now. I'd like to get it to a point where id rather use my language over something like Python for small scripts. And maybe even do a larger project using my language.
Do you know if there's a way to get vim to display whatever I just copied, after I copied it, at the bottom of the screen?2
I ask what i think is an interesting question i havent been able to answer on software engineering stack exchange ("why did the original Basic use the caret for exponentiation"). Even said "no subjective answers, please provide a source" in my post.
Result: a bunch of comments saying it "because it looks like an up arrow", comments saying I'm rude because i said no subjective answers, and a bunch of downvotes.
Did eventually get a good answer though. The system works.2
Apparently `a || b` is unreadable to set a default value for a string in JS, but assigning temporary variables and use if statements all over is better somehow.
My code reviewer said use `a ? a : b` except it failed eslint, so he went back on that. (eslint suggested `a || b`, ffs.)10
I'm not gonna post a photo of my 1.5 monitor set up after seeing some of the amazing setups you guys have. Honestly you guys make me want to buy another monitor for myself.8
Any brilliant people wanna help me get wifi working on my new HP laptop with Lubuntu? SO/SE is absolutely useless. I've been stuck for a few hours now unfortunately.7
Does anyone know of a tool that will statically analize a C program and check if it's behaviour would be the same as a C++ program? Flagging things like implicit void* coercions, for example.
The use case would be if you find a C library and want to use it with C++, for example. Or are writing a library and want it to be usable in both C and C++.
If this doesn't exist,
does anyone want to help me make it? I was thinking we could modify an existing C linter to do this.27
Just used perl on my personal project to tie all the tests together. First time using perl, very happy with the results even though I've never used it before. It feels like a cleaner, better shell.