Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
edwardc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Google rolls out rapid Air Raid Alerts system for Android phones in Ukraine
(twitter.com)
5 points
by
edwardc
5y ago
|
0 comments
2.
▲
by
edwardc
6y ago
Thanks for the feedback. Yes, I have been imagining the same thing too! Just need to track down a e-ink display for this sort of fun project. Anyone know of any good ones that would make this easy?
3.
▲
by
edwardc
6y ago
Yes, there's nothing to prevent very small maps like what you saw - even ones that terminate with a dead-end before a road has been drawn (eg. https://random-roads--edwardcunningh2.repl.co/#1592758760947 ). I considered
4.
▲
by
edwardc
6y ago
Good one! Yes, you've hit the bottom there. It is artificially limited to a 1001 x 1001 grid - just to stop it from growing forever (which could get quite slow on lower end devices). In practice I rarely encounter maps that go that far
5.
▲
by
edwardc
6y ago
Thanks for the feedback - the minimal look is pleasing to my eye too! I wrote a brief description in this comment: https://news.ycombinator.com/item?id=23592538 Initially I had envisaged something a bit cleverer, but for an
6.
▲
by
edwardc
6y ago
Thanks. It's plain JavaScript, rendering with an HTML canvas. I did investigate JS 2D graphics libraries but decided in the end that this was sufficiently simple to not warrant one. It was harder than I expected to get the drag & z
7.
▲
by
edwardc
6y ago
Thanks! You can see the code here: https://repl.it/@EdwardCunningh2/Random-Roads It's not especially clever: 1. I define a set of possible moves (eg. straight ahead, left turn, junction, etc). One possible move is
8.
▲
by
edwardc
6y ago
Well spotted! I enjoy the large ones (eg. https://random-roads--edwardcunningh2.repl.co/#1589058113269 ) where I imagine the gaps left in the middle to be parks.
9.
▲
Show HN: Random Roads
(random-roads--edwardcunningh2.repl.co)
144 points
by
edwardc
6y ago
|
50 comments
10.
▲
An Investigation of Chrysaor Malware on Android
(android-developers.googleblog.com)
1 points
by
edwardc
10y ago
|
0 comments
11.
▲
Doppel: Wearable tech concept to set your rhythm
(kickstarter.com)
1 points
by
edwardc
11y ago
|
0 comments
12.
▲
Are smartphones killing memories?
(bbc.co.uk)
1 points
by
edwardc
13y ago
|
0 comments
13.
▲
by
edwardc
14y ago
The Scream in Space 'experiment' uses screams uploaded to YouTube as part of a competition last year: http://www.screaminspace.com/ (and since this is HN, https://github.com/cuspaceflight/SpaceScream ).
14.
▲
Android CubeSat launched into orbit
(bbc.co.uk)
1 points
by
edwardc
14y ago
|
0 comments
15.
▲
YouTube videos on Android cubesat to test "in space, no-one can hear you scream"
(screaminspace.com)
9 points
by
edwardc
14y ago
|
0 comments