Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    85comments
  2. What even is an OS now? (sockpuppet.org)
    38comments
  3. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    36comments
  4. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    58comments
  5. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    56comments
  6. Platform-independent SIMD in Go (go.dev)
    132comments
  7. Tell HN: Codex Is Down
    17comments
  8. Git-bug: Distributed, offline-first bug tracker embedded in Git (github.com/git-bug)
    94comments
  9. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    97comments
  10. U.S. appeals court upholds designation of Anthropic as supply chain risk (cnbc.com)
    645comments
  11. First Principles Thinking (sunilsadasivan.com)
    92comments
  12. Initial DIY Cleanroom Experimentation (jefftk.com)
    2comments
  13. Remembering Johannes Doerfert (llvm.org)
    1comments
  14. Show HN: Make math automatic with Mathy (gmays.com)
    14comments
  15. An airport cooled by natural ventilation (theguardian.com)
    10comments
  16. Loopjacking in A2A Implementations: Hijacking Human-in-the-Loop Approvals (adithyanak.com)
    —discuss
  17. How video games inspire great UX (2019) (jenson.org)
    16comments
  18. Pentium II at 600Mhz with Voodoo 3 Emulated on 86Box with M6 Mac Mini (nyaa.sh)
    114comments
  19. Ink and Switch interactive homepage (inkandswitch.com)
    25comments
  20. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    41comments
  21. Alan Kay: Shannon gave us a way of dealing with noisy channels [video] (youtube.com)
    22comments
  22. How we learned to stop worrying and love campus surveillance (fnl.mit.edu)
    42comments
  23. Issues with Codex – Identified – Full Outage (status.openai.com)
    7comments
  24. Bwbach, My Guardian Goblin (robertmay.photography)
    14comments
  25. What happens when you analyze your favorite college football team like the CIA? (cultivatelabs.com)
    17comments
  26. Amiga Screens: A Primer (datagubbe.se)
    36comments
  27. Show HN: I discovered roads in the US across > 1000 themes (pinedesk.biz)
    5comments
  28. Meta's Muse appears to use an OpenAI model labeled muse-special (mouse.dev)
    42comments
  29. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    129comments
  30. Ask HN: Hypothesis: Cellular providers are deprioritizing voice calls?
    19comments

Typst makes big strides

97 pointsby 7h agolwn.net
17 comments
6h agoHN ↗

As someone who used LaTeX heavily in grad school, using Typst in VSCode to create bespoke invites to an event was quite nice! Would highly recommend giving it a spin.

5h agoHN ↗

I was able to use Typst for my thesis, it felt sooo smooth. Turned it into a conference paper half a year later, and had to use the IEEE Latex format to hand it in. Oof, that was humbling.

2h agoHN ↗

As someone who hasn't used Typst, how manual was the conversion process?

3h agoHN ↗

To paraphrase Churchill, LaTeX is the worst form of typesetting experience except for all those other technologies that we've tried.

Glad that that's no longer the case!

3h agoHN ↗

Typst has a bunch of nice features, it seems like I discover another every time I use it for something. Most recently I saw that you can import TOML (or JSON if you really want) data into the template, making it really simple to populate the content from another tool.

3h agoHN ↗

Yeah, quite useful for generating pdfs for invoices from json

3h agoHN ↗

I use Typst for formatting my resume, and it’s been great. Models are pretty good at writing it too if you don’t want to learn the syntax.

2h agoHN ↗

I use typst for all sorts of things in customer apps: conference badges, customer invoices, social media asset generation (like thumbnails for podcasts, customer reviews, etc.), certificates of completion, progress reports, and much more. It's just so robust, efficient and works everywhere. Never again do I need to worry about html formatting to make PDFs.

2h agoHN ↗

started using typst in the past year.

creating my resume in it felt as magical as it can be.

i loved the tech and ideas behind typst even added native support for it in my WYSIWYG markdown(and typst) editor[1].

[1] https://wander.md

2h agoHN ↗

