Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
astrobe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
811.
▲
by
astrobe_
6y ago
IBM 5100 appears in Stein's Gate... We probably have some Star trek and some Asimov there in that infamous mix.
812.
▲
by
astrobe_
6y ago
I can confirm. The author was an Intel engineer who was dissatisfied with how his senior engineers did the DOS EXE format in the intro of the docs of his assembler. A86/D86 where fantastic, with extra bonus points for the docs.
813.
▲
by
astrobe_
6y ago
Technically, that's a bit off topic because this is about compilers and code generation, while a VM defines the basic semantics compilers work with. For VMs, what is relevant is whether you implement an "inc (reg)" or not, th
814.
▲
by
astrobe_
6y ago
Actually, what I saw on comp.lang.forth the last few times I checked it (coincidentally, I tried yesterday) makes the news not really surprising. Aside from the spam, it gradually switched from passionate but respectful debates to name call
815.
▲
by
astrobe_
6y ago
I believe this is because of Liskov's substitution principle (LSP), which is the hidden gotcha that awaits around the corner beyond the "manager is-a person" [1] example. The "square is-a rectangle... or maybe not"
816.
▲
by
astrobe_
6y ago
You mean 64 bits pointers and 32 bits integers, I guess.
817.
▲
by
astrobe_
6y ago
> Someone measured the dispatch overhead for fetching the next word in FIG-Forth for the 6502 at over 80 cycles. STC only needs 12 for a JSR/RTS pair and potentially 0 if the word is inlined. I have implemented STC with cod inlining
818.
▲
by
astrobe_
6y ago
To be clear, I don't think this function is spaghetti code. I believe you are victim of premature optimization. You knew Forth would be slow because interpreted, so you feared for performance. Fear often makes you do the wrong things.
819.
▲
by
astrobe_
6y ago
Although it does not directly help, it gives the general idea: http://www.ultratechnology.com/levels.htm
820.
▲
by
astrobe_
6y ago
> This brings us to one of the main shortcomings of Forth. If you need to access more than three local variables at once (in the body of a loop for example) there is just no convenient way to do so. [...] Consider the variables used in t
821.
▲
by
astrobe_
6y ago
I'm not sure if it's intentional or not, but the 'D' usually stands for Doubt (sometimes Deception).
822.
▲
by
astrobe_
6y ago
I am not sure why networking and could computing is in this thread. This is certainly the last thing you want to try or use (except for Internet access and all its learning resources) when learning to program. And it won't let you beco
823.
▲
by
astrobe_
6y ago
> Stuff like that is a hard barrier for most players and they won't be able to continue unless they are really committed. Free software has a price too, in terms of efforts the user has to spend on dealing with issues and shortcomin
824.
▲
by
astrobe_
6y ago
When a bug or a mistake wipes irremediably many days of work, you need that kind of perseverance.
825.
▲
by
astrobe_
6y ago
Oh, I see. I was wondering how an argument parsing library could be as big as a bytecode interpreter like Lua.
826.
▲
by
astrobe_
6y ago
The Forth situation is a little bit different: it is a language designed to be easily to implement, so everyone is redoing Forth all the time, including its own creator (Cf. Colorforth) who said that "Forth is what Forth programmers
827.
▲
by
astrobe_
6y ago
For those too lazy to copy/paste into an online translator: it's "kotatsu" [1] [1] https://en.wikipedia.org/wiki/Kotatsu
828.
▲
by
astrobe_
6y ago
Are there equivalents in sign languages?
829.
▲
by
astrobe_
6y ago
Not in France, as far as I know - or I'd be curious to know in which region it is used like this. "Euh" is typically the equivalent of "erm"; it signals hesitation [1]. It can also be uttered when a person is surpri
830.
▲
by
astrobe_
6y ago
Oh yes, we need a modern powerful web-scalable professionally infrastructured alternative. Sorry for the sarcasm, but if you are thinking with theses words, you are thinking wrong.
831.
▲
by
astrobe_
6y ago
Yes. The normal way to do it is to send the whole file as an attachment. That way, they can open it in their favorite editor with their favorite tabs setting and key bindings and... Favorite syntax highlighting theme -- who are you to force
832.
▲
by
astrobe_
6y ago
I don't think solving the USB issue was a total waste of time. Knowing what is going on is always valuable. The "My USB throughput is not what it should be... Oh, well. Must be the USB cable..." attitude is something that can
833.
▲
by
astrobe_
6y ago
> [...] always enforced with that very special enthusiasm stale organisations devote to policing arbitrary norms because that's the sole remaining source of the old timer's power differential. Or at least that's how it see
834.
▲
by
astrobe_
6y ago
Technically you can have some sort of command in your C++ program to make it fork itself, that is restart itself disk, maybe after freeing non-shareable resources like listening sockets. One could even imagine that this command includes s
835.
▲
by
astrobe_
6y ago
The message you get is an automatic message filled by Git when you don't provide one with the -m option. Stashes are kind of sort of like branches themselves [1], but they are usually seen as a list, from which you can (cherry-?) pick
836.
▲
by
astrobe_
6y ago
If your company is located in Paris, Texas and you are in New York, ready to embark for a business to Paris, France and that you ask your assistant over the phone, out of the blue, "what is the temperature in Paris?" they would pr
837.
▲
by
astrobe_
6y ago
> https://en.wiktionary.org/wiki/translate#Verb lists three senses of "translate" And so do "execute" and "interpret". The fact that you are counting the second set of meanings of trans
838.
▲
by
astrobe_
6y ago
> Compilation translates input code into output code without executing it. I think it is not totally true. There's Forth immediate words, there's Lisp macros and to a lesser extend there's C++ templates (which are Turing-c
839.
▲
by
astrobe_
6y ago
> This seems to be nonstandard usage that is entirely limited to Forth Certainly. But sometimes artificially changing the terms avoids misunderstandings. > I, for one, don't understand what you mean by this. I was referring to wh
840.
▲
by
astrobe_
6y ago
Says the people who elect the people who make laws. Confer GDPR.
More ›