November 2024
Nov. 3, 2024
🔗 Andressen and Horowitz on AI Robots (#). In this discussion between Andreessen and Horowitz, they pointed out that we are on the verge of embodied AI being a generally useful too. My key takeaway was this:
General purpose robots could do everything from be assistants in your home, build houses, fight wars, etc. This is being made possible by all the software advances in AI in addition to the hardware advances in actuators, batteries, and vision systems.
The U.S. currently leads on the software side of AI, but China has a significant lead on the hardware side. The U.S. has basically made manufacturing illegal in the U.S. through environmental regulation, minimum wage requirements, and unions so U.S. companies have outsourced more advanced hardware to China. Now more than ever, with our strained relationship with China, we need to build these capabilities in the U.S. and at the same time U.S. regulators have their eyes on regulating the software AI capabilities.
🔗 Emoji Favicon (#). When building a new site, populating the favicon is more annoying than it should be. It’s something I often put off. But this site will serve you any emoji as a favicon.
🔗 Fair Source (#). I’ve been keeping an eye on this initiative started by Sentry. One of the most common ways I see product companies utilizing open source is to release their software via open source and then make money by running a paid version of the service for people who don’t want to self-host.
With this approach, it can undermine your business strategy if someone else decides to run a competing version of your hosted service using your open source software. I believe this was Sentry’s primary motivation. I’ve also seen talk of Business Source License (BSL) but am unsure of the difference between this and Fair Source. Some day I may dig into this.
🔗 SQLite now runs on Cloudflare edge (#). There is so much innovation happening with SQLite these days and now it appears that Cloudflare lets you run it at edge nodes. I don’t quite understand the significance of this, but now I don’t have to think of Cloudflare as a way to help handle large spikes in traffic to static pages. Simon Willison elaborates on this development.
🔗 Automating app development with LLM (#). I keep automating more of my day-to-day programming using various tools, and this guy did a clever wrap around LLM. He writes a unit test in python, passes it to LLM, and it writes the code necessary to get the test to pass. This technique could prove useful for what I want to do with rails development.
🔗 Using LLM to process video (#). I have done a lot of experimenting with passing screenshots into an LLM to give it additional context, but I really want to try passing video directly into the LLM. I believe Gemini is the only one that supports it. This is a summary of Simon Willison’s recent experiment with Gemini for video.
🔗 Jina AI tool for simplifying webpages (#). This is a really handy tool for simplify a webpage before passing it into an LLM. It turns HTML into semi-structured markdown.
Nov. 13, 2024
🔗 The first state-of-the-art coding LLM that runs locally (#). This Qwen2.5-Coder-32B should run locally in about 20-30 gb of ram and assessments show it to be better than 4o at coding but not quite as good as Claude 3.5.
Nov. 26, 2024
💡 TIL: NASA’s Dragonfly probe to Saturn’s Titan in 2028 #
In 2028 NASA is launching a spacecraft to Saturn’s moon Titan to study its habitability in a mission named Dragonfly. It will land in 2034. They’re sending a drone powered by a radioisotope thermoelectric generator so they can visit a variety of sites. Titan is notable because it’s believed to have a similar chemistry to ancient earth. Past probes have measured the contents of the atmosphere and confirmed it contains a mix of hydrocarbons. The surface contains a lot of water ice and scientists believe there is a water ocean in the interior of the moon.
🔗 Vampire game based around AI voice: SUCK UP! (#) This is one of the best examples I’ve seen of games creatively incorporating LLMs. You are a vampire character, you walk up to houses in a neighborhood and as the player you actually talk aloud to your computer and the NPCs talk back. You have to convince these NPCs to let you into their house.
🔗 Rails web-based database admin (#). A rails gem that gives you a web-based interface to your database.
💡 TIL: Rails ActiveRecord has a .sole method #
I just learned about `sole` and `find_sole_by`. They ensure that only a single record is returned and will raise if there is something other than one. It’s the equivalent of:
api_keys = user.api_keys.where(key: key) if api_keys.length == 1 api_key = api_keys.first elsif api_keys.length == 0 raise "No records found!" else raise "More than one matching record found!" end
💡 TIL: pick is the single-value version of pluck in Rails #
Instead of doing
Messages.pluck(:user_id).firstyou can do
Messages.pick(:user_id)