Well so I glanced at what that project does. Congratulations, you've managed to "compress" PDF files by rasterizing every page to JPEG, while destroying all the vector and textual information in it. The resulting PDF is…
The CSS outline property is (was?) unreliable on Safari. Things like the border-radius don't affect the outline shape -- it's always square even if you to to create some Apple-patented rounded rectangles using…
Lots of fonts have monospaced numbers, they just need to be enabled! Look for OpenType (TTF and/or OTF) fonts with feature "tnum", and enable it. For CSS, use font-variant-numeric: tabular-nums.
To backup you should use the `vacuum into` statement. That can be safely run from another process, as it takes a read lock and doesn't block writers when using the WAL mode. When backing up a SQLite database that is in…
There's a spectrum between completely silent and so noisy you can clearly hear it inside a house a hundred meters down the street.
Then you haven't heard electric cars running at low speed or put in reverse. Try to chill near any space where EVs frequent (like near a parking lot or train station with lots of traffic) and it's a constant source of…
Since this viewer uses MuPDF as the document engine, it should already support EPUB, MOBI, FB2, and XPS document formats. If it doesn't, it should be a relatively simple task to upgrade the mupdf library to the latest…
You don't even need the symbol. If you want the simplest thing that will work: type Velocity = number & { BRAND: "Velocity" } type Distance = number & { BRAND: "Distance" } var x = 100 as Distance
The embeddings are just a flat array of floating point numbers. Try typed arrays/buffers to read and write the typed arrays directly as BLOB data. Protobuf and JSON and other serialization schemes are way overkill for…
Autoincrement is usually not needed in SQLite, and adds a lot of overhead to every insertion since it needs to read and update the sqlite_sequence table on every insert. https://www.sqlite.org/autoinc.html
Or use "VACUUM INTO" to get a backup that is is even faster (and easier) to restore.
Judicious use of git rebase fixes the commit spam issue.
Because astigmatism or other refractive vision errors. Think about how astigmatism affects vision, then take into account the effect on pupil size based on incoming brightness, and how this affects the depth of field,…
Last time I tried it was impossible to get Chrome on linux to use the system font rendering settings. There's no way to tell Chrome to: a) Don't hint/grid fit. b) Don't use cleartype color fringing. That's reason enough…
"\0" is not a valid JSON string escape sequence. However, "\u0000" is.
You're not the only one, but my configuration is the opposite of yours. These are the three lines I always use on any vim install. let loaded_matchparen = 1 syntax off map ; : The first two lines are crucial, because I…
If "handle error" in the catch involves rethrowing the error, or another error, or returning an error code from the function, the "finally" block is _still_ executed. Here's a "fun" example in Javascript: function foo()…
It's not "I don't want to learn my tools." It's "I don't want to learn and debug _everybody else who may possible want to build this otherwise portable C program_'s tools." When those tools change how they do this…
With horrible hacks in the reference - search for InputElementDiv and InputElementRegExp if you want to read more about it. It's not so bad in practice, since you only need to look at the previous token to decide…
Not all that uncommon, especially in ifdef situations: ifdef (something,something) rule: something specific recipe else rule: common recipe endif It's also not just rules. Variable assignments are also separate from…
He is referring to input lag: the delay from input to visible change on the monitor. The double buffering and compositor step added by Wayland adds some delay. You may not personally notice it, or be used to it, but…
That's already happened ... just look at how many youtube channels have integrated a "and now let's briefly talk about my sponsors" segment in the middle.
I'm also in the 24fps hater camp. It's not jitter that bothers me, it's the stop motion effect. It's especially bad with action sequences that have a lot of closeup shots. This is basically every movie with any sort of…
It's not just extra DNR applied, modern image and video compression formats almost make it a point to erase all detail and texture from images. For example, compare the WebP and AVIF (VP8/AV1) compression artefacts with…
Chrome has crap image rendering. Chrome has sub-par SVG support. Chrome has a host of issues and bugs with media selectors and imagesets not updating dynamically when changing zoom levels. So no, one must not admit it…
Well so I glanced at what that project does. Congratulations, you've managed to "compress" PDF files by rasterizing every page to JPEG, while destroying all the vector and textual information in it. The resulting PDF is…
The CSS outline property is (was?) unreliable on Safari. Things like the border-radius don't affect the outline shape -- it's always square even if you to to create some Apple-patented rounded rectangles using…
Lots of fonts have monospaced numbers, they just need to be enabled! Look for OpenType (TTF and/or OTF) fonts with feature "tnum", and enable it. For CSS, use font-variant-numeric: tabular-nums.
To backup you should use the `vacuum into` statement. That can be safely run from another process, as it takes a read lock and doesn't block writers when using the WAL mode. When backing up a SQLite database that is in…
There's a spectrum between completely silent and so noisy you can clearly hear it inside a house a hundred meters down the street.
Then you haven't heard electric cars running at low speed or put in reverse. Try to chill near any space where EVs frequent (like near a parking lot or train station with lots of traffic) and it's a constant source of…
Since this viewer uses MuPDF as the document engine, it should already support EPUB, MOBI, FB2, and XPS document formats. If it doesn't, it should be a relatively simple task to upgrade the mupdf library to the latest…
You don't even need the symbol. If you want the simplest thing that will work: type Velocity = number & { BRAND: "Velocity" } type Distance = number & { BRAND: "Distance" } var x = 100 as Distance
The embeddings are just a flat array of floating point numbers. Try typed arrays/buffers to read and write the typed arrays directly as BLOB data. Protobuf and JSON and other serialization schemes are way overkill for…
Autoincrement is usually not needed in SQLite, and adds a lot of overhead to every insertion since it needs to read and update the sqlite_sequence table on every insert. https://www.sqlite.org/autoinc.html
Or use "VACUUM INTO" to get a backup that is is even faster (and easier) to restore.
Judicious use of git rebase fixes the commit spam issue.
Because astigmatism or other refractive vision errors. Think about how astigmatism affects vision, then take into account the effect on pupil size based on incoming brightness, and how this affects the depth of field,…
Last time I tried it was impossible to get Chrome on linux to use the system font rendering settings. There's no way to tell Chrome to: a) Don't hint/grid fit. b) Don't use cleartype color fringing. That's reason enough…
"\0" is not a valid JSON string escape sequence. However, "\u0000" is.
You're not the only one, but my configuration is the opposite of yours. These are the three lines I always use on any vim install. let loaded_matchparen = 1 syntax off map ; : The first two lines are crucial, because I…
If "handle error" in the catch involves rethrowing the error, or another error, or returning an error code from the function, the "finally" block is _still_ executed. Here's a "fun" example in Javascript: function foo()…
It's not "I don't want to learn my tools." It's "I don't want to learn and debug _everybody else who may possible want to build this otherwise portable C program_'s tools." When those tools change how they do this…
With horrible hacks in the reference - search for InputElementDiv and InputElementRegExp if you want to read more about it. It's not so bad in practice, since you only need to look at the previous token to decide…
Not all that uncommon, especially in ifdef situations: ifdef (something,something) rule: something specific recipe else rule: common recipe endif It's also not just rules. Variable assignments are also separate from…
He is referring to input lag: the delay from input to visible change on the monitor. The double buffering and compositor step added by Wayland adds some delay. You may not personally notice it, or be used to it, but…
That's already happened ... just look at how many youtube channels have integrated a "and now let's briefly talk about my sponsors" segment in the middle.
I'm also in the 24fps hater camp. It's not jitter that bothers me, it's the stop motion effect. It's especially bad with action sequences that have a lot of closeup shots. This is basically every movie with any sort of…
It's not just extra DNR applied, modern image and video compression formats almost make it a point to erase all detail and texture from images. For example, compare the WebP and AVIF (VP8/AV1) compression artefacts with…
Chrome has crap image rendering. Chrome has sub-par SVG support. Chrome has a host of issues and bugs with media selectors and imagesets not updating dynamically when changing zoom levels. So no, one must not admit it…