Better HN
topnewbestaskshowjobs
Log inSign up

return_to_monke

596 karma · joined Aug 18, 2022 (4y ago) · 188 submissions

Submissions

1.

An ahead-of-time JavaScript compiler(github.com ↗)

4 points · by return_to_monke · 2mo ago · discuss

comment 9mo ago · link · parent

The point of markdown is that it is human-readable not only in "rendered" html form, but plain text too.

I think this explains the lack of viewers; they are simply not needed.

comment 1y ago · link · parent

> You can VACUUM INTO, but standard vacuum won’t rewrite the whole db.

This is not true. From the link you posted:

> The VACUUM command works by copying the contents of the database into a temporary database file and then overwriting the original with the contents of the temporary file.

4.

Faster Argmin on Floats(algorithmiker.github.io ↗)

22 points · by return_to_monke · 1y ago · 11 comments

comment 1y ago · link · parent

You failed to provide any reason why waydroid is "so bad".

comment 1y ago · link · parent

All of these things you mention are "thinking", meaning they require complex algorithms with a bunch of branches and edge cases.

The tasks that GPUs are good at right now - graphics, number crunching, etc - are all very simple algorithms at the core (mostly elementary linear algebra), and the problems are, in most cases, embarassingly parallel.

CPUs are not very good at branching either - see all the effort being put towards getting branch prediction right - but they are way better at it than GPUs. The main appeal of GPGPU programming is, in my opinion, that if you can get the CPU to efficiently divide the larger problem into a lot of small, simple subtasks, you can achieve faster speeds.

You mentioned compilers. See a related example, for reference all the work Daniel Lemire has been doing on SIMD parsing: the algorithms he (co)invented are all highly specialized to the language, and highly nontrivial. Branchless programming requires an entirely different mindset/intuition than "traditional" programming, and I wouldn't expect the average programmer to come up with such novel ideas.

A GPU is a specialized tool that is useful for a particular purpose, not a silver bullet to magically speed up your code. Theree is a reason that we are using it for its current purposes.

comment 3y ago · link · parent

There is, it's called flexbox and the CSS grid.

I've found that on simple websites a lot of problems are solved with just a few lines of flexbox config (flex-wrap, etc)

comment 3y ago · link · parent

How would it spike insulin, if it does not contain carbohydrates (or any micronutrient for that matter)?

comment 3y ago · link · parent

A very good article on why Simonyi probably wasn't the one: https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...

my verdict is that Simonyi didn't communicate the idea - good otherwise - well enough

comment 3y ago · link · parent

Lk-99 and now this. God the hopium is on insane doses right now

11.

How to speed up the Rust compiler: data analysis update(nnethercote.github.io ↗)

1 points · by return_to_monke · 3y ago · discuss

comment 3y ago · link · parent

In the original paper, so i assume the Lee-Kim ones

13.

A New Chapter for Waterfox(waterfox.net ↗)

1 points · by return_to_monke · 3y ago · 1 comment

comment 3y ago · link · parent

I'd think that these improvements were started years ago but only now enabled

comment 3y ago · link · parent

< Continuing on the offtopic thread >

When Eelco wrote his PhD thesis 20+ years ago, with the first version of nix, it was just an academic project. Now it's a lot more.

Although nix has a very good community, and plenty of contributor activity, there is way more code contributed than docs.

Additionally, very few people are technical writers in the nix community (there is a lot of expertise tho, but mostly on the code side). Therefore we get today's nonstructured docs.

Finally, RH has WAY more money than the NixOs foundation. RH sells stuff. Nix and NixOs are community projects, relying solely on donations. They probably have people whose job is to write docs.

there is an ongoing, organized effort to help docs tho: https://discourse.nixos.org/t/fundraising-for-the-nix-docume...

In practice, your best bet is just asking around on community channels (https://nixos.org/community/)

16.

Design – fish-shell 3.6.1 documentation(fishshell.com ↗)

1 points · by return_to_monke · 3y ago · discuss

comment 3y ago · link · parent

the mock-up has very little information density. I think that would've pissed off a lot of folks, so they reverted it.

comment 3y ago · link · parent

Do the java benchmarks include JVM startup?

comment 3y ago · link · parent

how do you know when it'llbe finished, before the fact?

comment 3y ago · link · parent

Does this mean that DMs will stop working, too?

comment 3y ago · link · parent

Hey dang, you might want to point to this comment instead: https://github.com/sourcegraph/sourcegraph/issues/53528#issu...

comment 3y ago · link · parent

sha256 is a hash algo. you probably meant something else?

comment 3y ago · link · parent

I don't think so. there is a lot of hidden complexitxy in flakes.

If you have time, may I ask you to please provide more opinion on what's easier to understand?

We are always looking for more input.

24.

Virtual DOM: Back in Block(million.dev ↗)

1 points · by return_to_monke · 3y ago · discuss

comment 3y ago · link · parent

I think this should have an option only to request the submissions when the user wants it to.

Sending a full history somewhere (in this case hn search) doesn't seem like a great idea

comment 3y ago · link · parent

Ah, all of thou young fools! Thou haven't not written mail with ink, quill and ye carrier pigeon?

27.

Don’t open the details in a modal window, have it be a separate page(youdontneedamodalwindow.dev ↗)

403 points · by return_to_monke · 3y ago · 292 comments

comment 3y ago · link · parent

Why would someone choose this over Rust?

29.

Claude’s Constitution(anthropic.com ↗)

1 points · by return_to_monke · 3y ago · discuss

1234567