Better HN
topnewbestaskshowjobs
Log inSign up

tomtom1337

272 karma · joined Feb 5, 2022 (4y ago) · 142 submissions

Submissions

comment 4d ago · link · parent

This was great! Thank you for sharing!!

comment 6d ago · link · parent

What is the definition of dead code that Unref uses? I distinguish between apps and libraries. In apps I can see how any code not callable from the entrypoint is dead, and for libraries I guess a definition is any code that is not callable from a public api?

Would be nice to see the definition used placed in the docs/github readme.

comment 1w ago · link · parent

Yessss! Thank you for sharing, blast down memory lane!

comment 2w ago · link · parent

I use the Ikea ones directly with my home assistant zigbee radio. Does not need an Ikea hub.

+1 on the IKEA stuff being amazing!

comment 2w ago · link · parent

I'm confused about a few points, would love it if someone could help clear it up!

- if the rewrite in Lean happens line-by-line, how can the two implementations differ in their result (Step 2)?

- how does this approach know "something that should always be true" in Step 3 (is it the intelligence of the LLM "guessing"?).

comment 1mo ago · link · parent

Thanks for sharing those options!

comment 1mo ago · link · parent

Completely agree. It quite clearly didn't "completely" forget, it just didn't display that knowledge in the 800 runs

comment 1mo ago · link · parent

Hehe, yes, that's also one

comment 1mo ago · link · parent

This feels a lot like in genetics where certain genes go dormant, but can be turned back on again.

comment 1mo ago · link · parent

Oh I see! Thanks for explaining that - I did notice that sometimes a subset that I didn't expect was chosen.

Did the LLM explain its reasoning for how it is showing the higher dimensions? Or perhaps this is a standard way of attempting to display higher dimensional space?

comment 1mo ago · link · parent

Really cool idea! Beat level 6! I'm still not sure how to explain how it is showing more than 3 dimensions on a 2D screen though! Would be nice to be able to choose which dimensions are represented at the various N-dimensions, but the UI might be tricky to get nice.

comment 1mo ago · link · parent

One criticism is that you have to install the same package, torch, but from different Python indexes in order to install the cpu version or gpu version, on Linux. On windows, `pip install torch` gets you the cpu version. On linux, that gets you a ton of Nvidia extras that take a lot of space.

GPU support should really be a optional extra eg `torch[gpu]` or `torch[nvidia]`.

comment 2mo ago · link · parent

Well done! Based on your last sentence, it's probably a good idea to do something very different for a little while

comment 2mo ago · link · parent

I was wondering what projection this "actually" was, but "The Ewual Earth map projection" is its own thing: https://en.wikipedia.org/wiki/Equal_Earth_projection

comment 2mo ago · link · parent

I love this little fzf bash function that I wrote a few years ago: https://gist.github.com/thomasaarholt/141df779f3f16b641701b4...

It opens a fuzzy finder window showing the branches you have in the repo, sorted by recency. Also shows the latest committer and the date. Hit enter on the one you want to swap to it.

comment 3mo ago · link · parent

What are good alternatives when you need a common "single source of truth" schema shared between multiple languages? We use protobuf between c# and Python.

comment 3mo ago · link · parent

Could you explain more about what "straightening the neck" entails in terms of exercise? I'm interested.

comment 3mo ago · link · parent

Wow! This looks really cool! Looking forward to playing more with this?

comment 5mo ago · link · parent

Great response! I'm just a layman here (former material scientist) but it's fun to think about this stuff!

comment 5mo ago · link · parent

You mean the argon gas used as medium specifically? I assume the purge gas is something else, cheaper?

comment 5mo ago · link · parent

Sorry, I guess. There were no comments here after a couple of hours and I literally felt bad, so I commented without being very exact in my writing. Regardless, great job, and thank you.

comment 5mo ago · link · parent

This is extremely cool reading! I'm impressed that they actually fined Elkjøp (as they should!) but very surprised that they didn't keep you informed!

Thank you for sharing!

comment 5mo ago · link · parent

This is literally what talaas has done with chatjimmy.ai.

Try it, it's llama 3.1 8B at 16000 tokens per second.

chatjimmy.ai https://taalas.com/the-path-to-ubiquitous-ai/

comment 5mo ago · link · parent

It is SO NICE to see people working on making fast, nice-to-use tools. It's a lovely experience to use diffshub. Thank you for creating it, and than you for the great write-up! (I made it "that far" )

comment 6mo ago · link · parent

Have you split your 100k loc codebases into smaller crates? If you take a look at eg gitoxide's repo, they've split it in many smaller crates. I think that might help with keeping the scope for the ai small and maybe help with keeping contracts tight and well-defined.

comment 8mo ago · link · parent

You could probably use just an X-scanner, and instead of a CCD line sensor, use a regular 2D image sensor if you used a "1 pixel wide" slit aperture to crop the image perpendicularly to the direction that the prism disperses the light. So instead of a single pixel being dispersed, you disperse a line.

You would reduce the time required by the root of the number of pixels you want (assuming a square image).

(This is what we do in momentum-resolved electron energy loss spectroscopy. In that situation we have electromagnetic lenses that focus the electrons that have been dispersed, so we don't have as bad a chromatic aberration problem as the other response mentions).

I would love to see e.g. a butterfly image with a slider that I could drag to choose the wavelength shown!!

comment 8mo ago · link · parent

This is called chromatic aberration, for those who are intrigued.

Given that regular phone cameras have sensors that detect RGB, I wonder if one could notice improved image sharpness if one had three camera lenses (and used single-color sensors) next to one another laterally, with a color filter for R, G and B for each one respectively. So that the camera could focus perfectly for each wavelength.

comment 8mo ago · link · parent

This is very interesting, but like sibling comments, I'm very curious as to how you run this in practice. Do you just tell Claude/Copilot to do what you describe?

And do you have any prompts to share?

comment 8mo ago · link · parent

I used it to map out storage locations and refill stations at our online grocery picking stations, then export it to read in using geopandas in order to calculate the shortest distances between all locations!

comment 8mo ago · link · parent

I get it but I think you're essentially saying "I learnt it this way and it's hard to change once I learnt it that way". My argument is that "when teaching others, it's better to teach them to use switch and restore rather than checkout".
12345