Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmcloughlin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
mmcloughlin
8y ago
Author of avo here. While I did really enjoy working on this project, I still fully agree with you. Go (Plan 9) syntax is not sufficiently different to make it a powerful intermediate representation, hence SSA as you point out. In fact many
32.
▲
Show HN: Generate x86 Assembly with Go
(github.com)
34 points
by
mmcloughlin
8y ago
|
2 comments
33.
▲
Geohash in Golang Assembly: Lessons in absurd optimization
(mmcloughlin.com)
19 points
by
mmcloughlin
8y ago
|
0 comments
34.
▲
Running the bulls: Tech talks without the pain
(mmcloughlin.com)
2 points
by
mmcloughlin
9y ago
|
0 comments
35.
▲
by
mmcloughlin
9y ago
Thanks for pointing out the mistake. I will update the post accordingly. I still think there are some valuable lessons here.
36.
▲
Your pprof is showing
(mmcloughlin.com)
5 points
by
mmcloughlin
9y ago
|
3 comments
37.
▲
Mastering Bayes with R
(machinegurning.com)
85 points
by
mmcloughlin
9y ago
|
3 comments
38.
▲
by
mmcloughlin
9y ago
If you'd like to output to an arbitrary writer, you can use the Image method. https://godoc.org/github.com/mmcloughlin/globe#Globe.Image This can be passed to an image encoder like https://golang.o
39.
▲
by
mmcloughlin
9y ago
Oh nice! Should have used this for the cities example here https://github.com/mmcloughlin/globe/blob/master/examples/ci... In fact I might switch it, since the cities json file I used has some oddit
40.
▲
by
mmcloughlin
9y ago
Jason Davies has some beautiful maps! Interactive would be hard. It would be relatively simple to output an animated gif though, as the pinhole library does here https://github.com/tidwall/pinhole/blob/master&
41.
▲
by
mmcloughlin
9y ago
Thanks! I guess I wanted to use it to visualize data coming from other Go projects I was working on, so it made sense. A tiny example of this is https://github.com/mmcloughlin/spherand which correctly generates random
42.
▲
by
mmcloughlin
9y ago
Standing on the shoulders of giants :) gg and pinhole made this easy to write. The globe package really just deals with mapping (lat, lng) space to cartestian coordinates (and also includes some land/country datasets).
43.
▲
by
mmcloughlin
9y ago
Yes the top image in the README is cities. The Starbucks image is lower down in their distinctive green color.
44.
▲
by
mmcloughlin
9y ago
Thanks! I was really glad to find that imgur tool. I wanted to make sure the images in the README were kept in sync with the code. Also credit has to go to https://github.com/tidwall/pinhole where all the actual render
45.
▲
by
mmcloughlin
9y ago
Yes, the first image in the README is from cities.go. The data file is too big so I didn't include it in the repo, but the Makefile will fetch it. https://github.com/mmcloughlin/globe/blob/master/exa
46.
▲
Show HN: Globe visualizations in Golang
(github.com)
258 points
by
mmcloughlin
9y ago
|
44 comments