Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
Posted by teamchong 1 day ago
Comments
Comment by locusofself 1 day ago
Comment by ascorbic 1 day ago
Comment by d4rkp4ttern 23 hours ago
Diagrams are still far from solved. We need a good non-gameable diagrams benchmark.
Comment by 0xchamin 22 hours ago
Comment by thawab 1 day ago
Comment by system_operator 1 day ago
I just ask Claude code for mermaid to visualize any topic I'm discussing.
Comment by lxgr 23 hours ago
Comment by alfiedotwtf 18 hours ago
Comment by halJordan 1 day ago
Comment by wongarsu 1 day ago
Writing an SVG of a pelican riding a bicycle without being able to see the result and iterate based on that is incredibly difficult by comparison. I'm sure some humans could do it, but I sure can't. That's part of the beauty of it: it's very difficult to do but a toddler could judge the results
Writing an SVG of a diagram by hand would be somewhere on the middle ground. Or depending on the number of nodes might be even harder than the pelican. Layouting diagrams can get tricky very quickly. It's also one of Mermaid's biggest weaknesses
Comment by christkv 1 day ago
Comment by userbinator 1 day ago
Comment by avrionov 1 day ago
Comment by userbinator 1 day ago
Comment by walthamstow 1 day ago
Comment by tredre3 1 day ago
I'm very surprised by this, in my tests E2B has very limited general knowledge.
Comment by walthamstow 1 day ago
Comment by avadodin 1 day ago
Comment by maxlegav 22 hours ago
Comment by alwyn 1 day ago
Comment by walthamstow 1 day ago
Comment by OsamaJaber 1 day ago
Comment by billyp-rva 1 day ago
If you do a Google image search for "OAuth 2.0 PKCE sequence diagram" you get good results also. Maybe if you ask for something more esoteric this becomes valuable? Of course, that also makes hallucinations more likely.
Comment by Sathwickp 1 day ago
Comment by rahimnathwani 1 day ago
"The LLM outputs compact code (~50 tokens) instead of raw Excalidraw JSON (~5,000 tokens)."
I see on the left that the LLM is outputting some instructions to add nodes and edges to the diagram. But what is interpreting those commands and turning them into an Excalidraw file?
Comment by evrydayhustling 1 day ago
Comment by 0xchamin 22 hours ago
Comment by vismit2000 1 day ago
Comment by wesleynepo 1 day ago
Comment by xnx 1 day ago
Comment by Mystery-Machine 18 hours ago
Comment by logicallee 1 day ago
Comment by teamchong 1 day ago
Comment by logicallee 1 day ago
Comment by classified 22 hours ago
Comment by agent37 1 day ago
Comment by hhthrowaway1230 1 day ago
Comment by wereHamster 1 day ago
Comment by cjbgkagh 1 day ago
Comment by faangguyindia 1 day ago
Just like you wouldn't use same table in your system for all users in a multi tenant application.
Comment by cjbgkagh 1 day ago
Comment by stavros 22 hours ago
Tadaaa! Tracking.
Comment by thornewolf 1 day ago
Comment by cjbgkagh 1 day ago
Comment by onion2k 1 day ago
There's no such thing as non-sensitive content from a CDN though. Scripts are obviously sensitive, styles can be used to exfiltrate data through background-url directives, and anything like images has no benefit being cached across sites.
Fonts might be one exception, but I bet those are exploitable somehow.
Comment by pyrolistical 1 day ago
Comment by embedding-shape 1 day ago
Comment by logicallee 1 day ago
Okay, I did so. I realize that in your later followup comment you might want something different (like for Chrome itself to cache these downloads or something) but for now I made what you asked for, here you go:
https://stateofutopia.com/experiments/ephemeralcdn/
It's an ultrafast temporary CDN for one-off experiments like this. Should be lightning fast. By including the script, you can include any file this CDN serves.
Comment by hhthrowaway1230 20 hours ago
Comment by logicallee 1 day ago
Comment by Rekindle8090 1 day ago
Comment by hhthrowaway1230 1 day ago
Or indeed use some sort of huggingface model downloader (if that exist with XET)
Comment by varun_ch 1 day ago
Comment by hhthrowaway1230 1 day ago
Comment by hhthrowaway1230 1 day ago
Comment by busssard 1 day ago
Comment by COOLmanYT 1 day ago
Comment by teamchong 1 day ago
Comment by moralestapia 12 hours ago
Comment by zhangchen 1 day ago
Comment by nigardev 1 day ago