HNHacker News
TopNewBestAskShowJobs

astrada

207 karma · joined August 1, 2013

github: https://github.com/astrada
submissionscomments
astrada··on Algorithmic complexity attacks and libc qsort()
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.
astrada··on WikiSort – Fast, stable, O(1) space merge sort algorithm
quicksort is not a stable sort (http://en.wikipedia.org/wiki/Stable_sort#Stability)
astrada··on Upcoming Nexus 5 leaks in white, Nov. 1 launch date reported
> 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...)

astrada··on Upcoming Nexus 5 leaks in white, Nov. 1 launch date reported
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.
astrada··on Show HN: Python library to read and manage your Gmail
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/).
astrada··on Show HN: FUSE filesystem for Google Drive written in OCaml
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.
astrada··on Show HN: FUSE filesystem for Google Drive written in OCaml
I see your point. Thanks for your feedback.
astrada··on Show HN: FUSE filesystem for Google Drive written in OCaml
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.
astrada··on Show HN: FUSE filesystem for Google Drive written in OCaml
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.