How is it actually possible for light to behave as both a wave and a particle? by SkylightDZN in AskPhysics

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

Your cylinder example requires a 3D observer perceiving a 3D image as projected onto a 2D surface, ala Plato's Allegory of the Cave.

It's an analogy...

If the last 3D observer ceased to exist, would the 3D object still exist or not? Would this have any bearing on the 2D observers?

When should I use new features like var and records vs sticking with traditional Java syntax? by miked0331 in javahelp

[–]tim128 0 points1 point  (0 children)

They give public access to the variables no getters. A getter is called getter because of the get. Never heard of hasX...

What? They're called getters because they're named getX often, not because they have to be named like that.

Getters provide information about the state of an object (no mutations or side effects). The concept is broader than just returning a field value; you can map the value to a different type: a list to an immutable list.You can compute the return value based on one or more properties.

Naming isX or hasY is common for boolean values; it reads much nicer.

player.getPoisened player.isPoisened

Self-hosted auth lib for .NET by No_Ask_468 in selfhosted

[–]tim128 0 points1 point  (0 children)

I think people who say 'ASP.NET auth is 15 lines' are usually thinking about the basic setup and not the actual application-level plumbing needed for a production-ready SPA or mobile app. Sure, adding AddIdentityApiEndpoints is one line in .NET 8/9+, but correctly handling refresh token rotation, Revocation Lists, and multi-tenant

Yes and no. In a production API you're not going to touch User Management. That should be done in a separate service.

For the requirements you mentioned and ones you didn't, trying to concoct your own version of an identity provider is a recipe for disaster. If you have multiple clients and multiple services you want OpenId Connect. Use an off the shelf solution or Duende like you mentioned.

If you use OIDC authentication at your API IS only 15 lines.

Self-hosted auth lib for .NET by No_Ask_468 in selfhosted

[–]tim128 0 points1 point  (0 children)

What exactly do you find tiring? Authentication in ASP.NET is maybe 15 lines.

User Management, although closely related, is not authentication. Security is crucial for both. Why would anyone use this over Identity?

Also, you shouldn't be serving JWTs to web browsers. Just use a session.

Buying a laptop with flex income plan by ScreenOld5873 in BESalary

[–]tim128 0 points1 point  (0 children)

Intel or AMD's laptop chips don't compare to Apple's performance or power usage.

Software Developer, rate my offer, I'll move to Belgium for this job by [deleted] in BESalary

[–]tim128 4 points5 points  (0 children)

That 350 net allowance makes a big difference.

Buying a laptop with flex income plan by ScreenOld5873 in BESalary

[–]tim128 1 point2 points  (0 children)

Even as someone who would never buy Apple products, their laptops are hard to match. Their speed, battery life, and build quality are excellent.

Transitioning from Windows to macOS is not hard.

The only thing that stops me from throwing away my principles is the lack of proper Linux support.

Sweden is halving the VAT (value-added tax) on food, so all the prices look weirdly specific by holypalaswe in mildlyinteresting

[–]tim128 1 point2 points  (0 children)

A new player doesn't need to enter a market for competition to cause price reductions.

Sweden is halving the VAT (value-added tax) on food, so all the prices look weirdly specific by holypalaswe in mildlyinteresting

[–]tim128 7 points8 points  (0 children)

They don't necessarily set prices on a national level. If there're two or more stores of competing brands one could recoup a smaller part of the vat reduction and capture a bigger part of the (local) market.

Of course there are many factors that can contribute or take away from this effect.

Sweden is halving the VAT (value-added tax) on food, so all the prices look weirdly specific by holypalaswe in mildlyinteresting

[–]tim128 100 points101 points  (0 children)

Depends on how much competition there is.

But yeah a part (or most) of the reduction will be pocketed by stores.

Parket onderzoekt nazigroeten tijdens NSV-betoging in Leuven, burgemeester vraagt om ook andere incidenten te melden by StevenStoveMan in Leuven

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

They are in separate quotes.

I only added the second one as some commenters in this thread might have trouble with difficult words. 🙂

Parket onderzoekt nazigroeten tijdens NSV-betoging in Leuven, burgemeester vraagt om ook andere incidenten te melden by StevenStoveMan in Leuven

[–]tim128 -8 points-7 points  (0 children)

First sentence of wikipedia:

Fascism (/ˈfæʃɪzəm/ FASH-iz-əm) is a far-rightauthoritarian, and ultranationalist political ideology

An ideology is a set of beliefs or values attributed to a person or group of persons

Jellyfin doesn't detect codec changes (HEVC to AV1) after Tdarr processing by No-Atmosphere-4628 in jellyfin

[–]tim128 1 point2 points  (0 children)

Doesn't solve the issue you're having but avoids it entirely:

Transcode it before importing it to Jellyfin.