News for hackers. Stuff that matters.

rahulrav

Show HN: Animating code snippets from first principles

If you've ever tried using Apple Keynote's "Magic Move" to transition between two code snippets during a presentation, you know the pain.Here is how I ended up solving the problem from first principles, by using an algorithm from 1978.https://rahulrav.com/blog/magic_move.html

( Read More... | no comments | on HN )
Re:OpenClaw Is Changing My Life on Sunday February 08, 2026 @05:38PM (#46939303)
Also the same author:

> Generally, I believe (Rabbit) R1 has the potential to change the world.

There is a pattern here.

Re:I canceled my book deal on Wednesday December 31, 2025 @03:26PM (#46447932)
I would have purchased your book ! I just wanted to say thank you for writing (your blog). It is a joy to read.
Thanks for your kind words and the tip about using canonical names. Will take a look.
Based on my cursory look at `libremarkable`, the SDK looks a lot more capable. You will need to port the code from Python though :/
No, that is what looked okay to me. The font sizing on the Calendar is customizable.

You can also side load custom fonts. I am going to look into this, because the default fonts are a bit meh.

Thanks ! Happy to be able to nudge things along
I started to work on this, because this is something I hoped existed. If there is enough interest, I am open to commercializing it. Its super easy to setup, especially given all my code is already open source :)
Re:Bokehlicious Selfies on Saturday March 28, 2020 @05:53PM (#22714598)
Thanks for the feedback. Let me fix that.
Re:Bokehlicious Selfies on Saturday March 28, 2020 @01:02AM (#22709329)
I agree. My goal here was to get something that look like bokeh if you squinted at it.

I just wanted to see how far I could take this idea.

Re:Bokehlicious Selfies on Friday March 27, 2020 @10:52PM (#22708790)
Yes. That is correct.
Re:Bokehlicious Selfies on Friday March 27, 2020 @10:52PM (#22708786)
Yes. That is correct. Just wanted to see if the idea in my head actually worked. I was surprised by how decent it turned out especially given that I did not do anything “clever”.
Re:Bokehlicious Selfies on Friday March 27, 2020 @10:50PM (#22708779)
It’s a simple Gaussian kernel multiplied with a triangular mask.

You can do better by playing with intensities of pixel values as suggested in the article I linked.

Re:Bokehlicious Selfies on Friday March 27, 2020 @08:47PM (#22708217)
This is a quick proof of concept of an idea. This won't work for every use-case but it worked surprisingly well for a use-case I had in mind. Happy to answer any questions.
Re:Bokehlicious Selfies on Friday March 27, 2020 @08:44PM (#22708198)
Thanks so much !
Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @10:11PM (#20475677)
Yes. Join the Slack channel. We can help you out if you have questions.
Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @07:02PM (#20474816)
The rules of the race are that you can't cut corners from inside the track. Going out of the track is a natural penalty, so it's allowed. The car actually slows down a bit.

The ML algorithm being used is called behavioral cloning (and it's cloning me). It's just that I am a pretty rusty RC car driver :)

Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @06:12PM (#20474430)
JetsonHacks is pretty great.
Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @11:16AM (#20470682)
The first time I was building Donkey for an entirely new (and previously unsupported) SBC - the Asus Tinkerboard S. I was also unfamiliar with how everything was put together.

The second time was a breeze. Jetson Nano runs Ubuntu so getting everything to work was relatively easy.

Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @10:41AM (#20470292)
My first car took about a week. The second one took a day. The total BOM was around 400$.

Note: I am not great with hardware.

Re:Adventures Building a Self-Driving RC Car on Thursday July 18, 2019 @10:39AM (#20470269)
Apologies. This is a new blog I am working on. Will fix it.
Re:Sign In with Apple [video] on Saturday June 08, 2019 @12:56AM (#20130725)
They already don’t show up if you use fragment URIs. The real issue I have is that the OAuth2 spec covers all this and we don’t have to rehash this every time a new IDP creates an Auth system.

No. The final post is not made by the client and a server has to handle the request. Webapps cannot handle POST requests from an Authorization server.

Older »