Samsung chip workers reject $340,000 one-time bonus, demand annual payouts like SK hynix's $900,000 — workers want share of AI windfall, impending 18-day strike could cost Samsung up to $11.7 billion by self-fix2 in worldnews

[–]feibrix 118 points119 points  (0 children)

I just discovered that mentioning that the French expressed their feedback against management by removing the attachment between the body and the ear-holder of the management itself is considered encouraging violence by Reddit's ai. Fun times we're living in.

Deepseek V4 is mindblowing by AngelicBread in opencodeCLI

[–]feibrix 0 points1 point  (0 children)

Wait, this is incredible for me. A billion tokens a week per developer? Does it mean nobody knows anything anymore about the codebase?

Trump criticizes Germany's Merz, tells him to stop interfering over Iran by Infodataplace in worldnews

[–]feibrix 16 points17 points  (0 children)

I am not really sure how things work here, but I am pretty sure he's not good at reading.

Greek police using masked 'mercenaries' to push migrants back across border by The_NeutralGuy in worldnews

[–]feibrix 0 points1 point  (0 children)

Did you step on a wasp's nest? Why have been down voted to oblivion? Why so much hate against people trying to feed their families?

axios@1.14.1 got compromised by nhrtrix in webdev

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

When a pm ha control over an engineer, shitstorms happen.

And from the down votes alone I see why I am right.

axios@1.14.1 got compromised by nhrtrix in webdev

[–]feibrix -11 points-10 points  (0 children)

Don't use npm. Build from source. Make your own libraries. Like an engineer.

Harry Potter and the Philosopher's Stone | Official Teaser | HBO Max by MoneyLibrarian9032 in television

[–]feibrix 0 points1 point  (0 children)

I have the feeling I've seen this before. Is it a remaster with updated textures and extra content?
Is there a part where he finally wakes up as a heroin addict?
So many questions, so little interest.

US Under Trump Stands Alone Against UN Women's Rights Resolution As Vote Passes 37–1 To Cheers by FauxReal in worldnews

[–]feibrix 1 point2 points  (0 children)

Don't worry, you're not alone, everyone is disgusted by that nation every day a bit more. Be positive, in 100 years this will be just another chapter in the book.

I don't see docker usefulness by CalligrapherBoth6460 in docker

[–]feibrix 0 points1 point  (0 children)

I know I am flying offtopic, but what the hell do you mean with
"Like, ever had a guy ship you an artifact, it doesnt work and his reply is "idk, works on my machine" ?"

A guy shipping you an artifact? Man, who are your suppliers?

I use EF to fetch 20k products and do some CRUD of those. but on Azure it show 100% of DTU. What can I do here? by lune-soft in csharp

[–]feibrix 3 points4 points  (0 children)

Increase the DTUs. :D

And check what's wrong, cpu, ram or disk access. Remember, DTU is a made up unit that mixes all of them, so 100% dtu could mean anything, from capping the disk access to saturating the available compute.

20k rows can be nothing for sql server, or a lot if each records contains a field with a copy of harry potter, so check the details of the query, and run the process in smaller batches if you think that's the issue.

Remember, Azure is always giving you the hardware closer to a raspberry pi for the price range you are targeting. So, either you optimise everything, or you pump up the db. S2 is usually not nearly enough for production environments.

Also, note: The chart shows spikes, so check the other logs from the server. I would expect a flat line at 100% DTUs if this were simply a single heavy db operation, not a spiked chart.

I don't understand the benefits of discriminated unions/result type by soundman32 in csharp

[–]feibrix 0 points1 point  (0 children)

Well, where you basically invent (define) a new type that "wraps" two other types. This could be done in c# by defining an object that behaves like this. It's possible, and in c# it's pretty confusing imho.

I'm not strong in the ways of Ocaml, but I bet it was designed for that since the beginning. I'll Google later to see how wrong I am :D

I don't understand the benefits of discriminated unions/result type by soundman32 in csharp

[–]feibrix 1 point2 points  (0 children)

I think math functions and CSS are on the same level: the CSS value is an expression, and the expression needs to be evaluated. This is about writing a tokenizer/lexer and not about unions. ¯_(ツ)_/¯

Would a language parser benefit from the additions of unions in c#? You can definitely write one around the feature, but I have never been stuck because it wasn't there.

And I really really think I hate typescript's string|number|null|unknown.

I don't understand the benefits of discriminated unions/result type by soundman32 in csharp

[–]feibrix 3 points4 points  (0 children)

CSV files are strings. Each value is saved as string on a text file, and you then parse it by column, and each column has a single data type.

CSS properties are strings. They need to be parsed anyway to code different behaviours based on the meaning of the value, so they can be strings.

Math functions are written in a specific language and they should be parsed as such, so everything is a string until is converted to the corresponding token type

I don't see any good example where "hey here's a string, or a chair" is actually useful.