Live data from Hacker News

Viewing profile — ondrasej

ondrasej

HN member
Joined
Fri, Jul 16, 2010, 5:48 PM UTC
HN karma
28
Public activity
24 items

About ondrasej

http://www.ondrejsykora.com

Recent public activity

  1. comment
    Comment #27472336

    I can't speak for the parent, but I've been using RAII and smart pointers in the 00s and it provided a lot of the benefits that got standardised with C++11.

  2. comment
    Comment #21291423

    There's genrule() which basically runs a shell script. With that, you can build anything for which you can write a command-line. And you can go as far as invoke a binary that is bu…

  3. comment
    Comment #20498151

    The same seat gets used on most days, by many different passengers (and many of them are used by multiple passengers per day). By a conservative estimate, profit per seat per year …

  4. comment
    Comment #17201075

    Online content is not exactly the same as physical goods, but it's not that far either: - it costs very real money to produce, and - it costs very real money to be served and to re…

  5. comment
    Comment #10177136

    First, be very careful about burning out. It can happen faster than you think if you have to force yourself to do the work every day. Second, maybe you should find a different job …

  6. comment
    Comment #8113181

    The price for Hong Kong looks weird, NomadCost per month in HK is roughly 350 EUR lower than the monthly rental costs. This is probably due to the very low listed price of the host…

  7. comment
    Comment #7582585

    This is definitely not a short-term solution, and it might not be practical even in mid-term, but wireless charging sounds like a perfect solution for this kind of environments. Th…

  8. comment
    Comment #4992363

    I don't know what they do if you ask for a battery replacement or when something's wrong with the SSD, but changing a display on my 2011 MacBook Air was a matter of 20 minutes. I'd…

  9. comment
    Comment #4428117

    These two facts are not necessarily in contradiction. At this moment in the current Humble bundle, the average price paid by Linux and Mac users is significantly higher than the av…

  10. comment
    Comment #4280306

    It just reminded me of http://www.flickr.com/photos/aebax/893691711/ The original site seems to be down at the moment, but fortunately, someone put it on Flickr.

  11. comment
    Comment #3942689

    I wouldn't argue against using a formatting string in general, but the printf style order-based formatting strings are really bad once you need to localize your app and have to sup…

  12. comment
    Comment #3781447

    As for commenting - code that is meant to be a library should have a clearly documented API. Perhaps not from the beginning, but as the API gets stable, the JavaDoc comments for ge…

  13. comment
    Comment #2573317

    An appstore (sort of) for web apps is already there: http://www.apple.com/webapps/

  14. comment
    Comment #2541428

    Definitely Programming in Scala - http://www.artima.com/shop/programming_in_scala . You might find some parts of the book a little boring if you already have experience with functi…

  15. comment
    Comment #2498803

    I guess the point of the article is that when you're doing an invalid cast, you in fact want to get an InvalidCastException, not NullPointerException.

  16. comment
    Comment #2474476

    Actually, geting reference counting right and mostly bug-free is much easier, if you use C++ and do the counting via objects on stack (RAII).

  17. comment
    Comment #2372638

    The code in the post is based on depth-first search, which basically is a trial and error approach. A well implemented and effective one thanks to constraint propagation, but it is…

  18. comment
    Comment #2372615

    That's why I called it pathologic... ;) Edit: using the symmetries described in the same Wikipedia article, the size of the database could be reduced significantly to roughly 5*10^…

  19. comment
    Comment #2371614

    If you do the constraint propagation right, the number of trials and errors will be very small (and it will be only one trial and no errors for the easy ones). I'd be very interest…

  20. comment
    Comment #2270487

    I've voted for work from home, as it is what I do most of the time. But I also do have a place at a shared office and I prefer to spend at least a day each week there, as it's some…

  21. comment
    Comment #2250778

    I'm glad to see Hipmunk have an app, this could make searching for flights even more fun. I was interested if they had any problems with selling tickets via an iPhone app using the…

  22. comment
    Comment #2181525

    Using Facebook/Twitter/OpenID accounts for login would probably remove this issue completely. Though, I'm not sure if you can get e-mail from these, and making the users enter thei…

  23. comment
    Comment #1545182

    However, the current version control systems usually have compatibility layers and/or import tools. We have a project that started wih CVS, then moved to SVN and now runs on Hg, an…

  24. comment
    Comment #1543486

    There are some well known public data sets used for this purpose, such as those in the UCI Machine Learning repository. Unfortunately, not everyone is using them. And even if they …