clipperhouse

21.5K posts

clipperhouse banner
clipperhouse

clipperhouse

@clipperhouse

Engineering & epistemology. Former Neon, Cockroach Labs, Stack Overflow.

New York, NY Katılım Mart 2008
1.4K Takip Edilen1.7K Takipçiler
clipperhouse
clipperhouse@clipperhouse·
Very true. Databases do a lot caching (from disk mostly) and keep it consistent, even when we aren’t paying attention. If at all possible, just use the database. Optimize the queries. Databases have also figured out the hard parts of replication: transactions and ordering. Hit a database secondary if you don’t wanna hit the primary. There is exactly one dimension of inconsistency, which is time. Third, use an analytics database if you want aggregation. Accept the time delay and design for it. Almost never, in my opinion, is “database data in Redis/memory” the right answer, unless you are very tolerant of inconsistency.
Phuong Le@func25

Cache invalidation is hard because the moment you copy data to make a system faster, you create two truths that can drift apart: - One is the real data, - one is the saved fast version. "Just update the cache when data changes" is practically useless advice. That only sounds clean if you ignore delays, failures, race conditions, multiple services, retries, out-of-order events, and users reading data while writes are still moving through the system. In general, you need rules for - when the fast version is still safe, - when it must be replaced, - who decides that, - what happens when that decision is late, lost, or wrong. Cache invalidation is a constant trade between speed and correctness, and people often pretend they can fully have both.

English
0
0
1
79
clipperhouse
clipperhouse@clipperhouse·
Best meal in midtown.
clipperhouse tweet media
English
0
0
1
74
Adventures in California History
An auto headed towards Truckee, Ca, on the dirt Lincoln Highway, 1926. The Truckee River is at the left, while the Transcontinental Railroad is the line on the hillslope at left. In one year, 1927, this will become Highway 40, as named roads ceased to exist. This site is now a four-lane freeway, Interstate 80.
Adventures in California History tweet media
English
6
18
146
3K
Will McGugan
Will McGugan@willmcgugan·
Do me a favor. Run this in the Python REPL, and paste a screenshot. print('1\u200d2') Try on more than one terminal, if you have them installed.
English
23
3
44
27.6K
clipperhouse
clipperhouse@clipperhouse·
Friend asks for best New Pornographers songs for Neko Case vocals. My response is: brother, how much time you got.
English
0
0
0
81
clipperhouse
clipperhouse@clipperhouse·
Intuitively, yes, but it might be like the human programmer experience with strong types/compilers. On the one hand, LLMs are not very deterministic. So if we see strong types as adding back that determinism, this is compelling. Furthermore, strongly typed languages can exhaust humans, who are just trying to get something done. The LLM won’t get tired, and will give us a stronger, correcter program than we would otherwise have gotten. OTOH! Type enthusiasts (I am one) have begrudgingly learned that dynamic languages can be every bit as correct as static languages. On that same other hand, high-level languages look like English, on which the LLMs were trained. Perhaps some transfer learning happens. Overall, I’m on the side of Greg’s hypothesis, but I also know it might not actually net out to be true.
Greg Brockman@gdb

rust is a perfect language for agents, given that if it compiles it's ~correct

English
0
0
0
141
Curiosity
Curiosity@CuriosityonX·
It took 9 years and 3 billion miles to get this shot. Pluto’s icy Mountains.
English
2.7K
24.1K
177.9K
18.3M
clipperhouse
clipperhouse@clipperhouse·
Programming: I can make it 80% right in two hours. I can make it 90% right in two weeks. I can make it 99% right in two months. (1% wrong will still keep the support team busy.)
English
0
0
1
73
clipperhouse
clipperhouse@clipperhouse·
AI coding assistants invoke the same economic choices as other productivity improvements: · We can deliver the same quality of work in less time, or · We can deliver higher quality in the same amount of time, or · We can deliver things we previously would not have considered worth the effort.
English
0
0
0
76
Jarred Sumner
Jarred Sumner@jarredsumner·
when will @SlackHQ add syntax highlighting to code blocks? Discord has had this for years
English
71
27
1.5K
106K
clipperhouse
clipperhouse@clipperhouse·
@nikitabier nice change where long posts now expand in place instead of navigating to post detail page. Certainly increases the likelihood I will read them.
English
0
0
0
16