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

Yes, I’m aware. I shouldn’t have used that specific verbiage but that was what I meant. Which is worse than paging from a UX perspective since in practice no app does it perfectly (esp if there’s unsaved user input in a textbox).

comment 2y ago · link · parent

Using iMessage on an iPhone 4 circa 2011 in other countries required a monthly surcharge.

comment 2y ago · link · parent

> so if you switch out of it to another app and back again it resets the state and has to load the model from scratch.

This has been my experience anyway ever since upgrading to iOS 16 (and now 17) anyway. Everything is always paging, even on the latest hardware.

comment 2y ago · link · parent

I guess I’m the only one here that remembers BBM. That was before WhatsApp, Signal, RCS, Telegram, Facebook Messenger, or any of the other options we have today. It was also one of the few ways to message someone internationally without paying for international texts.

People wanted to be on BBM, but you couldn’t without both a BlackBerry and having BBM services activated on your cell plan (often for a premium).

Iirc, BB Messenger was centralized and managed all accounts (email, sms, BBM) and could upgrade sms to BBM if contacting another blackberry user. RIM was sitting on a gold mine but they didn’t use it right and then released BBM on Android (and iPhone, I think) only after the world had moved on and no one cared.

comment 2y ago · link · parent

Can’t you remotely deprovision the machine?

comment 2y ago · link · parent

But this doesn’t apply to self-hosted, o?

comment 2y ago · link · parent

This architecture is specifically aimed at optimizing GPU use.

comment 2y ago · link · parent

It’s not too much faster than exllama2 with flash attention, no?

comment 2y ago · link · parent

Three phase power is not “the standard” in Europe. It’s more available perhaps, but certainly not the default residential hookup.

comment 2y ago · link · parent

But why would Firefox go out of its way to use Vulkan on Windows or macOS when it doesn’t have to because it can just use the native OS functionality and let the OS worry about implementation details?

comment 2y ago · link · parent

I haven’t used JavaFx so I can’t answer that part of your question but XAML has been cross platform with Xamarin on macOS and Android and now everywhere with MAUI. I also mentioned Uno which lets you develop for web/electron with XAML.

Language wise, it has been largely C# or other .NET like VB.NET, F#, or managed C++ though I think Noesis lets you use it from C++ and other languages directly.

C# itself is completely uncoupled from Windows ever since .NET Core and now with later .NET versions like .NET 8 all Windows-specific bits have been torn out altogether. Microsoft probably uses C# on Linux more than they do on Windows these days.

comment 2y ago · link · parent

I would think that you cannot see the blue light on the front of the vehicle (e.g. in your own rear-view mirror if driving in front of it) with the MB's headlights on.

comment 2y ago · link · parent

Interesting and fun project! I found the MFM encoding page particularly enlightening as it explained why you have to write a full sector at a time on a floppy, even though there's nothing physically constraining you to that so far as I could see on the electromechanical/hardware side of things.

And on that page the "make sure the compiler didn't inject 10,000 lines of boundary checks" bit told me everything I needed to know about what language the project was written in :lol: - here's the link to the driver: https://github.com/SharpCoder/floppy-driver-rs

