HN user

akhenakh

93 karma

[ my public key: https://keybase.io/akh; my proof: https://keybase.io/akh/sigs/-cPVHOpMzSNxEed3pccHCoclyu2BX3RaiemW8jc8fEA ]

Posts11
Comments19
View on HN

Author of the blog post here, thanks for all the nice comments, you are lovely :)

First I did not post it here, the intent was to promote ccgo to the Go community.

I did recreate geoToH3 using the transpiled code and it is outperforming the helper tool provided by the C version see https://github.com/akhenakh/h3-bench/blob/main/cmd/geoToH3/m....

I hoped it was clear in the blog post: this is a very specific case where I only needed to convert coordinates to h3 index, with this specific goal this transpiled version outperform the cgo version.

The comment "probably due to Go runtime scaling on multiple cores" was me still seeing very close performance with GOMAXPROCS set to 1, but observing the process behaving differently than the pure C version. The fact it was not thread safe has been discussed already on Reddit and is not relevant nor an issue when used in a batch scenario like this.

ccgo is awesome, but feel free to discuss something else ;)

Agree, creating something nice is challenging, 3d printings may help but I haven't started it yet, waiting to evaluate different screens first. I've decided not to dismount the car block but using a phone stand modified for my screen. It's full of ugly cables, the challenging part was to route a cable from the rear of the car to the front :)

I've tried to explain this in part 1:

I assume you talk about gpsd? or libgeoclue?

gpsd is slow to start because it tries to detect the baudrate as stated in the manpage Autobauding on the Trimble GPSes can take as long as 5 seconds

I didn't find any solutions to disable this behaviour.

libgeoclue is a giant ecosystem relying on tons of libraries to work with and it does not work on my system.

Author here, based on what you are trying to listen, different antennas may be better than others.

I use a discone antenna at home, but the picture you see on the blog was made with a wire antenna not especially dedicated to sats (a 2m/70cm wire JPole) outdoor.

After 8 hours of Reddit and Hacker News storm, the gozimhttpd demo process running on f1-micro Google Compute Engine is consuming 80MB of memory (mainly pages cache) still delivering pages !