At work, we have a .Net 6 codebase that had some odd design decisions made in the past couple years. Roughly ~115 classes using Unity for dependency injection instead of ASP.NET Core DI, and this horrible Unity-based service locator pattern used all over the place. Since nothing was using constructor injection and instead just grabbed deps from calls to a global static locator willy-nilly, it was very difficult to te…
out of curiosity, is the code you've had to touch all in one single source control repository? have you needed to refactor stuff across many different independently versioned packages, or is it all monolithic? (if it were me, i'd be hoping it was one giant monolithic application in one single repo, to make it easier to track & perform this kind of sweeping surgery)
Ask HN: Who's having a ton of fun at work and what are you doing?
51–60 of 71 posts
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#52Earlier quoted context omitted.
out of curiosity, is the code you've had to touch all in one single source control repository? have you needed to refactor stuff across many different independently versioned packages, or is it all monolithic? (if it were me, i'd be hoping it was one giant monolithic application in one single repo, to make it easier to track & perform this kind of sweeping surgery)
Yup, all one repo fortunately. The majority of changes were in 3 class library projects, each of which is referenced by web portal, API, and nightly jobs projects. I'd imagine it could be quite painful if scattered in various repos!
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#53Really enjoy the work itself, there’s tons of interesting algorithms/optimization involved
I feel I actually use my CS knowledge from university more doing this work
Its also really satisfying to visually see the result of your code in the game
On the other hand I do find it a lot harder of a job since you not only have to understand code but also the math behind the code
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#54Earlier quoted context omitted.
Strike Eagle. Days vary significantly based on the sched. Generally: Show up, prep as required, brief, put on gear, fly, debrief, go home, or have a drink in the squadron bar. Sometimes it's a desk duty instead, like briefing the crews who fly and doing coord with maintenance, or sitting in the ATC tower and coording emergencies, weather contingencies etc. Sometimes it's a sim (realistic video game with full mockup c…
Apparently computers are crappy along the enitre DoD huh, I've heard that form every branch now. Your job definitely sounds interesting, did you have to go through SERE or is it just pilots?
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#55Earlier quoted context omitted.
Yup, all one repo fortunately. The majority of changes were in 3 class library projects, each of which is referenced by web portal, API, and nightly jobs projects. I'd imagine it could be quite painful if scattered in various repos!
i've sometimes enjoyed this kind of work in the past, provided there's good automated test coverage / static analysis from compiler & tooling to lean on. After the initial experimentation to decide on the new structure and confirm it is going to work, put on some good music and grind away at it.
One thing specific to .Net DI that made it easier was an extension method provided by our architecture team that does a "warmup" of all dependencies registered in your service collection. In practice all this means is, on app startup, it attempts to instantiate every registered service; if a dependency is missing, you'll get an exception for the service that failed to be created with the dep it failed on. Very helpful for chasing down issues related to missing service registrations!
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#56Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#57Earlier quoted context omitted.
Have you tried any AR projects? Would like to see some examples of your work if you don’t mind sharing.
Just VR for now. Nothing to share yet but expect a Show HN when I have a trailer or a demo!
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#58I am refitting a 44-foot sailboat, repowering it with an electric motor and lithium batteries; solar panels and a wind generator to come. Lots of practical work with my hands: wiring, plumbing, carpentry, fiberglass, sewing, drilling, sanding, wrenching, tinkering. After decades of complicated software efforts, a majority of which have never gone anywhere, it feels really satisfying to build things that you can see a…
Re: Ask HN: Who's having a ton of fun at work and what are you doing?
#59I took apart a 650,000 BTU oven burner this morning for cleaning, and had to clean out the oven exhaust damper that was starting to get build-up. Soon I’ll be at my desk programming again thankfully.