programmarchy
Joined 1,886 karma
- programmarchy parentFastAPI -> OpenAPI -> openapi-typescript
- Academia is more than a transaction. It's a social good. One that's also subsidized by the US taxpayer.
- Compile step makes things more complicated.
- I spent some time attempting to "derive" a theme given a primary and secondary color, but realized my color theory wasn't strong enough to build something reliable (I tried with both hsl and oklch). Curious if that's really possible.
- PDF is arguably a confusing format for LLMs to read.
- Exactly what came to mind for me as well. Information is a difference that makes a difference.
- An analogy
Statement: Statistically, seatbelts reduce the chances you’ll die in a car accident.
You: But, what if your car crashes into a lake and you get trapped underwater?
- This proves the GPs point about saving energy. Think about how inefficient it would be for each individual to create their own transcript via an LLM.
- Would it be possible to embed Bitrig in an existing app? Similar to how you might embed React Native into a portion of your app to accelerate development in a specific area, it’d be awesome to preserve the mature areas of our apps and use Bitrig to quickly iterate on new features.
- One of the core things Node.js got right was streams. (Anyone remember substack’s presentation “Thinking in streams”?) It’s good to see them continue to push that forward.
- This sounds like a breath of fresh air as a disenchanted Spotify user. My only hesitation is that I’ve lost touch with collecting music. I used to rip CDs and download music and curate a library etc, but I’ve lost my collection and collecting habits since adopting streaming. How do people collect music nowadays? Is there a legit way (fairly compensating artists) to do it?
- For most APIs that doesn’t deliver any value which can’t be gained from API docs, so it’s hard to justify. However, these days it could be very useful if you want an AI to be able to navigate your API. But MCP has the spotlight now.
- With 5M you can get white hat audits. Even big boys like Okta have had serious fuckups [1].
[1] https://trust.okta.com/security-advisories/okta-ad-ldap-dele...
- shadcn distribution model for utils is a good idea. i wanted something for react hooks as well and was surprised that didn’t seem to exist either.
- Wow, this looks awesome. Been using Temporal, but this fits so perfectly into my stack (Postgres, Pydantic), and the first-class support for DAG workflows is chef's kiss. Going to take a stab at porting over some of my workflows.
- Seems like you should be correct. A shadcn button is just react, tailwind, and @radix/react-slot. But if you simply create a new shadcn Next.js template (i.e. pnpm dlx shadcn@latest init) and add a button, the "First Load JS" is ~100kB. Maybe you could blame that on Next.js bloat and we should also compare it to a Vite setup, but it's still surprising.
- With OpenAI models, my understanding is that token output is restricted so that each next token must conform to the specified grammar (ie json schema) so you’re guaranteed to get either a function call or an error.
Edit: per simonw’s sibling comment, ollama also has this feature.
- Okay, that makes sense. I thought they could just log in to a dummy site, not that it was proxying requests through to a real site. Yikes.
- I’m missing something. If WebAuthn is “ssh for the web” then why would it matter if Bob was phished and logged into the fake crypto portal running on the raspberry pi? It’s not like the attacker now knows his private key. Is the danger that Bob also would share his crypto wallet keys with the fake site or something?
- He paid 75K which is not bad though.
- CoreVideo and CoreAudio are both implemented in C on Apple systems. There are higher level APIs like AVFoundation implemented in Obj-C/Swift, but the codecs themselves are written in C. Even the mid-level frameworks like AudioToolbox and VideoToolbox are written in C. I’m not as familiar with Microsoft but imagine it’s similar.
Also the article doesn’t actually mention OOP. You can use polymorphism without fully buying into OOP (like Go does).
The great thing about C is its interoperability, which is why it’s the go to language for things like codecs, device drivers, kernel modules, etc.
- For one, ffmpeg is 9 years older than Go. Plus, when dealing with video files a garbage collected language probably isn't going to cut it. C++ and Obj-C also feel overkill for ffmpeg.
- Right, and if US made a deal with Russia to cease their support for Iran, then they become much more vulnerable to an attack by Israel and US.
- One explanation would be an agreement with Putin softening support for Iran in exchange for US softening support for Ukraine.
- Glad to hear this. I’m planning to use Vault in a new project that has sensitive security concerns. I liked Hashicorp’s concept of “encryption as a service” as a way of protecting engineering teams from cryptographic footguns.
- I’m not super familiar with browser notifications, but I want to use them in my next project. Does this library make it easy to add push notifications to my web app similar to airship for mobile app push notifications?
- Great post. I discovered SSE when building a chatbot and found out it’s what OpenAI used rather than WebSockets. The batteries-included automatic reconnection is huge, and the format is surprisingly human readable.
- Is anyone using Prometheus / Grafana for LLM metrics? Seems like there’s a lot of existing leverage there. What makes LLM metrics different than other performance metrics? Why not use a single system to collect and analyze both?
- Don't see a problem with YC "dutching" and spreading their bets across multiple forks/teams.
- It's not an either-or, though, is it? Why can't we both improve developing the native population and siphon the best and brightest from everywhere else?