News for hackers. Stuff that matters.

astrada

Re:Algorithmic complexity attacks and libc qsort() on Wednesday June 11, 2014 @11:20AM (#7878447)
Well, sometimes you have space constraints. The O(n) extra-space required by mergesort isn't always available. But if you don't have space constraints, mergesort is a very good choice because you can easily write a highly scalable parallel version of the algorithm.
Re:WikiSort – Fast, stable, O(1) space merge sort algorithm on Saturday March 15, 2014 @08:30AM (#7404427)
> So, what would it take? A low price. If they offer a model at Nexus 4 prices, maybe...

Previous leak shows prices starting at $349 for the 16GB model (http://www.theverge.com/2013/10/17/4850738/nexus-5-google-pl...)

I think that probably it will get out of stock quickly. It's a marketing move that gets reported by major news sites, and raises interest among non-tech people. If everything goes smoothly, probably it will get less coverage.
Re:Show HN: Python library to read and manage your Gmail on Wednesday August 07, 2013 @04:11AM (#6171483)
There is the official Google APIs Client Library for Python (https://developers.google.com/google-apps/calendar/downloads). You can even test the RESTful API online using the Google APIs Explorer (https://developers.google.com/apis-explorer/#p/calendar/v3/).
Conflict resolution is not very sofisticated. You can choose to always take server side version (the default) or client side version (see https://github.com/astrada/google-drive-ocamlfuse/wiki/Confi...). My main use case is a single user working on the client or on the server. So the scenario is not of a collaborative app.
I see your point. Thanks for your feedback.
That is a proxy on GAE that makes it easier to complete the OAuth2 flow. The source code of the proxy is here: https://github.com/astrada/gd-ocaml-auth. More info about the authorization process: https://github.com/astrada/google-drive-ocamlfuse/wiki/Autho.... Let me know if you need further info.
In Italy it isn't popular at all, but a couple of friends of mine use OCaml, mostly for hobby projects. And I like the language. It is more advanced than main stream languages I know (C#, Javascript), but, being strict, it is easier (for me) to reason about than Haskell.