frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Unreasonable Effectiveness of the Fourier Transform

https://joshuawise.com/resources/ofdm/
1•voxadam•1m ago•0 comments

The Parks Seed Seekers Who Cultivate Spring in the Cold

https://www.thecity.nyc/2025/12/31/parks-department-seed-plant-nursery-winter/
1•PaulHoule•2m ago•0 comments

I interviewed the aspiring Julian Assange of Wikipedia

https://edithistory.substack.com/p/i-interviewed-the-aspiring-julian
1•kurtreed2•2m ago•0 comments

Ask HN: Is it time for HN to implement a form of captcha?

1•Rooster61•2m ago•0 comments

Show HN: TractionWay – Poll early adopters to validate your startup idea in 24hr

https://tractionway.com
1•rivalout•3m ago•1 comments

Classical Chinese poetry: a guide for the curious (2023)

https://www.deadlanguagesociety.com/p/classical-chinese-poetry-a-guide
1•ngriffiths•4m ago•0 comments

Withdrawing the U.S. from International Organizations Not in U.S. Interests

https://www.whitehouse.gov/presidential-actions/2026/01/withdrawing-the-united-states-from-intern...
4•ijidak•5m ago•0 comments

The Ofcom Files, Part V: Block Harder

https://prestonbyrne.com/2026/01/08/the-ofcom-files-part-v-block-harder/
1•iamnothere•7m ago•0 comments

Ask Hackaday: Solutions, or Distractions?

https://hackaday.com/2025/12/10/ask-hackaday-solutions-or-distractions/
1•toomuchtodo•8m ago•0 comments

15 years of indie dev in 4 bits of advice

https://www.pentadact.com/2026-01-08-15-years-of-indie-dev-in-4-bits-of-advice/
2•Fraterkes•13m ago•0 comments

Cancelled 2x Cursor Ultra plans, here's why

4•throwawayround•13m ago•2 comments

3D Map of Rapa Nui Quarry

https://www.arcgis.com/home/webscene/viewer.html?webscene=cb5ef11c89af43408b4fd3031014dd4d&viewpo...
2•erulabs•15m ago•0 comments

Show HN: AI-powered browser extension that fills forms with realistic fake data

https://chromewebstore.google.com/detail/formfaker/mmhhedbeeiaclljlpfpbhkdlfkjdhgom
2•dvorak007•16m ago•2 comments

SQL or Death? Seminar Series (2025)

https://db.cs.cmu.edu/seminars/spring2025/
3•whatever3•18m ago•0 comments

Snowflake announces intent to acquire Observe

https://www.snowflake.com/en/news/press-releases/snowflake-announces-intent-to-acquire-observe-to...
3•zX41ZdbW•18m ago•1 comments

Sprites – Stateful sandbox environments with checkpoint and restore

https://sprites.dev/
2•niklasmtj•18m ago•0 comments

Dynamic Configuration in Node.js

https://replane.dev/blog/dynamic-configuration-nodejs/
1•tilyupo•19m ago•0 comments

Blend2D and AsmJIT development paused due to lack of funding

https://kobalicek.com/funding.html
1•miguel_martin•19m ago•1 comments

Show HN: Offline Deterministic Security Gate

1•EldorZ•20m ago•0 comments

Thank Goodness Universal Basic Income Saved the AI Economy

https://blog.tjll.net/thank-goodness-for-ubi/
1•speckx•20m ago•0 comments

I've maintained a OS local-first task manager for 8 years

1•johannesjo•20m ago•0 comments

Software to tackle deepfakes ahead of Scottish and Welsh elections

https://www.theguardian.com/technology/2026/jan/08/pilot-software-tackle-deepfakes-scottish-welsh...
1•chrisjj•21m ago•0 comments

Does HN have a bot problem?

2•onesandofgrain•21m ago•1 comments

Is hallucination-free AI code possible?

https://kucharski.substack.com/p/is-hallucination-free-ai-code-possible
1•gmays•22m ago•0 comments

Insights into DNA repeat expansions among 900k biobank participants

https://www.nature.com/articles/s41586-025-09886-z
1•bookofjoe•22m ago•0 comments

Intel hopes its new chip can be the future of AI. An executive explains how

https://www.cnn.com/2026/01/08/tech/comeback-intel-ai-ces
1•mooreds•23m ago•0 comments

Show HN: ToddlerLock – An iPhone app that shows a fake home screen for toddlers

