Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 2y ago · link · parent

You can see through it at least in part because of the tint/opacity effect, where there is more light on the outside than the inside. It's why you can't see through it the other way around (it's reflective, you don't see the astronauts' eyes).

That would imply the result of overlaying Nxylon with this would be gold-colored, not ultra-black..

comment 2y ago · link · parent

> Nxylon (niks-uh-lon), after Nyx

It seems the most straightforward spelling (and easier to pronounce by looking at it if you are taking any kind of cues from the rest of loan words in the language) would have been Nyxlon.

comment 2y ago · link · parent

Great article. It really drives home what a damn shame Intel's persistent mishandling of AVX512 has been ever since its introduction. I don't even know if it has a future outside of extremely niche libraries given how scattered hardware support for it is on Intel's side.

On a completely different topic: I wasn't expecting the redacted portion of the article due to AMD's embargo to take away too much of the article but the first half (up until the discussion about AVX512) would clearly be much more interesting with the censored out parts. I guess someone will have to resubmit this come August 14th!

comment 2y ago · link · parent

Every time the question of preferred programming languages comes up, I'm usually in the extreme minority with my preferences being Rust (for small/fast) and C# (for productive and easy, where GC is acceptable), a combination that doesn't seem to appeal to too many people.

But for the projects that fall right about in the middle where it could go either way and I could see either language working, I almost always pick rust with discriminated unions being the biggest reason. It's incredibly hard to go back to a language without even basic ADTs after seeing the light.

comment 2y ago · link · parent

There are many reasons, though I am not sure which they had in mind. One thing is that LLMs in general tend to do better when they can be more verbose in their output and sort of “think aloud” to reach an answer. Insisting on strict output format would rob it of the benefits (because it doesn’t just not emit but completely skips those stages, or else you’d be paying for those elided output tokens).

comment 2y ago · link · parent

If you use the undecorated gpt-4o do you automatically get the latest?

comment 2y ago · link · parent

I must disapprove of the anachronistic usage of fonts in those blue screen renders!

comment 2y ago · link · parent

No price announced?

comment 2y ago · link · parent

Sure, I don’t disagree with the basic premise. I actually wasn’t passing judgement (despite my wording!), rather I was merely trying to say that despite such a massive unexpected windfall, their finances are still in the gutter.

760.

Nvidia Reportedly Delays Next-Generation Blackwell AI Chip Due to Design Flaw(investors.com ↗)

6 points · by ComputerGuru · 2y ago · discuss

comment 2y ago · link · parent

It's not much of an article, but the question is certainly on everyone's mind.

The crazy part is that this is all after how much Intel has benefitted from the CHIPS act (financially, not strategically, as it's too soon for that). They're unable to compete even with unfair advantages funded by the American tax payers.

From everything I've heard and read, Gelsinger is a great CEO and a good person to have steering the ship during this crisis. He's been back 3 years, but a behemoth the size of Intel (with the burden of all the strategic mistakes it made in the Krzanich/Swan era) probably takes a lot longer than that to course correct.

The thing is, it's not in anyone's interest for Intel to fail. There are so few competitors at the top end of the scale that any one dropping out would be catastrophic for the market and the tech/industry. I don't know about the INTC stock price, but I pray that the company finds a way to keep relevant and competitive.

(At the same time, I'm reminded of all the juggernauts of the 70s and 80s and how incredulous it was that they ceased to exist and am reminded of the all too real possibility that this could be the beginning of the end for Intel.)

comment 2y ago · link · parent

Full writeup (first in series, each post links to the next): https://mnemocron.github.io/2023-12-08-DIY-FPGA-diary-0/

comment 2y ago · link · parent

It would, but there are any small and simple enough to use in a standalone (no-OS, non-POSIX) environment?

comment 2y ago · link · parent

Shameless plug: we maintain a cross-platform/cross-language secrets store (with cli tooling available) to portably read and wrire secrets (but it doesn’t use the OS facilities for encryption).

Linking to the rust implementation because it’s the fastest and most easily portable: https://github.com/neosmart/securestore-rs

comment 2y ago · link · parent

SQLite doesn’t require a file system per se, as you can create an in-memory db and then use vfs to load/write the actual data from/to your IO layer.

comment 2y ago · link · parent

The chosen solution isn’t ideal for all cases, especially those with many or large records. It doesn’t require parsing all the bytes of a payload but it does require reading them (because it’s a sequential scan of all content).

A better solution would separate the keys from the values (à la MFT) because reading a page of flash is going to be the slowest step. If you only have to sequentially scan the header table, you have to read an order of magnitude or more less data to find the record you are searching for.

comment 2y ago · link · parent

I’ve been using the ffmpeg wasm library directly for a couple of years now and it’s working OK in production though it has a number of critical issues that don’t show up except in heavy testing with a wide variety of inputs and outputs.

Note that a lot of the ffmpeg code is not memory safe and some of the file/codec plugins contain memory errors. An out-of-bounds read or write will bring down the entire wasm subsystem (and does). You have to manually figure out which codecs are actually safe to use in the browser, vs which ones are merely exposed by the ffmpeg wasm builds.

comment 2y ago · link · parent

They caused a huge commotion some years back when they removed the entire concept of variants from ports/formulas, removing the ability to set any build time options whatsoever, breaking all patches for older platforms, etc. maintainer was quite rude about it when asked to reconsider by huge numbers of users that could no longer use the software.

comment 2y ago · link · parent

MacPorts is strictly superior to HomeBrew and does not take the same eff you stance towards its users that HB has in the past.

comment 2y ago · link · parent

Normal async doesn’t require any malloc.

comment 2y ago · link · parent

Then you no longer have 14 cores in this example, but only len(P) cores. Also most code written in the wild isn’t going to use an architecture-specific library for this.

comment 2y ago · link · parent

It’s a common strategy for small tasks where the overhead of dispatching the task greatly exceeds the computation of it. It’s also a better way to maximize L1/L2 cache hit rates by improving memory locality.

Eg you have 100M rows and you want to cluster them by a distance function (naively), running dist(arr[i], arr[j]) is crazy fast, the problem is just that you have so many of them. It is faster to run it on one core than dispatch it from one queue to multiple cores, but best to assign the work ahead of time to n cores and have them crunch the numbers.

comment 2y ago · link · parent

> If you have a program that can use more than 8 cores, then that 8P+12E CPU should approach a 14P CPU in speed

Only if you use work stealing queues or (this is ridiculously unlikely) run multithreaded algorithms that are aware of the different performance and split the work unevenly to compensate.

comment 2y ago · link · parent

Ffi: you have a c api that exposes an item by ptr not by ref so it mustn't be moved.

Interacting with system types that rely on their address. Eg I think std uses a pin equivalent for mutex/futex on some operating systems because the kernel docs say the userland lock object must not change its address after initialization (even when not locked, which is normally the only condition and doesn’t need Pin because you can’t move something that has a reference to it).

comment 2y ago · link · parent

All this is fine and dandy for async web apps but would make things like async-as-state-machine, which powers a lot of rust embedded development, basically a non-starter.

comment 2y ago · link · parent

We released ours the same day as the mass crashes :)

https://x.com/mqudsi/status/1814367837940515098

comment 2y ago · link · parent

Is there a screencast (preferably with a transcript of pressed keys) that we can see? Because I’m not entirely clear on what this is, exactly.

Is it like a tmux that automatically creates/arranges new panes for new processes?

comment 2y ago · link · parent

The problem is that once you say “fine tuned” then you have immediately slashed the user base down to virtually nothing. You need to fine-tune per-task and usually per-user (or org). There is no good way to scale that.

Apple can fine-tune a local LLM to respond to a catalog of common interactions and requests but it’s hard to see anyone else deploying fine-tuned models for non-technical audiences or even for their own purposes when most of their needs are one-off and not recurring cases of the same thing.

comment 2y ago · link · parent

I’m late to the party but this mostly rehashes already voiced concerns with all the existing “updated” strcpy functions. But what I was surprised to learn is that strdup wasn’t part of the C language spec (until now)!
1
252627
277