Hacker Newsnew | past | comments | ask | show | jobs | submit | LandOfMightDev's commentslogin

just as a follow up idk if anyone will see it, it basically went as follows: morning stand up ended & i brought up the blocked. The manger, colleague, and I had a meeting. I told the manager what I did & what the colleague's request was, the manager basically said "actually, we have used pattern X before in...Why did you do do this like Y ? it should be like X..." then I pointed out that it was part of the PR comment the colleague left (which he denied at first until I shared the comment)... Basically, the manager said I can move forward and if there were any changes for the PR it will be minor changes not anything like my colleague said.

i can fit in fine, I've worked with like 3 different teams. This is the first time I've met someone like this at this company.

> i can fit in fine, I've worked with like 3 different teams.

I don't claim to know how you fit in or not; or if you requested the moves or if the teams you've worked with think that you would be an even greater help to another team that is not them. But, fitting in is not usually described by first saying you were 'loaned' to your current team, and then that you have "worked with like 3 different teams" already.


I've been here for more than a year, im just loaned out to help this team for now. The codebase is only around a year old, and most of it was created by just two people, one of which is no longer on the team... Basically it is an issue of normalization... Right now their current pattern is to use only 0-2NF which is objectively inefficient and just bad practice... Even someone new to the codebase can see this..

If you're loaned out then you're new to the team, and it's likely temporary so whatever changes you make will have to be maintained by the original members once you leave. You didn't say anything about the software so I assume it was meeting business objectives. Introducing additional changes means it'll take more time to review and will take that time away from other work.

This. Writing it was the easy part. Maintaining it will be the hard part.

If the issue is really the database schema the only layers that would need to change are the database tables, the DTO mappers and maybe a few of the services. You can keep the backend DTO's, API and front end models and pages all the same. Sounds like a couple day change (few hours with Claude or Codex). Unless this is really a hill you want to die on seems they want the project in a specific state when you are no longer around, since sounds like you are just loaned out to them. I am all for normalizing the DB tables but at same time if that is how the lead (or whomever this rank above you is) just do it. Without more info hard to say who is 'right' and how long the changes will take -- Just my 2-cents.

it wasn't substantially different per-se... It was just normalized when a lot of the data structures were not normalized (for no good reason) usually 0-2NF

> It was just normalized when a lot of the data structures were not normalized (for no good reason)

Unless you are offering to re-write their entire code base (on your own dime) to work with your pattern instead of the one they already have established, I would chalk it up to chesterton’s fence, change it over to the approved pattern y, and move on. There could be a reason they don't want to introduce x pattern which "is very similar only removing the limitation". Sometimes that reason gets lost but that doesnt make it invalid.


i integrated it tested it and it passed every test and functioned with everything else. lol. I didn't just add it randomly/without taking into consideration the rest of the codebase.

> it passed every test and functioned with everything else. lol.

In a single month you've internalized all the ins and outs, edge cases, and every idiosyncrasy in the entire 1 y/o code base to know with absolute certainly that it functioned with everything else. That is really impressive. Almost as impressive as the code base, with apparent defects "causing the code to be difficult to maintain" and needing you to point it out to them, having 100% flawless unit, integration, and end-to-end test coverage to rely on for that.


>It was just normalized when a lot of the data structures were not normalized (for no good reason) usually 0-2NF

Normalization for the sake of normalization is an anti pattern. Normalization isn't free and the cost of de-normalization is often far less than the value it brings in terms of simpler code.

> for no good reason

You sure about that?


I find that normalisation is a good default, and deviations should be argued for.

But different people have different ideas.


what is the best way i can phrase it? like "Since I used pattern X, colleague abc will not approve the PR, I will need to re-do most of the code to use pattern Y, effectively putting me back to around 20-30% completion...?

Yeah your manager cares about what and when you can deliver so that makes sense. But also, are you not using AI? Would it take that long for Claude to redo it? Also it sounds like the other pattern is worse not just different so explain that to your manager and see if he agrees.

it is basically 74 requirements (about a paragraph each), DB schema, 2 web pages, and then all of the APIs. This colleague did not like my schema, so I need to redo the entire db & since my APIs relied on the db schema, those will all need to be changed too. The only part I can really keep are the web pages. I use AI like and check it manually & use my own designs etc. I can defend the code it's not like I just generated and threw it in a PR. I showed the db schema and proposed APIs to the team two weeks ago & everything was good & no problems. I even mentioned that to the reviewer and he just said "Probably no one was paying attention" LOL. He was on that call too.

> 74 requirements (about a paragraph each), DB schema, 2 web pages, and then all of the APIs.

Jesus christ is this a +50k/-20k pr? I'd reject a 74 requirement PR whole cloth even if it was gorgeous code. It sets a bad precedent that opening a massive PR is acceptable and will get serious feedback. If that's the norm for the team, then why are we waiting 4 weeks in on getting green lights? I'd expect the team to be getting constant small green lights along the way with the most impactful/controversial mitigated at the beginning of the project.


i asked him for the SOP documentation, he said " there is none, but I'm the PR review so if I don't think it meets our standards ...." He also asked me how long I've been working on it (which he should know....) then after I told him, he said he can do it in one day. I explained the requirements are more complicated than he thinks but he said "well I could do it in one day". It cannot be done in one day, I asked him to show me a similar implementation and he could only find very simple implementations or implementations that he admits were not very good (20 column table & duplicate column values by design, switch with more than 50 cases.... This is the first time I've encountered someone like this...

Tell him “Okay, then. You do it. In one day only.” And if he can’t, then that’s the time to talk to management.

But be prepared to lose. He sounds entrenched. And if they support him regardless, then you’re going to have to learn how to live with that.


the team is basically 6 devs, the dev manager & the project manager... idk things are going to be tough tomorrow. I knew the dev manager & he's pretty relaxed but the project manager will go nuts if we had to push the work out (bec the work i've been doing the last two sprints got rejected by that guy)... He is just one rank above me (like 2 yoe) so idk what's going to happen tomorrow...

OP, do not say this.

But, I might tell the manager that this guy says he can do it in one day. Let the manager tell him to try.

I definitely won't tell him to do it lol

bump


yes, the design team is laughing and having fun time with the high level managers & client while the developers are doing all the hard work and covering for their bs.


I use the AI as well, just as much as everyone else but for different use-cases & I actually read the code it writes & use my brain to figure out the best design patterns etc.etc. Im saying my coworkers aren't putting in any effort that's the issue. It's easy to just to spam the AI and get the work done eventually, but with terrible quality.


So basically, i built this platfrom/webapp that allows users to take a list of video URLs and convert into into a sort of live-stream. The only issue i had was that when I tried to embed it into static html pages as a video player, the top banner for "create channel" and "support" would show in the videoplayer, which just looked gross.

After searching online, most people just said it goes against CORS to modify the elements in the iFrame, so here was my solution:

```<div style="position: relative;overflow: hidden;"> <div style="margin-top:-80px;"> <iframe src="https://livechannels.pages.dev/(ChannelName)" width="1300px" height="820px" frameborder="0" allowfullscreen> </iframe> </div> </div>```

Basically, you just need to use two divs, one to set the overflow as hidden, and another to cut the portion of the page. In my case, I wanted to cut the nav bar, which was the first 80px at the top of the website. The end result was pretty much perfect.

Proof of concept websites:

https://animaxreboot.pages.dev/ https://cartoonnetworkhq.github.io/CartoonNetwork/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: