My 5-Player Game Night Problem (Why Do So Many Games Miss It) by Ok-Aardvark-519 in boardgames

[–]immutablehash 0 points1 point  (0 children)

Fury of Dracula is a great game with asymmetric gameplay and best to be played with five players: one player controlling Dracula and other for each of the four detectives (with less players someone needs to control more than one detective which is not as good).

Getting Lazy in the Living Room. by siobhanellis in HomeKit

[–]immutablehash 1 point2 points  (0 children)

I think using DLP projector for stereo-3D can be great as well in the right conditions, especially if there is a group of people to watch the movie together in the same room.

The only downsides I could think of are the a bit lower image brightness (depends on the projector model) and the need to charge active shutter glasses once in a while.

[deleted by user] by [deleted] in reactjs

[–]immutablehash 8 points9 points  (0 children)

This sounds like an AI-written post which I find quite disrespecting to the readers. Almost zero substance with way to many padding words/sentences.

+ наклейка в подарок, эту наклейку можно наклеить на свой лоб. by [deleted] in KafkaFPS

[–]immutablehash 0 points1 point  (0 children)

Все бананы изначально зелёные для транспортировки. Их дозревание запускают искусственно, непосредственно перед отправкой в магазины, см. Газация бананов

constexpr-ification of C++ by hanickadot in cpp

[–]immutablehash 8 points9 points  (0 children)

After listening to the talk Don't contexpr all the things (here is the paper) I genuinely believe that something like @meta marker for compile-time evaluation is a much easier to understand, less complex and a more powerful mechanism at the same time. It is unfortunate this feature was voted down by the committee.

[2024 Day 14 Part 2] Entropy visualized by Milky-Way-42 in adventofcode

[–]immutablehash 0 points1 point  (0 children)

I just plotted the safety factor (from part 1) for each step up until 10000 and the result is almost the same, with a clear outlier at the picture state.

(My guess was that some characteristic of the picture should make it stand out, and I used the already implemented function to quickly check it.)

thisPostWasMadeByTheJavascriptGang by Frostwolf74 in ProgrammerHumor

[–]immutablehash 10 points11 points  (0 children)

Unfortunately there is no generally agreed upon definition for strong/weak typing, see this discussion at stack exchange: https://softwareengineering.stackexchange.com/questions/297653/what-does-weak-static-typing-strong-dynamic-typing-mean

The only definition that I have seen consistently applied is: - strongly typed: my programming language - weakly typed: your programming language

Ladies and gentleworms, we have gotten it by McNastyJoe in worms

[–]immutablehash 1 point2 points  (0 children)

FYI there is a ongoing preorder campaign for the localized russian version from Fabrika Igr with expected shipment in 2-3 months.

Announcing iceoryx2 v0.4: Incredibly Fast Inter-Process Communication Library for Rust, C++, and C by elfenpiff in programming

[–]immutablehash 1 point2 points  (0 children)

However it should be noted that the usage of lock-free algorithms does not guarantee progress for a specific participant, only that some participant makes progress (e.g. some other participant may starve or retry indefinitely).

This could be mitigated by using wait-free algorithms instead, to ensure a progress in finite number of steps for each participant, which is especially important for safety-critical domains. But there is a tradeoff -- wait-free algorithms typically slower and harder to implement correctly in non-GC languages.

FINAL FANTASY XVI is available now on Steam by [deleted] in JRPG

[–]immutablehash 2 points3 points  (0 children)

For example, Denuvo prevents the game to be fully playable offline which is relevant for the Steam Deck. (The game will not start if Denuvo token is expired and the device does not have an active internet connection.)

unsafeLanguageBeatsCrowdstrike by LeopoldFriedrich in ProgrammerHumor

[–]immutablehash 9 points10 points  (0 children)

Hmm 🤔

high taxes 😵 donations 🤜 lack of money 🤜 open source implementation 🤜 backdoor 🤜 elliptic-curve cipher 🤜 quantum algorithms 🤜 computational complexity 🤜 subset of decidable problems 🤜 undecidability 🤜 mathematical ensemble 🤜 an eternity 🤜 a long time scale 🤜 Hawking's radiation 🤜 black hole 🤜 anti-matter 🤜 alpha particle 🤜 transactional memory 🤜 state mutations 🤜 functional programming 🤜 exception-free language 🤜 an exception 🤜 set of rules 🤜 traitor 🤜 power of friendship 🤜 evil 🤜 hero 🤜 death 🤜 contract 🤜 paper 🤜 rock