I find typst a joy to use, either in the online editor or locally. It’s the best combination I’ve yet come across of “write what you mean” - simple markdown-like syntax - with document layout and styling. Happily pay for a subscription even though most of the time I don’t use the online editor. Software worth paying for.

2h agoHN ↗

The MathML example here is... Definitely not TeX-quality. At least not in my phone. It looks really janky.

1h agoHN ↗

Interesting. What browser? Because in FF or Chrome on Linux desktop, it looks basically identical to LaTeX output. But unlike when creating PDFs, you’re at the mercy of your browser’s MathML implementation (another reason PDF is great).

1h agoHN ↗

I just compared typst with peachpdf (c#) and others to generate big reports, invoices, etc. coming from itext 4 the open source version which was lgpl. And was blown away. Itext was quite efficient because layouting did not do a full css thingy. Which peachpdf does, which of course produces a better looking pdf. But full css eval, could byte your ass with flow elements and div wrappers. You can be extremely non performant and ram hogging pretty fast, especially since peachpdf is not optimized.

However typst? God , it is so fast that downloading and rendering it inside a pdf viewer is the new bottleneck… it generates 2000 page pdfs in second with maximum of 2 gb , however most of the time it used 250mb memory. Peachpdf used 15-30gb for that, heck even itext used 4 gb. Cpu everything was so fucking fast, even while going through p/invoke.

I just fucking love it. I mean sometimes the syntax is weird, but it’s the best layout+data to pdf renderer.

1h agoHN ↗

I write this in pretty much every Typst thread. Here are some notes I wrote when I started out with typst when comparing with LaTeX and some recent additions:

1. It doesn't generate 5 bloody files when compiling.

2. Compiling is instant.

3. Diagnostics are way easier to understand (sort of like Rust compiler suggestion style).

4. List items can be either - item1 - item2, etc. or [item1], [item2]. The latter is way better because you can use anchoring to match on the braces (like "%" in vim), which means navigating long item entries is much easier.

5. In latex you have the \document{...} where you can't specify macros so they need to be at the top, in Typst you can specify the macros close to where you need them. [I've been informed this is actually incorrect and Latex does allow you to specify macros anywhere]

6. It's easier to version control and diff, especially if you use semantic line breaks.

7. Changing page layout, margins, spacing between things, etc., footers with page counters, etc. just seems way easier to do.

8. Compiling with Typst is always one pass.

9. I'm not sure how this would compare with Latex but I'm in law school and needed to cite using AGLC4 which has a CSL (citationstyles.org) template supported by Typst; I have confirmed the CSL XML is correct but doesn't render properly in Typst. The workaround I found was to hand typeset my own citation and bibliography which sucks.

10. Most of what you need is built in to Typst and I've yet to need to import a package or template; even for the most basic documents with Latex you find you'll need to use many packages (such as fancyhdr for customised headers and footers).

11. Latex distributions can be a monstrosity, gigabytes in size like TexLive, and I acknowledge you can get slimmed down on-demand version such as Miktex. There's just one distribution of Typst and its pretty lean, although it might be nice to have multiple implementations in the future.

12. Latex markup looks like an eye-sore, typst reads more naturally as plain-text with a bit of a markdown flavour.

13. Although I loathe discord, I find getting real time support so easy with an almost real time answer to any question I have and the community is heaps friendly; getting support with Latex is not so easy.

34m agoHN ↗

I love typst. It's about time we have an authoring system like it that also let's you publish HTML versions of things you write with it instead of just PDFs. Papers in Academia for the longest time have been PDFs, which screen readers are terrible with, mainly because the PDF format is an abomination, and makes accessibility (let alone interoperability) unnecessarily painful.

22m agoHN ↗

PDF serves an important purpose; it’s not an abomination. It conveys exactly what the author or publisher intended. HTML can not do this. It can serve as a reliable archive and be made (imperfectly) accessible, as described in the article. Of course all this comes with significant tradeoffs, including reduced interoperability, as you say. But there are good reasons for academic publishing, especially in math, CS, and physics (but also in some areas of the humanities) to prefer PDFs—it’s not just obstinacy.