Joined devRant on 5/24/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
My first rant for ages
I'm working on a new project at a new company. We ha e a bunch of front end clients talking to an api.
I suggested that the api only communicate in terms of view models in order to bring some kind of standardisation to the project since at the time the gets and posts were either dB entities, view models, or just whatever the dev at the time decided.
I got a no, but that we could do posts and gets just with database entities. OK better than nothing..
I'm the front end angular app I implemented a generic form component and a generic data table component. The models given to these to build the components need to implement a view model interface.
Now we have a problem of the api giving us not view models and the front end needing view models so I put together a way to handle this in the front end.
My colleague with 8 years experience asks for my help and I'm happy to oblige. It turns out a model should have multiple child models in the database but the database entity models don't reflect this and therefore there is no way to build the view models. The data just isn't there from the api... Still I show him what the front end model should look like and write all the front end code for him to handle that.
2 days later he asks for my help again. It's exactly the same problem. Instead of fixing the backend and setting up the one to many relationship he has ignore the problem, retrieved a one to one relationship model and is just trying to force it to work - even though the data isn't there. He has also commented or removed all the code I helped him write and overwritten a file of typescript models that get autogenerated for us to be in sync with the backend...
I actually felt bad afterwards but I got frustrated as hell and he could tell...1
I just joined a team using nuget shared packages for a lot of stuff. The Nuget packages get version incremented on merge - but this approach means that if several people are working cross stack and need to change their project and the Nuget package, everyone is going to have to wait their turn to do a merge and ensure their version is correct when merging (or it won't build).
What are the ways around this and still use nuget packages? I can't stand the though of working on totally different functionality to someone else and have to deal with this shit.
Just started a blog. It doesn't look pretty and I just grabbed the first fully free platform I could - I don't care how it looks. I intend to post on it every time I learn something interesting or have something I think is decent to say.
Check it out if you want
Recently I've started thinking about how we are always told "No you can't do that" to everything. That feels like a theme in our industry.
I've also been thinking about how often people say well done to each other, or just comment that something is good in a pull request. Everything is always focused on bugs and mistakes - not good bits.
The first point conflicts with the idea that when using languages and frameworks you should follow their philosophy or you're gonna have a bad time - but in all other instances you mostly don't have wrong answers, just answers that can be better so a lot of stuff is opinion based.
I've decided to change my ways and focus just as much on good stuff as bad when I review code and to make sure I'm focusing just as much, if not more, when people do something good.
I think I do a good job, but I don't think I've been told I'm doing a good job or that anything specific is good more than a couple times in the last year - mostly in mandatory reviews. What about you?2
I'm about to release my first .net core API solution (that relies on multiple separate projects under the solution if that matters) with an SQL database. I've never released anything before and could use some advice.
I want to use a cloud solution like aws or azure - any guidance please? I'm trying to find as decent a solution as possible for free, or next to free, as right now it's just a first stage release with next to no features.
PS it also uses Hangfire. I really don't know enough to know if that's a factor.9
Any C# Devs around that could tell me what the difference between Type and object is please? I'm really stuck for googling it.29
Story about my old boss:
I was doing a lot of work in an area that had a data property and a method to build an object. I noticed a reset method that iterated all that objects properties, found the matching data from the data object, passed that data through some logic to format it and then assigned that value to the object property.
As part of my PR I removed that method, since data wasn't changing, and simply called the create method again with data.
The result of tidying the code base and putting it up for review before a merge? I get told I have no respect for my boss's code, that I am undermining him, that I need to be more considerate and respectful of other people's work and that I am no longer allowed to change any code he has written in the code base (half the code base) without talking to him about it first, before it goes up for review. Also if he is working on an area I cannot change anything - not even 1 character (he is working on the core of the app).
Every day there I was so confused :D8
Someone recently told me that learning command line is pointless for a developer today, the world has moved towards GUIs for a reason and there is no point in making your dev life harder.
Looks like I'm getting fired on Wednesday :)
*I add first unit tests to project.
*Boss adds new functionality and breaks all the tests so I can't compile and write more for what I'm working on.
*Boss is very fragile and cannot handle any comment that can possibly be taken as a slight against him.
Me: "I wanted to ask what our policy on unit tests is please? Because we haven't really said how we are treating unit tests, and everyone myself included is not thinking about them. I also haven't added tests when I fixed bugs and this time your changes broke the tests"
Boss 10 minutes later: "I want to speak to you in private".
Boss: "you are too forceful and direct. You said I should have added tests."
Me: "yeah but I didn't mean in a nasty way"
Boss getting louder and more aggressive: "You are too forceful"
Me: "I didn't mean it in a bad way"
Boss: "I didn't want to add tests for that!"
Me: "then why add any tests?"
Boss: "Fine we are not having this conversation now!"
*Boss storms out
I decided I can't speak to the guy about anything without upsetting him spoke to the manager before I quit because I can't work like this.
That resulted in a meeting with my boss, his boss and the head of HR where I ended up savaging him and told them I can't bring up anything as I can never tell if it will offend him and that I spend ages writing emails and trying to document communications because I just can never tell if I will upset him. Also that I cannot bring up any ideas because I can't tell if he will somehow get offended and that I can't even write code because if I change something he wrote at some point he will get angry.
My boss claims that I am extremely forceful and disrespectful and that I am constantly insulting him and his decisions.
We go back over a ton of shit and I refute everything he says. In the end I have to have a meeting with him on Wednesday where we either get things straight, he fires me or I quit.
I think at this point that our relationship is too fucked for him to be my team lead on a 6 man team.
Side note I keep bringing forth ideas because we have one database shared between 6 Devs, no pull requests (apart from mine and another new guy), no test driven development, no backlog, no team driven story pointing, no running tests before merging, no continuous integration setup, no integration tests, no build step on merge, no idea of if we are on track to our deadline other than his gut feeling, no actual unit tests backend - just integration with a test db, no enthusiasm to learn in the team and no hope.27
My new boss has such a sensitive ego. The latest is he asked me not to make big changes to 'his' code so whilst attempting to fix a bug in 'his' code I realised a big change was needed. I tell him at standup that he might want to take a look first and he agrees. A few days later he emails me to ask why I haven't finished work on the bug. When I reply he ccs other members of management to ensure he is deflecting any blame from himself (I dont even play the blame game to begin with).
The next day I email him that some tests are broken (he broke them but I just emailed him to bring his attention to it since he doesn't want me touching his code. And because it means he isn't testing properly - not that I would say that).
His reply - "are you going to fix them?"
Me - "ok"
The next morning be brings me into a meeting to ensure I agreed he wasn't to blame and that it was my fault and that he didn't understand my email response as it just said "ok".
I really can't stand such petty bs...3
Started a new job at the same time as another guy. We are doing pull requests, I leave a comment about a one line improvement.
"This is not part of my task. If you want me to do extra run it past our bosses. You can't tell me what to do."
Any Karma experts in the house? Really want to blow my brains out :D
Any Angular devs in the house?
Does anyone know how angular lazy loading and webpack are related specifically? Struggling to find a straight forward answer.1
I start my first mid level dev job tomorrow after securing a job on a 10k pay increase. Feels good man,my junior days are over ^=^2
My hard drive made a short sort of grinding noise today and the machine didn't post but didn't turn off. Turned it off and on again. Everything is fine. Trying to develop and everything is just throwing the most random bs errors I'd ever seen.
Turns out somehow many, many, many directories became corrupted. Couldn't even run a check disk and half of windows broke.
Just thought I'd share that since I've never seen anything like it.1
My old boss who somehow has gotten his small team of 4 PHP development contracts with Vodafone and Tesco etc. No QA, no tests, no frameworks allowed.
Sets random deadlines and used to suddenly drop demos on me for projects I'd just started and he had no idea of the state of them. Needless to say one project I was so rushed with no idea what I was actually making (for real) that I got sacked.
Here we go again :D. No answers so I'm calling in the devrant auth0 angular experts! (I beg you)
Need a new business name idea for a web based software house. We are 2 weeks into choosing one and no progress :D help!20
I am teaching my brother about web development. He has never programmed before, doesn't know html and css and is struggling a bit. I think?
I went through basic control flows with him tonight and got him on the fizzbuzz problem just to see what would happen. An hour later I did it for him and explained it as I went.
I need an idea to get him started on. Some project that might actually be interesting or useful. Any ideas?3
Not working side projects enough. Really puts me behind where I could be but working 9-7 5 days a week I really CBA in my spare time.1
Installs 45gb game
Next day do an update - not enough storage
Sees 28gb free on disk
Turns out steam copies your entire game during an update so it can roll back of there's an error
I suggest at our retro that other teams have skills in languages and frameworks that we have only just started using, and that we practically just make it up as we go along and then keep making changes as we realise things suck. Why not bring a real expert in from another team for 1 or 2 days to rapidly improve our knowledge?
15 people in the room, every single one of them: "no that's stupid. Why would you even do that?"
Really? Am I the retarded one?3
Them: it's that thing<a>!
Me: actually it's this thing<b>.
Them: oh of course! Because of these reasons!
Me: it turned out it is was thing<b>
Them: oh so I was right! I knew it was thing<b>. I'm so smart you should listen to me more.
Every day about anything. Why are people so annoying?3