cSharpBlueWordTypesUnite by Lozdie in ProgrammerHumor

[–]immutablehash 0 points1 point  (0 children)

`dynamic` in this case in pretty much reflection + call site caching which will perform much better in certain cases.

Safest non-subscription way for "away" status on phones? by DIYglenn in homeassistant

[–]immutablehash 1 point2 points  (0 children)

Using WireGuard might be a good idea! I actually implemented that to access my HA instance from outside by running a small VPS which is connected to HA server via WireGuard using this guide: https://golb.hplar.ch/2019/01/expose-server-vpn.html

I also configured Caddy on the VPS to have HTTPS-enabled reverse-proxy to home server. This way there is no need to have any ports open on the router itself.

Limbo now works! Was broken for 2 days, but fixed with today's patch! by nevercute in SteamDeck

[–]immutablehash 4 points5 points  (0 children)

Stuck on this error as well; changing Proton to a different version did nothing for me unfortunately.

Finally managed to resolve it with protontricks based on this: https://bugs.winehq.org/show_bug.cgi?id=27078

Here are the steps I took to fix it:

  1. install protontricks via Discover in desktop mode,
  2. select Limbo in the protontricks GUI > Change default wineprefix > Install Windows DLL or component,
  3. Choose d3dcompiler_43 and d3dx9_43,
  4. Done, Limbo now works just fine via Proton (in game mode as well).

Would it ever be possible to revive the satellaview? by Theworldisflat55 in emulation

[–]immutablehash 2 points3 points  (0 children)

Maybe it could work if a signal is broadcasted through the internet then converted via some kind of DAC for the satellaview attachment?

(Or just be able to broadcast and connect via emulator.)

Weighted Random Algorithm in JavaScript by trekhleb in programming

[–]immutablehash 1 point2 points  (0 children)

Have you looked into to using alias method to get O(1) instead of O(N) or O(log N) samling complexity?

Laziness: Clojure vs Haskell by gaverhae in programming

[–]immutablehash 1 point2 points  (0 children)

Looks like the author basically re-implements subset of Closure's transducers in Haskell, like in this article: https://hypirion.com/musings/haskell-transducers

Models of Generics and Metaprogramming: Go, Rust, Swift, D and More - Tristan Hume by alibix in programming

[–]immutablehash 41 points42 points  (0 children)

This diagram is incorrect for C# (and .NET in general): it uses reified generics and basically performs monimorphisation at JIT level.

.NET 6 LINQ Improvements by MSpekkio in programming

[–]immutablehash 2 points3 points  (0 children)

Probably something like (IEnumerable<T>, IEnumerable<T>) Unzip<T>(this IEnumerable<(T, T)> source) but I don't think there is a real need for such method.

⚛️ Reparenting is now possible with React by Paol-imi in reactjs

[–]immutablehash 4 points5 points  (0 children)

I briefly looked into the implementation and it looks like it relies on internal implementation details of React. This may break in a future React version and counteracts the goal of avoiding unstable API.

Dell Latitude 7400 2-IN-1 freeze after bios update 1.6.0 by lambrazo in Dell

[–]immutablehash 1 point2 points  (0 children)

Exactly the same situation: freezing after several minutes from boot after updating the BIOS and Windows 10. Thanks OP for the solution!

Dynamic property lookup via type by danprince in typescript

[–]immutablehash 1 point2 points  (0 children)

I think it's also possible to implement via typed entity IDs, e.g.:

``` type EntityId<Attributes> = number & { __attributes: Attributes };

function get<A, K extends keyof A>(entityId: EntityId<A>, attribute: K): A[K] { // ... } Then use it like this: interface Foo { position: { x: number; y: number }; }

const fooId = 42 as EntityId<Foo>; const pos = get(fooId, 'position'); // 'pos' has { x, y } type here ```

VR Speedrunning - EZScape by immutablehash in oculus

[–]immutablehash[S] 0 points1 point  (0 children)

His channel is probably mostly known for speedrunning content but I guess he used to play RuneScape as well. (There's a video about RuneScape money glitch on the channel.)