There is also Decimal floating-point arithmetic which has a larger range and better memory safety. Java, C#, Python, Ruby, etc. have built in support for it via Decimal.
- 3 posts
- 13 comments
Yes, it’s cut down for the meme.
In reality, it would probably look more like this:
public class Singleton { private static readonly Lazy<Singleton> lazy = new Lazy<Singleton>(() => new Singleton()); private Singleton(){} public static Singleton Instance { get { return lazy.Value; } } }or this:
public class Singleton { private static readonly Singleton instance = new Singleton(); private Singleton(){} public static Singleton Instance => instance; }
deleted by creator
It is -$140 on the US store, the -$211 is probably Australian dollars.


- KoalaUnknown@lemmy.worldtoLinux@programming.dev•Asahi Linux Lead Developer Hector Martin Steps Down As Upstream Apple Silicon Maintainer1 year
As someone who dual-boots Asahi & macOS, I really hope they can figure out how to move forward. What they do is essential to keeping Apple Silicon MacBooks’s OS open to user choice.
Yes, the protocol used is currently proprietary. That being said, so was ALAC at launch and they later made it open-sourced and royalty free.
It runs over a 5GHz connection, not a 2.4GHz connection like bluetooth.
The newer H2 SoC AirPods support ALAC, Apple’s lossless codec; however, their phones don’t yet support it, so the only way to use it is with the Vision Pro.
- 1 year
There are some videos on youtube of people running local LLMs on the newer M4 chips which have pretty good AI performance. Obviously, a 5090 is going to destroy it in raw compute power, but the large unified memory on Apple Silicon is nice.
That being said, there are plenty of small ITX cases at about 13-15L that can fit a large nvidia GPU.
- KoalaUnknown@lemmy.worldtoSelfhosted@lemmy.world•AMD won't patch all chips affected by severe data theft vulnerability — Ryzen 3000, 2000, and 1000 will not get patched for 'Sinkclose'English2 years
The enterprise models are getting patched but the consumer ones aren’t. Shame on them.
Yep. Storage prices are insane.
price shown in USD not including tax/vat