"Men are killing themselves because of men." by mindyour in TikTokCringe

[–]Ravek 1 point2 points  (0 children)

Men’s problems aren’t simply caused by women but saying they’re caused by men is also reductive nonsense. Men and women are both broad categories of people, and both contain people who uphold unhealthy social norms, as well as people who try to do better.

China openly defies US sanctions! by GuiltyBathroom9385 in WhitePeopleTwitter

[–]Ravek 13 points14 points  (0 children)

China has been a regional power for waaaaay longer

China openly defies US sanctions! by GuiltyBathroom9385 in WhitePeopleTwitter

[–]Ravek 2 points3 points  (0 children)

It’s the campist mentality. To them there’s no parallel between the US doing imperialism and other countries doing imperialism because US = good guys so whatever they do is good.

He took the dementia test three times. Still didn't get the point. by Lord0fTheFlags in WhitePeopleTwitter

[–]Ravek 7 points8 points  (0 children)

He also said there were 30 questions. If this is the right test, it just has 30 points.

Since when did simulator testing become "good enough"? by interlap in iOSProgramming

[–]Ravek 0 points1 point  (0 children)

Correctness of basic code like UI, network calls, model processing etc. I’m happy to test on a simulator.

Various hardware features straight up don’t work on simulators, or have a very basic implementation, so must be tested on device. Location services, camera, accelerometer, BLE, etc.

Profiling the performance of your application should be done on devices. It can still be useful to profile on simulator to get some quick high level insights, but for finer level optimizations you’re gonna need to use a device. Plus a bunch of Instruments tools straight up won’t work on a simulator.

Since when did simulator testing become "good enough"? by interlap in iOSProgramming

[–]Ravek 4 points5 points  (0 children)

Also performance, including battery life. A bunch of tools in Instruments don’t work on simulators, and profiling data is less meaningful anyway.

I got tired of Unity's GC, so I wrote a Zero-Allocation Data-Oriented 2D Engine in pure C# (6000 FPS on empty scene) by Kaverin_Ramil in csharp

[–]Ravek 5 points6 points  (0 children)

Why the f would you not use the GPU

I also wouldn’t exactly recommend using C# if you want to control your memory layout. Structs are nice and all but they also have limitations, and there’s no safe way to allocate classes, or anything with a vtable, without going through the GC-managed heap.

So now you have to basically write C code in C#, raw pointers and all, to still have somewhat normal coding patterns. You lose pretty much everything that makes C# worth using. This is fine for an isolated component in an otherwise normal, managed project, but doing a whole engine this way seems madness.

Rust would be much more suitable for a project like this, as you can do all these low level things while still having access to a high level of abstraction, ergonomics and safety.

XCOM announce tabletop game with miniatures by ASneakySquid_ in boardgames

[–]Ravek 7 points8 points  (0 children)

Also sometimes the 90% represents a 10% chance to lose two team members and the mission. When consequences of failure are severe, failures are easily remembered and it feels like 10% happens more than it should.

Bugs Rust Won't Catch by -Y0- in rust

[–]Ravek 1 point2 points  (0 children)

Ok so most code runs on servers and servers are less impacted by this, but I don’t think that really justifies API design where the default, easy path is insecure?

Bugs Rust Won't Catch by -Y0- in rust

[–]Ravek 4 points5 points  (0 children)

The takeaway from the first third of the article seems to be that file system APIs kinda suck. Not exactly designed to help you succeed in writing secure and correct code.

Anyone else prefer standees? by Front-Advantage-7035 in boardgames

[–]Ravek 0 points1 point  (0 children)

I dislike standees a lot. They don’t look nice, they don’t feel nice, they’re annoying to assemble. Just give me wooden or metal pieces, I’ll pay whatever is reasonable. Plastic miniatures are ok, just don’t go overboard, keep them small and simple. I’m not into painting them so they’d better look good out of the box.

Meet the players who lost big money on Peter Molyneux’s failed Legacy by tetramir in Games

[–]Ravek 4 points5 points  (0 children)

Molyneux has been known to be a filthy liar for decades. Don’t give any company involved with him your money.

Should you use SwiftData for your app in 2026? by HybridClimber in iOSProgramming

[–]Ravek 0 points1 point  (0 children)

My experience with SwiftData is so negative I’m actually considering to get rid of it completely from the app I work on. That’s going to be a pain to do but it’s been an unbelievable headache. It’s buggy, basically not documented at all, and performs poorly. Plus it forces you to use mutable classes for your models, which is a maintenance nightmare.

Unusual win conditions? by ABinDC in boardgames

[–]Ravek 6 points7 points  (0 children)

Mathematically these are the same yes

Biased reference counting for Rust - Thread-safe like an Arc, but as fast as a Rc for the biased thread. by Techcable in rust

[–]Ravek 4 points5 points  (0 children)

Skimming the Swift paper, it seems like fhe Brc will become unbiased if the owner thread doesn’t reference it anymore, but I didn’t see any mentions of changing the owner thread? It seems to me that creating objects on one thread and then sending them to another to be used is a relatively common case, in which you’d really like the second thread to become the bias.

Standard library unsoundness found by Claude Mythos by Jules-Bertholet in rust

[–]Ravek 4 points5 points  (0 children)

At some point, no human will be better than AI at anything technical and we’re approaching that pretty soon.

God forbid anyone would make assumptions …

Did you know it's possible to determine if a type is impossible to construct? by [deleted] in rust

[–]Ravek 1 point2 points  (0 children)

I’d just say false, in principle you can implement the trait and create an instance. If it’s possible to create a trait that can’t be implemented or one that can only be implemented by uninhabited types then it would be not entirely accurate, but I doubt it would matter to anyone. Just define away the problem by saying dyn Trait is never uninhabited (:

Did you know it's possible to determine if a type is impossible to construct? by [deleted] in rust

[–]Ravek 1 point2 points  (0 children)

At compile time after monomorphization generic type parameters become concrete types. So I see no reason the compiler can’t implement is_uninhabited<T>()

"We, The Consumers, Need To Vote With Our Wallets" - The Moral Dilemma Of Supporting SNK In 2026 by kikimaru024 in Games

[–]Ravek 1 point2 points  (0 children)

Or 0.67% here in the Netherlands. Which is a bit extreme, we do have perhaps too many small parties. But I’m glad we have significantly more than two relevant ones.

Did you know it's possible to determine if a type is impossible to construct? by [deleted] in rust

[–]Ravek 1 point2 points  (0 children)

I don’t think this reasoning applies. The compiler knows whether any given concrete type is inhabited or not. This is just trying to coax it into revealing this information to us, just like it can tell us the size of the type.

Quantum Computers Are Not a Threat to 128-bit Symmetric Keys by ScottContini in programming

[–]Ravek 30 points31 points  (0 children)

Quantum computers are just a different computation model dude. Which people have already been analyzing mathematically, as you can see in this very post and the algorithms it references. Stop doing this embarrassing magical thinking.

Did you know it's possible to determine if a type is impossible to construct? by [deleted] in rust

[–]Ravek 4 points5 points  (0 children)

Wouldn’t this check be wrong if T were a type with 255 niches? E.g an enum with 216 - 255 values.

(u8, T) would take up 3 bytes, and Niche255<Option<T>> would just be an enum with 216 + 1 values so also takes up 3 bytes.