| ▲ | Sean-Der 4 hours ago |
| Very grateful that OpenAI published the article/publicized their usage of Pion[0] a library I work on. If you aren't familiar with WebRTC it's a super fun space. I work on a book WebRTC for the Curious [1] that details how it works. [0] https://github.com/pion/webrtc [1] https://webrtcforthecurious.com |
|
| ▲ | ericmcer 2 hours ago | parent | next [-] |
| I use pion thanks for making it! Curious if you thought their approach was necessary, it seemed like a ton of complexity to reduce one of the faster parts of a voice AI setup. Having a fast model and accurate VAD seems way more important than fine tuning WebRTC transit times. |
| |
| ▲ | Sean-Der 2 hours ago | parent [-] | | Thanks for using it :) I think It’s a case of you improve what you own. The owners of WebRTC servers were aggressively improving their part. They don’t own the inference servers. |
|
|
| ▲ | aleda145 3 hours ago | parent | prev | next [-] |
| Appreciate you putting the entire book online! I read parts of it a while ago when I had an idea on using webRTC data channels to pass data from databases to browser clients via a CLI. Your book made me understand that it's probably not a great fit for my use case. I just used a centralized control plane and websockets instead. I still feel like there is something fun that we can do with webRTC data channels + zero copy Apache Arrow arraybuffers + duckdb WASM, but haven't figured it out yet |
| |
| ▲ | Sean-Der an hour ago | parent | next [-] | | Thanks for reading it! You can't beat Websockets :) Especially since you have so much tooling/existing stuff that works with HTTP. I have been trying to get a website off the ground that does Datachannels + SQlite in the browser and then users sync between each other. I have gotten distracted so many times though. | |
| ▲ | oezi 2 hours ago | parent | prev [-] | | What is preventing the fun is that even though we now have IPv6 widely enough available we still can't have p2p connections in the browser without a cumbersome control plane of servers. If you could join a federation in the browser from some bootstrap IPs then I think we could have some real distributed fun. |
|
|
| ▲ | ryanar 40 minutes ago | parent | prev | next [-] |
| I used pion and it was fantastic. Most of the article seems pretty standard webrtc techniques for performant voice. |
|
| ▲ | dtran 4 hours ago | parent | prev | next [-] |
| Thanks for WebRTC for the Curious and for Pion! Not using the latter directly, but have used both to better understand WebRTC |
|
| ▲ | thatxliner 4 hours ago | parent | prev | next [-] |
| slightly unrelated but what’s with storing the entire codebase in the root directory instead of a nested src folder? It makes getting to the README a lot more difficult |
| |
| ▲ | nemothekid 4 hours ago | parent | next [-] | | Thats the default for go projects. Go imports are repository strings (e.g.): import ("github.com/go-sql-driver/mysql")
so it's standard to have the library files in the root directory. | |
| ▲ | a456463 4 hours ago | parent | prev [-] | | This is valid criticism. Go fanbois don't like listening to any go criticism. They were all like who needs templates in go. and now go has templates. To me go code looks like somebody vomitted stuff in the root dir and i have to wade through that every time. No namespacing. nothing | | |
| ▲ | idiotsecant 19 minutes ago | parent | next [-] | | Ok... The question was why is it like that. The answer is because it's in go. Nobody was anything other than civil before you neckbearded in here. Chill. There's a sane way to say what you said. | |
| ▲ | junon 3 hours ago | parent | prev | next [-] | | I don't like go as a personal preference but reducing them to "fanboys" is a bit reductive. I'm sure the same could be said about your own favorite language. | | |
| ▲ | altmanaltman 3 hours ago | parent [-] | | Is it reductive when its describing a group of people that like something and refusing to hear any ill of it? The comment wasn't
shade at people using the language in general. And you're right, fanboys are in every language. But resorting to changing the argument by whataboutism is a bit reductive. | | |
| ▲ | simondotau 2 hours ago | parent [-] | | I’m not a go fanboy, but I do know from other contexts that so-called “fanboy“ behaviour is frequently associated with level-headed supporters getting defensive in the face of imprecise criticism. There’s an oft-repeated pattern where valid specific criticisms morph into broad criticism, which morphs into judgement, which breeds defensiveness, which feeds the criticism. Once you recognise this pattern, you see it everywhere. |
|
| |
| ▲ | 3 hours ago | parent | prev | next [-] | | [deleted] | |
| ▲ | 3 hours ago | parent | prev [-] | | [deleted] |
|
|
|
| ▲ | haaz 3 hours ago | parent | prev [-] |
| Only a software dev would start their referencing at 0 lol |
| |