HN user

sausheong

264 karma

I write, code.

Posts22
Comments19
View on HN
go-recipes.dev 4y ago

Clash of the minimum spanning tree algorithms

sausheong
2pts0
medium.com 6y ago

Scanning for mobile devices through Wi-Fi using Pi Zero W

sausheong
2pts1
medium.com 6y ago

Building simulations with a Go cellular automata framework

sausheong
5pts0
towardsdatascience.com 6y ago

Simulating epidemics using Go and Python

sausheong
2pts0
medium.com 6y ago

Build a thermal camera with Raspberry Pi and Go

sausheong
11pts0
medium.com 6y ago

Simulating epidemics using Go and Python

sausheong
1pts0
medium.com 6y ago

Simulate cultural interactions using Go and Python

sausheong
2pts0
medium.com 6y ago

Estimate the solar output of your rooftop with Google Maps

sausheong
2pts0
medium.com 6y ago

Setting up a Raspberry Pi 4 as an development machine for your iPad Pro

sausheong
1pts1
github.com 6y ago

Write web apps in multiple programming languages with Tanuki

sausheong
1pts0
sausheong.github.io 7y ago

Create a simple cross-platform desktop game with Go

sausheong
151pts21
sausheong.github.io 8y ago

Build Simple Neural Networks with TensorFlow, Keras, PyTorch and MXNet/Gluon

sausheong
4pts0
sausheong.github.io 8y ago

How to build a simple artificial neural network with Go

sausheong
2pts0
sausheong.github.io 8y ago

Writing Space Invaders in Go

sausheong
9pts2
sausheong.github.io 8y ago

Writing a flocking simulation with Go

sausheong
4pts0
sausheong.github.io 8y ago

A gentle introduction to genetic algorithms

sausheong
50pts2
blog.saush.com 11y ago

HTML Forms and Go

sausheong
1pts0
manning.com 11y ago

New Golang Book – Go Web Programming (Manning)

sausheong
3pts0
github.com 11y ago

How to Create a Web App in 3 Different Programming Languages

sausheong
37pts1
github.com 12y ago

Polyglot is a distributed web framework for multiple programming languages

sausheong
135pts54
news.ycombinator.com 13y ago

Ask HN: What do you think of http://decks.io?

sausheong
6pts9
csspics.herokuapp.com 13y ago

CSS Pictures

sausheong
2pts2
[dead] 4 years ago

A fiction short story on AI for people managers or anyone who have managed people before

I wrote the blog post, thanks Serge for the great library! I considered the self-contained app without the web server method, but I've already done the images before and I'm way more comfortable with Go web programming (I wrote that book too).

You're probably right, I'm just mucking around with various things, didn't really thought too much about optimizing the code. The frame rate on the terminal is basically as fast as iTerm2 can display the image, I can't really control it (except maybe make it slower). It looks rather fast on the GIF because I cut down the number of frames in the GIF, but the actual game runs more reasonably.

Thanks for the confirmation.

The implementation today is as a task queue which removes the request from the queue once a responder acknowledges, but it could be a pub-sub model, where a number of independent responders can work on the same message in parallel, and only 1 responder need to return a response. In this case, persisting in the queue is useful.

An alternative is to chain the responders where one responder can leave a message in the queue for another responder, and the final responder returns the response.

Polyglot is still experimental though, and the current implementation is a prototype.

Thanks for the suggestion, it's a good one. A few cases a message queue can be advantageous -- (1) persistence (2) a few responders can work on the same request in parallel (3) adding/removing responders dynamically according to the load.

These are not common/generic use cases but would be useful under particular circumstances.

* I could be wrong with (3) -- I'm not very experienced in reverse proxies.

I see what you mean. The current service is entirely cloud-based meaning you can't view the slides without an Internet connection. It follows the model for most remote presentation software.

I see the benefits of having off-line presentations but that's more in the domain of Slideshare, where you can download the slides and view them offline. However this means the presenter is no longer able to control the presentation any more and this is one of the main reasons for the service.