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.
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 built by another bazel rule. You can also…
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 would be large hundreds to small…
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 remain online. These costs may be covered…
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 - or at least change something about…
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 hostel and budget hotel rooms.
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. The hospital rooms could have special…
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 be very surprised if you couldn't at…
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 average price paid by Windows users, but…
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.
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 support languages with different word…
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 generated documentation should be there.…
An appstore (sort of) for web apps is already there: http://www.apple.com/webapps/
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 functional programming, but it is one of the…
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.
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).
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 still trial and error. And there are…
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^9, which is quite manageable.
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 interested to see what an algorithm that solves…
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 sometimes easier to concentrate there and I…
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 browser for paymentsm not the in app…
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 their e-mail after login would degrade the…
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, and we have the complete commit log…
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 do, it is often impossible to reproduce…
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.
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 built by another bazel rule. You can also…
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 would be large hundreds to small…
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 remain online. These costs may be covered…
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 - or at least change something about…
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 hostel and budget hotel rooms.
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. The hospital rooms could have special…
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 be very surprised if you couldn't at…
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 average price paid by Windows users, but…
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.
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 support languages with different word…
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 generated documentation should be there.…
An appstore (sort of) for web apps is already there: http://www.apple.com/webapps/
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 functional programming, but it is one of the…
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.
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).
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 still trial and error. And there are…
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^9, which is quite manageable.
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 interested to see what an algorithm that solves…
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 sometimes easier to concentrate there and I…
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 browser for paymentsm not the in app…
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 their e-mail after login would degrade the…
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, and we have the complete commit log…
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 do, it is often impossible to reproduce…