HNHacker News
TopNewBestAskShowJobs

bochi

301 karma · joined May 12, 2011

submissionscomments
bochi··on Bandit Algorithms Book [pdf]
Bandits are probably one of the most underrated machine learning algorithms. One possible application is recommendation systems. Shameless self promotion. I wrote an article about it: https://towardsdatascience.com/how-not-to-sort-by-popularity...
bochi··on Gonum – Numerical Computing for Go
We are just exporting the matrices. Nothing fancy.
bochi··on Gravity Simulator
I did something similar in Javascript. My implementation uses the Runge-Kutta algorithm, that is more stable. My GUI does not allow planet creation, but it shows several stable configurations, including the 13 recently found three body planar orbit configurations.

http://jbochi.github.io/planets/ http://suki.ipb.ac.rs/3body/

bochi··on CopyCat: Protocol-agnostic implementation of the Raft consensus algorithm
Riak CS is S3 compatible.

I have a very similar problem and end up writing a python script that copies the files to cassandra and Nginx + Lua to serve them using lua-resty-cassandra. The read/write throughput is still not as good as I was expecting though.

bochi··on Distributed systems theory for the distributed systems engineer
This article is the best introduction to the topic in my opinion: http://steve.vinoski.net/pdf/IC-Rediscovering-Distributed-Sy...

Another good reference for understanding distributed databases is: http://cs-www.cs.yale.edu/homes/dna/papers/abadi-pacelc.pdf

bochi··on Programming Language Popularity on GitHub and Stack Overflow
It would be interesting to see the same data broken down by year. Lua, Clojure, and Go are at about the same position, but I wonder which one is gaining traction. Probably Go.
bochi··on Redis new data structure: the HyperLogLog
This blog post is a nice survey about other interesting probabilistic data structures: http://highlyscalable.wordpress.com/2012/05/01/probabilistic...
bochi··on Tiobe Index for January 2014
It's hard to believe that JavaScript and Transact-SQL have more or less the same popularity (1.569% against 1.559%). That's why I don't care about this index anymore.
bochi··on JavaScript particle simulator
Barnes-Hut is O(n log n) http://en.wikipedia.org/wiki/Barnes%E2%80%93Hut_simulation
bochi··on Ask HN: Where do you find interesting papers to read?
There is a nice big list here: http://cstheory.stackexchange.com/questions/1168/what-papers...
bochi··on Making HTTP realtime with HTTP 2.0
Ilya Grigorika, the presentation author, has also written a book called High Performance Browser Network that I highly recommend if you are interested on the subject.

There is a free online version available at http://chimera.labs.oreilly.com/books/1230000000545/index.ht...

bochi··on Nginx image processing server with OpenResty and Lua
With OpenCV you can also do face detection and feature recognition for smarter crops. Thumbor does that and is used in a large scale at globo.com: https://github.com/globocom/thumbor.
bochi··on HTML Live Video Streaming Via WebSockets
I did that some time ago: https://github.com/jbochi/gifstreaming
bochi··on Hexagonal grids for games
I've implemented the FOV algorithm suggested on this article without ray casting in Javascript: https://s3.amazonaws.com/jbochi/layout.html

It was an experiment for a game that I was working on, but I never finished it: https://github.com/jbochi/duelo

bochi··on How I Made Porn Video Streaming More Efficient with Python and C
There is on open source a Nginx module that streams RTMP and creates HLS segments that looks promising: https://github.com/arut/nginx-rtmp-module

There are also red5 (http://www.red5.org/) and rtmpd (http://www.rtmpd.com/)

bochi··on Damn Cool Algorithms: Cardinality Estimation
If you liked this post, you will probably find this article about other probabilistic data structures interesting too: http://highlyscalable.wordpress.com/2012/05/01/probabilistic...
bochi··on A 4G LTE base station running entirely in software on a standard PC
Fabrice Bellard a genius: http://en.wikipedia.org/wiki/Fabrice_Bellard
bochi··on Show HN: My Github résumé
It would be nice if the resume included popular projects the user has contributed to.
bochi··on Notch live coding 0x10c
What about unit testing? He constantly tests the changes manually, but I don't see any automated tests.
bochi··on Web Scraping with Google Spreadsheets and XPath
tl;dw(atch): Use the ImportXML function and XPath: https://docs.google.com/support/bin/answer.py?answer=155184
bochi··on Cryptographic stenography could thwart Internet censorship
Interesting! I've created an open-source library in Go to hide text on images: http://strogonoff-demo.appspot.com/
bochi··on Bazinga - Incremental tests for Python
I built this Nose plugin inspired by Google's CI system: http://googletesting.blogspot.com/2011/06/testing-at-speed-a...

Hope it's useful.

bochi··on Show HN: roll.io eats txt files and shits youtube videos. Useful?
Really nice idea. I have created something similar but I try to create a playlist for those who have last.fm accounts: http://lastvj.appspot.com
bochi··on Ask HN: Ok, so i have an awesome app, and 10K in budget, now what?
Create something that makes people so happy they will tell their friends about it.