702 stories
·
3 followers

When Texas Bat “Cities” Look Like Thunderstorms

1 Comment

Weather apps generally modify their default settings to remove such scenes from Doppler radarviews. Otherwise, live-feed watchers would think a torrential downpour is imminent

The post When Texas Bat “Cities” Look Like Thunderstorms appeared first on Nautilus.



Read the whole story
GaryBIshop
8 hours ago
reply
Wow!
Share this story
Delete

"Michiel's Blog": Python on my wrist

1 Comment

I have a PineTime. It is a cheap, open, hackable smartwatch from Pine64.

The Dutch watch face on my PineTime

It’s not an Apple Watch

When people see it, they think: that looks like a smartwatch, so it must be a smartwatch. Like an Apple Watch. It’s not! An Apple Watch costs around 700 USD, and this one 25. Think of it as a programmable Casio with a color display, Bluetooth, a step counter and a heart rate monitor.

It really does not have much CPU or memory: a 64 MHz ARM Cortex-M4, 64 KB of RAM (yes, kilobytes), 512 KB of flash for the firmware and 4 MB of external flash for files. After the Bluetooth stack and MicroPython itself have had their share, about 12 KB of RAM is left for the apps. Everything on this watch has to be small.

The screen is fine, though: 240×240 pixels on 1.3 inches, about 260 pixels per inch. So if anything on it looks blocky in this post, that’s on purpose. However, you can’t have an always-on display: the battery would run out too soon. Apple Watches once had the same limitation, too!

The watch features an app for aforementioned watch monitor and step counter, and you can send notifications to it via Bluetooth.

How I got here

I bought my PineTime in March 2023, for 26.99 USD. It ships with InfiniTime. That’s fine. But InfiniTime is written in C++, and I run a Python group. So I preferred wasp-os, a MicroPython-based watch OS. However, even in 2023 that project was already quite dormant. It was running a 2019 version of MicroPython and was quite hard to build. Recently its maintainer added a note that wasp-os is looking for new maintainers.

Reviving the OS

Then I found my watch in a drawer again, and thought it would be nice to work on it a bit. So I took it upon myself to get wasp-os into shape again. Besides moving to mainline MicroPython (more on that below), this is what changed:

Mainline MicroPython

wasp-os ran on a fork of MicroPython from 2019, with patches for the watch. Porting it to mainline MicroPython also took a few changes in MicroPython itself, so I submitted three pull requests upstream: frozen native code, a fix for PWM allocation and an ADC sample time option. All three got merged, so for the first time wasp-os runs on mainline MicroPython, and an up-to-date version too. No fork needed! The changes are targeted for MicroPython 1.30, which is planned for December.

Two new watch faces

Of course I wanted my own watch faces. The first one is simple: the existing week clock, but in Dutch, because I’m Dutch. Dutch abbreviates weekdays with two letters, so it says ma 26 okt 2026. Remember that the memory on this watch is tiny, so there’s no room for a full multilingual OS. But you can just translate a watch face, build it, and put your localized version on the watch. You’ll see a picture of it on top of this post.

The second one is more fun: an 8-bit style clock. The digits come from a tiny 6×7 pixel font, and every font pixel is drawn as a block of 7×7 screen pixels for the time and 3×3 for the rest. That gives the retro look, and it needs no font data at all. Below the time and the ISO 8601 date (YYYY-MM-DD, obviously), it shows the Unix epoch, counting every second.

The pixel watch face on my PineTime

The Guido app

And then, as a finishing touch and to emphasize the Python angle, I created the Guido app. It shows a blocky portrait of Guido van Rossum, the creator of Python. Swipe, and you get the Python logo, then the MicroPython logo, and then the logo of our own Python Leiden meetup. One more swipe and you’re back at the clock.

The four screens of the Guido app

The portrait is 80×80 pixels in 16 colors, drawn three times larger. That fills the 240×240 screen and gives it a nice retro look. The logos are drawn sharp, at full resolution.

Flash is tight on this watch. The firmware has about 330 KB to work with, and a single full-screen picture as raw pixels takes 112 KB, a third of that. So I made a small image format of up to 16 colors per picture plus run-length encoding, with a decoder of about 40 lines that draws them straight to the display. All four pictures together now take under 12 KB. Still, that’s too much for something this silly to include by default, so the app is optional: you have to add it to your build yourself.

The original photo is by Kushal Das, taken at PyCon US 2024 and licensed CC BY-SA 4.0, so the blocky version is shared under the same license.

Coming up: the PineTime Pro

Pine64 is working on a successor: the PineTime Pro. It gets a 410×502 AMOLED screen, GPS, a dual-core Cortex-M33 and a digital crown. It’s still early, there’s no release date yet, and the original PineTime keeps being made. But that would be a much bigger playground for MicroPython. Guido in AMOLED!

Try it

Everything is in the pinetime-upstream-micropython branch of my wasp-os fork.

Discussion on Hacker News

Read the whole story
GaryBIshop
8 hours ago
reply
Looks like a fun project. I ordered one.
Share this story
Delete

AI delivers ‘zero financial payoff’ to most companies, according to Apollo economist

1 Comment
"Despite massive investments and widespread hype around artificial intelligence, the technology has delivered zero financial payoff to corporate America outside of tech."
Read the whole story
GaryBIshop
2 days ago
reply
I'm surprised that it isn't negative.
Share this story
Delete

AI coding agents hijacked using AGENTS.md file in Downloads folder

1 Comment
Researchers found a malicious AGENTS markdown instruction file in a customer's Downloads folder that tricked an AI coding agent into installing a rogue npm package. [...]
Read the whole story
GaryBIshop
2 days ago
reply
Agents are a security nightmare.
Share this story
Delete

Toyota Releases Video of Wheelchair-Alternative Mobility Concepts in Action

1 Comment

Last year Toyota unveiled three concepts at the Japanese Mobility Show:

Walk Me, a chair that can travel on its legs. This was presented as a wheelchair alternative that can ascend stairs and handle uneven terrain.

Boost Me, a sort of elevated wheelchair that would allow the disabled to play tennis or basketball.

Challenge Me, a rugged off-road wheelchair.

What Toyota didn't show last year, was video footage of these objects actually carrying people. But now they've released one:

"As we continue to come up with these different 'me' ideas," says Toyota Chief Branding Officer Simon Humphries, "talking about our dreams is sure to expand the range of users beyond people with disabilities, and all kinds of new uses will emerge. Ultimately, the ideal is a barrier-free world. That's why everyone should feel free to use them however they like.
"I believe doing so will steadily break down the barriers in society. It's very important that we steer things in that direction."




Read the whole story
GaryBIshop
6 days ago
reply
Super cool technology.
Share this story
Delete

Vulnerability

3 Comments and 6 Shares
Other numbers are largely unaffected, but anyone using '4' for their certificate key is urged to upgrade to '5'.
Read the whole story
GaryBIshop
6 days ago
reply
Timely!
Share this story
Delete
2 public comments
jlvanderzwan
4 days ago
reply
"Danish counting unaffected"
alt_text_bot
6 days ago
reply
Other numbers are largely unaffected, but anyone using '4' for their certificate key is urged to upgrade to '5'.
Next Page of Stories