About3rd year math/cs
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
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.
So i just saved myself like a day of work.
My boss wanted me to make a new endpoint for a webpage I'm working. Ok, spend yesterday afternoon planning it out.
Come in this morning, ready to write it. Look through our api docs. Turns out we have almost the exact endpoint i need, minus 1 simple field. Add the field (1 line of code).
Everything is looking good, I'm a day ahead of where i planned to be. I just wish my boss had told me of the endpoint earlier.
Planning and good docs pay off.
So my laptop broke recently, and I've been looking for a replacement, but everything is so expensive.
I was thinking of just buying something really lightweight for like 100 - 200 $, then putting linux on it (no gui) and running everything through the terminal. I basically want to be able to work on github projects with, maybe use minimal internet.
Vim + git is all i use for github projects anyways, and lynx would let me do the small amount of internet that i want.
My one concern is that itd be very nice to have a window manager (terminator, i3, etc), not sure exactly how that would work with no gui.
Any thoughts on this setup overall? Or specifically the wm part?12
I was pressing 'j' in vim and it was typing 'j' onto the screen and i was like what the fuck, why is typing j inserting a j into my file. Realised i was accidentally in insert mode.
# Just vim things.2
I'm a student, got an internship for the summer.
I thought i was going to be writing C++ code, as that was the job description.
Instead I'm doing fullstack development for a build test automation tool.
It's not terrible (there's definitely a loy of nice stuff), but i definitely do not want to do fullstack permanently (no offense).
Hopefully i can get a non fullstack job next time, but i wish I'd done that this time.