hessammehr

Joined 14 years ago

Karma
60
Submissions
22
Member since
Aug 26
hessammehr.github.io mehr-research.science
View on Hacker News

Recent submissions

Comment · 2 months ago
I’m aware of Jax-js. It’s a different beast: an [incomplete last I checked] port of jax for JS, not something you can run your, e.g. jax-dependent marimo notebook or pyodide against
Comment · 2 months ago
jax in the browser on WebGPU next please?
Comment · 3 months ago
Very cool but the Arabic text in the title image is obviously and hopelessly broken, which is oddly not the case when actually using the model. Could it be that the hero image was not generated by Qwen Image 3.0?
Comment · 7 months ago
Ine thing no other CMS tends to get right (for my needs) is Gutenberg. Tiptap, mantine etc.are just no substitute and for someone like me with next to no frontend knowledge Gutenberg was the only option that provided the flexibility and good defaults to keep a decent looking website that my students could also post on with no training.

A while ago I ran claude code in a custom loop (calling it autoclaude; this was last summer) to create a CMS with Gutenberg’s editor but a lean Python backend (github.com/hessammehr/nuCMS). This was in the Sonnet 3.7 days and even that model got quite far.

Comment · 9 months ago
I would recommend Onshape to start. The user interface and documentation are stellar and you don't need to install anything to get started.
Comment · 9 months ago
Good to know about the risk of deformation due to heat from the LED strip. Ours hasn’t visibly warped over the past few months of use, fingers crossed it will last a little while
Comment · 9 months ago
I haven't used OpenSCAD much beyond combining primitives. Truthfully these organic shapes are more of a use-case for 3D modelling software like Blender rather than CAD, but I'd be keen to hear if you end up giving OpenSCAD a go.

My Bambu A1 mini has been reliable despite the challenging geometry; pretty sure your P2S will work just as well if not better. Good luck!

Comment · 9 months ago
Just noticed that this has made it to the front page, so just had a quick look through to see if there are any broken links, etc. (as I have a habit of forgetting them) and added the missing OnShape link to the LED strip diffuser.

Also recommend checking out the live Marimo notebook linked down at the bottom. Incredible what you can do with Pyodide + Marimo these days. I only wish there was a webassembly version of jax to make it easier to share random numpyro experiments.

Comment · 4 years ago

    =>(map inc)

    function(b){return function(){function c(k,t){t=a.g?a.g(t):a.call(null,t);return b.h?b.h(k,t):b.call(null,k,t)}function d(k){return b.g?b.g(k):b.call(null,k)}function e(){return b.s?b.s():b.call(null)}var f=null,g=function(){function k(w,u,B){var p=null;if(2<arguments.length){p=0;for(var I=Array(arguments.length-2);p<I.length;)I[p]=arguments[p+2],++p;p=new gc(I,0,null)}return t.call(this,w,u,p)}function t(w,u,B){u=hc.i(a,u,B);return b.h?b.h(w,u):b.call(null,w,u)}k.o=2;k.u=
    function(w){var u=r(w);w=v(w);var B=r(w);w=xe(w);return t(u,B,w)};k.j=t;return k}();f=function(k,t,w){switch(arguments.length){case 0:return e.call(this);case 1:return d.call(this,k);case 2:return c.call(this,k,t);default:var u=null;if(2<arguments.length){u=0;for(var B=Array(arguments.length-2);u<B.length;)B[u]=arguments[u+2],++u;u=new gc(B,0,null)}return g.j(k,t,u)}throw Error(\"Invalid arity: \"+arguments.length);};f.o=2;f.u=g.u;f.s=e;f.g=d;f.h=c;f.j=g.j;return f}()}

The output is correct as far as I can tell but that's some pretty hairy Javascript right there.

Edit: Formatted code.

Comment · 8 years ago
Ah you beat me to it! :)
Comment · 8 years ago
Comment · 9 years ago
Ink spread and feathering on cheap paper is unfortunate and frustrating. I would also add pretty much any pigment or iron gall-based ink to your suggestion. Unlike dye-based inks, i.e. the vast majority of your vibrant colors on the market, these contain tiny particles that are (with a little bit of oversimplification) permanently trapped in the cellulose fibers of paper as you write. The end results is that these inks are waterproof and don't show the dreaded feathering/bleeding on cheaper paper. I recommend the Rohrer and Klingner Salix and Scabiosa, two inexpensive iron gall inks (blue-black and purple-gray), Sailor Kiwa Guro and Sei Boku (pigmented black and blue) and the Platinum pigmented inks (available in blue, red and black IIRC). The Salix and Sei Boku have worked wonderfully for me on copier paper with no clogging/cleaning issues so far.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton