tjelen

Joined 12 years ago

Karma
118
Submissions
41
Member since
Oct 30
Part-time freelance, Prague/Berlin
View on Hacker News

Recent submissions

Comment · 3 hours ago
Just start typing numbers, eg. typing 5 will focus the text input in lower right corner and then you can finish by typing "5m,3.50m" - that will set the sides of the rectangle to specific exact values. Almost all tools support a similar kind of direct numerical input this way..
Comment · 3 months ago
Comment · 1 year ago
This one is basically my daily driver for similar tasks: https://app.heynote.com/ (full app at https://heynote.com/). And it seems to work almost out-of-box for your first two examples, once you switch the buffer from "Plain-text" into "Math" mode.

It also supports switching between different buffers and some kind of local storage.

Comment · 1 year ago
Umm, yes? Not sure about the rest of Europe, but here in Czechia most of merchants have a direct payment method based on QR code.

Basically: 1) you select your bank at the checkout; 2) you're redirected to the bank's payment page with a QR code; 3) you scan the code from your banking app and confirm it; 4) the bank redirects back the merchants page with the payment status confirmed/declined. No payment processor involved and the money goes straight from your account to merchant's account.

Comment · 2 years ago
I would say that the problem really is there. Dealing with native dependencies and addons was almost always a pain as the article describes (and not just from developer perspective), so anything that helps there is really appreciated.

Not sure what you mean by the right tools in this context.

Comment · 2 years ago
Code testing is a big one for me. I'm currently using in-memory sqlite for tests and I'm often running into differences between sqlite and postgres (default values, JSON handling, etc). This could allow me to use the real thing without running a full Docker instance.
Comment · 4 years ago
What I meant to say is that this definitely isn't a safe assumption and performance of this loop will be less predictable. That said, I wouldn't be surprised that such complex JITs as V8 or JSC can detect this scenario.
Comment · 4 years ago
That's a really good point and I think that in this sense the comparison is really made between Rust and JS rather than between WASM and JS (as others have complained).
Comment · 4 years ago
The innermost rendering loop in the JS seems to create and destruct an array instance for every single pixel iteration (see https://github.com/dmaynard/chaos-screen-saver/blob/master/s...). I guess that this could be potentially optimized away by the JIT, but it will make things slower or at least less predictable.
Comment · 4 years ago
Comment · 6 years ago
And all that is just for being able to write `response = await fetch(...)` instead of `fetch(...).then(...)`.
Comment · 6 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton