Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rohansi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
571.
▲
by
Rohansi
1y ago
Some variants of the ESP32 support executing code from external memory (PSRAM) too. That gives you 8MB more to play with.
572.
▲
by
Rohansi
1y ago
You can technically do it on any processor that allows you to execute code from RAM. Loading ELF files at runtime is a whole process provided by an OS kernel, which ESP-IDF is not.
573.
▲
by
Rohansi
1y ago
I wonder how much of that issue is related to crappy lid open sensors. AFAIK most of them work by sensing a magnet placed in the frame. MacBooks don't do this so your laptop doesn't sleep randomly when a magnet passes over your la
574.
▲
by
Rohansi
1y ago
IIRC Factorio supports both modes as an option.
575.
▲
by
Rohansi
1y ago
Most of those SKUs are component swaps. A proper passively cooled laptop would require a completely different chassis design to act as an extension of the heatsink. I bought a MacBook Air because it was cheaper and met my needs. Being passi
576.
▲
by
Rohansi
1y ago
There are other differences with the iPad Pro lineup unrelated to the SoC. It's just strange to think that a very capable laptop chip is being put into a device with far more limitations.
577.
▲
by
Rohansi
1y ago
Apple is also always at least one generation ahead on the process/lithography too because they buy out all of the initial capacity. That alone accounts for a decent chunk of the difference. I don't think the market is there for fa
578.
▲
by
Rohansi
1y ago
The restriction in C# comes from its ability to reference stack allocated memory. I'm not familiar with Rust but it probably figures it out based on the lifetime of T.
579.
▲
by
Rohansi
1y ago
Would be nice for humans to get the markdown version too. Once it's rendered you get a clean page.
580.
▲
by
Rohansi
1y ago
It does but the GC can still stop-the-world pause threads that aren't touching GC memory. The author's proposed isolation would provide a way to avoid that.
581.
▲
by
Rohansi
1y ago
For sure, but the author also proposed "unmanaged spaces" which would run in-process but with no GC. This seems to be the main goal and everything else is definitely better handled with existing solutions.
582.
▲
by
Rohansi
1y ago
Even something like Burst is, IMO, not really necessary in modern C#/.NET. It does well in benchmarks but they are almost always comparing Burst vs. normal C# in Unity. Problem is C# in Unity is stuck so far in the past that it makes B
583.
▲
by
Rohansi
1y ago
Anyone who thinks DirectX was bad for the games industry needs to go back and review the history of graphics APIs.
584.
▲
by
Rohansi
1y ago
I get this all the time without being on an active directory. It's nothing network related from what I can tell. The explorer tab just stops being interactable seemingly randomly. Closing and reopening the tab works around it.
585.
▲
by
Rohansi
1y ago
Most likely cheap or fake SD cards. I've been running a Raspberry Pi camera (recording) to a SanDisk SD card for years and it's still going strong.
586.
▲
by
Rohansi
1y ago
Why not?
587.
▲
by
Rohansi
1y ago
This, and always check benchmarks instead of assuming memory bandwidth is the only possible bottleneck. Apple Silicon definitely does not fully use its advertised memory bandwidth when running LLMs.
588.
▲
by
Rohansi
1y ago
Overcommit is different. We are referring to infrequently used memory - allocated, has been written to, but is not accessed often.
589.
▲
by
Rohansi
1y ago
You'll also need to consider that the allocator you're using may not immediately free memory to the system. That memory is free to be used by your application but considered as used memory mapped to your program. Anyway, it's
590.
▲
by
Rohansi
1y ago
> As I understand this article, swap is useful for cases where many long-lived programs (daemons) allocate a lot of memory, but almost never access it. But wouldn't it be better to avoid writing such programs? Ideally yes, but is th
591.
▲
by
Rohansi
1y ago
I don't see how nearly killing the H1B program goes against that pledge. If anything it sounds like something that they could spin as following this pledge.
592.
▲
by
Rohansi
1y ago
I have a Steam Deck and love it but it still cannot suspend and wake without the audio crackling issue - other than that it is magical though. (The pause games decky plugin is a third party solution that fixes it!)
593.
▲
by
Rohansi
1y ago
> The same as having lots of FLOPS on paper doesn't necessarily mean you'll get to use all that compute, if you're waiting on memory all the time. The opposite case is also possible. You can be compute limited. Or there co
594.
▲
by
Rohansi
1y ago
Have you tested it or is that just what you expect?
595.
▲
by
Rohansi
1y ago
https://web.archive.org/web/20250125040351/anandtech.com/sho... You're realistically going to reach power/thermal limits before you saturate the memory bandwidth. Otherwise I'd like to hear abo
596.
▲
by
Rohansi
1y ago
Memory bandwidth is just a marketing term for Apple at this point. Sure, the bus is capable of reaching that bandwidth, but how much can your code actually use? You'd be mistaken if you think the CPU can make use of all that bandwidth,
597.
▲
by
Rohansi
1y ago
https://www.youtube.com/watch?v=LW_s6EqOxqY
598.
▲
by
Rohansi
1y ago
Whether you're programming with a GC or without one it all comes down to profiling and optimization (when required). Using a GC means you need to think about memory allocations and reduce them (when required) because they factor into h
599.
▲
by
Rohansi
1y ago
This hasn't been an issue for a long time because nobody uses the non-generic collections anymore. That doesn't help you with your reliance on type erasure though. If you're up for it you should give it another try. Your exam
600.
▲
by
Rohansi
1y ago
.NET Standard is more for maintaining interoperability between .NET Framework and .NET (Core). At this point only (very) legacy applications should be on Framework. Everything else isn't, so they shouldn't use. NET Standard as a t
More ›