Live data from Hacker News

Viewing profile — chearon

chearon

HN member
Joined
Thu, Mar 02, 2017, 12:48 AM UTC
HN karma
193
Public activity
26 items

About chearon

Interested in UI, text, and browser engines.

github.com/chearon meet.hn/city/us-Columbus

Recent public activity

  1. comment
    Comment #48417248

    That might actually be a bug in Firefox. The source text is correct and it works in Chrome. `text-overflow` shouldn't apply to text that fit on a line...

  2. comment
    Comment #47364493

    esbuild still doesn’t support top-level await. And live reloading is way, way slower than HMR.

  3. comment
    Comment #42887146

    It matters a lot more if you use vim at a huge resolution, or anything that sends a lot of control sequences. Terminal.app and iTerm get sluggish.

  4. comment
    Comment #42805886

    It probably looks very wrong to people who still think lots of "modularity" and small packages is a good thing. I'm all for it, and lots of Bun APIs are purely practical. Bun.strin…

  5. comment
    Comment #42312610

    Automattic acquired LearnBoost who employed TJ Holowaychuk, the original creator of node-canvas (and also Express and tons else). Automattic has not been involved in any way since …

  6. comment
    Comment #42112428

    Interesting take on representing charts in an accessible way. I feel like, as web developers, we were fed a myth that lots of markup and attributes automatically makes your content…

  7. comment
    Comment #42111403

    That's because Noto Sans Telugu (the font dropflow automatically downloaded based on the text; doesn't seem like a great pick but not wrong?) is returning ligatures. Not all fonts …

  8. comment
    Comment #42104265

    Paste the following into https://chearon.github.io/dropflow/ to see that it _is_ possible to style individual Arabic characters in canvas: ع ر ب ي That uses harfbuzzjs to do shapin…

  9. comment
    Comment #40660906

    The title made me think this could actually layout and paint HTML, but I couldn't find anything remotely layout-related in the source tree. Then I found this comment saying even bl…

  10. comment
    Comment #39791174

    > the amount of complexity associated with just stamping some glyphs onto a canvas has left me screaming at my laptop on an almost daily basis This made me laugh because I can rela…

  11. comment
    Comment #39785685

    > Opera switched from Presto to Blink, too True. But I wonder if there are more special-purpose engines similar to Prince that have been abandoned. > Did you ever consider integrat…

  12. comment
    Comment #39783531

    I do think complexity could be part of why we don't have many options here, but I don't agree that a layout engine is too difficult to maintain. More of the issue is that CSS layou…

  13. comment
    Comment #39781909

    Yes, this is pretty high up on my list. I've already done a little bit of work on pagination/fragmentation, but it will take me some time.

  14. comment
    Comment #39780748

    Google Docs uses canvas, yeah, and last I looked it used an empty contentEditable just to receive [rich text] input. I do think you could use this to write a document editor like D…

  15. comment
    Comment #39780347

    With this and node-canvas, you have everything you need to generate PDFs. I'll add an example to the examples/ directory for that. The spreadsheet library and PDFs I talked about i…

  16. comment
    Comment #39779931

    Yes, definitely. In the meantime, you can still use this to get the intrinsic sizes of cells to create rows and columns, and you can use an empty inline-block and paint the image w…

  17. comment
    Comment #39779562

    Wow thanks! Seeing Ladybird progress kept me motivated!

  18. comment
    Comment #39779491

    > wondering if css and svg could be used as abstraction over graphics and UI libraries There's another project called Sciter that uses CSS to target native graphics libraries: http…

  19. story
    Show HN: Dropflow, a CSS layout engine for node or <canvas>

    For the last 5 years I've been working on a layout engine that targets CSS2 and some more modern properties. Live demo: https://chearon.github.io/dropflow/ It matches browsers in a…

  20. comment
    Comment #36219534

    I had the same experience. Very often, I couldn't fall asleep until 6-7am. I felt like I was losing my mind. I got professional help from sleep psychologists but it didn't do much.…

  21. comment
    Comment #34651909

    Igalia is funding it by providing 4 employees: https://people.igalia.com/mrego/servo/igalia-servo-tsc-2022/

  22. comment
    Comment #34116972

    The browser doesn't know what the auto size is any more than you do until it performs a layout (reflow). Layouts are expensive and must be minimized. And what if content is changed…

  23. comment
    Comment #30921708

    You can still browse the source on GitHub though. I don't mind them trying to make more money so much. What I don't like is that we have 3 bugs open, one of them 3 years old, that …

  24. comment
    Comment #27376831

    It does but only after a layout. Interpolating from `height: 0;` to `height: 10px` is easy, but interpolating to `height: auto` takes an additional layout. I always assumed that yo…

  25. comment
    Comment #27370693

    I often have to set `min-width: 0` if it's a flexbox inside another flexbox. `min-width` defaults to `auto` which means the smaller of the `width` on it and its content width. The …