(Side note: I'm glad to see the Teensy continuing to get love; I adopted it back when it was at v1 and v2 as it was just such a complete no-brainer of a better choice than the Arduino stack everyone was using back then. I think now there's even an Arduino-on-Teensy software stack, but I've moved to just using STM32 directly even for just fun home hacks and have greatly enjoyed coding for that target in rust.)

comment 2y ago · link · parent

Have you seriously looked at/studied XAML?

I was convinced that XAML was the perfect answer for rust and had the idea that I could write an independent XAML library/engine that rust appdevs would use and then match to a backend that would codegen the XAML into code that utilizes its corresponding api.

I had a sample that worked with both imgui and one of the other rust gui engines (not immediate mode) to prove it could be done. Biggest benefit was abstraction from actual ui toolkit choice (inspired by Windows where you can use a subset of the same XAML with WPF, Avalonia, WinUI 3, UWP, Noesis, Uno) and being able to take an imperative ui library like ImGUI and use it in a declarative fashion. Moreover, you could reuse existing XAML designers or avail yourself of XAML export functionality in some design software, without having any of that be rust-specific.

I put out feelers in the community to gauge interest but I think XAML is too foreign to most FOSS devs that picked up Rust early on and people couldn’t see what I saw in it (having worked with XAML for over a decade in C# land).

comment 2y ago · link · parent

Didn’t they migrate to Fluent UI style or am I mistaking them for someone else?

comment 2y ago · link · parent

It’s called QuickCharge and was a standardized version of Apple’s fast charging or USB C PD many years before USB C was a thing. Samsung was a key player.

The charger emits 5V unless the device supports higher voltage and negotiates it.

comment 2y ago · link · parent

Who is going to write it?

comment 2y ago · link · parent

I can’t believe the reveal that FBI used section 702 to target January 6 participants wasn’t enough to get at least one faction in the House to vote against reauthorizing the bill last week. (I will play any card I can if it gets warrantless spying stopped.)

I guess Big Brother trumps petty partisanship concerns.

NYT had an article a few months ago (I submitted it here) attacking Republicans for turning against the FBI and saying this would put an end to sedition 702. Guess that was them panicking over nothing.

comment 2y ago · link · parent

I just finished dealing with a very complicated pipeline for an online media management database. WebP is great except when it's not, and when it's not, it really sucks.

I'm going to go with a technical argument here instead of a subjective one, so there's no room for argument: WebP is billed as a replacement for PNG and JPG, and advertised heavily as being usable in both lossy and lossless modes for either. This is blatantly false. Alpha channel aside, PNG is, effectivelyᵗ, 32-bits per pixel, 8-bits for each of RGB. JPG is notably not; to make good use of compression in the frequency domain possible, RGB is usually converted from RGB to YUV/YCbCr. But JPEG lets you customize how this is done, and you can choose to use the default chroma subsampling of 4:2:0, upgrade to 4:2:2, or forego subsampling altogether and use 4:4:4 directly.

WebP is, experiments aside, always 4:2:0 in default/lossy mode (regardless of the tuning profile chosen). Screenshots, vector graphics, text w/ anti-aliasing applied, etc. look absolutely horrendous to the trained eye if converted from RGB or RGBA to YUV 4:2:0. WebP is unusable for png transcodes at any quality except in lossless mode.

I'm not hating on WebP - PNGs converted to lossless WebP are still a good bit smaller, at least for large sizes. But I absolutely despise how pathetically low and biased Google's benchmarks touting WebP as the be-all, end-all have been. And the toolchain is severely compromised, because you have to manually remember to specify lossless mode when compressing a PNG to WebP and that gets harder when it's an automated toolchain and the export is several steps removed from the input. And this becomes completely Mission Impossible™ when you have a lossless WebP and you want to generate a thumbnail from it because the heuristic is no longer "source extension is png" to determine if the output should be generated in lossless mode. IMO, the WebP toolchain *and all other toolchains like ImageMagick and libvips* should pass through the "lossless" property of WebP by default, because unlike with other formats, it tries too hard to be everything for everyone at once and will fall over on its face otherwise.

I said I wasn't going to talk about the subjective side, but I just want to say that even for tiny thumbnails, we've found that their WebP versions need to be generated with at least quality 90 to ensure they will all (regardless of source image) be usable on non-mobile devices (hi-dpi ameliorates but does not resolve the situation, it's just the fact that you see the pixels physically larger); the smoothing effect for detailed real-world photos (think warzone photos with smoke and haze in the air, odd lighting, etc) is way too extreme at lower qualities. Again, the quality:size ratio is still better than JPEG, but not to the extent that Google advertised it to be, but more importantly, if you took Google at its word you would find WebP to be altogether unusable to begin with.

(None of this was about converting already lossily compressed content into WebP; this is straight from source (where "source" is a lossless format like SVG, PNG, RAW, or something like a 24MP JPEG@Q95 being shrunk orders of magnitude) to WebP.)

I played around some with AVIF, HEIC, and JPEGXL. AVIF has some severe color management issues that need to be ironed out in the various toolchains, though HEIC is a lot better in that regard but its lack of compatibility now and in the foreseeable future just makes it a dead end; but JPEGXL appears to be a really solidly built image codec with great potential, kneecapped primarily by adoption.

ᵗ palletization can, but does not have to, affect this

comment 2y ago · link · parent

I don’t disagree but HP has much higher profit margins than Dell and Lenovo in some segments.

comment 2y ago · link · parent

It’s how you know a kragen post on HN.

comment 2y ago · link · parent

That’s like ThreadRipper, thanks for the info. That’s the bandwidth from cpu to memory controllers, is there really no bottleneck to the iGPU?

comment 2y ago · link · parent

This is actually true; it’s been discussed with citations in previous HN threads. Elbit systems notoriously used to advertise this on their website (doing R&D on the population of Gaza to bill their drones as “battle tested”) until the latest redesign, but they’re not the only ones.

comment 2y ago · link · parent

I can’t believe this argument is being made in good faith, but just in case: do you not realize that the number of laws need not scale with the size of the population? Especially when that growth is less than an order of magnitude?

comment 2y ago · link · parent

They already do. Entrapment then reclaim they prevented a threat they came up with. Claim on a daily basis that they’ve prevented “hundreds” of 9/11 equivalents and no one presses for proof. Or when a new reporter that doesn’t know the rules does ask for proof, they get “classified for national security reasons.”

So, no. Please don’t give me BS charts and graphs to make it easier for fed-apologists to point and play security theater.

comment 2y ago · link · parent

Jury trial vs bench hearing.

comment 2y ago · link · parent

No, I think your reasons would be motivators for Epic to have insisted on a jury trial against Apple. I think the real reason is Epic’s lawyers thought the average American jury member would be more sympathetic to Apple than to Google.

comment 2y ago · link · parent

I don't think the numbers sufficiently capture the limitation. The Intel memory bandwidth speed you quoted would be for CPU-based inference, but not for gpu inference using shared system memory for spillover model size past the dedicated gpu vram. I think that would necessarily limit parts of the inference procedure (not sure how the split would work, and it would probably depend on whether you're using something like flash attention or not) to the available PCI-e 3.0 or 4.0 available bandwidth, as the gpu needs to communicate over the PCIe bus then over the chipset memory bus.

A GPU connected to a PCIe 3.0 x16 electrical uplink would be constrained to ~16GB/s, or ~32GB/s if it were a PCIe 4.0 uplink instead. Although those numbers imply slower bandwidth than CPU inference, that bottleneck would only be when paging in or out (or directly accessing?) layers overflowed to the shared system ram, so they don't really represent much on their own.

comment 2y ago · link · parent

So M2 is more advanced than M3?

comment 2y ago · link · parent

Real world testing and experience. If you only need the llm to retain the "gist" of the input tokens in order to return a "related" answer, the sliding window design is fine. But if you need actual technical analysis or tasks that involve verbatim referencing, quoting, recomposing, etc based off parts of the input documents, it doesn't work.

I tried using it for "business document" use cases but have ran into this with code as well; the latter might be a better explanation given where we're having this discussion. If you only need the llm to retain the general shape of your inputs so it can reuse them to influence the output, the sliding context is fine. But if you need it to actually reuse code verbatim from the input that you fed it (or to remember the api calls and their surrounding context verbatim to recall from a sample of just one that this api must be called before that api, when the prompt includes instructions to that effect) the "decomposition" of the input tokens with the sliding model is insufficient and the llm completely fails at the assigned task.

1
394041
277