Recent submissions

Comment · 1 year ago
Interesting,

When I make word clock, I make it change from "SATU LEBIH DUA" ("ONE PLUS TWO", 01:02:00) to "SATU LEBIH TIGA" ("ONE PLUS THREE", 01:03:00) at 01:02:30.

But if I make digital clock, I make it change from 01:02 to 01:03 at 01:03:00.

Comment · 2 years ago
The problem is the fake storage can just overwrite the new data on top existing data. Then you always confirm new data is correct because it broke the old ones.

But something like 2TB micro SD when actually it only has 64GB capacity, that will be very long time waiting 2TB to fully written.

How about write some file, then verify sometimes the new sometimes the old one, repeat until full.

Write(0.h2w) Write(1.h2w) Read(1.h2w) Write(2.h2w) Write(3.h2w) Read(3.h2w) Read(2.h2w) Write(4.h2w) Write(5.h2w) Read(5.h2w) Write(6.h2w) Write(7.h2w) Read(7.h2w) Read(6.h2w) Read(4.h2w) Write(8.h2w) Write(9.h2w) Read(9.h2w) Write(10.h2w) Write(11.h2w) Read(11.h2w) Read(10.h2w) Write(12.h2w) Write(13.h2w) Read(13.h2w) Write(14.h2w) Write(15.h2w) Read(15.h2w) Read(14.h2w) Read(12.h2w) Read(8.h2w) ...Read(0.h2w)

Comment · 2 years ago
It works. It is actually my secret technique when solving "find five differences".
Comment · 2 years ago
So, as long it uses only text, it can be called ASCII art, not just characters from space to tilde (or null to tilde)?
Comment · 2 years ago
Radian don't give simple numbers for simple angles. For example the right angle, in degrees it is 90deg, in radian it is 1.5707963267948966... Better using tau-radian, it is 0.25tau (right angle is 0.25 of full circle).
Comment · 2 years ago
Instead of using separator-character:

a <comma> b <comma> c <enter> d <comma> e <comma> f

why not using header-character:

<row><cell> a <cell> b <cell> c <row><cell> d <cell> e <cell> f

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton