Every Way to Get Structured Output from LLMs
A survey of every framework for extracting structured output from LLMs, and how they compare.
The latest blog posts to take off on Hacker News. 5,273 posts.
A survey of every framework for extracting structured output from LLMs, and how they compare.
NOTE: This is based on, but completely rewritten, from a Twitter post:https://x.com/TheGingerBill/status/1802645945642799423TL;DR: It makes Go feel too "functional" rather than being an unabashed imperative language.I recently saw a post on Twitter showing the upcoming Go iterator design for Go 1.23 (August 2024)…
The fact that we can’t remove essential complexity with a software redesign doesn’t mean that there’s nothing we can do about it. What if the problem definition wasn’t outside of our purview? What if we could get the world to conform to the software, and not just the other way around?
You can just draw more samples
Learn about Cohere models' ability to perform multi-step tasks, enhancing productivity and efficiency.
Each of us individually is the accumulated product of thousands of generations that have come before us in an unbroken line. Our culture and technology today are also the result of thousands of years of accumulated and remixed cultural knowledge.
Stop Using Fandom 2024-06-16 fandom is a wiki website (allegedly) if you are unfortunate enough to browse a fandom wiki without an ad blocker, you will experience what i like to call "attention assault" upon opening a fandom page (for me, it was the hollow knight wiki), you will note the very subtle aroma of a 1/3…
[Update: Vote has been postponed to Thursday, keep up the pressure!] The Belgian EU Council presidency seems set to have bulk Chat Control searches of our private communications greenlighted by EU governments on Wednesday 19 Thursday 20 June. This confirms concerns that the proponents of Chat Con
We lost the female counterpart to Pac-Man in 2020, but Namco had been plotting her demise years beforehand.
In April 2024, I found and reported two critical bugs to Sei Network concerning their layer-1 blockchain. One of these issues impacted the chain’s availability, and the other its integrity. The Sei Foundation awarded me $75,000 and $2,000,000 respectively for these reports.
htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when…
Ask publishers to restore access to the 500,000 books they've caused to be removed from the Internet Archive’s lending library. Sign the Open Letter I’m Chris Freeland, a librarian at the Internet Archive. The lawsuit against our library—Hachette v. Internet Archive—is fast approaching the oral argument stage of its…
Anyone trying to make a new mainstream language is completely insane, unless they're backed by a large corporation. 0
The author discusses the React 19 change that went unnoticed until last week that could potentially degrade the performance of websites that rely React.
Apple II disk controller cards are weird, there are a crazy number of different types , and many are rare and expensive. Can an FPGA-based solution save the day for retro collectors? You bet! Nearly all the existing disk controllers connect the same 8-bit bus to the same 19-pin disk interface, so a universal clone is…
Mocking creates false security by testing isolation, not real behavior. Separate business logic from IO, use in-memory DBs, write server-side E2E tests instead.
by Felienne Hermans
〰️ it’s weird to look back; I sometimes get confused on how I got here 〰️ Most folks dream of being an entrepreneur; “a path that seemed inevitable“, they say. None of that shit applies to me. I’m only here cause I kept getting laid off and that nonsense infuriated me. I treated my first ... Read more
Image courtesy of UC Davis. Photographer: Don EdwardsJust in time for cucumber season, some news that surprises me. Did you know that you should store cucumbers at room temperature?Credit for my enlightenment goes to UC Davis.
To ensure our mission always comes first, Proton is transitioning to a non-profit structure and formalizing our promise of people before profits.
A high-performance and high-level purely functional data-parallel array programming language that can execute on the GPU and CPU.
A cartel of superstars has conquered culture. How did it happen, and what should we do about it?
Mozilla has acquired Anonym, a trailblazer in privacy-preserving digital advertising. This strategic acquisition enables Mozilla to help raise the bar for
Giving a talk is a lot like selling a car. Take them for a test drive, don’t read them the owner’s manual.
Need to schedule tasks in PostgreSQL? Compare pg_cron for simple in-database scheduling with pg_timetable for complex workflows and multi-cluster orchestration.
A few weeks ago I was roasting some pumpkin for a delicious soup and towards the end of the cooking time the fan on the oven started into overdrive, making a lot of noise then it started beeping and p…
In his book On War, Clausewitz defines friction as the difference between military theory and reality: Thus, then, in strategy everything is very simple, but not on that account very easy. Everything is very simple in war, but the simplest thing is difficult. These difficulties accumulate and produce a friction, which…
Between our ESP32 prokaryotic organisms and our 24/7 Internet-enabled megafauna servers, there exists a vast and loosely-defined ecosystem of things the B2B world likes to call computer appliances. Picture a bespoke Pi 4 packaged up neatly with some Python scripts, a little fancy plastic embossing, and maybe a…
Haskell is a programming language invented sometime in the 20th century by Scottish logicians as a prank. ¹ Fifteen years or so ago, for reasons I can no longer remotely recall, I started learning Haskell. Now, I have finally written a useful program in Haskell, and I am pretty sure I can do it again, if I ever need…