151 karma · joined Dec 13, 2010 (15y ago) · 59 submissions
comment 3y ago · link · parent
I am by no means a networking expert and was able to use technique to work around a similar issue in the past. It was easier than I expected!
comment 10y ago · link · parent
It will indeed be interesting to see how the well the Uber deployment goes in practice. They certainly did not choose an easy place to start.
comment 10y ago · link · parent
That being said: I don't think that a graphics is a good addition to the standard library. It would tremendously difficult to standardize this for the reasons others have mentioned.
comment 10y ago · link · parent
They replaced the display for free outside of AppleCare. I didn't have to argue with them at all, so I suspect that this is their standard response. YMMV if you have a newer model.
comment 10y ago · link · parent
http://stackoverflow.com/a/1201840/111426
However, it's close enough that I generally agree with your point.
comment 11y ago · link · parent
"The order of allocation of bit-fields within a unit (high-order to low-order or low-order to high-order) is implementation-defined"
There is no guarantee on the order of the bits inside a bitfield. The compiler may also introduce padding, e.g. for alignment purposes. This makes bitfields unusable for unpacking binary data.
Unfortunately, you're stuck with shifting and masking to replicate the same effect.
comment 12y ago · link · parent
Also, both algorithms require identical data structures. After all, Dijkstras is just A* with a zero heuristic.
I do agree about the constant factor, though: it's likely that a binary heap would be faster on most data sets.
comment 13y ago · link · parent
One heuristic is to solve an IP is to relax the integer constraint to inequality constraints, solve the LP, and round the results. However, this can do arbitrarily poorly on most problems.
comment 13y ago · link · parent
"…prohibits you…from disclosing this letter, other than to…an attorney to obtain legal advice or legal assistance with respect to this letter.""
Source: http://upload.wikimedia.org/wikipedia/commons/9/91/EFF-IA_Na...
comment 13y ago · link · parent
I don't see a compelling reason to use Octave unless you're trying to avoid paying for a Matlab license. If you're going to switch tools, why not switch to NumPy/SciPy and get the advantage of using a full-featured programming language?
comment 13y ago · link · parent
1. Anytime D* was used by the winner of the DARPA Urban Challenge
2. Field D* was used by Spirit and Opportunity on Mars
3. ARA* (and other A* variants) are a method of optimal motion planning in robotic manipulation
comment 14y ago · link · parent
comment 14y ago · link · parent
Look at the videos of astronauts on the moon from the Apollo landings. Everything they do kicks up a significant amount of dust that takes quite a while to dissipate. Obviously it's not a perfect comparison because the moon has weaker gravity and a different composition.
comment 14y ago · link · parent
It's a shame these monitors don't have an HDMI input. Then again, I can't complain given the price.
comment 14y ago · link · parent
IANAL and don't know enough about employment law to know if this is a legitimate concern. It doesn't sound like this is a very serious effort ("Facebook had a third-party developer create the new site"), so maybe there's nothing to be worried about.
comment 14y ago · link · parent
Even with Google Reader, RSS feeds aren't very easy-to-use for non-technical people. It's going to be interesting to see how they adapt now.
comment 14y ago · link · parent
http://store.apple.com/us/browse/home/shop_ipad/family/ipad
(look at the bottom of the page)
comment 14y ago · link · parent
Unfortunately, it sounds like it will be PC-only (or PC/Mac, depending on which article you believe).
comment 14y ago · link · parent
Using a hybrid remote operated/autonomous approach is reasonable, though: only send high level commands to the robot. These commands require less bandwidth and are less impacted by latency, so it's the best of both worlds. I believe NASA already does something like this on the Mars rovers by allowing the operator to specify waypoints and letting the robot plan their own paths between the waypoints.