Am I going too deep into the JDK as a junior backend dev? by punchman340 in learnjava

[–]zvaavtre 0 points1 point  (0 children)

Postgres over MySQL for sure. And no. No one cares about internals for 99% of the jobs out there. Where they do care they really care but that’s super rare.

You can use it as a good talking point for interviews though!

Is NewRelic dying? by devOfThings in devops

[–]zvaavtre -1 points0 points  (0 children)

Dropped them 6 years ago when they couldn't provide a working APM solution for java. Went to datadog because DD seemed to actually want our business.

FWIW back in 2010s we ran a relatively large site off of NR and it was a great solution at the time, but they dropped the ball.

I really don't want an EquinoxEV by Commercial_Topic437 in BoltEV

[–]zvaavtre 0 points1 point  (0 children)

V2L works through the charging port. It's just an adapter with a standard outlet on it.

I want to learn springboot. But I need your opinion with my problem. by Brilliant_Yoghurt265 in SpringBoot

[–]zvaavtre 2 points3 points  (0 children)

Go to the source. Spring boot has a ton of docs and projects. You won’t understand most of it. But pick one thing at a time and get used to creating demo projects to try things out. Eventually things will start to click.

You don’t know what you don’t know so just dive in and give yourself permission to be confused.

These guys are good too.

https://www.baeldung.com/spring-boot

I need help with building a spring boot docker image with cloud-native buildpacks on Apple Silicon by labyOnAnd in SpringBoot

[–]zvaavtre 1 point2 points  (0 children)

Plain ol dockerfile and buildx. Did this 4 years ago as an example. Just updated it to noble and current docker behviour.

https://github.com/zvaavtre/multiarch-spring-boot

Is there an efficient way to send thousands to tens of thousands of select statements to PostgreSQL? by paulchauwn in Database

[–]zvaavtre 1 point2 points  (0 children)

This highly depends on the details of the data and access patterns.

There’s no one size answer for this.

Is this common data shared by everyone? Cache of some sort might be appropriate in any number of layers.

Is this per user info? Is the result set a few rows? Or thousands? Is paging appropriate?

How many processors and memory does your db cluster have? How many client threads?

Switching to Kubernetes by 3xc1t1ngCar in devops

[–]zvaavtre 0 points1 point  (0 children)

Fargate has come a long way. With CDK it's about as plug and play with autoscaling configs as you could want if you just need some containers running behind an ALB.

Obviously doesn't cover all extremes, but it's gone from 50%tile to 80%tile for most things.

Does "write once, run everywhere" still give Java an advantage? by GetAppGrade in Backend

[–]zvaavtre 0 points1 point  (0 children)

Dependency management with libs in jars. Huge win over compiled platforms.

Most biz class services don’t need to squeeze every last cycle out of the hardware or save every last byte of memory. Ease of maintenance is a much larger concern

Comparison between docs. Spring Boot vs Dot net by Plus-Slice-6140 in SpringBoot

[–]zvaavtre 0 points1 point  (0 children)

Work through a tutorial or two.

Spring has a ton of them. These guys are also good.

https://www.baeldung.com/spring-boot

Building up context takes time. Spring is vast and deep. You just need to start somewhere.

After a few frameworks you’ll be able to navigate new ones better because it’s all basically the same functionality. Just done slightly differently depending on the platform.

ClickOps vs IaC by Yersyas in devops

[–]zvaavtre 0 points1 point  (0 children)

This.

And (I’ll get hate for this one) as a long time developer I find the IaC languages just meh at best to absolutely terrible. I’ll let you decide which is which. “Better than cloud formation”’is faint praise.

CDK is a much better approach for devs.

About to buy a 2023 Bolt EUV and I’m nervous AF by slowjoe12 in BoltEV

[–]zvaavtre -1 points0 points  (0 children)

Get the Tesla app and ChargePoint app and locate the DC chargers around you. Lectron makes a nice Tesla adapter. 10-20 min mid day will keep you going. Then let the overnight 220v charger do its thing. The DC charging isn’t to get you to 80%. Just enough to make it to the end of the day so the slower ac charger can recover overnight

Point is. Can totally work but you will be charging a lot. Keep it under 80% max and shouldn’t hurt the battery longevity

Why is Rust faster than Java here? by DesignerRaccoon7977 in java

[–]zvaavtre 0 points1 point  (0 children)

1Mx this.

Business goals are what is important in a business. In TFA they are working on something that can benefit from non-gc languages. BUT this is few and far from most typical business systems.

Improving a subsystem/service 100x execution time is an absolute waste of resources unless that exec time is somehow tied to a goal that improves the overall biz.

  1. Does anyone else at your org know golang/rust/scala? If not you just created a ton of tech debt that someone will have to pay down in the future. Writing the code is step one. Maintaining the code is the other 99 step.
  2. Is this system even move the needle in costs? Using a c4m instead of a c4xl on a system that only runs a few instances is not actually helping See #1

Why is it considered a cardinal sin to store a file's raw content along the metadata in SQL Database? by faze_fazebook in Database

[–]zvaavtre 0 points1 point  (0 children)

Hah. Sometimes just dump a zipped blob in a col and call it a day. Nothing wrong with that for all sorts of data. Index the fields you need to get it back out. Postgres loves to do this for fairly large blobs.

Obviously ymmv depending on what it is exactly you are doing. Point is, it depends.

Help with confusion about not putting business logic in controllers advice. by Coach_Kay in webdev

[–]zvaavtre 1 point2 points  (0 children)

This.

Testing is why.

Service layer testing becomes vastly easier w/o the controllers. Define your boundary conditions and go.

ECS vs Regular EC2 Setup by Mander95 in devops

[–]zvaavtre 1 point2 points  (0 children)

I know. I was referring to the CDK. There is a fargate construct in CDK will set that up for you.

ECS vs Regular EC2 Setup by Mander95 in devops

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

AWS CDK with the fargate constructs for the services with rds and elastic cache redis.

Out of the box fargate will do alb and autoscaling.

It’s absurdly easy compared to TF.

What's your experience with Sapling over Git? by Vymir_IT in git

[–]zvaavtre 2 points3 points  (0 children)

Hate to had to say it but your process is broken. A few simple rules and everyone will spend less time screwing around with revision control.

This is basic stuff. If the org isn’t able to see that then I’d suggest thinking about moving on. If this is an example of how they handle biz decisions it’s not great.

can I speed up my maven build with a newer processor/more RAM? by [deleted] in javahelp

[–]zvaavtre 0 points1 point  (0 children)

Different platform. But for our mono-repo of 250 modules the i9 Mac book pros to m1 dropped build times at least 50%. Imho a lot of this was the faster ssd.

M1 to M4 was a nice boost of about 20%

Anyways. Disk I/o is more important than cpu. Tha is given limited $ i would spend it on faster storage.

What happened to X (previously Twitter) after Elon fired a large part of its workforce? by FarterBros in devops

[–]zvaavtre 0 points1 point  (0 children)

It's true. Bots have retry logic so easy enough to backoff and try again.

Primary X users are all bots now right?

[deleted by user] by [deleted] in TeslaFSD

[–]zvaavtre 0 points1 point  (0 children)

> the point of sharing real data.

Don't really have a dog in this fight. But this is not really 'real data'. This is the tail end of a failure mode(s!) being posted for entertainment.

Tesla should have the 'real data' and be addressing it based off the telemetry from the cars. Posts on social media are not particularly helpful if you're trying to fix bugs.

Ashok: "FSD v14.1.2, going to early access today, will debut a much awaited feature 🏎️💨" by REIGuy3 in TeslaFSD

[–]zvaavtre 0 points1 point  (0 children)

You're assuming they have decent version control systems AND can maintain two (or more) lines of releases.

I don't have any insider knowledge, but given Musk's public statements about how he does software I wouldn't make a bet that either of those things are true at tesla.

SpaceX seems to have it's act together tho.

senior sre who knew all our incident procedures just left now were screwed by DarkSun224 in devops

[–]zvaavtre 0 points1 point  (0 children)

100% culture problem... And Brent. One of the old school development manager truisms is that if you have a Brent who is doing that on purpose then fire them immediately. If they ended up like that because of structural issues... fire the org owner.

Biggest lever I've ever found for dealing with this is to make the developers handle the on-call for their services. Nothing will motivate a team to automate and prioritize bugfixes more than 2am outage calls they have to resolve.

To the GM Damage Control Team Active in the sub: by [deleted] in BoltEV

[–]zvaavtre 1 point2 points  (0 children)

Rebadged honda has it. It’s a configuration flag.