HNHacker News
TopNewBestAskShowJobs

andlima

118 karma · joined October 7, 2011

submissionscomments
andlima··on Run NanoClaw in Docker Sandboxes
It would be interesting to have nanoclaw adapted to the Pi coding agent rather than Claude Code, which would combine two minimalist approaches.
andlima··on Ugit - DIY Git in Python
+1 It would be awesome to have a tool that creates a website like that from a git repo and a collection of markdown pages matching the commits.
andlima··on Why are we using black box models in AI when we don’t need to? (2019)
Machine Learning is about solving a task by automatically learning patterns based on examples and trying to generalize to new data. Granted, it's not necessarily the best approach to understand deeply how a phenomenon occurs.

You could use a black box model if you're more interested in predicting correctly images of handwritten digits than in understanding how the pixels relate to each other.

Of course, usually people want both accuracy and interpretability. It boils down to understanding what's more important for the problem at hand and making the compromises accordingly.

andlima··on Why are we using black box models in AI when we don’t need to? (2019)
It's not that accuracy will always be sacrificed if one wants an explainable model. The point is: if interpretability is an important constraint, it could prevent improvements on accuracy.

Sometimes, the best interpretable model is as good as a black box, and that's great.

When this is not the case, the trade-off is that one should see what's more important for the actual problem. Perhaps interpretability is not a big deal.

Another solution is to try to extract interpretability from the more accurate black box model with something like SHAP.

andlima··on Céu: Structured Synchronous Reactive Programming
Assuming it's céu as in the Portuguese word for sky, it's pronounced as /sɛw/ (in Brazilian Portuguese, at least). It sounds similar to "sell", only ending in /w/ rather than /l/.

http://pt.tfd.com/c%C3%A9u

andlima··on A Brazilian Wunderkind Who Calms Chaos
Actually, I think the coverage was decent until now (at least on the web), but, yeah, the death of Eduardo Campos will definitely eclipse the award.
andlima··on Python 3.4.0 released
There's a comment about that over there: "# FIXME: investigate ways to calculate medians without sorting? Quickselect?"

http://hg.python.org/cpython/file/3.4/Lib/statistics.py (line 296)

andlima··on 100 Prisoners and a Lamp
This is a really nice puzzle! I didn't know William Wu wrote a paper about it. I saw it many years ago on William Wu's riddles site[1] (highly recommended). It's one of the most popular problems there. The original thread[2] in the forum has 25 pages, covering lots of approaches. There is also another thread[3] summarizing the discussion.

[1] http://wuriddles.com/

[2] http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board...

[3] http://www.ocf.berkeley.edu/~wwu/cgi-bin/yabb/YaBB.cgi?board...

andlima··on Brazil protests spread in Sao Paulo, Brasilia and Rio
Care to explain why you don't consider Haddad and PT (the Workers Party) leftists? I totally disagree.
andlima··on Judge Says Mathematical Algorithms Can’t Be Patented
Hmm, didn't know about that. Thanks for the info.
andlima··on Judge Says Mathematical Algorithms Can’t Be Patented
Is that why twin brothers can't sue one another for patent violation? :c)