3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions
In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.
comment 2y ago · link · parent
comment 2y ago · link · parent
I think this assumption is not true anymore - ChatGPT can give an answer in less time and (human) effort than it takes to formulate and devise a question. So it really is about creating a set of curated question-answer pairs, where both the questions and the answers can be auto-generated. In this context, asking the same question different ways is really helpful to an AI. And there is no such thing as a bad question, there are just Q-A pairs that do not contribute significantly to training the model ("boring" questions). I've noticed Quora is experimenting with ChatGPT but they aren't at the point where you can flag the AI's answer as incorrect or misleading and fix it.
comment 2y ago · link · parent
Users do notice, one of the comments about Tup is that it is surprisingly fast. Now that could be other things like being written in C and using sqlite but I'd imagine at least some of it is due to being designed to use efficient algorithms.
> build systems are built with limits
But the limits are self-imposed. It is not too hard to extend a build system to add these features, but even before Rig is fully done, you seem to be in "maintenance mode" where no new features are allowed. I myself have also been working on designing a build system (and programming language), but I have deliberately avoided writing any code so that I am not tied down by refactoring when I discover a new paper or approach. At this point though my literature survey is complete, so it is time to start coding. I was thinking perhaps you beat me to an implementation, but I guess not.
comment 2y ago · link · parent
comment 2y ago · link · parent
And for command tracing, the most significant issue is that it records both files read and files output. Even with dynamic dependencies it is difficult to record both of these dependency types properly. For example, Shake has this "multiple outputs" feature but it is actually really hacky and doesn't work. https://github.com/ndmitchell/shake/issues/382 The Pluto "sound and optimal" build paper discusses this briefly - they use a two-level file-command graph specifically to solve this problem. Since you have files-as-targets you will have trouble recording write dependencies, similarly to Shake.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
It seems that they considered loading game images as "running executable code". So in particular what was banned was running code downloaded remotely, meaning any emulator that could download game images from the web or load game images from the filesystem was banned.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
That does remind of another thing that CBPV glosses over though - it is only a fusion of call-by-name and call-by-value. In particular it doesn't model call-by-need particularly well, there is no notion of sharing thunks that are duplicated during evaluation. Actually call-by-need is sort of arbitrary, generally one is better off using "an implementation-specific evaluation strategy somewhere between CBN and CBV", which again is not modeled well by CBPV, as the choice of CBN or CBV evaluation is encoded in the IR so cannot be easily changed by the compiler.
comment 2y ago · link · parent
I guess this is the Dilbert principle? Hire a few incompetent people, promote them to middle management so they don't screw up the actual work. It probably does work when you have a constant supply of skilled programmers at the lowest tier with 6-month turnover. (NB: that is just Amazon rumors, no idea what actual turnover is like)
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
If you squint at CBPV, there is exactly one primitive that sequences computation, `M to x. N`. In Haskell this is just the monadic bind `M >>= \x -> N` or `do { x <- M; N}`. If I had to bet, I would place my bet on monads, not CBPV.
comment 2y ago · link · parent
> [Citation needed].
We can just compare the books, per the article the Congressional procedures are 1000 pages and the International Building code is 832 pages https://shop.iccsafe.org/2021-international-building-coder.h.... So at first glance building seems easier. But then when you crack it open, you also need to read up on gas, mechanical, plumbing, fire, and energy efficiency, so there is an extra 200+186+270+692+302=1650 pages. So I think it is true - a Congressperson only needs one book, but to build an office building you need 6 books (and probably 6 people, each specialized in a book). Now building a residential house, that is the IRC which is roughly comparable in page count to Congress, and you do see house flipping businesses run by a single well-versed entrepreneur.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent