We know the algorithm is dumb and needs massive improvements, but at least you can see us struggle to make it better in real-time and with transparency.
No other social media companies do this.
Wow, after 14 years of being a software developer I would have never guessed in a million years that writing, specs, and ideas would be the bottleneck for my expressivity and output.
But here I am, 5 agent loops running in perpetuity, spending 100% of my time finding the fastest and most optimal ways to generate specs for my next dozen agent loops.
And I'm realizing that the process of getting thoughts out of my head and into proper specs is an art in and of itself. And finding new and better workflows for this process is completely new and uncharted territory, there are no "best practices" because the tooling, techniques, and design space improves and expands every hour.
Kultusminister beschließen KI-Empfehlungen für Schulen – und stellen Lehrkräften automatisierte Korrekturen in Aussicht https://t.co/gYoUCdsFC3 via @News4teachers
ORMs aren't the problem. Developers misusing them are.
How often do you see ORMs taking the blame?
If you don't understand SQL (or any other database), that's on you.
But if you master the database fundamentals, you can make the most out of an ORM.
Here's a simple example with EF Core:
- Updating a set of notifications one by one
- Updating a set of notifications in bulk
Which one will be faster?
The one that has fewer round trips to the database, of course.
This is where the new EF bulk update shines.
You can write optimal UPDATE and DELETE queries now.
You can only execute one SQL statement instead of executing many SQL statements on the database.
But even this approach has some hidden problems you must know about: https://t.co/H54zubaZ5n
Have you used EF bulk updates (or deletes)?
---
Do you want to simplify your development process? Grab my free Clean Architecture template here: https://t.co/8nLTz5cnip
So many people are confused about the relation between human cognitive errors and LLM hallucinations that I wrote this short explainer:
Humans say things that aren't true for many different reasons
• Sometimes they lie
• Sometimes they misremember things
• Sometimes they fail to think through what they are saying
• Sometimes they are on drugs
• Sometimes they suffer from mental disorders
etc
LLMs errors result from 𝙖 𝙙𝙞𝙛𝙛𝙚𝙧𝙚𝙣𝙩 𝙪𝙣𝙙𝙚𝙧𝙡𝙮𝙞𝙣𝙜 𝙥𝙧𝙤𝙘𝙚𝙨𝙨. They don't have (e.g.,) intentions, egos, or financial interests, so they don't lie. They don't take drugs. They don't have emotional states.
Instead, LLM "hallucinations" arise, regularly, because (a) they literally don't know the difference between truth and falsehood, (b) they don't have reliably reasoning processes to guarantee that their inferences are correct and (c) they are incapable of fact-checking their own work. Instead, everything that LLMs say -- true or false -- comes from the same process of statistically reconstructing what words are likely in some context. They NEVER fact-check what they say. Some of it is true; some is false. But even with perfect data, the stochastic reconstructive process would still produce some errors. The very process that LLMs use to generalize also creates hallucinations. (In my 2001 book I explain what a different generalization process might look like.)
§
Importantly, the goal of AGI is not to recreate humans; we don't want AGI to lie or suffer from psychiatric disorders, for example. Rather, the goal of AGI should be to build machines that can reliably reason and plan about a wide swathe of the world. The fact that humans sometimes make errors, sometimes deliberately, sometimes accidentally, in no way takes away from -- or repairs -- the limitations of the current approach.
The field of AI will eventually do better, but probably with an AI that is structured differently, in which facts are first-class citizens, rather than something you hope you might get for free with enough data.
TL;DR: Don't console yourself with making something that superficially looks like human errors, if you aspire to AGI.
This is mind blowing.
This AI can make single image sing, talk, and rap from any audio file expressively! 🤯
Introducing EMO: Emote Portrait Alive by Alibaba.
10 wild examples: 🧵👇
1. AI Lady from Sora singing Dua Lipa