News for hackers. Stuff that matters.

sukmaagung

Re:All clocks are 30 seconds late on Tuesday January 07, 2025 @02:16AM (#42620145)
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.

Re:F3 – Fight Flash Fraud on Friday September 13, 2024 @12:01AM (#41527936)
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)

Re:A Real Life Off-by-One Error on Wednesday September 04, 2024 @10:12PM (#41452845)
It works. It is actually my secret technique when solving "find five differences".
Re:ASCII 3D Renderer for JavaScript on Monday August 12, 2024 @02:32AM (#41221661)
So, as long it uses only text, it can be called ASCII art, not just characters from space to tilde (or null to tilde)?
Re:Base 10 is not a good base on Sunday April 14, 2024 @09:47PM (#40036293)
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).
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