Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
astrobe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
astrobe_
1y ago
[State machines] lacked a linear flow That's because you need a state machine when your control flow is not linear. They are represented by graphs, remember? This is actually a case where using goto s might be clearer. Although not
212.
▲
by
astrobe_
1y ago
Yes, parent says "people leave" as if it is not a problem in itself; you lose the time it takes to train these people, and they probably take some knowledge about the products with them. Or maybe we are actually talking about comm
213.
▲
by
astrobe_
1y ago
Companies can sacrifice every thing for "time to market" - optimization, maintainability, security and safety even - but underestimate the costs of doing that. It is actually more a marketing choice than an economic choice. One ca
214.
▲
by
astrobe_
1y ago
> No practical program can be written without effects, so they must be in a language somewhere. Or rather, very few. It is like programming languages that trade Turing-completeness for provability, but worse. In theory, one could imagine
215.
▲
by
astrobe_
1y ago
Best option is to treat anything with ASCII code < 0x20 (space) as (white)space, but one doesn't have the chance often enough, unfortunately.
216.
▲
by
astrobe_
1y ago
> It’s just a lot of trivial typing and package management and it might not even be all that impressive when it is done. > What might happen then is that you try to keep it interesting by making it more impressive This feeling is som
217.
▲
by
astrobe_
1y ago
There's "micro" and "micro". The microcontroller operating a simple coffee machine, or a simple washing-machine is probably 8 or 16 bits. This is what I would call "bare metal", as they don't run an O
218.
▲
by
astrobe_
1y ago
Yes, organisms don't have to be optimal in everything - for instance the peacock's tail is probably a bit detrimental for various things other than signaling. When there's no environmental pressure, genetics can do whatever i
219.
▲
by
astrobe_
1y ago
I wouldn't call that a side effect, because it is most likely a must-have feature and plants were selectively pressured on that (although I know some plants or trees have red to dark red leaves). But yes. Logically, things have a natur
220.
▲
by
astrobe_
1y ago
This looks to me like a profession which is overstepping its bounds. The trap seems to be in the "form follows function" motto. It shouldn't mean that designers have a word to say about how things function. TFA: > The solu
221.
▲
by
astrobe_
1y ago
This is the same situation as with the media industry, e.g. music and movies and piracy. Studies have shown that people who pirate wouldn't buy the product even if they had the opportunity (i.e. is if they had the money or if it was ea
222.
▲
by
astrobe_
1y ago
Yes, Tsukumogami is I believe an instance of animism [1]. AFAIK I am not affected by autism, but I distinctly remember when as a child I refused to eat something because that thing didn't "want" to be eaten. I guess that from
223.
▲
by
astrobe_
1y ago
Also Chuck Moore's ColorForth doesn't have "create does>" at all. Probably he considered the complexity was not worth it. I don't have it in my interpreter either, and I don't miss it; for the few near-misse
224.
▲
by
astrobe_
1y ago
> because that's how our mind operates It is by no mean specific to programmers. Ask to someone who learns French, for instance. Rules with too many arbitrary exceptions. What is specific to programmers is that their tool performs a
225.
▲
by
astrobe_
1y ago
> This is also a challenge, as Forth usually requires machine language, call stack access, and is naturally written in assembler. Not really. Many implementations indeed do that, but only in pursuit of performance - the weakness of inter
226.
▲
by
astrobe_
1y ago
By "natural deduction", I assume both of you refer to the system which is related to "sequent calculus" ? [1]. [1] https://en.wikipedia.org/wiki/Natural_deduction
227.
▲
by
astrobe_
1y ago
Yes, as TFA alludes to, this expression is actually a bit wrong because the wheel has often been reinvented since ~4500 BCE. The latest "reinventions" are as recent as 19-20th century with the continuous track, monowheel, "hu
228.
▲
by
astrobe_
1y ago
When you say "isn't so bad", is it just a manner of speech or is it actually a little bad (but it is a compromise?)?
229.
▲
by
astrobe_
1y ago
It sounds like self-inflicted boilerplate to me.
230.
▲
by
astrobe_
1y ago
I don't know what qualifies has "non-toy", but Forth has been used in various toys [1] [1] https://www.forth.com/resources/forth-apps/
231.
▲
by
astrobe_
1y ago
> People want cheap There is an exception: luxury goods. Some are expensive, but people don't mind them being overpriced because e.g. they are social status symbols. Is there such a thing like "luxury software"? I think Ap
232.
▲
by
astrobe_
1y ago
> The fact that this all got hyperlinked is a superb. convenient, but also a challenge from tech perspective, and what FAANG did in the 30 years to come (after 1992) led to this horror of entangled and super-complex technologies we have
233.
▲
by
astrobe_
1y ago
Baudelaire also translated many short stories from E.A. Poe [1], and the famous The Raven which Poe uses as an example in one of its short essay (or science-fiction story?), The philosophy of composition . [2] [1] https://en.w
234.
▲
by
astrobe_
1y ago
I found myself in a situation where I had to reinvent data structures from scratch in an assembly-like language: "properties" or "fields" are just offsets relative to a pointer (runtime) or an address (compile-time). The
235.
▲
by
astrobe_
1y ago
By "whole 'build' process", do you think something like a makefile or do you think something more advanced is required? One drawback though would be that one indeed would have to maintain dependencies, which would be e
236.
▲
by
astrobe_
1y ago
You're just asking the left-brain interpreter [1] its opinion about what the right-brain did. [1] https://en.wikipedia.org/wiki/Left_brain_interpreter
237.
▲
by
astrobe_
1y ago
It is ambiguous, that's the trick. One can interpret "..." as '"any number of 9s", and in this interpretation the equation is false. But the teacher will eventually ask, "what about an infinite number
238.
▲
by
astrobe_
1y ago
It is like the infamous 0.999999... = 1. That one uses sloppy notation (what is "..."?) to make students think and talk about math.
239.
▲
by
astrobe_
1y ago
> Something to consider is why Erlang people have been trying to get people to "let it crash" and just deal with that Yes, if you can afford it, I would say it is a way to avoid the problem of handling errors in a bug-free way.
240.
▲
by
astrobe_
1y ago
> We live in a multitasking world, so our users can deal with out-of-disk and out-of-memory errors by deleting files, adding more storage, closing other (lower priority) processes, paging/swapping, and so on. So you can wait: maybe
More ›