Viewing profile — ondrasej
ondrasej
HN member- Joined
- Fri, Jul 16, 2010, 5:48 PM UTC
- HN karma
- 28
- Public activity
- 24 items
- HN profile
- View on Hacker News ↗
About ondrasej
Recent public activity
-
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.
-
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…
-
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 …
-
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…
-
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 …
-
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…
-
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…
-
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…
-
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…
-
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.
-
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…
-
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…
-
comment
Comment #2573317
An appstore (sort of) for web apps is already there: http://www.apple.com/webapps/
-
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…
-
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.
-
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).
-
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…
-
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^…
-
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…
-
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…
-
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…
-
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…
-
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…
-
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 …