frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Solarpunk is already happening in Africa

https://climatedrift.substack.com/p/why-solarpunk-is-already-happening
31•JoiDegn•28m ago•2 comments

Dillo, a multi-platform graphical web browser

https://github.com/dillo-browser/dillo
80•nazgulsenpai•1h ago•33 comments

The state of SIMD in Rust in 2025

https://shnatsel.medium.com/the-state-of-simd-in-rust-in-2025-32c263e5f53d
52•ashvardanian•1h ago•17 comments

New gel restores dental enamel and could revolutionise tooth repair

https://www.nottingham.ac.uk/news/new-gel-restores-dental-enamel-and-could-revolutionise-tooth-re...
96•CGMthrowaway•43m ago•61 comments

Ruby and Its Neighbors: Smalltalk

https://noelrappin.com/blog/2025/11/ruby-and-its-neighbors-smalltalk/
125•jrochkind1•5h ago•54 comments

OpenAI ends legal and medical advice on ChatGPT

https://www.ctvnews.ca/sci-tech/article/openai-updates-policies-so-chatgpt-wont-provide-medical-o...
37•randycupertino•2h ago•64 comments

The shadows lurking in the equations

https://gods.art/articles/equation_shadows.html
215•calebm•6h ago•71 comments

Fiber reduces overall mortality by 23%

https://www.empirical.health/blog/dietary-fiber-reduces-all-cause-morality/
43•brandonb•45m ago•27 comments

I want a good parallel language [video]

https://www.youtube.com/watch?v=0-eViUyPwso
26•raphlinus•1d ago•7 comments

An eBPF Loophole: Using XDP for Egress Traffic

https://loopholelabs.io/blog/xdp-for-egress-traffic
165•loopholelabs•1d ago•66 comments

Carice TC2 – A non-digital electric car

https://www.caricecars.com/
139•RubenvanE•6h ago•100 comments

A P2P Vision for QUIC (2024)

https://seemann.io/posts/2024-10-26---p2p-quic/
70•mooreds•6h ago•30 comments

Learning from failure to tackle hard problems

https://blog.ml.cmu.edu/2025/10/27/learning-from-failure-to-tackle-extremely-hard-problems/
77•djoldman•6d ago•19 comments

Norway reviews cybersecurity after remote-access feature found in Chinese buses

https://scandasia.com/norway-reviews-cybersecurity-after-hidden-remote-access-feature-found-in-ch...
190•dredmorbius•4h ago•112 comments

Mr TIFF

https://inventingthefuture.ghost.io/mr-tiff/
964•speckx•21h ago•129 comments

Why aren't smart people happier?

https://www.theseedsofscience.pub/p/why-arent-smart-people-happier
28•zdw•3h ago•59 comments

Internet Archive's legal fights are over, but its founder mourns what was lost

https://arstechnica.com/tech-policy/2025/11/the-internet-archive-survived-major-copyright-losses-...
30•thinkcontext•1h ago•13 comments

NY smartphone ban has made lunch loud again

https://gothamist.com/news/ny-smartphone-ban-has-made-lunch-loud-again
105•hrldcpr•7h ago•63 comments

SPy: An interpreter and compiler for a fast statically typed variant of Python

https://antocuni.eu/2025/10/29/inside-spy-part-1-motivations-and-goals/
196•og_kalu•6d ago•96 comments

Making MLS More Decentralized

https://blog.phnx.im/making-mls-more-decentralized/
13•cityroler•1w ago•0 comments

The grim truth behind the Pied Piper (2020)

https://www.bbc.com/travel/article/20200902-the-grim-truth-behind-the-pied-piper
79•Anon84•8h ago•81 comments

Optimism associated with exceptional longevity (2019)

https://www.pnas.org/doi/10.1073/pnas.1900712116
53•RickJWagner•7h ago•48 comments

Founder in Residence at Woz (San Francisco)

1•bcollins34•8h ago

Radiant Computer

https://radiant.computer
152•beardicus•7h ago•111 comments

iOS 26.2 to allow third-party app stores in Japan ahead of regulatory deadline

https://www.macrumors.com/2025/11/05/ios-26-2-third-party-app-stores-japan/
278•tosh•7h ago•191 comments

Removing XSLT for a more secure browser

https://developer.chrome.com/docs/web-platform/deprecating-xslt
142•justin-reeves•6h ago•201 comments

Ask HN: My family business runs on a 1993-era text-based-UI (TUI). Anybody else?

197•urnicus•5h ago•204 comments

