peey

Joined 10 years ago

Karma
327
Submissions
41
Member since
Aug 7
Most people are trying their best
View on Hacker News

Recent submissions

Comment · 1 month ago
It's simple

If 9 is "9 times greater" than 1 then 1 must be "9 times smaller" than 9

It'd help if you read "9 times" with the operator which is what's being flipped instead of with the number

Comment · 3 years ago
That's incredibly concise. I see you're perturbing vx and vy randomly and updating location accordingly on every frame. Is the perturbation also per-frame or is that block of code just executed once? Is randomf a floating-point number between 0 and 1?
Comment · 3 years ago
This is really cool. Do you also plan to show the code before compilation / allow it to be edited and be compiled on your demo page?
Comment · 4 years ago
Your point of view is very clear: it's not a feature you're interested in. But it doesn't mean that it's not a good feature for the person who has opened the issue.

Instead of convincing them that it's a bad feature or talking about why it's uninteresting to you, just point them to a CONTRIBUTING.md and stop engaging with them after that. If they're actually serious about the feature, they can implement it in their own fork (which then you can request as a PR if you want it in your repo).

Comment · 4 years ago
It's useful to know who they think the book is written for, to get the most out of the book.

Books are not individualized, so it's a very difficult ask to publishers and writers to write something in that section that perfectly applies to you.

Comment · 5 years ago
You're right! Even I tried to post it. This is what I observed:

1. After posting, I'm redirect to https://news.ycombinator.com/newest where the link works 2. I click to open the discussion, now on this page link no longer works 3. Going back to /newest, the link no longer works!

Comment · 5 years ago
looks like a class 1 problem
Comment · 5 years ago
Would you rather implement `leftPad` or use the npm package?
Comment · 5 years ago
the titled should be updated to say "the Linux community" at the end, as on the original page
Comment · 5 years ago
1. Would it be correct to describe memoized DOM approach as combination of direct manipulation (like hand-written jquery, or what svelte compiles to) + a mechanism to avoid invoking selectors by caching references to DOM elements? Or is there more to it?

2. It'd be a good experiment to separate out the memoized DOM implementation from imba codebase in a way it can be used by different frameworks, just as virtual DOM libraries got popular after react. If someone were to attempt this, where would you recommend that they start with the imba codebase?

Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton