Live data from Hacker News

Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

teamchong.github.io

51–60 of 65 posts

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#51

Earlier quoted context omitted.

it's a security feature. otherwise my malicious site could check for cdn.sensitivephotoswebsite.com and blackmail you if it was cached already

It would be nice if there was a whitelist option for non-sensitive content. I stopped using cdn links due to the overhead of the extra domain lookups but I did think that my self hosted content would be cached across domains.

It would be nice if there was a whitelist option for non-sensitive content.

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.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#52

I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.

do the same. I just ask Claude code for mermaid to visualize any topic I'm discussing.

In a pinch, Claude is also quite good at ASCII art in my experience!

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#53

I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.

I now often have CC make technical/architecture diagrams with tikz, the results look much better than mermaid but still requires multiple iterations to fix bad arrows, bad layouts etc.

Diagrams are still far from solved. We need a good non-gameable diagrams benchmark.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#54

The Gemma models really are amazing. I was on a flight a few days ago and used E2B to do some basic research on the place I was going to, running the model locally on my Pixel 10 Pro. It gave me basically the same as Gemini or ChatGPT would do when I landed

I haven't tried E2B but E4B isn't particularly better than the old Gemma3 4B model(which was already very good at multilingual and decent at other tasks) but the voice recognition is a nice addition.

Do you see a real difference with AI agents working together

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#57

I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.

I use Claude Code and Gemini and to LLM as a judge among the two to review each others result and generate a final mermiad diagram.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#58

Earlier quoted context omitted.

It offers security. Just like you wouldn't use same table in your system for all users in a multi tenant application.

If the file is hashed strongly enough then it can be no other file. I can see how information on previous sites visited can be leaked and how this could be bad but I think whitelisting by end users could still allow some files to be used. E.g. the code for react.

The fact that you don't see it doesn't mean it doesn't exist. I make up a unique file, put it on site X and ask your browser to cache it. I try to load the same file on site Y and time how long it takes. If it's instant, site Y knows you visited site X.

Tadaaa! Tracking.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#59
post #58

Earlier quoted context omitted.

If the file is hashed strongly enough then it can be no other file. I can see how information on previous sites visited can be leaked and how this could be bad but I think whitelisting by end users could still allow some files to be used. E.g. the code for react.

The fact that you don't see it doesn't mean it doesn't exist. I make up a unique file, put it on site X and ask your browser to cache it. I try to load the same file on site Y and time how long it takes. If it's instant, site Y knows you visited site X. Tadaaa! Tracking.

I said I ‘can see’ I already understand that. Hence the whitelisting on files that are not unique / created for this purpose.

Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

#60
post #58

Earlier quoted context omitted.

The fact that you don't see it doesn't mean it doesn't exist. I make up a unique file, put it on site X and ask your browser to cache it. I try to load the same file on site Y and time how long it takes. If it's instant, site Y knows you visited site X. Tadaaa! Tracking.

I said I ‘can see’ I already understand that. Hence the whitelisting on files that are not unique / created for this purpose.

Ah, my bad, sorry.
Post reply on HN