Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dagss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
dagss
10mo ago
I am making an app now that is specifically designed for tablets. Users are firefighters / incident response. Failsafe and get the job done with a minimum of room for uncertainty and fuzz is much much more important than looks. So when
92.
▲
by
dagss
10mo ago
Unless you do substinence farming, you would not last a month without "shared delusions" in place to make sure farmers supply you with food, getting nothing in return except a promise that they can go somewhere to pick up somethin
93.
▲
by
dagss
10mo ago
Sure. But in addition to copyright you might add the concept of money, or the concept of any property rights and ownership of physical things, and... Calling such things "shared delusions" is missing the point...it's not that
94.
▲
by
dagss
10mo ago
I feel the link between humans and autocomplete is deeper than that an ability to predict. Think about an average dinner party conversation. Person A talks, person B thinks about something to say that fits, person C gets an association from
95.
▲
by
dagss
10mo ago
The point is how closely located data you access often is. If data is roughly sorted by creation time then data you access close to one another in time is stored close to one another on disk. And typically access to data is correlated with
96.
▲
by
dagss
10mo ago
I think most people treat them like humans not computers, and I think that is actually a much more correct way to treat them. Not saying they are like humans, but certainly a lot more like humans than whatever you seem to be expecting in yo
97.
▲
by
dagss
10mo ago
I am right now implementing an imagining pipeline using OpenCV and TypeScript. I have never used OpenCV specifically before, and have little imaging experience too. What I do have though is a PhD in astrophysics/statistics so I am able
98.
▲
by
dagss
11mo ago
I don't understand, what am I missing? The heat pump increases efficiency by having COP 2-4 right? Assuming air to air and being in, say, Denmark. Heat (above 100C, say, burning garbage) to electricity: 50% (theoretical best case) Elec
99.
▲
by
dagss
11mo ago
In Norway heating is needed during winter, and there is 0-6 hours of daylight depending on how far north you go. Going north from wherever in the world you think about, there exists a point where heat pumps become profitable. (Eventually yo
100.
▲
by
dagss
11mo ago
Are the concepts "conscious" and "life" linked at all? Bacteria, fungus and plants are not usually seen as conscious but are usually seen as alive. All conscious things are alive (unless AI is conscious) but not all aliv
101.
▲
by
dagss
11mo ago
In buildings with water heating this is already commonly done, accumulating heat in water tanks. Size of water tanks is dimensioned after how much heat you have to store. Electric heating with water heating is sometimes used in Northern Eur
102.
▲
by
dagss
11mo ago
I typically use d3 for any generated SVGs.
103.
▲
by
dagss
11mo ago
"Friendly banter" is the word you are looking for.
104.
▲
by
dagss
11mo ago
I realize now what I need in Cursor: A button for "fork context". I believe that would be a powerful tool solving many things there are now separate techniques for.
105.
▲
by
dagss
11mo ago
It's rather seldom that humans arrive at solutions through rigorous reasoning. The word "think" doesn't mean "rigorous reasoning" in every day language. I'm sure 99% of human decisions are pattern matching
106.
▲
by
dagss
11mo ago
Consider this: If you just took a time machine 10 years back, and asked people to label activities done by the humans/the human brain as being "thinking" or not... ...I feel rather certain that a lot of those activities that
107.
▲
by
dagss
11mo ago
Thinking != consciousness
108.
▲
by
dagss
1y ago
pgmq looks cool, thanks for the link! But it looks like a queue, which is a fundamentally different data structure from an event log, and Kafka is an event log. They are very different usecases; work distribution vs pub/sub. The articl
109.
▲
by
dagss
1y ago
The standard approach, which Kafka also uses beneath all the libraries hiding it from you, is: The publisher has a set of tables (topics and partitions) of events, ordered and with each event having an assigned event sequence number. Publis
110.
▲
by
dagss
1y ago
Work queues is easy. It is significantly more work for the client side implementation of event log consumers, which the article also talk about. For instance persisting the client side cursors. And I have not seen widely used standard imple
111.
▲
by
dagss
1y ago
s2.dev looks cool... I jumped around the home page a bit and couldn't perfectly grasp what it is quickly though. But if it is about decoupling the Kafka approach and client side libraries from the use of Kafka specifically I am cheerin
112.
▲
by
dagss
1y ago
There's a lot of logic involved client side regarding managing read cursors and marking events as processed consumer side. Possibly also client side error queues and so on. I truly miss a good standard client side library following the
113.
▲
by
dagss
1y ago
I think you may be talking past each other. In the approach taken in the article and the parent comment, if the event sequence number allocation of the writer races the reader cursor position in the wrong way, events will NEVER BE DELIVERED
114.
▲
by
dagss
1y ago
The counter in another table used in the article also serializes all writers to the table. Probably better than the max() approach but still serial. There needs to be serialization happening somewhere , either by writers or readers waiting
115.
▲
by
dagss
1y ago
The article speaks of two usecases, work queue and pub/sub event log. You talk about the first and the comment you reply to the latter. You need event sequence numbering for the pub/sub event log. In a sense this is what Kafka IS
116.
▲
by
dagss
1y ago
I really believe this is the way: Event log tables in SQL. I have been doing it a lot. A downside is the lack of tooling client side. For many using Kafka is worth it simply for the tooling in libraries consumer side. If you just want to wr
117.
▲
by
dagss
1y ago
The article describes using a dedicated table for the counter, one row per table, in the same transaction (so parallel writers to the same table wait for each other through a lock on that row). If you would rather have readers waiting and p
118.
▲
by
dagss
1y ago
It's great. BUT: Wish they had selected another shortcut like shift+tab. Every time I write code myself I find myself racing the AI to get an indentation in before the AI is done... gets annoying
119.
▲
by
dagss
1y ago
When I ask Claude to debug something it goes through more or less the same steps I would have done to fine the bug. Add some logging, run tests, try an hypothesis... Until LLMs got popular, we would have called that reasoning skills. Not su
120.
▲
by
dagss
1y ago
He is mentioning geologic hydrogen as a new energy source. Surely that is a fossil fuel?
More ›