News for hackers. Stuff that matters.
Re:Review: Beepy a Palm-Sized Linux Hacking Playground by kragen on Wednesday August 09, 2023 @06:53PM (#37069464)
i think i was the naysayer you're talking about (https://news.ycombinator.com/item?id=35980709) and i have one slight correction

i think the display is fucking awesome

just. not for this

for applications where its lack of backlight and grayscale mean you get a significantly longer battery life, or smaller battery, or no battery at all

being able to maintain the display on 50μW means you can run it off a cr2032 coin cell for 17 months

if you pair that with a cpu that's using some similar amount of power, probably due to being in a low-power deep-sleep mode 99+% of the time, you can get a month or two of interactive computing out of a coin cell. a sleeping esp32 is supposedly around 10μW, and at full speed it's about 200 32-bit mips at 1 watt. microcontrollers are typically an order of magnitude lower energy per instruction. ambiq's microcontrollers are two orders of magnitude lower, like 30 picojoules per instruction, so 100 μW should give you 3 mips

400×240 is half the screen resolution of the original macintosh, and the same as the vt100, though with a different aspect ratio

so you can get a vax in your pocket that runs off a coin cell for six months

that's motherfucking amazing

but that is not this product

which reminds me, i'm late for a pairing session on a jit compiler targeting the ambiq apollo3 ultra-low-power 48 megahertz cortex-m4f

Re:Review: Beepy a Palm-Sized Linux Hacking Playground by anonzzzies on Wednesday August 09, 2023 @09:53PM (#37070951)
> so you can get a vax in your pocket that runs off a coin cell for six months

I mentioned this last time as well; I hope someone makes this device like that. I would be happy with it. The apollo3 is nice and I enjoy working with it. I would implement a little OS for fun for a device like this if it existed.

On the form factor; a clamshell would be better.

Re:Review: Beepy a Palm-Sized Linux Hacking Playground by kragen on Wednesday August 09, 2023 @10:05PM (#37071048)
so, a drawback of the apollo3 (and actually every cpu i've found with a decent deep-sleep state) over an actual vax is that it doesn't have virtual memory or much in the way of memory protection

my current plan is for my nascent jit compiler to implement paged virtual memory using bytecodes for paged-load-byte, paged-load-halfword, paged-load-word, paged-load-multiple, paged-store-byte, paged-store-halfword, paged-store-word, and paged-store-multiple, so that i can compile existing c to its bytecode instruction set; these will be implemented by calls to millicode subroutines

i think, and i might be wrong about this, that this will be sufficient to run things like libpng and pcc at useful speeds

if not, i might have to lean harder on making the jit compiler smart

i very much agree about the clamshell; that would also make it possible to include a keyboard big enough to touch-type on

Re:Review: Beepy a Palm-Sized Linux Hacking Playground by forsakenkraken on Thursday August 10, 2023 @06:28AM (#37074239)
I wish I had something useful to say, but that sounds honestly amazing. If you could do wifi at the same time, then that'd be a perfect email/ssh/irc device.
Re:Review: Beepy a Palm-Sized Linux Hacking Playground by kragen on Thursday August 10, 2023 @09:08AM (#37075680)
i think that the esp32 is probably a decent microcontroller to use for this purpose, in place of the pi zero; it does have a decent sleep mode and also wifi

its energy efficiency per instruction is not the best but is certainly acceptable