News for hackers. Stuff that matters.

DogestFogey

Re:Running Forth Unikernels on Monday April 01, 2019 @11:04PM (#19550699)
Implementing a Forth is a great incremental process, all you need is a processor with stacks, registers, and RAM. Words are just lists of addresses. Once you have the base execution routines, e.g. DOCOL, NEXT etc., implementing the rest of the interpreter is easy. It can even be done on a calculator or in-game computer![1]

[1] http://github.com/siraben/r216-forth

Show HN: I made a Forth-Based OS for the TI-84+ Calculator

https://github.com/siraben/zkeme80As a successor to my previous project[1], a Forth interpreter that runs under the TI operating system, I decided to go all the way and write my own assembler and OS. This is a project I've been working on for just over a month, but there's still a long way to go. The idea is to have a kernel + the Forth interpreter and compiler, then users can modify how...

( Read More... | 1 comment | 6 points | on HN )
Re:Writing an OS in Rust: Introduction to Paging on Tuesday January 15, 2019 @07:17AM (#18910627)
That's why it's important to choose simpler systems. I've been having fun writing a Forth-based Z80 operating system for the TI-84+ calculator[1]. There isn't too many moving parts and there are many "toy" systems to learn from such as one that boots up to a smiley face[2]. It's all about choice of architecture.

[1] https://github.com/siraben/zkeme80 [2] https://www.ticalc.org/archives/files/fileinfo/442/44227.htm...

The beauty of Forth is that parsing is trivial, just read a space-delimited word from the input buffer and do a simple string lookup through a linked list. The syntax is whatever you want it to be. For me, I modeled my interpreter/compiler heavily off of the jonesforth implementation in x86 assembly.
I found out about Lisp a year before Forth! Working through SICP, watching the lectures and of course writing lots of Scheme programs have really helped me improve.

Show HN: I'm 17 and I created a Forth interpreter for the TI-84+ calculator

https://github.com/siraben/ti84-forthHi HN!For the past year I've been getting into programming in Z80 assembly (especially for the TI-84+). More recently I've been learning about the Forth programming language and after a lot of searching online (in vain) for a Forth interpreter for the TI-84, I decided to write one myself. It's been fun demoing this to others, because it's a very unexpected...

( Read More... | 15 comments | 56 points | on HN )
It would be interesting to see how the helicopter handles potential dust storms which can have winds of up to 94 km/hr.[1]

1: https://en.wikipedia.org/wiki/Climate_of_Mars#Effect_of_dust...

Emacs encourages this behavior because its operations that work on sentences require the use of two spaces after a period. Although it's possible to make it work with single spaces, it won't be able to reliably distinguish between abbreviations (such as etc.) and the ends of sentences.
Re:Schism – A self-hosting Scheme to WebAssembly compiler on Thursday March 01, 2018 @02:00AM (#16490207)
Scheme in the browser is awesome. Check out Biwascheme[1] and some of the games people have made. It's also on repl.it[2]

[1] http://www.biwascheme.org/ [2] https://repl.it/languages/scheme

Re:Quiet on Monday December 25, 2017 @09:22PM (#16006703)
A truly masterfully written article that makes us yearn for the days now past when everything, both inside and outside of ourselves, was much quieter.

The amount of noise today is unprecedented. I am reminded of the movie _Her_ in which one sees a world where technology can move into the background and augment human relationships. Granted, there are moments in that film when the tech hurts instead of hinders, but compare that to today's world where everything has the "in your face" mentality.

Re:A Sampling of Anti-Decompilation Techniques on Thursday November 16, 2017 @06:21PM (#15717608)
I'm surprised the Movfuscator hasn't been mentioned yet. It compiles C code into unconditional MOVs, and if you watch the author's Derbycon 2015 video there are ways you can scramble the MOV instructions, truely making it a decompilation nightmare.

1. Movfuscator page https://github.com/xoreaxeaxeax/movfuscator

2. Derbycon 2015 video https://www.youtube.com/watch?v=R7EEoWg6Ekk

Re:The First Woman to Translate the ‘Odyssey’ into English on Saturday November 04, 2017 @08:44PM (#15627601)
Alternative .onion link for those using the Tor Browser Bundle

https://www.nytimes3xbfgragh.onion/2017/11/02/magazine/the-f...