Microsoft Can't Keep EU Data Safe from US Authorities

https://www.forbes.com/sites/emmawoollacott/2025/07/22/microsoft-cant-keep-eu-data-safe-from-us-a...
194•Mossy9•6h ago•63 comments

DynGen – Run dynamic scripts on a SuperCollider server

https://scsynth.org/t/dyngen-dynamic-ugen/12518
6•mstep•5d ago•0 comments

Tesla's German car sales more than halve in October as wider EV sales jump

https://www.reuters.com/business/autos-transportation/teslas-german-car-sales-more-than-halved-oc...
9•moosedman•17m ago•2 comments
Open in hackernews

TikZJax: Embedding LaTeX Drawings in HTML

https://tikzjax.com/
137•steventhedev•6mo ago

Comments

Garlef•6mo ago
Hm. Either that page or the tech itself is not great on mobile.
ano-ther•6mo ago
Takes a second or so to load on mine (iOS Safari). But then it shows correctly, even if the second diagram is a bit small (it fits in a quarter of the 1in circle).
frumplestlatz•6mo ago
It crashes (“a problem repeatedly occurred”) a few seconds after loading everything on my device (also iOS Safari).

I love tikz, but lightweight it is not; it’s not a huge surprise it takes a few seconds to render.

No idea what’s causing the crash, though.

kccqzy•6mo ago
Well iOS Safari is in general buggy and tends to display the "a problem repeatedly occurred" message on many other slightly heavy web pages. This web page shouldn't be blamed for causing Safari to crash.
frumplestlatz•6mo ago
Nobody is assigning blame, we don’t know the root cause.

I could just as easily say that Safari shouldn’t be blamed for a buggy website, but I’d be overreaching just as much as you just did.

kccqzy•6mo ago
By definition buggy websites that crash the browser are bugs in the browser.

It may have security implications, or it may not. It might just be an innocent case of someone using assertions instead of proper error reporting. Nevertheless it's a bug in the browser.

frumplestlatz•6mo ago
Safari will terminate a page for using excess resources with the same message.
kccqzy•6mo ago
So? Still Safari's problem for not displaying a proper error message.
frumplestlatz•6mo ago
Sounds like you just dislike Safari. Doesn’t seem to be much help here.
kccqzy•6mo ago
No. Safari chose the exact wrong way to handle this case. Let's suppose some webpage is in fact allocating too much memory. It is the user agent's job to inform the user of this fact. What does Safari do? It silently crashes. It's not even about displaying the wrong error message here: the handler for the crash is to simply refresh the page and render it again. But this is exactly the wrong way to handle out-of-memory errors: chances are the web page will again allocate too much memory and crash yet again. In the end the final displayed error message is "a problem repeatedly occurred" with no reference to the nature of the problem.

I hate this trend of hiding error messages from the user. Apple as a company known for its attention to detail in UI, should have been the one company especially dedicated to presenting a good error message without overwhelming the user with technical details—it is supposed to be the master in user communication. And it is not. Hence my disappointment.

Jaxan•6mo ago
It doesn’t crash, but tells me there is a problem. To me,this seems like a safe way to deal with buggy websites.
revskill•6mo ago
The author does not have an iphone to test.
ics•6mo ago
Jim Fowler seemed like Calculus' biggest hype man when the MOOC ball was just starting to roll. If you're looking to brush up and like the more energetic/engaging style I'd recommend checking out his videos on YouTube or elsewhere.

> Using web2js, the Pascal source of tex is compiled to WebAssembly; the latex format is loaded (without all the hyphenation data), and [...] is executed. Then core is dumped; the resulting core is compressed, and by reloading the dumped core in the browser, it is possible to very quickly get to a point where TikZ can be executed. By using an SVG driver for PGF along with dvi2html, the DVI output is converted to an SVG.

This is the kind of hack I'm here for.

3abiton•6mo ago
Thanks for the recommendation, this is really cool!
kisonecat•6mo ago
Indeed, you can find my calculus videos at https://www.youtube.com/kisonecat

But maybe for a coding audience https://www.youtube.com/watch?v=MVtlD22Y8SQ is more entertaining.

frumplestlatz•6mo ago
Using a “core dump” (dumping the webassembly heap) is an interesting optimization approach with historical precedent both in TeX itself and projects like Emacs (dump/unexec) — https://www.gnu.org/software/emacs/manual/html_node/elisp/Bu...

It’s also notoriously fragile and non-portable on native targets; I’m curious how one implements it under webassembly, and how it compares.

