Better HN
topnewbestaskshowjobs
Log inSign up

kabirgoel

127 karma · joined Feb 19, 2020 (6y ago) · 53 submissions

member of technical staff @ cartesia https://kabirgoel.com
Submissions

1.

Kickbacks: An ad marketplace for coding agent spinners(twitter.com ↗)

15 points · by kabirgoel · 5mo ago · 2 comments

comment 10mo ago · link · parent

https://kabirgoel.com

comment 12mo ago · link · parent

My team has been using it in prod for about a year now. There were some minor bugs in the runtime's implementation of buffers in 1.22 (?), but that was about the only issue we ran into.

The nice things:

1. It's fast.

2. The standard library is great. (This may be less of an advantage over Deno.)

3. There's a ton of momentum behind it.

4. It's closer to Node.js than Deno is, at least last I tried. There were a bunch of little Node <> Deno papercuts. For example, Deno wanted .ts extensions on all imports.

5. I don't have to think about JSR.

The warts:

1. The package manager has some issues that make it hard for us to use. I've forgotten why now, but this in particular bit us in the ass: https://github.com/oven-sh/bun/issues/6608. We use PNPM and are very happy with it, even if it's not as fast as Bun's package manager.

Overall, Deno felt to me like they were building a parallel ecosystem that I don't have a ton of conviction in, while Bun feels focused on meeting me where I am.

comment 1y ago · link · parent

This is great. Poking into the source, I find it interesting that the author implemented a custom turn detection strategy, instead of using Silero VAD (which is standard in the voice agents space). I’m very curious why they did it this way and what benefits they observed.

For folks that are curious about the state of the voice agents space, Daily (the WebRTC company) has a great guide [1], as well as an open-source framework that allows you to build AI voice chat similar to OP's with lots of utilities [2].

Disclaimer: I work at Cartesia, which services a lot of these voice agents use cases, and Daily is a friend.

[1]: https://voiceaiandvoiceagents.com [2]: https://docs.pipecat.ai/getting-started/overview

comment 1y ago · link · parent

Correct. You can also share your location with friends. A lot of friend groups (at least my age) use Find My as a kind of social network.

comment 1y ago · link · parent

Guessing the shortcomings become starker if you’re spending lots of time in the codebase/building a company on top of it.

comment 2y ago · link · parent

I work at Cartesia, which operates a TTS API similar to Play [1]. I’d be willing to venture a guess and say that our TTS model, Sonic, is probably SoTA for on-device, but don't quote me on that claim. It's the same model that powers our API.

Sonic can be run on a MacBook Pro. Our API sounds better, of course, since that's running the model on GPUs without any special tricks like quantization. But subjectively the on-device version is good quality and real-time, and it possesses all the capabilities of the larger model, such as voice cloning.

Our co-founders did a demo of the on-device capabilities on the No Priors podcast [2], if you're interested in checking it out for yourself. (I will caveat that this sounds quite a bit worse than if you heard it in person today, since this was an early alpha + it's a recording of the output from a MacBook Pro speaker.)

[1] https://cartesia.ai/sonic [2] https://youtu.be/neQbqOhp8w0?si=2n1i432r5fDG2tPO&t=1886

comment 2y ago · link · parent

(Not the author but I work in real-time voice.) WebSockets don't really translate to actual GPU load, since they spend a ton of time idling. So strictly speaking, you don't need a GPU per WebSocket assuming your GPU infra is sufficiently decoupled from your user-facing API code.

That said, a GPU per generation (for some operational definition of "generation") isn't uncommon, but there's a standard bag of tricks, like GPU partitioning and batching, that you can use to maximize throughput.

comment 2y ago · link · parent

As someone who's attended events run by Daily/Kwindla, I can guarantee that you’ll have fun and leave with your IP rights intact. :) (In fact, I don't even know that they're looking for talent and good ideas... the motivation for organizing these is usually to get people excited about what you're building and create a community you can share things with.)

comment 2y ago · link · parent

Thanks for the shoutout! We're very excited about how this space is evolving and are working on new features and perf improvements to support experiences like this.

comment 3y ago · link · parent

Once you start following people the noise mostly disappears. Think the initial feed is a way for users to bootstrap their follow list.

comment 3y ago · link · parent

Zed has copilot support. I’ve been using it, and it works pretty well.

comment 3y ago · link · parent

> Most programming work is still text editing [...]

