Recent submissions

Comment · 5 years ago
Sharing Via Wifi has been exactly what I needed twice in the past few months! Having the ios vlc just host a local web page so that any device on the wifi can drag and drop files in a web browser is so cool.
Comment · 5 years ago
Its too bad (in a way...) they couldn't get private video IDs to leak. It would have made an impressive combination with their bug posted earlier this month (Stealing Your Private Youtube Videos, One Frame at a Time https://news.ycombinator.com/item?id=25728175)

Speaking of... do security researchers sometimes just sit on their discoveries in hopes that they will eventually lead to a bigger payout? I would be kicking myself if I had reported a bug for a relatively small reward that I could have leveraged in combination with another discovery

Comment · 6 years ago
I built a shitty static site generator, too!

I had no idea what I was doing. Didn't look at how other SSG's work... I just made some template HTML files, stuffed some content in YAML/Markdown frankenstein files, and then used JavaScript string.split().join() calls to stitch together the output files

It worked! It is very satisfying to have one build command that generates the entire site and pushes it to gh-pages for hosting.

Comment · 6 years ago
reader view in firefox formats it nicely
Comment · 6 years ago
Comment · 6 years ago
I like this. I was surprised to see that it is html divs when I opened the inspector. Did you make the styling yourself?

I'd like if the text on the recently played list were selectable for easier copying.

Comment · 6 years ago
Comment · 6 years ago
Being able to automate tests for memory leaks is very helpful but I would much rather incorporate the browser dev tools than not when debugging memory. Doing it only in javascript feels very janky (weak maps, attaching giant array objects to things, waiting ?? amount of time for the automated GC to run).

I was debugging memory leaks in some pretty large javascript products and while I did initially start with methods like this post, I only started to make reliable progress when I became familiar with the heap snapshot tool. Diagnosing problem is trivial (just filter the heap snapshot by a Class name and count the instances) and it is The Tool To Use to actually resolve it (tracing the chain of references in the retainers view)

In the future if I need to write automated tests to identify memory leaks I will look into automating the Dev Tools rather than fumbling with WeakMap or performance.memory.usedJSHeapSize

Comment · 6 years ago
And we should replace all of our meals with Soylent!
Comment · 6 years ago
I love the window displays they have at A&C. I picked up Patapon 2 there a while back.
Comment · 6 years ago
Comment · 6 years ago
I like these. It feels like the paintings version of lying in the grass trying to find images in the clouds.
Comment · 6 years ago
The chrome task manager (hotkey Shift+Esc) is good for killing tabs

For large pages where source changes cause problems I will sometimes put logic inside conditional breakpoints. It's not great for huge changes (though you technically can put a lot of code in there) but for small things like quickly sanitizing null inputs it works fine.

Comment · 6 years ago
I don't see how the threats (a court telling you to stop) are different for a compiled language vs a jit language
Comment · 7 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton