Recent submissions

Comment · 7 days ago
You can even have footnotes with links to other pages which automatically include the target page number in the text. Print CSS is actually pretty powerful. Just browser support is bad. I use “Prince” to convert html to pdf. With good CSS you can have a really good quality output. I used it to export a pdf for a whole book that way.
Comment · 4 months ago
Depending on the size of the blob you might not want to use `WITHOUT ROWID`. I had a similar table with uuid keys and blobs of 40kb size on average and `WITHOUT ROWID` really tanked performance.
Comment · 4 months ago
One is people one is companies.
Comment · 4 months ago
I still recommend to use idiomatic Python though. If you like C-style Python, you can use Cython and get a performance boost at the same time.
Comment · 5 months ago
macOS only so far. "Windows is coming soon"
Comment · 6 months ago
In Germany I spent exactly 0 dollars/euros on books in university. We got access to a huge amounts of ebooks through the university network and profs never required a specific one and would just recommend a few. One of these was always available. This free access was of course covered by the 250 euros per semester tuition…

But yes, standards and certifications are horrible.

Comment · 6 months ago
I would understand if they didn't backup anything with FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS set (on Windows). Everything else makes their product worthless.
Comment · 1 year ago
Since all input is run through a tokenizer, I would expect the tokenizer space doesn't change a lot between one trained on uncompressed vs one trained on compressed data.
Comment · 1 year ago
Didn't read the paywalled article. But imo if it's not worth listening at 1x speed, it's not worth listening at all.

If it's entertainment like audiobooks, it's for my enjoyment, so why should it be faster than 1x? If it's for education, everything faster than 1x makes it hard to understand, and if there is too much filler content, I will find another source to learn about it.

I use 1.5x-2x for stuff I have to listen too, but don't enjoy.

Comment · 1 year ago
Comment · 1 year ago
It would be a non issue, if the options are not just allow/disallow, but also offer to provide random/fake data, so bad apps would not actually know if the permission is allowed or if the data is fake.
Comment · 1 year ago
Can this be a replacement for Hamachi?
Comment · 1 year ago
Comment · 1 year ago
I would argue that most of these features (basically everything except metaclasses) are not advanced features. These are simple, but for some reason less well known or less used features.

Metaclasses are however quite complex (or at least lead to complex behavior) and I mostly avoid them for this reason.

And 'Proxy Properties' are not really a feature at all. Just a specific usage of dunder methods.

Comment · 1 year ago
I do like the else clause with for loops. However most people are not familiar with it, and also `else:` as a keyword is confusing. I always remember it as `no break:`.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton