HNHacker News
TopNewBestAskShowJobs

doerig

465 karma · joined October 16, 2019

submissionscomments
doerig··on LaTeX Coffee Stains (2021) [pdf]
You mean absolutely positioning it? You can do that with the place function and displacing it with dx/dy from the origin (https://typst.app/docs/reference/layout/place). Example: #place(top + left, dy: 2cm, dx: 4cm, image("image.png"))
doerig··on LaTeX.css – Make your website look like a LaTeX document
(author of the project here) we tried extensively [1], but unfortunately concluded that obtaining consistent outputs across various platforms, not to mention across different versions of the same browser, is not feasible at present -- if you want a nicely typeset PDF document, use the real LaTeX (or an alternative such as Typst).

[1]: https://github.com/vincentdoerig/latex-css/pull/62

doerig··on VSCode Swift 1.0
Link to the VSCode extension: https://marketplace.visualstudio.com/items?itemName=sswg.swi...
doerig··on MacBook Pro featuring M2 Pro and M2 Max
This is incorrect, the M2 supports a single, M2 Pro supports up to 2 and the M2 Max up to 4 external displays.
doerig··on MacBook Pro featuring M2 Pro and M2 Max
No, Apple got rid of the touchbar on all models starting with the 2021 MBPs.
doerig··on Show HN: Create a paid link to anything
If someone hypothetically did a chargeback, who would have to pay the ~$15 dispute fee? You or the user that created the link?
doerig··on Show HN: Bolt.css – Another classless CSS library
Here is small list of other "classless" CSS libraries I have found over the years

- https://github.com/andybrewer/mvp

- https://github.com/kognise/water.css

- https://github.com/xz/new.css

- https://github.com/vladocar/Basic.css

- https://github.com/oxalorg/sakura

- https://github.com/igoradamenko/awsm.css

- https://github.com/hawkz/gdcss

- https://github.com/emareg/classlesscss

- https://github.com/vincentdoerig/latex-css (disclaimer: I am the author)

doerig··on Apple TV 4K
From the press release: "The new Apple TV 4K with Siri Remote will be available starting at $129 (US) from apple.com/store, in the Apple Store app, and at Apple Store locations. Apple TV 4K is also available through Apple Authorized Resellers and select pay TV providers."
doerig··on iPad Pro M2
From the press release: "The 11-inch iPad Pro starts at $799 (US) for the Wi-Fi model and $999 (US) for the Wi-Fi + Cellular model; the 12.9-inch iPad Pro starts at $1,099 (US) for the Wi-Fi model, and $1,299 (US) for the Wi-Fi + Cellular model."
doerig··on Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
Forgot to specify that I have the 15" model. So I would have to replace the entire main board since the SSD is soldered onto it...
doerig··on Ask HN: Has the Apple Silicon excessive disk read/write issue been fixed?
2016 MBP, reaching its end of life. Power cycles and unsafe shutdowns are worrying, not to mention the failed S.M.A.R.T. status. It has become almost unusable the last few months. I will purchase the new M2 MBP as soon as they release it.

    === START OF SMART DATA SECTION ===
    SMART overall-health self-assessment test result: FAILED!
    - NVM subsystem reliability has been degraded

    SMART/Health Information (NVMe Log 0x02)
    Critical Warning:                   0x04
    Temperature:                        29 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    134%
    Data Units Read:                    646,194,436 [330 TB]
    Data Units Written:                 642,615,704 [329 TB]
    Host Read Commands:                 6,646,415,427
    Host Write Commands:                5,882,338,165
    Controller Busy Time:               34,784
    Power Cycles:                       86,652
    Power On Hours:                     4,505
    Unsafe Shutdowns:                   1,060
    Media and Data Integrity Errors:    0
    Error Information Log Entries:      932
doerig··on Show HN: I made a web-based notepad with a built in unit calculator
Very nice! Reminds me a lot of numi (https://numi.app). Similar, but MacOS only (and paid).
doerig··on Ask HN: What are some cool but obscure data structures you know about?
here is the mentioned blog post for anyone interested (and lazy): https://fly.io/blog/api-tokens-a-tedious-survey/
doerig··on The Nettle Magic Project: Scanner for decks of cards with bar codes on edges
Super cool project and amazing documentation! It's well worth a read.
doerig··on Ask HN: What developer tools would you like to see?
There is https://www.wappalyzer.com/ which does most of what you are looking for.
doerig··on Submarine cable map rendered onto a globe
Specifically here: https://github.com/vasturiano/globe.gl/blob/master/example/s....
doerig··on Using Computer Modern on the web (2013)
If you want to go with a default LaTeX style, you could look into LaTeX.css [0] (disclaimer: I'm the author of the project).

[0] https://latex.vercel.app/

doerig··on Show HN: Squirrelbyte – a SQLite-based JSON document server
https://github.com/adamlouis/squirrelbyte
doerig··on Launch HN: Aviron (YC W21) – High-Intensity Peloton for Rowing
it also means "rowing" in french (the intended translation I assume)
doerig··on Show HN: LaTeX.css – Make your website look like a LaTeX document
Thanks, changed https://github.com/vincentdoerig/latex-css/releases/tag/v.1....
doerig··on Show HN: LaTeX.css – Make your website look like a LaTeX document
Thanks, it should be better now.
doerig··on Show HN: LaTeX.css – Make your website look like a LaTeX document
Thank you for this comment. I honestly didn't give it much thought at all when I copied it from the CSS reset [1] I used. I'll change it to `optimizeLegibility` asap.

[1]: https://github.com/hankchizljaw/modern-css-reset/blob/master...

doerig··on Show HN: LaTeX.css – Make your website look like a LaTeX document
Honestly, I really don't know. MathJax has been very janky for some reason. I have tried using KaTeX (https://katex.org) but couldn't get it to work properly and some equations just looked "off".
doerig··on Show HN: LaTeX.css – Make your website look like a LaTeX document
Of course the audience this is intended for is pretty niche. Afaik there is only one other LaTeX-like library (the one I built my version upon) that achieves such a style. I don’t expect my version to blow up like bootstrap or whatever at all. Getting a maximum impact with a CSS library nowadays is extremely hard imo. I mean, we already have thousands of CSS libraries that are pretty much the same, right?