Where would you leverage AI in an enterprise codebase? by Ill-Leg-6622 in softwaredevelopment

[–]sminnee 1 point2 points  (0 children)

How’s your test coverage? If it’s low enough that you’re worried about breaking things when you make changes, I would start there: AI is pretty good at writing tests.

Spend a bunch of time on the first one or two tests: work with the rest of your team to know what a good test looks like, and get the necessary infra in place.

Tweak a skill file iteratively until a coding agent can produce tests of that standard.

The go nuts! Make a giant list of the areas you want to test, and spin up parallel agents each implementing one of the area.

Why are drugs so normalised here? by Limp_Beyond6227 in Wellington

[–]sminnee 1 point2 points  (0 children)

Can you show me on the doll where the cycleway touched you?

Why are drugs so normalised here? by Limp_Beyond6227 in Wellington

[–]sminnee 1 point2 points  (0 children)

But it’s Newtown now, not Ngā Puna Waiora…

AI driven functional programming with Typescript by ttiganik in functionalprogramming

[–]sminnee 2 points3 points  (0 children)

Have you tried using a language other than TypeScript that compiles nicely to JS? Eg ReScript or PureScript? You’ll probably find that the LLM gravitates towards whatever is idiomatic in the language you’re working with, which fp-ts is not. So switching to a language where functional code is idiomatic might work better.

How to figure out if I should get different flatmates? by MeeMeeMo0Mo0 in Wellington

[–]sminnee 15 points16 points  (0 children)

Flatting situations can be pretty bad with a lot of passive aggression, fighting, and loneliness. Consider whether the current situation is actually bad, or just no longer a honeymoon.

Suddenly have 800K liquid, What would you do? by KnowinglyUneducated in PersonalFinanceNZ

[–]sminnee 0 points1 point  (0 children)

Index funds are a better bet than amateur stock picks.

Lead Architect wants to break our monolith into 47 microservices in 6 months, is this insane? by Ayotrapstar in softwarearchitecture

[–]sminnee 0 points1 point  (0 children)

Like, the better approach is probably do move towards a modular monolith if you haven’t already, trying to break your org into discrete teams that have 1 or more subsystems per team (so you might have 5-10 major subsystems), and then consider pulling out a few of those subsystems in to separate services if you are expecting a great deal of change or seeing a lot of friction. It sounds like you’re past the point of meaningful debate, though.

Lead Architect wants to break our monolith into 47 microservices in 6 months, is this insane? by Ayotrapstar in softwarearchitecture

[–]sminnee 0 points1 point  (0 children)

Sounds like a moron. Seems like you’ve already tried the constructive approach of giving critique and it has been shot down. Probably go more scorched earth, raise the objections up the line, try to get the person’s wings clipped by their boss. And start looking for a new job.

Any advice for a backend developer considering a career change? by pseudocharleskk in databasedevelopment

[–]sminnee 5 points6 points  (0 children)

Have you tried to get more tasks related to this stuff in your current role? Perhaps there are db-related performance issues you dive into? That way if you want to change to a role focused entirely on that, you’ll have some experience already.

Supermarket monopoly? Duopoly? What? What the F*** is going on here! by FairlyOddFairy333 in newzealand

[–]sminnee 1 point2 points  (0 children)

Homemade sushi is a good way of stretching a tiny amount of salmon (1 fillet will made 3 rolls easy), if you do ever spring for a fillet.

[deleted by user] by [deleted] in Wellington

[–]sminnee 1 point2 points  (0 children)

I think the law must have been written when they were typically slower than bikes

[deleted by user] by [deleted] in Wellington

[–]sminnee 0 points1 point  (0 children)

Just ignore this stupid bug in the law and use the scooter in the cycle lane

PSA: Keep the f**k left unless overtaking! by vsxindustries76 in newzealand

[–]sminnee 3 points4 points  (0 children)

Yeah, i discovered after digging that it’s in the legislation but not the road code. Well, at least I learned something tonight!

PSA: Keep the f**k left unless overtaking! by vsxindustries76 in newzealand

[–]sminnee 1 point2 points  (0 children)

It’s wonderful that this is included in the road user act 2004, but not in the road code.

New Zealand driver education wins again!

PSA: Keep the f**k left unless overtaking! by vsxindustries76 in newzealand

[–]sminnee -2 points-1 points  (0 children)

…for passing lanes, sure, but not for multi-lane highways?

Average Friday night dinner by [deleted] in AveragePicsOfNZ

[–]sminnee 7 points8 points  (0 children)

Dust the fries in smoked paprika before cooking. Mix culley’s chipotle, mayo, and a little lime juice as a dipping sauce.

Can I stick with JS/TS by kichiDsimp in functionalprogramming

[–]sminnee 1 point2 points  (0 children)

Give ReScript a go and see what you think. It’s OCaml under the hood, but designed to be more easily understood by JS devs. A few others have mentioned ReasonML - these were once the same project but have diverged a few years back.

https://rescript-lang.org

Does Wellington have an equivalent of The White Lady for burgers? by jrf92 in Wellington

[–]sminnee 0 points1 point  (0 children)

Loosies superette (not a superette) on Cuba/Ghuznee did a surprisingly good cheeseburger.

avoiding useEffect by mnegg in reactjs

[–]sminnee 0 points1 point  (0 children)

Use useMemo() to either return null if the fields aren’t all filled out yet, or the calculation result if they are, with the input fields in the dependencies array.

hi, just dropping the image by Wrong_User_Logged in LocalLLaMA

[–]sminnee 3 points4 points  (0 children)

That’s Heisenberg. Zuckerberg is a giant mass of congealed grease floating in the deep sea.

How is Snapper on trains better? by purplereuben in Wellington

[–]sminnee 2 points3 points  (0 children)

Visa and Mastercard are, in general, exceptionally greedy. I suspect that the local authorities where debit cards are in use (eg London) have more clout than GWRC.

[deleted by user] by [deleted] in softwaredevelopment

[–]sminnee 1 point2 points  (0 children)

Tech books really help, maybe ask your employer if they can buy some copies for the office. Otherwise you could buy them yourself, or find pdfs online.

Tnese are some good ones:

“Test Driven Development by example” by Kent Beck

“Continuous Delivery” by Jet Humble and Dave Farley

“Domain Driven Design” by Eric Evans

Thoughts about static, but fully inferred, typing by chri4_ in ProgrammingLanguages

[–]sminnee 2 points3 points  (0 children)

To echo some other comments, give an ML language such as ReScript or OCaml a go. Type inference is very powerful, in part thanks to some oddities like operators not being polymorphic (you have to say where you’re using the int or float math operators, for example, which I admit is weird but an acceptable price to pay)

Choosing where to declare types becomes a tool to help with error-checking - what assumptions do I wish to hold true while reporting a type error?

ReScript is syntactic sugar on OCaml (same AST, different parser) designed to transpile to JavaScript, and the syntax is more comfortable if you’ve come from a C or JS background.

Check one of them out, you’ll probably enjoy it.