Better HN
topnewbestaskshowjobs
Log inSign up

nottwo

82 karma · joined May 4, 2011 (15y ago) · 16 submissions

Submissions

comment 1y ago · link · parent

Oh, thanks!

X^2 + y^2 > z^2 ? 1 : 0

comment 1y ago · link · parent

This is fun!

I was going to try to draw a circle but was missing sin/sqrt. Then I thought of using a lookup table but got stumped.

Do you have any pointers for drawing a circle?

I'm looking at demo #4 (https://susam.net/fxyt.html#XYpTN1srN255pTN1sqD) to see where the circular shapes are coming from.

Have you seen Forth Haiku? https://forthsalon.appspot.com/

comment 7y ago · link · parent

These are great!

Also reminds me of the Forth Haiku Salon: https://forthsalon.appspot.com/

comment 8y ago · link · parent

This is great! I look forward to trying it out with my configs.

I'm currently using Mutterer: https://github.com/mwnx/mutterer

5.

A Print Magazine for Hackers(newyorker.com ↗)

1 points · by nottwo · 8y ago · discuss

6.

Getting Rid of Rust with Ada(reddit.com ↗)

3 points · by nottwo · 8y ago · discuss

7.

Plain Text Accounting, a Guide to Ledger and Friends(plaintextaccounting.org ↗)

150 points · by nottwo · 10y ago · 26 comments

8.

Fear and Loathing on the Unix Trail(verysecurelinux.com ↗)

2 points · by nottwo · 12y ago · discuss

comment 13y ago · link · parent

Another fun toy is Forth Haiku at http://forthsalon.appspot.com/

  A Forth Haiku is an attempt to mix mathematics, art, and the
  Forth programming language. It resembles a texture shader,
  however, the emphasis is on direct expression in the
  resulting image.

  The Forth program describing each Haiku is run once per pixel
  over a square image. Forth cells are floating point.
  Conditions return 1 instead of -1. The position is available
  from the words x and y, which range from 0 to 1, which the
  origin in the lower left hand corner. The haiku returns the
  desired color in (red, green, blue, alpha), with alpha being
  topmost on the stack. If the stack has less than 4 items
  default values are assumed: red:0, green:0, blue:0, alpha:1.

  Like a traditional haiku, an ideal Forth Haiku has 3 lines
  of 5, 7, 5 words. Compositions which don't fit the haiku form
  are either 'short' (less than 140), or 'long'.

comment 14y ago · link · parent

This reminds me of zeolite-water solar adsorption refrigeration:

This paper presents some of the experimental evaluations of a prototype solar refrigerator, based on an intermittent thermodynamic cycle of adsorption, using water as refrigerant and the mineral zeolite as adsorber. This system uses a mobile adsorber, which is regenerated out of the refrigeration cycle and no condenser is applied, because the solar regeneration is made in the ambient air For the regeneration, a SK14 solar cooker is considered. The cold chamber, with a capacity of 44 liters, is aimed for food and vaccine conservation. The objective is to analyze the advantages and disadvantages of the eventual use of this refrigerator in rural regions of Peru, where no electricity is available. On the bases of the results obtained, a new prototype of refrigerator for rural regions is designed, based on the same thermodynamic cycle, but including changes in design and operation.

http://fc.uni.edu.pe/mhorn/ISES2003%20(solar%20refrigeration...

During the day, solar energy is used to drive water out of the zeolite. The dry zeolite is exposed to water under low-pressure causing the water to evaporate and be adsorbed into the zeolite. The evaporative cooling can be used to refrigerate food without electricity.

A German company with various zeolite refrigeration applications:

http://www.zeo-tech.de/index_en.html

comment 14y ago · link · parent

I kept waiting for the author to mention the Fully Informed Jury Association. I somehow stumbled upon their website over ten years ago and first heard of jury nullification. It's awesome they're still at it.

http://fija.org/

comment 14y ago · link · parent

I'm still working through the ones that look interesting, but so far the Forth Haiku bit is cool. It deserves its own submission.

I'm also looking forward to checking out the presentations on Moore's GreenArrays 144-core GA144.

13.

Forth Day 2011 Videos (forth.org ↗)

1 points · by nottwo · 14y ago · 1 comment

comment 15y ago · link · parent

I maintain an Planet aggregator for tracking Arduino-related blogs that pique my interest: http://planet.nottwo.org

Kinda plain, but works well in my feed reader.

15.

What is the plan? One Year. Three Phases. A World of Change. (whatis-theplan.org ↗)

5 points · by nottwo · 15y ago · 1 comment

comment 15y ago · link · parent

The small (2K) RAM size is the limiting factor, not so much the code space.

You'll find a few more options if you look beyond the atmega328 in the Arduino: 'avr lisp', 'avr scheme'

The Lisps I've seen targeting AVRs have all used the atmega128 with 4KB of RAM and they still use external memory of some sort.

Scrying (w/ 64KB external RAM): http://scrying.org/doku.php?id=scrying:interpreter_notes

ActorNet (w/ 512KB external serial flash as virtual memory): http://osl.cs.uiuc.edu/nest/ActorNet-1.1.tar.gz http://osl.cs.uiuc.edu/docs/actornet/kwonActorNet.pdf

Femto microlisp http://code.google.com/p/robobuilderlib/wiki/Femto

For my own REPL-fun on AVR microcontrollers, I've gone with amforth: http://amforth.sourceforge.net