drfuchs•6mo ago
Being able to start a process, have it run for a bit to, say, read in initialization data, populating dynamic data structures along the way, and then interrupt the process and save the whole state as a new executable, was a feature built into DEC’s Tops10 and Tops20 operating systems / standard runtimes, along with related custom systems like Waits, under which TeX was developed. It took just two lines of code for TeX to implement its side of this feature on those first platforms.

It came as a bit of a shock at the time that all the Unix-y systems had no such native concept, and that fragile, non-portable user-space schemes were required to mimic this functionality.

vdm•6mo ago
Checkpoint/Restore In Userspace https://criu.org/
kisonecat•6mo ago
Resurrecting this workflow was one of the funniest things in implementing TikZJax.
kisonecat•6mo ago
Author of TikZJax here...

I'm endlessly distracted by other things at work, but I believe this same idea could also be used to provide real-time compilation of TeX'd documents as they're typed. Simon Rubinstein-Salzedo had suggested wanting something like a real-time Overleaf to teach his classes at https://eulercircle.com/ Interrupting and resurrecting the TeX-in-the-browser would let you render a document as it is typed.

svat•6mo ago
See also (if you haven't already) SwiftLaTeX ( https://www.swiftlatex.com/ https://github.com/SwiftLaTeX ) and their paper (DOI: 10.1145/3209280.3209522 ).
apetresc•6mo ago
Funny seeing this on the front page – I'm coding a project as I'm browsing this that makes heavy use of TikZJax.

Overall, I'm impressed by how seamlessly it works when it does work. But it's not perfect:

- Some core library functions (for example, most types of fill patterns) simply don't work or aren't implemented for some reason.

- There are a few long-standing bugs. For instance, if using the intersections library to compute the intersection of a line and a circle, it straight-up crashes the entire TikZJax process. Intersections of two lines or two circles are fine, but circle+line fails. My attempts at diagnosing this seem to indicate that it's running out of stack space, so maybe the original TikZ code uses some inefficient recursive algorithm to compute this intersection, and this exceeds some stack size limit that the WebAssembly version introduces. I'm not sure and I haven't been able to get much traction.

- The project doesn't seem to get any love from the original developers anymore. I've filed multiple bugs for months now that never get any form of acknowledgement.

- The build process is pretty convoluted and difficult to reproduce (to try to fix those aforementioned bugs myself), which I guess is what you'd expect from a project that attempts to cross-compile a 20-year-old macro package for a 50-year-old Pascal codebase for rendering in the browser.

Overall I'm very glad TikZJax exists and there's still no better-looking and convenient-to-author diagramming language than TikZ itself. But there's definitely rough edges.

steventhedev•6mo ago
Apparently there are some forks that offer more features and fix some of those bugs. Maybe one of those can help you?

This is the one that was shared on lobsters, but there are likely more: https://bill-ion.github.io/tikzjax-live/

kisonecat•6mo ago
As the author of TikZJax, I can certainly apologize for not making more progress on this.

I need to get back to this project! I'd very much like to clean up the build process.

xenonite•6mo ago
While live rendering is nice, I suppose that generating static SVGs that are embedded in a static webpage generator are more fruitful for the typical case. A quick search yielded this: https://polbarrachina.com/2022/05/23/latex-and-tikz-in-jekyl...
psychoslave•6mo ago
In a wiki setting for example, it might be nice as it makes the direct human edition more accessible. Not as accessible as an embedded SVG editor of course. But still, compare how latex formula are used in Wikipedia, compared to mathml, or SVG.
steventhedev•6mo ago
I'm fond of using KaTeX for my personal blog posts. There is support for server side rendering for KaTeX (but not on GitHub pages because it necessarily opens it to arbitrary code execution - I asked).

But it notably lacks tikz support and if it can emit SVGs I'm beginning to wonder why I even use KaTeX and not something like this (beyond my personal anti-JS sentiment)

klabetron•6mo ago
Holy smokes. That’s a name I haven’t heard in a while. I submitted many calculus homework assignments in LaTeX because Jim introduced it to me back at our high school. (Go Mankato West Scarlets!)
kisonecat•6mo ago
Matt Klaber?! If so, great to run into you!

I mean, I'm guessing from "klabetron"... Unfortunately I don't think my "kisonecat" gives much clue to "Fowler".

klabetron•6mo ago
lol yep
ycombinatrix•6mo ago
this looks cool. i guess i would generally prefer to do the SVG rendering on the server rather than on the client.