Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EGreg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
751.
▲
by
EGreg
1y ago
Yes, if you really want to show something as ambitious as a sum of a million rows, then you should absolutely move to an event-based, push-based architecture. Because once you’ve calculated the sum, the least work you would need to do is to
752.
▲
by
EGreg
1y ago
Simple. Use the principles I said above, for distributed and asynchronous systems. The SQL server should have a way to do pubsub. It can then notify your PHP webhook via HTTP, or run a script on the command line, when a row changes. It shou
753.
▲
by
EGreg
1y ago
Yes, they are cache systems. And as you say, they can be used for caching. Caching systems know when something needs updating several ways. One is pubsub: When the information is loaded from the cache, you want to set up a realtime websocke
754.
▲
by
EGreg
1y ago
Yes, I have. I've actually built a general-purpose cache system. Several, in fact: Here's one for PHP: https://github.com/Qbix/Platform/blob/main/platform/classes/... And here is for
755.
▲
by
EGreg
1y ago
I never understood about cache invalidation or naming things Both are not that difficult, honestly. Aren’t there a lot harder things out there
756.
▲
by
EGreg
1y ago
This reminds me of how we have articles and handwringing about “our soldiers were attacked” in a country they had no authorization to even be. It is never discussed what they were actually doing there, but this is usually framed as in “we n
757.
▲
by
EGreg
1y ago
Yes, I hope it was a trend. People were judging me when I first started using it over 10 years ago.
758.
▲
by
EGreg
1y ago
Explain how AGPL would prevent AI from being trained on it or AI-generated code competing with it. I have used AGPL for a decade and still not sure.
759.
▲
by
EGreg
1y ago
Is it just me, or has anyone also noticed that trees in southern climates closer to the equator (not jungles) have very few leaves and shade as opposed to trees in climates away from the equator (not tundras)? What happens if you import nor
760.
▲
by
EGreg
1y ago
Whoa … you can use various unicode characters in titles on HN?
761.
▲
by
EGreg
1y ago
If your task fails, yet you sent an email that it succeeded, that is bad. You should wait until all your subtasks finish before sending the email. Async subtasks typically ARE i/o, whether over a network or not. The email shouldn'
762.
▲
by
EGreg
1y ago
The advantage is simple If any of the required subtasks fail, you don’t do the side effects. You ROLLBACK.
763.
▲
by
EGreg
1y ago
It does. You queue ALL of these side effects (simply tasks whose exceptions don't rollback your own task) until the end. Then you can perform them all, in parallel if you wish.
764.
▲
by
EGreg
1y ago
well, that's partially true the caller is itself a task / actor the thing is that the caller might want to rollback what they're doing based on whether the subtask was rolled back... and so on, backtracking as far as needed i
765.
▲
Future of post-open-source? Considering a "source-visible, non-runnable" license
1 points
by
EGreg
1y ago
|
0 comments
766.
▲
by
EGreg
1y ago
What about pairing this with BigBird and Mamba?
767.
▲
by
EGreg
1y ago
Boom, this. Institutions that prepare people for future jobs have an even harder time to justify what they’re doing than the people who are looking for jobs right now. It’s just inertia at this point. Not to mention that AI can educate the
768.
▲
by
EGreg
1y ago
Wow, this is fantastic. I have been searching for a tool that would let me output videos like that. I was going to create a javascript-based version of FCP to essentially implement the keyframes and transitions with arbitrary videos from yo
769.
▲
by
EGreg
1y ago
When I speak to ChatGPT and other LLMs, I am mindful of the profile they build on me and what I ask about. And even how I ask it. It is the same as I have been doing for 15 years on public social media.
770.
▲
by
EGreg
1y ago
“Freedom of speech” in politics
771.
▲
by
EGreg
1y ago
Throughout most of human history we have had less than a billion people. More people are alive today than have ever lived. And you are concerned that the population will drop by a half? Everyone will be richer and better off. The amount of
772.
▲
by
EGreg
1y ago
Why would you need to carefully review code? That is so 2024. You’re bottlenecking the process and are at a disadvantage when the AI could be working 24/7. We have AI agents that have been trained to review thousands of PRs that are pr
773.
▲
by
EGreg
1y ago
I vibe-coded my own MySQL-compatible database that performs better than MariaDB, after my agent optimized it for 12 hours. It is also a time-traveling DB and performs better on all benchmarks and the AI says it is completely byzantine-fault
774.
▲
by
EGreg
1y ago
Yeah dude, seriously… Linear interpolation on small intervals is like, a model of a model. And that’s exactly what differentiable functions are, anyway. And if you want to be fancier then sample the model and fit some polynomials to interpo
775.
▲
by
EGreg
1y ago
Not necessarily. It's like the Generative Adversarial Network (GAN). You don't just trust the generator, but it's a back-and-forth between the Generator and Discriminator.
776.
▲
by
EGreg
1y ago
Why don’t you automate this checking with AI? You can then cover hundreds of PRs a day.
777.
▲
by
EGreg
1y ago
I've been saying this for years. It's curious that 90% of the top-level comments here are all dismissing it outright. And we have the usual themes: 1) "This has always been possible before. AI brings nothing new." 2) &qu
778.
▲
by
EGreg
1y ago
What about vector databases? Cosine similarity search
779.
▲
by
EGreg
1y ago
What is The Economist’s position on carbon taxes? Update: wow you’re right: https://impact.economist.com/sustainability/net-zero-and-ene...
780.
▲
by
EGreg
1y ago
The Jim Cramer of macroeconomics? :)
More ›