Better HN
topnewbestaskshowjobs
Log inSign up

ArnoVanLumig

54 karma · joined Feb 29, 2012 (14y ago) · 14 submissions

Submissions

comment 9y ago · link · parent

You get the message that you achieved your standing goal right after the hour in which you achieved it. So it's entirely possible that you stood at 22:10, went to bed at 22:30, and get the achievement message at 23:00.

comment 9y ago · link · parent

Ah, the infamous crotch pot slow cooker.

comment 9y ago · link · parent

Would it help to get multiple images from the pieces on the belt, each illuminated from a different direction by some kind of strobe? Then the shadows could be incorporated in detecting some shape information. Might even help with translucent pieces.

Colored strobes may also help separating out different color pieces, although I expect that would be overkill.

comment 11y ago · link · parent

You can do it with ggplot2 using the 'extrafont' library and installing the CM fonts (after loading extrafont, do 'font_install("fontcm")'). Then it's just adding

  + theme(text=element_text(family="CM Roman"))
to your plot.

For me that doesn't work when displaying the graphs in a window, but it does work when exporting to PDF with ggsave. Afterwards you have to embed the CM font into the PDF with 'embed_fonts'.

comment 12y ago · link · parent

If that happened at scale it's unlikely that Norway would still have among the lowest recidivism rates in the world. It may happen occasionally, but saying it's "somewhat common" has to be an overstatement.

comment 13y ago · link · parent

Not sure if it counts as an IDE, but emacs has follow-mode which does this.

http://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/F...

comment 13y ago · link · parent

I've found that the rules can be expressed quite elegantly and compactly in a language that supports pattern matching. I have a Haskell implementation [1] which is just under 300 lines of code including the parsing of SAN moves (standard algebraic notation) which is used in PGN files.

[1] https://github.com/ArnoVanLumig/chesshs

comment 13y ago · link · parent

I don't quite understand.

If I visit a web page that has an ad then that might net the website owner $0.001 (or something along those lines, I have no real figures). I would personally have no problem paying $0.002 per page view to get an ad-free site. No subscription, just pay a very small amount per view or get ads.

From my point of view, which is probably naive, the website owner would rather have $0.002 instead of $0.001 per page view.

Actually transferring fractions of a cent is of course difficult, but there are ways to work around that.

comment 13y ago · link · parent

Slightly unrelated: Why don't more sites allow hiding of ads for a small fee? Over the last year I've probably donated a lot more money to sites than all advertising revenue I would have generated were I not using AdBlock.

What I would like to see is a kind of browser extension that automatically donates a (very) small amount to every site I visit per page view. In return, the site would not show me any ads. Safety would be a concern though.

Of course this would not be good for Google at all, so they might want to block such an extension too...

comment 13y ago · link · parent

I had an idea about this recently, and would love for someone to further develop it. I already implemented a proof of concept, but won't have time to build it to a complete product any time soon.

The (simplified) idea for recommending movies was:

1. Crawl a torrent site (say, the pirate bay) for as many torrents you can find. Extract the title, description, magnet link and category for each torrent. 2. Use the DHT network to find out which IP addresses are downloading what torrents 3. Use these (torrent, ip) tuples to build a recommendation based on "People who download X also download Y"

This way you can try to find movies that are liked (or actually, downloaded) by people with similar taste to you. The quality of this recommender is quite impressive in my opinion.

Email me at arno at vanlumig dot com if you want to see the proof of concept, I won't post a link here because the performance is quite bad and I'm sure the server won't be able to handle any significant load.

I will make the data (torrent metadata and data about who downloaded what) available as soon as I've anonymised the IP addresses, also mail me if you're interested in that data.

comment 13y ago · link · parent

One article I've found helpful with A/B testing is [1] which also describes some common statistical problems (e.g. Simpson's paradox as it applies to A/B testing) based on case studies. It's written as a research paper by some folks at Microsoft, but it's definitely very readable.

[1]: http://www.exp-platform.com/Documents/2009-ExPpitfalls.pdf

comment 13y ago · link · parent

These "more efficient" methods are also available without gun regulation, so why doesn't this happen already? Apparently there's something about guns that makes them an attractive weapon for these people.

Another thing here is that gun regulation alone is not sufficient. In the Netherlands guns are heavily regulated, but we still had the incident in Alphen a/d Rijn [1] last year. The shooter was a member of a shooting association and was known to have mental problems. That's just not a good combination.

If guns could be regulated in such a way that they never end up in the hands of violent lunatics that would probably be okay, but I just don't see how you could do that without banning them altogether.

[1] http://en.wikipedia.org/wiki/Alphen_aan_den_Rijn_shopping_ma...

comment 14y ago · link · parent

One of my recent weekend projects was implementing a simple command-line interface to the Azure blob storage in Haskell. It's not quite finished, but may still be useful to some. Check it out at https://github.com/ArnoVanLumig/azurify

comment 14y ago · link · parent

Private entities can place an order at the Dutch Farnell by email if the total sum is over 50 euros. See for instance [1]. I could not find similar regulations at the German Farnell site.

[1] http://nl.farnell.com/images/nl_NL/pdf/Particulier_voorwaard...