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 1y ago · link · parent

Because they express numbers as rational times a real, so the real in all those cases would be one. When it’s one, you do rational math as normal without involving reals.

comment 1y ago · link · parent

Not necessarily. Modern Windows lets you create a new mixer/mediasource separate from the app, so you can have Your regular app sounds then separate media(or notification) sounds.

comment 1y ago · link · parent

I agrée with this and have ripped claims about the pollution here on HN before, but there is SOME pollution, and it is necessarily worse for EVs vs ICE for the reasons above.

comment 1y ago · link · parent

Well, don't disable the warnings themselves but rather disable displaying them. They should of course still be logged.

comment 1y ago · link · parent

Every study I've seen concurs that EVs chew through tires faster than their equivalent ICE vehicle, and generate more tire particulate matter accordingly. The reasons (torque and weight) are unambiguously greater in an equivalent EV vs ICE.

EVs do generate lower brake particulate matter, by virtue of not using them as much (otherwise they'd also be prone to generating more in a (faulty) per-engagement direct comparison).

Could you link these studies?

comment 1y ago · link · parent

This is cute but unnecessary - Unicode includes a massive range called PUA: the private use area. The codes in this range aren’t mapped to anything (and won’t be mapped to anything) and are for internal/custom use, not to be passed to external systems (for example, we use them in fish-shell to safely parse tokens into a string, turning an unescaped special character into just another Unicode code point in the string, but in the PUA area, then intercept that later in the pipeline).

You’re not supposed to expose them outside your api boundary but when you encounter them you are prescribed to pass them through as-is, and that’s what most systems and libraries do. It’s a clear potential exfiltration avenue, but given that most sane developers don’t know much more about Unicode other than “always use Unicode to avoid internationalization issues”, it’s often left wide open.

comment 1y ago · link · parent

They’re non-deterministic and YMMV by design. No one can answer that question. It might save you a hundred million with some genius optimization it lucked into or, more likely, it’ll give you a seemingly equivalent query that actually returns subtly different results (easy to do with query optimizations when eg you rely on inherent/default sort order for joins with groups).

518.

Home Networking over Telephone and More(computer.rip ↗)

3 points · by ComputerGuru · 1y ago · 2 comments

comment 1y ago · link · parent

Thanks for sharing that; now I have something to add to my list of things to play with when I get a chance!

comment 1y ago · link · parent

In a similar vein: the origin of nicknames Junior, Chip, Trip, and Skip:

When the father and the son carry the same first name, the son can be nicknamed Junior (this is commonly known). But he can also be said to be "a chip off the old block" or "Chip" for short. When the grandfather, father, and son all have the same first name, then the grandson is the third (or triple) of the same name - ergo "Trip".

What about Skip? When the grandfather and the son have the same name, but the father is the odd one out. The grandson is now "Skip" with the name having "skipped" a generation before making a return.

comment 1y ago · link · parent

C# (and .NET at large) use generational GV to great effect and there are some good writeups on the different modes you can run the GC in and its performance profiles. .NET has been generational GC since forever and you can’t swap out the GC engine so you won’t be able to find an analogous comparison, but it’s probably the current generational GC SOTA for a one-size-fits-all (with admittedly two different allocation/cleanup roles: server and workstation; and with (new to .NET 9) a new option to configure the GC to act as if it were running alone on the system (the old default, i.e. not sharing resources with other apps on the same os) or to more cooperatively try to manage allocation patterns.

Just mentioning this in case someone wants to read up on a different GC and play around with benchmarks. There is a fair amount of inner workings info and real-world results to dive into.

comment 1y ago · link · parent

It certainly has. Raw chicken has noticeably gone up in price as well, and poultry is completely unavailable at some retailers.

But a lot of restaurants in my area have been price gouging under the guise of “inflation, it’s out of our control” and have much more room to absorb price increases, to a point.

comment 1y ago · link · parent

It’s basically a cli controlling selenium/webdriver driving Chrome + a few functions.

comment 1y ago · link · parent

That.. seems to just take a few (three or four) random comments that received some attention and then extrapolate an entire profile based on (incorrectly) interpreting their contents?

https://hn-wrapped.kadoa.com/ComputerGuru

comment 1y ago · link · parent

ZFS (or btrfs) will do that for you, no hardware RAID required.

Most pro DSLRs have two SD card slots and will also do it (at the firmware level) if you toggle the appropriate option (usually the options are RAID 1 or a unionfs-like "use both SDs" option).

comment 1y ago · link · parent

The suggestion that any large-scale AI model research today isn’t ingesting output of its predecessors is laughable.

Even if they didn’t directly, intentionally use o1 output (and they didn’t claim they didn’t, so far as I know), AI slop is everywhere. We passed peak original content years ago. Everything is tainted and everything should be understand in that context.

comment 1y ago · link · parent

Draining the battery from 100% to 0% in under an hour (as other commenters have mentioned) is the opposite of this, as that will necessarily dump a lot of heat.

comment 1y ago · link · parent

Libra was shuttered due to feds saying “we have no legal reason to stop you but we still wish you to stop” and Zuckerberg (after some things we are not privy to) agreeing. There was a submission on this from an insider sometime in the past year.

(IMHO: no loss to the world whatsoever.)

comment 1y ago · link · parent

The real value in this: a new way to more easily disable Windows Defender on Windows 11.

comment 1y ago · link · parent

As an actual FOSS developer: they didn’t open source it.

But I was merely adding the missing context using the (sorry) lingua Franca of AI.

comment 1y ago · link · parent

CPU-only is, very unfortunately, infeasible for reasoning models. This setup would be great for deepseek v3 or (more fittingly) the 405B llama 3.1 model, but 6-7 tokens per second on a reasoning model is 100% getting (well) into seconds-per-token territory if you consider only the final answer.

(You don’t have to take it from me: if CPU were good enough, AMD’s valuation would be 100x its current value.)

comment 1y ago · link · parent

They “open sourced” it enough (via the whitepaper) that huggingface is trying to reproduce their training now.

533.

China's DeepSeek AI sends tech stocks reeling(washingtonpost.com ↗)

10 points · by ComputerGuru · 1y ago · 2 comments

comment 1y ago · link · parent

That means it’ll never be used. ffast-math is verboten in most serious codebases.

comment 1y ago · link · parent

I don’t think I can use wasm with simd or syscalls, which is the bulk of my work.

comment 1y ago · link · parent

Not really. You would have to either wrap any standard library types in newtypes with ManuallyDrop implemented or (for some) use a custom allocator. And if you want to free some things in one go but not others that gets much harder, especially when you look at how easy a language like zig makes it.

And if you intentionally leak everything it is onerous to get the borrow checker to realize that unless you use a leaked box for all declaration/allocations, which introduces both friction and performance regressions (due to memory access patterns) because the use of custom allocators doesn’t factor into lifetime analysis.

(Spoken as a die-hard rust dev that still thinks it’s the better language than zig for most everything.)

comment 1y ago · link · parent

Not necessarily. Shell scripts often embody the unix “do one thing and do it right” principle. To download a file in a bash script you wouldn’t (sanely) source a bash script that implements an http client;, you would just shell out to curl or wget. Same for parsing a json file/response: you would just depend on and defer to jq. Whereas in python you could do the same but most likely/idiomatically would pull in the imports to do that in python.

It’s what makes shell scripts so fast and easy for a lot of tasks.

comment 1y ago · link · parent

Actually a lot of the hacks that mold uses to be the fastest linker would be, ironically, harder to reproduce with rust because they’re antithetical to its approach. Eg Mold intentionally eschews used resource collection to speed up execution (it’ll be cleaned up by the os when the process exits) while rust has a strong RAII approach here that would introduce slowdowns.

comment 1y ago · link · parent

There’s been a lot of interest in faster linkers spurred by the adoption and popularity of rust.

Even modest statically linked rust binaries can take a couple of minutes in the link stage of compilation in release mode (using mold). It’s not a rust-specific issue but an amalgam of (usually) strictly static linking, advanced link-time optimizations enabled by llvm like LTO and bolt, and a general dissatisfaction with compile times in the rust community. Rust’s (clinically) strong relationship with(read: dependency on) LLVM makes it the most popular language where LLVM link-time magic has been most heavily universally adopted; you could face these issues with C++ but it wouldn’t be chalked up to the language rather than your toolchain.

I’ve been eyeing wild for some time as I’m excited by the promise of an optimizing incremental linker, but to be frank, see zero incentive to even fiddle with it until it can actually, you know, link incrementally.

comment 1y ago · link · parent

You caught me as I was trying to delete/move the comment because I missed that.
1
171819
277