Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Lua[0]? (Score 1) 729

Arrays in C++ start at 0. I'm pretty sure you can set a pointer into the middle of the array in C++ and do this by indexing the pointer. I know you can do it in C -- a couple companies ago I deployed something that did that into production code, mainly to keep the design review board on their toes. They weren't, and it got deployed that way. I thought it made more sense that way anyway, so I never mentioned it. It's entirely possible it's already confused the hell out of a code maintenance guy, but hopefully he'll think it makes more sense that way too.

Comment Re:Add milk (Score 1) 228

I always find that adding any sort of alcohol to coffee always sounds better on paper than it works in practice. I'd rather enjoy my coffee and alcohol separately. The only time I've ever actually had it work was in adding a small amount of Jose Ceuvero Cinge (cinnamon tequila) to Vietnamese coffee. But you could get a similar effect with cinnamon syrup or... just cinnamon. I'm also pretty sure the guy at the local Vietnamese restaurant would murder me if he saw me adding tequila or cinnamon to his coffee. He seems to take it pretty seriously.

Comment Hah! Oh... Thanks... (Score 3, Funny) 533

I needed a good laugh. I suppose as a potential investor, I'm happy to know that his company is woefully unprepared to compete in a rapidly-evolving marketplace. It's kind of surprising to encounter such honesty in this day and age. Of course, he probably doesn't realize that he just admitted his company is woefully unprepared to compete in a rapidly-evolving marketplace, but that's one of the root causes of them being woefully unprepared to compete in this marketplace, isn't it?

Slashdot Top Deals

Intel CPUs are not defective, they just act that way. -- Henry Spencer

Working...