HNHacker News
TopNewBestAskShowJobs

infensus

84 karma · joined March 8, 2016

submissionscomments
infensus··on Kate Bush’s “Running Up That Hill” synth sounds
The first 100+ videos in that series are pretty great. He was often able to obtain the master record and play each track individually. Hearing all these cool little details that usually get lost in the mix really changes your perspective on a song. He also goes over chords and stuff in these videos, but also adds some context and explains why these things work well together in a really simple way.

I feel like this has been missing in more recent videos though.

infensus··on The End of CI
Many integrations between CIs and git frontends (as in showing green checkmarks under your pull request) only work properly if you push. Rebuilding manually in the CI will run the build, but it will no longer be recognized as related to a PR
infensus··on Web color is still broken
Ubuntu 20 Gnome/X11
infensus··on Take the pain out of Git conflict resolution: use diff3 (2017)
VS Code doesn't have 3 way merge view, yet. Looks like it's coming soon, though https://github.com/microsoft/vscode/issues/37350
infensus··on Web color is still broken
On Linux, I can see the square in Firefox, but not in Chrome. Interestingly enough, the color in Chrome is identical to the color of the square in Firefox, but when I force sRGB in Chrome (chrome://flags/#force-color-profile), it becomes identical to the background color in Firefox. I don't know what to make of that
infensus··on Web color is still broken
I have close to zero knowledge about this, but I believe it may be because of different default color profiles?

On Linux, when I force Chrome to use sRGB (chrome://flags/#force-color-profile) it makes the colors identical to Firefox's. It doesn't seem to make a difference on MacOS though, the colors are always identical there

infensus··on SPAs Were a Mistake
>no one enjoys waiting 2-5 seconds after clicking the back button to see a page they were just on, but that's the reality of a server rendered app on a bad connection

Wait, what. Don't basically all browsers nowadays keep previous pages in memory exactly not to do this?

infensus··on Solid.js feels like what I always wanted React to be
That's just a component template though. When you produce large DOM trees, you usually do so by rendering your components a lot of times, not by having a lot of different components
infensus··on Include diagrams in your Markdown files with Mermaid
Not as a syntax, but headings are parsed and there's a TOC dropdown to the left of the filename
infensus··on PHP – The Right Way
It can't fix its legacy design for backward compatibility reasons in browsers
infensus··on HTML is/as a programming language
also like https://markojs.com/
infensus··on 1-Line CSS Layouts
Well, gap for flexbox is fairly new https://caniuse.com/flexbox-gap
infensus··on UK to ban any handheld use of a mobile phone behind the wheel
Funny how this is illegal, but car touchscreen controls are not
infensus··on How I Use Notion
Notion allows to create much more structured data than Evernote-like apps, which are usually just flat collections of pages. It's kinda a mixture of OneNote with WorkFlowy/Dynalist and some simple spreadsheet capabilities. In other words: nothing new, not perfect and not particularly fast, but conveniently packaged and flexible enough for most people to manage their workflow from a single app
infensus··on React's UI State Model vs. Vanilla JavaScript
Well, technically it's not an equivalent as this would recreate dom nodes on every render
infensus··on Apple Music Announces Spatial Audio and Lossless Audio
Though I generally agree, one ridiculous thing Spotify does is suggesting new releases by just matching the artist's name to your history. Not rarely I get some new releases from a completely different artist just because they have the same name
infensus··on Faster web fonts
https://news.ycombinator.com/item?id=25283971
infensus··on Notion API – public beta
I just added custom CSS to make the scrollbar only show on hover
infensus··on Prisma – ORM for Node.js and TypeScript
I think they became stable in v12. I'm actually not sure about the internal implementation, but from user's point of view you can pass almost [1] any value via a message and you will get a copy on the other side. You can even share memory between threads with SharedArrayBuffer.

[1] https://nodejs.org/api/worker_threads.html#worker_threads_po...

infensus··on Prisma – ORM for Node.js and TypeScript
Node has worker threads, which are basically the equivalent of Web Workers from browsers, with similar message based API
infensus··on A curated list of JavaScript tooling not written in JavaScript
Significant part of the standard library (lib folder) is in JS
infensus··on Everything Easy is Hard Again (2018)
Are you using packgage-lock.json/yarn.lock?
infensus··on Wkhtmltopdf: Command line tools to render HTML into PDF
Most of the time. I'm using Chrome via Puppeteer to generate PDF reports, and I've seen certain CSS rules make it render pages (or parts of them) as images. One of them was `transform` I think.
infensus··on Duolingo's language notes all on one page
To me it seems like Duolingo is doing a lot of A/B testing, but in a really weird manner. I was also annoyed by not having access to language tips in the mobile app, while they were available in the browser. I also have a friend, for whom the whole app changed after reinstalling: they didn't have the heart system before, now it was on; the gem system changed to gem of a different value, while prices in the store stayed the same. They always had notes on every platform in every language though.
infensus··on Rust’s async isn’t colored
Top-level await is available in ES modules in Node without any flags since 14.8.0
infensus··on Why Discord is switching from Go to Rust (2020)
This 1000x times. Should be posted every time someone links to TechEmpower benchmark results. And especially for the most contrived benchmarks like "Plaintext" and "JSON serialization", which are basically echo server competitions that have nothing to do with real applications.
infensus··on 12 requests per second: A realistic look at Python web frameworks
https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Proj...

Routing is required, but generally the rules allow things to be "reasonable" and "acceptable", which lets all these weird implementations through.

Honestly, they should remove the "Implementation approach" column, because basically every implementation is marked as "realistic", making it meaningless.

infensus··on Where Everything Went Wrong: Error Handling and Error Messages in Rust (2020)
> Then we got multi-return error objects, maybes, panics [...] that fail to understand the basic premises of errors:

> Any error system that relies upon developer discipline will fail because errors will be missed.

> Any error system that handles all errors the same way will fail because there are some errors we can ignore, and some errors we must not ignore.

Not sure how that's true for Rust. Functions that can fail, return a Result, that contains either a value or an error. If you want to use the value, you have to either explicitly check which one is it (you can handle or ignore the error at this point), or quickly access it by unwrapping the Result, which will crash (panic) the program on error.

infensus··on How We Built the GitHub Globe
Thanks to the globe rendering in glorious 2fps, I've just learned that apparently I don't have HW acceleration because I'm using chromium on linux.
infensus··on I wrote JavaScript to avoid JavaScript
I've had similar experiences with video cache and never fully understood it. For example, when I want to block a webm with ublock, adding a rule and refreshing never works, I need to close and reopen the tab for it to take effect.
← PreviousPage 2 of 3Next →