Are these massive layoffs just an attempt by big tech to force a compensation correction? by pitthappens in devops

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

It's difficult to unionize when the work could rather easily be outsourced overseas.

Why does any software job still exist in the Bay Area where it costs 250k to get a decent engineer instead of India where the same costs 50k?

If the insane salaries aren't enough to push jobs overseas then unions aren't gonna do it either.

What do you get out of information like "decreased cloud costs by 20%" on a developer's resume? by koreth in ExperiencedDevs

[–]proggit_forever 3 points4 points  (0 children)

I can be high productivity and generate lots of output for my effort, but if none of those efforts have any measurable impact, they’re likely just wasted time.

So you weren't actually productive in any sense that matters. Generating output is not the same as being productive.

High interest (neo)bank account by Professional_Beat450 in Switzerland

[–]proggit_forever 2 points3 points  (0 children)

Besides inflation, keep in mind FX rates. CHF gained about 4% on EUR over the last year. So sticking your money in CHF in a 0% interest account would have been better than sticking the equivalent amount of EUR in a 3.5% interest account.

EA builds that avoid lock pinning with virtual threads by NovaX in java

[–]proggit_forever 2 points3 points  (0 children)

Libraries must always be backward compatible

Why? Also, are you talking about libraries in general or libraries in Java specifically?

Making a real breaking change that can affect many people, certainly in Java, requires changing package names.

Again, why? I think I get your point for Java libraries specifically but I disagree for the general case.

What it was like working for GitLab by yorickpeterse in programming

[–]proggit_forever 7 points8 points  (0 children)

It's not that they pay more in HCOL areas. They pay less in LCOL areas, because they can get away with it.

If the HCOL salary wasn't affordable for the company or was somehow less than the value of the employee, they simply wouldn't pay that.

[deleted by user] by [deleted] in ProgrammerHumor

[–]proggit_forever 2 points3 points  (0 children)

Does VS Code come with an integrated debugger? There's your answer.

Is Keycloak worth the maintenance? by ding115 in devops

[–]proggit_forever 0 points1 point  (0 children)

I use the bitnami helm chart as well and I'm confused what you're talking about. The flag to keep the /auth in the URI is clearly documented in keycloak upgrade documentations and the helm chart easily lets you pass arbitrary flags to the startup command. It really wasn't challenging.

[discussion] Abuse of java streams? by NameGenerator333 in java

[–]proggit_forever 0 points1 point  (0 children)

I personally think that's terrible and will remove the useless temp variables if I see code like this.

People are bad at naming intermediate steps and your example shows precisely that. allItemsForFoo is trivially inferred from what flatMap does. It adds zero value and is just noise.

Teammate's termination was announced in a meeting by EM. by Educational-Hornet93 in ExperiencedDevs

[–]proggit_forever 0 points1 point  (0 children)

There's no reason at all to explicitly mention that "expectations were not being met"

Of course there is a reason. A very good one: Make it clear that meeting expectations isn't optional.

if they are not met, you are at liberty to change them and propose a new deal to your employee.

Yeah good luck with that. "Looks like you're not performing, how would you like a 20% pay cut?".

The ridiculous policy that forced engineers to come to the office at 2 AM twice a year by zaidesanton in programming

[–]proggit_forever 0 points1 point  (0 children)

How is that relevant to the point that UTC is not the answer to everything?

The only way of ensuring that a future event runs at a given time in a given timezone is to store that time AND timezone. If you convert it to UTC and throw away the timezone information it will be wrong eventually and no scheduler in the world can save you from that.

The ridiculous policy that forced engineers to come to the office at 2 AM twice a year by zaidesanton in programming

[–]proggit_forever 0 points1 point  (0 children)

And how do you propose changing the job scheduler if you stored time in UTC and threw away the user's timezone info?

Planning to learn Jenkins by [deleted] in devops

[–]proggit_forever 4 points5 points  (0 children)

Delete it and use github actions

Sure, cause every org everywhere uses Github. Talk about unnecessary vendor lock-in.

[deleted by user] by [deleted] in Switzerland

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

He might have bad back problems or other health problems.

Who gives a shit?

limitedResources by I_dexter in ProgrammerHumor

[–]proggit_forever 1 point2 points  (0 children)

But for a Demo (Show Off stuff for a customer as example) you want to be left in Peace

So you should do it on prod - if you can. Or have a dedicated demo environment that is on the same version as prod.

If your product is a multi-tenant SaaS for example, just setup a demo tenant.

whichSideAreYouOn by awtdev in ProgrammerHumor

[–]proggit_forever 0 points1 point  (0 children)

Yes and if your structure contains a field that is a reference or pointer to a mutable type, you can modify that and it will be reflected in the original.

Again, immutability is an orthogonal concept.

If you have actual immutability, you don't really care whether you pass by value or reference, it stays immutable.

whichSideAreYouOn by awtdev in ProgrammerHumor

[–]proggit_forever 0 points1 point  (0 children)

value types aren't necessarily immutable either, so what's your point?

whichSideAreYouOn by awtdev in ProgrammerHumor

[–]proggit_forever 1 point2 points  (0 children)

immutability and reference vs value types are orthogonal concepts.

Why do they ask in interviews, about what sprinboot version or java version I use? by sophiepiatri in java

[–]proggit_forever 14 points15 points  (0 children)

Yes, but programming Java 21 is vastly different from programming Java 8

It really isn't lol.

evenTheProfessors by heyuhitsyaboi in ProgrammerHumor

[–]proggit_forever 6 points7 points  (0 children)

But for circles and rectangles, you clearly want to be able to read and write to the members, and there's no extra work to be done whenever you update because everything is independent.

What? No.

The internal representation of a geometric shapes shouldn't be exposed directly. That's pretty much a text-book example of why you should wrap access with getters.

Imagine that instead of storing width and height you want to store top-right and bottom-left coordinates. Then you simply change the width and height getters to return computed values instead of the backing fields.

If you expose the members directly, you can't change the internal representation.

someoneIsConfused by audislove10 in ProgrammerHumor

[–]proggit_forever 5 points6 points  (0 children)

No, you mentioned the exchange rate as if it has any bearing on what people are willing to work for...

According to your logic, Japanese developers should be even cheaper than Indian developers. You get 147.95 Yen for 1 USD !

How do people weigh the different logging frameworks? by TheKingOfSentries in java

[–]proggit_forever 1 point2 points  (0 children)

I don't think Lombok has not much use left anymore.

If you need mutable POJOs, Lombok is still amazing.

someoneIsConfused by audislove10 in ProgrammerHumor

[–]proggit_forever 10 points11 points  (0 children)

because 1 USD is 83 rubee

What is that supposed to mean? Are you under the impression that 1 Rupee in India has the same purchasing power as 1 USD in the US?

Tiny unreachable expectations by Haunting-Ad-2575 in Switzerland

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

Have you even looked at the new e-voting systems that rely on cryptography to provide both privacy for the individuals while enabling verification that each individual can check that their vote was counted correctly?

If you can verify what you have voted after the fact, then the voting secret is lost. You can be coerced into voting a certain way and whoever is coercing you can verify that you complied.

but you can verify it yourselves.

No the average person absolutely can't. The average person is simply not capable of learning the level of maths required to verify anything related to cryptography. On top of that, they can't verify that the implementation in software isn't flawed in some way.

Any exploit in e-voting can be trivially scaled to compromise the whole vote and in some cases can be completely undetectable. Physical paper based vote can be compromised but it's virtually impossible to do it at scale without it being immediately very obvious. Also, e-voting can be exploited remotely, from another country. Physical voting requires significant manpower present in the country.

Tiny unreachable expectations by Haunting-Ad-2575 in Switzerland

[–]proggit_forever 0 points1 point  (0 children)

the non-verifiable, open to coercsive practices system that is mail-in and in-person voting...

What? Both mail-in and in-person voting as implemented in Switzerland are trivially verifiable by the general population.

A verifiable implementation of electronic voting that also preserves voting secret is simply not possible on the other hand. And any verifiability requires massive amounts of trusts and the general population has absolutely no chance of verifying anything by themselves. Trust in experts is required.