HNHacker News
TopNewBestAskShowJobs

akhenakh

95 karma · joined February 14, 2013

[ my public key: https://keybase.io/akh; my proof: https://keybase.io/akh/sigs/-cPVHOpMzSNxEed3pccHCoclyu2BX3RaiemW8jc8fEA ]
submissionscomments
akhenakh··on Everyone should know SIMD
Still hidden behind an experimental flag but SIMD is fully functional in Go: https://pkg.go.dev/simd/archsimd
akhenakh··on TurboQuant: Redefining AI efficiency with extreme compression
Someone implementing it on llamacpp already https://github.com/mudler/llama.cpp/commit/dee102db1bfd723c9...
akhenakh··on Show HN: A Simple Server to Match Long/Lat to a TimeZone
Look at this library embedding the TZ data, implemented in multiple languages, even providing an HTTP server https://github.com/ringsaturn/tzf
akhenakh··on When British Railways deliberately crashed a train
What's up with the black and white pictures, we had colors in 1984!

Gimmick to make me feel old?

akhenakh··on Show HN: Qq: like jq, but can transcode between many formats
Readers may be interested to Dasel as well https://daseldocs.tomwright.me/supported-file-formats
akhenakh··on Show HN: Kubetail – Web-based real-time log viewer for Kubernetes
There is an existing project named kubetail, which is quite popular 3.2K starts https://github.com/johanhaleby/kubetail
akhenakh··on Ask HN: Could you share your personal blog here?
https://blog.nobugware.com

I blog about software development, GIS Geospatial, Hamradio, Go, gRPC ...

akhenakh··on Auto Traffic Control – A gRPC Programming Air Traffic Control Game
I've realized it's open source, the arm64 OSX build is taking way less cpu!

There is a render bug when the application is not focused, it's taking a tons of cpu resources.

akhenakh··on Auto Traffic Control – A gRPC Programming Air Traffic Control Game
Love the idea!

It seems you are not exposing server reflection https://github.com/grpc/grpc/blob/master/doc/server-reflecti...

It would be very useful especially for ppl discovering your api and playing with it with gRPC UI client like https://github.com/rogchap/wombat.

A Universal build (with arm64 build) on OSX would help.

akhenakh··on Surprising result while transpiling C to Go
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 ;)

akhenakh··on My Own Car System, Rear Camera, Offline Maps and Routing with Go
qemu is capable of emulating an ARM cpu so yes but won't be able to emulate all the real hardware, especially the opengl ES gpu. From a compilation perspective I believe using a cross compiler is way more efficient than emulating the whole system.
akhenakh··on My Own Car System, Rear Camera, Offline Maps and Routing with Go
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 :)
akhenakh··on My Own Car System, Rear Camera, Offline Maps and Routing with Go
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.

akhenakh··on Listening to satellites for $30
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.

akhenakh··on A fast geo database with LevelDB, Go and Geohashes
It's not actual code but notes for the simplicity of the blog post. Thanks for the advise I didn't know about Truncate.
akhenakh··on A fast geo database with LevelDB, Go and Geohashes
Hey guys author here, didn't know it was posted on HN.

You are right about complex geospatial queries, it's not the purpose of this simple storage. But someone sent me a promising lib from Google: https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSn...

It could be applied to this model to make it handle polygons.

akhenakh··on Show HN: Run Wikipedia from a Raspberry Pi
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 !
akhenakh··on Show HN: Run Wikipedia from a Raspberry Pi
I have to mention it works on Linux and OSX too, I'm using it on my laptop when I go off the grid :)
akhenakh··on Show HN: Run Wikipedia from a Raspberry Pi
images included, try the demo, it is exactly what you get offline (except off links)
akhenakh··on Show HN: Run Wikipedia from a Raspberry Pi
It works on OSX and Linux too !