https://toddlerlock.app/
1•zilvinassebeika•25m ago•1 comments

Show HN: FM-index – Rust-powered substring search for Python

https://pypi.org/project/fm-index/
1•math-hiyoko•26m ago•0 comments

Jensen Huang saying "AI" 121 times during the Nvidia CES keynote

https://old.reddit.com/r/LocalLLaMA/comments/1q7d8bj/jensen_huang_saying_ai_121_times_during_the/
3•elorant•26m ago•0 comments

Show HN: Tuicr – Review Claude Code diffs like a PR from your terminal

https://github.com/agavra/tuicr
1•agavra•27m ago•0 comments
Open in hackernews

Show HN: Tylax – A bidirectional LaTeX to Typst converter in Rust

https://github.com/scipenai/tylax
25•democat•1d ago
Hi HN, author here.

I built Tylax because I wanted to migrate my old LaTeX papers to Typst but found existing regex-based scripts too fragile for nested environments.

Tylax parses LaTeX into an AST (using mitex-parser) and converts it to Typst code. It supports: - Full document structure (not just math snippets) - Complex math (matrices, integrals) - Experimental TikZ -> CeTZ graphics conversion - Runs in browser via WASM

Repo: https://github.com/scipenai/tylax Web Demo: https://convert.silkyai.cn/

Happy to answer any questions!

Comments

leephillips•22h ago
Could you briefly explain why Pandoc was not sufficient? (Obviously it can’t do the TikZ -> CeTZ conversion.)
democat•9h ago
Great question! I love Pandoc and use it often, but as a "universal" converter, it sometimes misses the nuances of specific pairs. Tylax is designed specifically for the LaTeX $\leftrightarrow$ Typst workflow. By focusing on just this 1-on-1 pair, we can offer: Better Math & Macros: A built-in macro expander handles custom commands (\newcommand) and complex nested math that general parsers often struggle with. Cleaner Code: The output is designed to be idiomatic and human-readable (e.g., using native Typst functions), not just "compilable." WASM Support: Being written in Rust means it runs instantly in the browser, making it easy to embed in web apps without a backend. Pandoc is the Swiss Army knife; we're trying to be a specialized tool just for this specific transition.
leephillips•5h ago
That makes sense, especially the issue with macros. As many people have pointed out, since TeX is not just markup but an actual programming language, its output can not be determined, in the general case, without running the source through the TeX interpreter. Of course, the same is true of Typst.
democat•3h ago
You are absolutely spot on. Both systems are Turing-complete, so a perfect conversion without a full runtime execution is theoretically impossible for the general case. That's exactly the trade-off Tylax makes: we aren't trying to be a full TeX engine (which would be overkill and slow). Instead, we aim to cover the "99% use case" of academic and technical writing—where macros are mostly used for shorthand, notation aliases, or simple formatting, rather than complex computation. Our "limited macro expander" is the middle ground: it's dumb enough to be fast and safe (no infinite loops), but smart enough to handle the \newcommand shortcuts that riddle almost every paper. It's about being pragmatically useful rather than theoretically perfect
holg•22h ago
nice job! so i tried around and so far am impressed, anyhow:

\newcommand{\foo}[1]{\bar{#1}} \renewcommand{\bar}[1]{\foo{#1}} % mutual recursion \foo{x} \def\x{\y}\def\y{z}\x % chained expansion

+>

#set page(paper: "a4") #set heading(numbering: "1.") #set math.equation(numbering: "(1)") /* \foo / / \y /

\foo{x} → \bar{x} → \foo{x} → ∞ Expected: hit depth limit, emit warning, output either x or the unexpanded \foo{x} Actual: /

\foo */ — silently converted to a comment, lost the argument x entirely

democat•9h ago
Thanks for the stress test! You are absolutely right, and I really appreciate you catching this edge case.

I've traced the issue in the codebase: 1. The recursion depth limit *is* triggering correctly (preventing an infinite loop). 2. However, when it bails out, it returns the partially expanded macro call (e.g., `\foo{x}`). 3. Since the macro definition was removed during the preprocessing step, the parser then sees `\foo` as an unknown command and converts it into an error comment, accidentally discarding the argument `{x}` in the process.

*The intended behavior* should definitely be to preserve the content (the `x`) even if the macro logic fails. I will fix the fallback logic to ensure it fails gracefully without eating the arguments.

Thanks again for the sharp eye! These kinds of checks are super helpful.