Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DerekL
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
871.
▲
by
DerekL
14y ago
int x = 'A'; is also implementation-defined.
872.
▲
by
DerekL
14y ago
C99 has array and struct literals: (int []) { 1, 2, 3 } (struct Point) { 3, 5 } (struct Point) { .x = 3, .y = 5 }
873.
▲
by
DerekL
14y ago
Question 1 asks about syntax. The behavior of the code is irrelevant.
874.
▲
by
DerekL
14y ago
Woz designed Apple Desktop Bus, first used in the Apple IIGS and then in Macintoshes until the switch to USB. But your point remains; Woz hasn't done anything at Apple since 1987.
875.
▲
by
DerekL
14y ago
Also, in 1984 one of the major competitors to the Macintosh was the Apple II. The Mac didn't overtake the Apple II series in unit sales until about 1987. http://arstechnica.com/features/2005/12/total-share/5/
876.
▲
by
DerekL
14y ago
Yes, that's how you use them on a laptop or Apple bluetooth keyboard. But the point is, on Windows or Linux, they move the cursor, but on the Mac, they scroll the view but don't move the cursor. Home scrolls to the beginning and End scrolls
877.
▲
by
DerekL
14y ago
Okay, I didn't know that.
878.
▲
by
DerekL
14y ago
I commonly see the misspelling "MicroSoft". Does anyone know if it was ever spelled that way? Originally it was "Micro-Soft", but did they ever use the intercaps form? People commonly misspell "Xcode" and "Xbox", but I really hate it when t
879.
▲
by
DerekL
14y ago
Instapaper is no different than web browsers that reformat pages according to the user's wishes by changing fonts and colors, hiding ads or saving to an archive. The Instapaper server only saves the URL, title and maybe some other metadata;
880.
▲
by
DerekL
14y ago
Coincidentally, the most recent Project Euler problem concerns a variant of this, called weak Goodstein sequences. The lengths of the weak Goodstein sequences don't grow quite as fast. http://projecteuler.net/problem=396
881.
▲
by
DerekL
14y ago
What do maps on iOS6 have to do with the walled garden? Third-party map apps are allowed on the App Store.
882.
▲
by
DerekL
14y ago
No, he can't. The CPSC is an independent agency, run by five commissioners. The president nominates the commissioners, but he can't give them orders or fire them without cause.
883.
▲
by
DerekL
14y ago
True, it's not dereferencing NULL at the machine level, but in C++ terms, it really is dereferencing the pointer. Evaluating the expression " p" (or "p->m", which is equivalent to "( p).m") is dereferencing. What it isn't doing is readi
884.
▲
by
DerekL
15y ago
Don't write "Java" in all caps. It's not an acronym.
885.
▲
by
DerekL
15y ago
Most stores in the US don't include sales tax in the listed price, but some do. Examples include vending machines, Starbucks and other coffee shops (but not usually locations inside book stores and supermarkets), and concession stands at co
886.
▲
by
DerekL
15y ago
You mean the Atari 8-bit computers; the Atari 400 and 800 were released in 1979. The Atari ST didn't debut until 1985.
887.
▲
by
DerekL
15y ago
So, if someone sells some item, but not in the format you desire, their rights (of intellectual property or physical property) should be abrogated? Suppose you go to a store wanting a six-pack of beer, but they only have 24-count cases. Sho
888.
▲
by
DerekL
15y ago
The iCADE works as a Bluetooth keyboard. Each key and joystick direction (up, down, left, right) sends one letter when pushed and a different letter when released. The iControlpad can also work in this mode. I don't know if there's a way to
889.
▲
by
DerekL
15y ago
You're probably thinking of ISO 8601.
890.
▲
by
DerekL
15y ago
No. If the allocation fails, it throws an exception, and the destructor isn't called.
891.
▲
by
DerekL
15y ago
So many critics don't understand that leaving the case unchanged from the previous model is a feature, not a bug. All of the accessories that attach to the phone, cases, tripod mounts, battery packs, etc., don't have to be redesigned. They
892.
▲
by
DerekL
15y ago
Yeah, it's almost like blog.wolfram.com is just a promotional tool for Wolfram Research. Actually, that's exactly what it is. This blog is not pretending to be an unbiased information source on mathematics or computer algebra software. If y
893.
▲
by
DerekL
15y ago
Reminds me of the Saturday Night Live game show parody "Jew, Not a Jew". The host would name a celebrity, and the contestant would have to answer "Jew" or "not a Jew".
894.
▲
by
DerekL
15y ago
A company called ELP sells laser-based turntables. They start at $9900.
895.
▲
by
DerekL
15y ago
Coincidently, the retail price of the Apple I was $666.66.
896.
▲
by
DerekL
15y ago
That's probably because of the recession, and because the current home consoles were introduced in 2005 and 2006.
897.
▲
by
DerekL
15y ago
You're a bit off about CD's. They weren't popular yet, but they did exist. They first went on sale in the US in 1983, and 4% of albums sold in 1985 were on CD. For portable music in 1985, there were also cassette tapes.
898.
▲
by
DerekL
15y ago
Make, Games, World of Puzzles
899.
▲
by
DerekL
15y ago
No, they didn't use Grey code for that, they used a "linear feedback shift register". A LFSR has lower propagation delay than a normal binary counter. The driving controllers did use Grey code.
900.
▲
by
DerekL
15y ago
The left operand is an int, so the result of the shift expression is an int. The fact that the shift expression is used to initialize a long is not relevant.
More ›