Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
howerj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
howerj
3y ago
I am not sure what you mean by concurrent in this case, muxleq is just subleq with one extra instruction. The extra instruction is based off of multiplexing (see https://en.wikipedia.org/wiki/Multiplexer ). Subleq as yo
32.
▲
by
howerj
3y ago
Yeah, it really is a pain to do anything in it. I got around that by writing in another language instead as soon as possible. You can paper over many issues with a VM, although it will slow things down on such limited computers.
33.
▲
by
howerj
3y ago
I wrote a Forth interpreter for a SUBLEQ machine ( https://github.com/howerj/subleq ), and for a bit-serial machine ( https://github.com/howerj/bit-serial ), both of which do not have a function call
34.
▲
by
howerj
3y ago
The phrase "Secure beneath the watchful eyes" really reminds of the Techno-utopian poem "All watched over by machines of loving grace", it has the same bold wrong-headed naive optimism in a higher power able to keep us s
35.
▲
by
howerj
3y ago
That's a temporary solution at best, and hurts those that cannot afford to buy even with reduced prices which I believe is what is happening now. Lots of small time landlords exiting the market due to changing in taxation causing rent
36.
▲
by
howerj
3y ago
Yeah, I thought those were really bad examples. The author seems to be desperate to provide ammunition to undermine their own article :D
37.
▲
by
howerj
3y ago
Yes, let's do everything apart from increasing supply, surely this time that will work. There's some sanity in the comments of the article which explain the silliness of the articles thesis.
38.
▲
by
howerj
3y ago
I've been waiting for the competition to open up again, I think I have an entry good enough. There does appear to be some activity on their GitHub repo, but I have no idea when the next one will be. Does anyone here have any gossip abo
39.
▲
by
howerj
3y ago
No, use a cryptographic hash function. If you use a CRC32 you will massively reduce the password space and make it easy to find collisions.
40.
▲
by
howerj
3y ago
Yeah I don't think this is a good thing, I also wonder; which mathematics? Mathematics is a big field with wildly different and incompatible notations. I think there's a lot to discover and apply to programming languages, but the
41.
▲
by
howerj
3y ago
The authoritarianism of corporations cannot be compared that of a state, workers might not get a vote but they are free to leave a corporation in a free society, and corporations do not have the power to arrest people (I'm aware of exc
42.
▲
by
howerj
3y ago
Authoritarian models are not efficient in anyway, they can project the image of being efficient but that does not mean they are. They are worse in every way apart from complete disorder and chaos.
43.
▲
by
howerj
3y ago
It is odd! It really likes it's load/stores and you can branch on anything, but it appears to be missing any of the bitwise operators which seems to be an odd deficiency. Perhaps that's (one of) the reasons this VM never caug
44.
▲
by
howerj
3y ago
It would be possible to use the LED itself for bidirectional communications (for example reconfiguring it), see https://www.merl.com/publications/TR2003-35 or "Very Low-Cost Sensing and Communication Using Bidirec
45.
▲
by
howerj
3y ago
You could store it in a hash and flush it to disk using something like https://en.wikipedia.org/wiki/Cdb_(software) , there are a few variants and implementations that might do what you want.
46.
▲
by
howerj
4y ago
Personally I like Universal CORDIC, you can calculate much more than Cosine, but it tends to be slower. See https://en.wikibooks.org/wiki/Digital_Circuits/CORDIC#The_Un... and a somewhat janky fixed point library
47.
▲
by
howerj
4y ago
I've made a few meta-compilers before, there's nothing quite like bringing up a system from scratch and getting it to compile itself. It's one of the (few) things Forth is good at.
48.
▲
Show HN: Computing with just one instruction – Forth on SUBLEQ
(github.com)
5 points
by
howerj
4y ago
|
1 comments
49.
▲
by
howerj
4y ago
I wrote a Forth for a 1-bit CPU (sort of, it was really a 16-bit bit-serial CPU) once.
50.
▲
by
howerj
5y ago
They could use the Tiny C Compiler if compile speeds become a concern, although it supports far few platforms and generates much slower code.
51.
▲
by
howerj
5y ago
Your more minimal VM is larger than a minimal SUBLEQ VM! :) I think that is a fair characterization of most SUBLEQ implementations however that did annoy me slightly. You can make ones that use proper memory mapped I/O so they end up b
52.
▲
by
howerj
5y ago
I managed to port an Forth interpreter to a 16-bit SUBLEQ machine, it's even self hosting, although too slow to use for anything. Getting some of the comparison operators working correctly was more difficult than getting bitwise operat
53.
▲
by
howerj
6y ago
I was hoping there would be something like this as well, all of the prolog interpreters out there are either too complex or do not explain how they work. I might have to write something myself as implementing your own (toy) interpreter is a
54.
▲
by
howerj
6y ago
I almost got VHDL STDIN/STDOUT <-> UART <-> H2 core working, which would have allowed you to interact at run time with the VHDL simulation, but I do not think it is possible to do without using non-standard extensions, whic
55.
▲
by
howerj
6y ago
It should fit, as you said, but the last time I tried it the VHDL front-end for Yosys was not up to it. That might have changed as it was a few years ago.
56.
▲
by
howerj
6y ago
Yes, although you will only get waveforms as an output. There is a fully interactive GUI simulator (type "make gui-run" to build it and run it), and a command line simulator as well (just type "make run").
57.
▲
by
howerj
6y ago
It should also be noted that double in this context has nothing to do with floating point numbers, Forth implementations often do not have the functions (called "words") to manipulate FP numbers. Instead I believe it refers to the
58.
▲
by
howerj
6y ago
I love Forth, but for me it is not a viable programming language to do general purpose work in. It is not even particularly good in the niches it once served in either, such as in the embedded realm and memory constrained systems. Learning
59.
▲
by
howerj
6y ago
I wonder if it would be faster for me to assemble a phone from spare parts instead of waiting for my delivery!
60.
▲
by
howerj
6y ago
Yeah, it is easy to do, but only on Unixen, the dev environment I am working on is primarily run under Windows (and also maybe Linux in the future).
More ›