Text no longer needs to be the primary way of conveying programs. There are practical reasons text works best on screens, but if your coding environment is boundless then there’s no reason to believe you can’t do fancier things like direct manipulation of ASTs pretty easily. Imagine "grabbing" an AST node and attaching it to a different parent, all in space.

Beyond simple AST manipulation, the Vision Pro will probably enable Dynamicland-esque "programming spaces" where you manipulate objects in your virtual environment to construct programs.

comment 3y ago · link · parent

Ha, that turned out to be a pretty good prediction. Wonder what else can be gleaned from features in standard products.

comment 3y ago · link · parent

While OP could have worded their comment better, this is exactly the kind of thing that Swartz explicitly aligned himself against. [1]

It would be incredibly surprising for Swartz to have supported the kind of bait-and-switch tactics Reddit is employing here.

[1]: https://en.wikipedia.org/wiki/Guerilla_Open_Access_Manifesto

16.

Analyzing dependencies of JavaScript snippets(kabirgoel.com ↗)

1 points · by kabirgoel · 3y ago · discuss

comment 4y ago · link · parent

Agreed. I used Supabase for a fairly simple project and felt like I had to know a lot about Postgres to implement anything. If you’re building something yourself, I feel like Firebase is still the safer bet. I’m guessing Supabase really shines when you’re building a startup or have a team.

18.

Why don’t more apps leverage programming experience? (2021)(kabirgoel.com ↗)

2 points · by kabirgoel · 4y ago · discuss

comment 4y ago · link · parent

Fantastic game! Have you considered using the Bubble Tea [1] library?

I recently used Bubble Tea to write a Flappy Bird-like game [2] and it was incredibly fun. It splits your app up into a Model (state), a View function (that uses the model to return a string), and an Update function (that updates the model), like Elm. Plus the other Charm libraries are great for styling terminal output, spring physics, etc.

[1] https://github.com/charmbracelet/bubbletea [2] https://github.com/kbrgl/flapioca

comment 4y ago · link · parent

I’ve always found government codebases fascinating, since you can directly witness the intersection of code and law!

Also see this issue raised on the Public Sans repo, which claims the typeface (created by the American government) is unconstitutional:

https://github.com/uswds/public-sans/issues/31

comment 4y ago · link · parent

A pipe dream, or a dream pipe? :)

comment 4y ago · link · parent

Yep, although on HTTP/2 this shouldn't be an issue anyway.

comment 4y ago · link · parent

The argument this article makes is invalid. You’re missing out on a 100X investment opportunity in any bubble. The question isn’t whether you can make money off it—of course you can! The question is how soon the dumpster fire is going to explode into a full-blown trash tornado that eats up little Timmy’s college fund. If you’d bet on dotcom stocks back in 1998 you’d be 100X until suddenly you weren’t.

I also find the comparison to tech stocks odd. Stocks are, of course, a fever dream. But far fewer snake oil salesmen are marketing them as magical financial instruments with lofty safety guarantees. Besides, unlike the tech crash, a huge part of the lack of confidence in crypto right now is failed Ponzis like Terra Luna.

24.

Me, But Online: A collection of minimalist, original personal websites(mebut.online ↗)

3 points · by kabirgoel · 4y ago · discuss

comment 4y ago · link · parent

The transformer + vector search idea is incredibly fun and powerful. A couple years ago, I used it to build a search engine for news articles capable of surfacing related stories from any news outlet. I’m not surprised people are packaging it up into companies, since it’s a pain to roll it yourself.

comment 4y ago · link · parent

https://kabirgoel.com

I want to rewrite it in a hand-rolled Go stack, since Next.js feels very heavy for this kind of thing.

comment 4y ago · link · parent

Author here. You’re correct. I spent about 20 minutes mulling over whether to call it a transpiler for the purposes of the post, but "compiler" felt more appropriate. Technically, it could even be called a decompiler since it's going from low to high level. But ultimately even that's a compiler. :)

28.

I wrote a Brainfuck to Go compiler(kabirgoel.com ↗)

36 points · by kabirgoel · 4y ago · 22 comments

comment 5y ago · link · parent

Not GP, but I think they meant big fraction and mistakenly wrote small fraction. At least that’s the only way their comment makes sense to me.

30.

Opinionated by Default, Programmable by Design(kabirgoel.com ↗)

4 points · by kabirgoel · 5y ago · discuss

12