Live data from Hacker News

Viewing profile — maskros

maskros

HN member
Joined
Wed, Mar 22, 2017, 10:30 AM UTC
HN karma
385
Public activity
100 items

About maskros

I made MuPDF.

Recent public activity

  1. comment
    Comment #43895227

    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 …

  2. comment
    Comment #41923578

    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-pate…

  3. comment
    Comment #41415667

    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:…

  4. comment
    Comment #40994188

    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 b…

  5. comment
    Comment #40775327

    There's a spectrum between completely silent and so noisy you can clearly hear it inside a house a hundred meters down the street.

  6. comment
    Comment #40771267

    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 t…

  7. comment
    Comment #40317817

    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 up…

  8. comment
    Comment #40148029

    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 =…

  9. comment
  10. comment
  11. comment
    Comment #39291129

    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 seria…

  12. comment
    Comment #39290181

    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://ww…

  13. comment
    Comment #39001445

    Or use "VACUUM INTO" to get a backup that is is even faster (and easier) to restore.

  14. comment
    Comment #37349176

    Judicious use of git rebase fixes the commit spam issue.

  15. comment
  16. comment
    Comment #37305366

    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…

  17. comment
    Comment #37224319

    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 clearty…

  18. comment
    Comment #37208735

    "\0" is not a valid JSON string escape sequence. However, "\u0000" is.

  19. comment
    Comment #36756263

    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 …

  20. comment
    Comment #36493910

    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…

  21. comment
    Comment #36125087

    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 th…

  22. comment
    Comment #35824048

    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…

  23. comment
    Comment #33906514

    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…

  24. comment
    Comment #33742910

    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 personal…

  25. comment
    Comment #33616415

    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.