return_to_monke

Joined 4 years ago

Karma
596
Submissions
188
Member since
Aug 18
View on Hacker News

Recent submissions

Comment · 8 months ago
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 · 1 year ago
> 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.

Comment · 1 year ago
You failed to provide any reason why waydroid is "so bad".
Comment · 1 year ago
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 · 3 years ago
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 · 3 years ago
How would it spike insulin, if it does not contain carbohydrates (or any micronutrient for that matter)?
Comment · 3 years ago
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 · 3 years ago
Lk-99 and now this. God the hopium is on insane doses right now
Comment · 3 years ago
In the original paper, so i assume the Lee-Kim ones
Comment · 3 years ago
I'd think that these improvements were started years ago but only now enabled
Comment · 3 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton