tomblomfield

Joined 15 years ago

Karma
2,573
Submissions
350
Member since
Feb 18
Y Combinator visiting group partner.

Previously cofounder of Monzo & GoCardless.

View on Hacker News

Recent submissions

Comment · 1 year ago
I recently started using Aqua and it's great. The team really improved the latency in the last few weeks.
Comment · 1 year ago
Ok it's mostly back online!
Comment · 1 year ago
Since I wrote the blog post, I actually added automated tests which Windsurf / Claude Code runs before committing any change. It saved me a lot of headaches when the LLM decided to make random logic changes for no reason.
Comment · 1 year ago
I'm scaling the heroku database right now, which caused a little bit of downtime :-/
Comment · 1 year ago
Comment · 1 year ago
Comment · 1 year ago
Hands-free voice control and being able to access recipe ingredients and steps without 5 pages of SEO-optimised prose.
Comment · 1 year ago
Afraid I have a day job, so I will politely decline your kind invitation
Comment · 1 year ago
Basically you declare to the AI which functions (tools) are available for it to call: https://platform.openai.com/docs/guides/function-calling?api...

Then you handle those function calls in your javascript.

``` if (function_name === 'search_recipes') { const searchParams = new URLSearchParams();

      if (args.name) searchParams.set('name', args.name);
      if (args.difficulty) searchParams.set('difficulty', formatDifficulty(args.difficulty));
      if (args.min_duration) searchParams.set('minDuration', args.min_duration.toString());
      if (args.max_duration) searchParams.set('maxDuration', args.max_duration.toString());
      if (args.tag) searchParams.set('tag', args.tag);
      
      // Handle ingredients array correctly - the search page expects ingredients[]
      if (args.ingredients && args.ingredients.length > 0) {
        // Clear any existing ingredients
        searchParams.delete('ingredients[]');
        
        // Add each ingredient individually with the correct array notation
        args.ingredients.forEach((ingredient: string) => {
          searchParams.append('ingredients[]', ingredient);
        });
      }
      
      const queryString = searchParams.toString();
      const url = queryString ? `/search?${queryString}` : '/search';
      
      navigate(url);
      return;
    }
    
    // start_cooking function
    if (function_name === 'start_cooking') {
      // First check if we have an onStartCooking callback registered
      if (callbacksRef.current.onStartCooking) {
        callbacksRef.current.onStartCooking();
        return;
      }
    }
```
Comment · 2 years ago
W
Comment · 2 years ago
Yeah I think you have to change the traffic laws for that to happen.

AFAIK, they strictly follow the speed limit, which feels too slow when everyone else is speeding.

Comment · 2 years ago
My Ubers often smell very strongly of the food the driver has been eating.

The driver is often on a call for the entire journey, which is annoying.

It’s often much colder or warmer than I’d ideally like.

An extreme case, but I once had a driver stop a ride, jump out of the car and pull the driver out of the car in front. They proceeded to have a fist fight. The other guy had honked at him for blocking the road or something.

I’d much prefer a computer to drive me around.

Comment · 2 years ago
I’m a big Waymo fan. Some of my thoughts;

Waymos are one of the first things that my visitors to SF want to try. It feels like living in a science-fiction future.

The ride and navigation feels very smooth - after the novelty of having no driver in the front seat wears off, you become accustomed to the experience surprisingly quickly. In comparison, I found the Cruise driving experience pretty uncomfortable and stress-inducing.

The app and software inside the vehicle is really well-designed. Which is unusual for a google consumer product!

And my female friends, in particular, far prefer Waymo to Uber or Lyft because they don’t have to engage with a creepy driver trying to hit on them.

I, for one, welcome our new self-driving overlords.

Comment · 4 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton