1,174 karma · joined Mar 5, 2012 (14y ago) · 214 submissions
comment 1w ago · link · parent
Not only is developing complex software intrinsically harder, there is way less (and way less public) training data for the code behind these types of systems. Probably the biggest wins right now for big dominant software systems are things like porting, paying down technical debt, raising efficiency, etc.; these are all tasks where the behavioral spec is pretty solidly defined by the existing code.
The software that is getting accelerated the most is the "not too big and complex software": web sites for niche things, mini games, ad-hoc data analysis, solving little specific problems with scripts, etc. But most of these kind of things are used by not too many people.
So, averaged over software a random person uses on a random minute, AI has not solved coding. But averaged over all the long tail of distinct (and often fairly simple) software people are building, it pretty much has.
comment 4mo ago · link · parent
There has been some movement lately, though. I'm not sure who exactly to thank, but "the community" created a new unofficial resource for getting going with FoundationDB: https://foundationdb.vercel.app/7.3/
comment 6mo ago · link · parent
AFAICT this now gives them default permission to train an LLM on your code (as Posthog telemetry data is inextricably tied to your code) use it, and even sell it if they wanted to (as it's not your data anymore, it's their model). Yikes.
comment 6mo ago · link · parent
Pedantic answer: Unless the light source has different colors on different sides
Complex answer: Kind of. Even a linear color fade (from reality) can turn non-linear (and therefore induce color effects) when pushed through a color grading pipeline. So if you count e.g. film emulation as a "physical effect", then yes.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
As I read it, the article is simply trying to help people understand what kind of work is valuable to a company and therefore what they should focus on to make themselves valuable. I presume that making yourself valuable pays dividends, including promotions! Somehow the idea of going to work and not trying your best because “you’re not getting paid … for that” just feels so cynical and divorced from how I’ve seen successful people grow and make big bucks in tech.
(And this is all a bit separate, of course, than the debate about whether staying at a company or job hopping is better for career trajectory.)
comment 1y ago · link · parent
comment 1y ago · link · parent
- $50 - Something rug-shaped exists
- $100 - Durability
- $200 - Materials
- $500 - Comfort and design
- $1000 - Basic craftsmanship
- $2000 - Refinement of craft
- $5000 - Artistry & identity
- $10000 - Tradition
- $20000 - Mastery
- $50000 - Rarity/historical importance
- $100000+ - ?
Because most people don't cross-shop $20k rugs and $200 rugs, most people are focused on one or two aspects around their personal budget. The essayist mentioned being amazing by the craftsmanship and artistry (see scale above). A broke college student might just want something that holds up in their dorm room and see what materials it's made out of and comfort as meaningless and abstract. And a billionaire shopping for a rug for their office might take everything other than rarity/historical importance as a given and just be thinking about that.
I think there is a large cognitive bias to consider everything you can easily afford "tangible and important improvements" and everything you can't as "abstract"!
comment 1y ago · link · parent
So, it stayed with the world because it went semi viral in some tiny circles. But it didn’t stay with me because I personally learned little from it.
The thing that stays with me is all the things I learned spending years trying to implement an API you can describe in ~30 seconds really well. It’s a rare opportunity to be able to go so deep on a problem in a career.
comment 1y ago · link · parent
I don't know the details know, but it was definitely configurable when I wrote it :) I remember arguing for setting it to a default of 30/60 seconds we decided against as that would have impacted throughput at our default RAM budget. I thought might have been a good tradeoff to get people going, thinking they could tune it down (or up the RAM) if they needed to scale up perf later.
comment 1y ago · link · parent
> Another big problem I found with modeling real apps was the five second transaction timeout. This is not, as you might expect, a configurable value. It's hard-coded into the servers and clients. This turns into a hugely awkward limitation and routinely wrecks your application logic and forces you to implement very tricky concurrency algorithms inside your app, just to do basic tasks. For example, computing most reports over a large dataset does not work with FoundationDB because you can't get a consistent snapshot for more than five seconds!
I'm pretty sure that the 5-second transaction timeout is configurable with a knob. You just need enough RAM to hold the key-range information for the transaction timeout period. Basically: throughput * transaction_time_limit <= RAM, since FDB enforces that isolation reconciliation runs in memory.
But, the other reason that 5 seconds is the default is that e.g. 1 hour read/write transactions don't really make sense in the optimistic concurrency world. This is the downside of optimistic concurrency. The upside is that your system never gets blocked by bad-behaved long-running transactions, which is a serious issue in real production systems.
Finally, I think that the current "Redwood" storage engine does allow long-lived read transactions, even though the original engine backing FDB didn't.
comment 1y ago · link · parent
In that second life, the vast majority of the powerful databases around the industry built on FoundationDB have been built by companies making their own custom layers that are not public. This release is cool because it's a rare case that a company that has built a non-trivial layer on top of FDB is letting that source code be seen.
The group to which the FoundationDB storage engine itself appeals is fairly narrow--you have to want to go deep enough to build your own database/datastore, but not so deep to want to start from scratch. But, for this group, there is still nothing like FoundationDB in the industry--a distributed ACID KV store of extreme performance and robustness. So, yes, it's still the hotness in that sense. (As others have mentioned, see e.g. Deepseek's recent reveal of their 3FS distributed filesystem which relies on FDB.)
comment 1y ago · link · parent
comment 2y ago · link · parent
I bet it would look a lot worse. It seems like low traffic roads out in the middle of nowhere are pretty decent, while the multi lane juggernauts in downtown that everyone spend their time on are disasters.
comment 2y ago · link · parent
comment 2y ago · link · parent
The best resource after the tutorials is: https://github.com/FoundationDB/awesome-foundationdb
Unfortunately, I think a lot of the advanced 'tricks of the trade' (alternatives to use cases for long-running transactions, when exactly to dispatch to a cloud object store, how to migrate whatever schemas you end up creating, etc.) that all the big serious users of FDB are doing are not as well covered.
comment 2y ago · link · parent
1) You are starting with a blank canvas
2) You will be dealing with low-level primitives
3) You have complete freedom in what you build
4) It's fast if you use it right
For each one of these items you could look at it and say "that's awesome" or "yikes." You know which group you are in!
I hope more people in the 'awesome' group realize that using FoundationDB can transform the development of a new distributed data store from a multi-year project into a few weeks of hacking. This is because FoundationDB solves the scalability, fault tolerance, and ACID parts for free--the least creative and most time-consuming aspects.
comment 2y ago · link · parent
- My understanding is that a gamma chirp is the established filter to use for an auditory filter bank--any reason you choose an elliptical filter instead?
- I didn't look too closely, but it seems like you are analyzing the output of the filter bank as real numbers. I highly recommend you convolve with a complex representation of the filter and keep all of the math in the complex domain until you collapse to loudness.
- I'd not bucket to discrete 100hz time slices, instead just convolve the temporal masking function with the full time resolution of the filter bank output.
- You want to think about some volume normalization step that would give the final minimized Zimtohrli distance metric between A and B*x, where x is a free variable for volume. Otherwise, a perceptual codec that just tends to make things a bit quieter might get a bad score.
- For fletcher munson, I assume you are just using a curve at a high-ish volume? If so, good :)
- Not sure how you are spacing filter bank center frequencies relative to ERB size, but I'd recommend oversampling by a factor of 2-3. (That is, a few filters per ERB).
Apologies if any of these are off base--I just took a quick look.
comment 2y ago · link · parent
One thought is that vision and hearing are all 1->many senses. That is, many people can stand around and experience one fireworks show, or one musician, or one painting. We've even invented ways of amplifying the "many" with speakers, projectors, etc. Perhaps this makes these art forms more commercially viable than touch, where a single person experiencing it excludes anyone else from the same experience? Maybe we need to invent a "touch multiplier" before the genre will take off?
comment 2y ago · link · parent
But really the whole thing is silly. 100 million games is a lot of chess, but at 1KB per "inefficient" PGN you are talking a whopping 100GB--big deal. (At 12 bits and, say, 80 half-moves on average, you are talking ~12GB.) Plus the article says that he is "IO-constrained" but shrinking game size isn't going to help with random lookups--a PGN is already below the page size.
If you really did care about best compression you would simply assign all legal moves an index and use a heuristic (chess engine) to figure out which moves were likely (i.e. good). In chess, it's not uncommon that good players are usually picking between only a few reasonable candidate moves. I wouldn't be surprised if good compression of human games yielded something like 2-3 bits per move.
comment 2y ago · link · parent