Better HN
topnewbestaskshowjobs
Log inSign up

johnsondavies

48 karma · joined May 28, 2016 (10y ago) · 21 submissions

Submissions

comment 1y ago · link · parent

The ATtiny814 is hardly an ancient chip. It's a member of Microchip's TinyAVR 1-Series that was released in 2017 and still being developed, with the 2-Series being released in 2020/2021.

Perhaps you're confusing it with the older ATtiny841 (released in 2012), which was an upgrade of the original ATtiny84.

comment 2y ago · link · parent

You're correct that the ESP32-C3 is based on a RISC-V processor, but it has more in common with the other ESP32 boards than it does with the boards supported by the RISC-V version of uLisp, so it made sense to support it with the ESP version of uLisp.

comment 2y ago · link · parent

Good idea - I'll add a column to the tables giving the current consumption for each board.

comment 2y ago · link · parent

The assembler is two-pass.

comment 2y ago · link · parent

The assembler is two-pass and the labels are simply local variables in the defcode form. They are assigned the value of the program counter in the first pass, and the assembler instructions are evaluated in the second pass. I got the idea from the assembler in the Acorn Atom, if anyone remembers that.

comment 2y ago · link · parent

Thanks - corrected "compact" to "compressed".

comment 2y ago · link · parent

Sorry, I'd posted the link to the code in the wrong format - corrected now. Would you like to delete that copy?

comment 2y ago · link · parent

This is a traditional game called "Voyna Virusov" or "Virus War". There is a version of it on Pencil and Paper Games with clearer rules, and some background history:

http://www.papg.com/show?5SB0

comment 3y ago · link · parent

As mentioned in the article I used Elecrow, who made 5 boards for $24.14. I accept that the unit cost will be more if you're only making one.

comment 4y ago · link · parent

> What draws people to start projects with AVR in 2022?

It's much easier to learn how to do simple things with an AVR than with an ARM. For example, you can configure a timer to blink an LED with just four relatively simple lines of C on an AVR-based Arduino Uno, whereas it takes 11 lines of C on an ARM-based Arduino Zero:

http://www.technoblogy.com/show?3RC9

comment 4y ago · link · parent

How about the Lisp Badge?

[0]http://www.technoblogy.com/show?2AEE

comment 4y ago · link · parent

Thank you for putting my 16 LEDs Puzzle on Hacker News! Yes, the principle is similar to Lights Out, but in my puzzle pressing a button toggles its LED and all the other LEDs on the same diagonal(s). I found that this rule is harder to solve, even on a 4x4 grid.

13.

Watch photos on the Rolex site show the exact current time(rolex.com ↗)

14 points · by johnsondavies · 5y ago · 9 comments

comment 5y ago · link · parent

Less hostile version:

https://old.reddit.com/r/HostileArchitecture/

comment 5y ago · link · parent

I pronounce it 'U'-Lisp.

comment 5y ago · link · parent

There's a beta release:

http://forum.ulisp.com/t/help-wanted-debugging-ulisp-for-the...

comment 6y ago · link · parent

See Porting uLisp to a new platform: http://www.ulisp.com/show?2JZO.

comment 6y ago · link · parent

Yes, it currently provides one assembler function, but I plan to extend it to support multiple named functions.

comment 7y ago · link · parent

Nice suggestion - I'll try it.

comment 7y ago · link · parent

I've never heard of this happening before, and I can't even think of a way in which uploading uLisp could break an Arduino, but contact me directly (my email address is on the uLisp site) and I'll try and help you sort it out.

comment 10y ago · link · parent

Good suggestion!