Comment Re:Any relation to Alex Chu? (Score 2, Funny) 233
Just because it's a popular last name doesn't mean that everyone with the last name 'Chu' is sterile, you insensitie clod.
Quite the opposite, I would think.
Just because it's a popular last name doesn't mean that everyone with the last name 'Chu' is sterile, you insensitie clod.
Quite the opposite, I would think.
Actually, R is an imperative language. You can loop just fine, as well as modify variables (state) and everything else you'd expect from a normal language. (Though functions are first-class objects and all that)
The reason you don't is that it's like SQL in that its statements can work on whole tables at a time. For example, applying mean() to a table gives you an array with the mean value of every column (and the array positions are named after the column names).
If you want to get the rows of an array (x) with 0 on column 1, you do x[x[,1]==0]. basically, x[,1] gives you a one column table with the appropriate column, x[,1]==0 gives you a vector of true,false values, which you can use to index into the array again.
You can do things like by(x,x[,1]==0,nrow), which gives you how many rows have 0 and how many don't on column 1. by(x,x[,1]==0,mean) gives you the per-column mean of the rows which have 0 on column 1 and the same for those that don't
Anyway, you get the idea. You can loop just like can use cursors in SQL, but your code will be slower and less readable if you do.
Actually, they can already be reprogrammed wirelessly, but not via wifi or bluetooth, nor at any reasonable range.
Since only doctors have to change the settings, it is profitable for the pacemaker companies to make pacemakers require a special handheld programmer using a special low-power protocol and built by the same company. Vendor lock-in of doctors and all that.
Replanting is great, but does that newly planted tree use as much CO2 as the 100 year old one cut down? Trees take a while to regrow... so saying they're being replanting is a bit disingenuous.
Yes. That's whee the carbon in the new wood comes from. Same amount as the old tree used when growing up.
Besides, you don't burn the tree to make paper. The carbon in the old one is still sequestered.
While insighful, I'm not sure "enemy" combatant applies. After all, most of the world isn't an enemy of Gaza or Israel. There is probably some classification like that (Unlawful combatant?), though I doubt whether there even are legal consequences your country is not involved in the war. It's even less clear if you reside on a country that has a mutual defense kind of agreement with of one of these countries.
Yes, joining on such a botnet is stupid. Yes, joining such a botnet in wartime would be stupid, possibly in a legal way. Yes, joining it while in one country would be even more stupid if your country were to lose and you get caught by the occupying army. Yes, joining while in the target country would be supremely stupid.
But it would be interesting to hear a lawyer weigh in on this
What if they were to penetrate the network of a hospital? Of a police station?
Oh, noes!! They could stop all of people's pace makers! And turn on all the police cars and drive crash them into walls!!!
Err, no. This isn't Terminator 3, you know. And no medical device that I know of is normally networked. You can't trip the power breakers either.
The best they could do is take down their web site, or erase admission records and such. annoying, yes. Big monetary loss, yes. At a level matching the rest of the war? Not really.
Who knows, maybe someday there will be international treaties not to hack hospitals, like the Geneva convention protects doctors. Just to shut you up.
You probably had the module preinstalled? Or did you do a clean install?
My blackberry (8320) will not charge on my Ubuntu laptop. It won't charge on Windows before installing the drivers either. I found bpowerd for linux before this article, but I haven't got around to installing it, since the binaries are only for 7.10 and 8.04 and I usually charge from a wall socket anyway.
Try it on Linux. They probably show up as
Of course, blackberrys aren't recognized automatically.
Watch out. The Joker might want to have a word with you
Since you seem to be knowledgeable about the subject:
Do you know of any VR Goggle with a wide field of view? Everything I see has at most 40 degrees field of view, which would be like looking through a tunnel. I can get a wider field of view by standing near my monitor (Which I do).
For things to be inmersive I would want the display to include my peripheral vision, even if only with very low resolution on the sides. I don't want to feel like I'm wearing swimming goggles.
My personal use for it (together with head/eye tracking) would be to write a window manager where I can hang windows all around me, and where I can switch windows by looking at them. Compiz already renders to the screen with OpenGL from intermediate buffers, extending it to a wider canvas shouldn't be that hard. It's basically being inside the spinning cube (or ring, really). But the low resolution, tunnel vision and now your comfort argument make it an unattractive proposition.
It's not that the act of programming itself is a religion. It's that people's choice of programming language sometimes becomes a religion for them.
Have you never met anyone who thought you were an idiot because you don't agree that $LANGUAGE is the best thing out there? You'll have people spend all day arguing that C lets you stay close to the machine and program more efficiently (as if that mattered), that java lets you run the program on any architecture (as if recompiling was impossible), that haskell lets you pass functions around and apply them (as if there were no function pointers), that the C++ STL and destructors save so much time and bugs (As if other languages didn't have container libraries nowadays), that CPAN saves you inmense amounts of work (as if no libraries existed for other languages).
Programming is just like religion in that you cannot prove that one is better than the other and in fact your choice is often a matter of which you learned first and which you like better.
If you're willing to spend hours arguing about your views on programming then it's a religion for you. Sorry
Disclaimer: I prefer C++ but can code in anything you throw at me. I'll look at each project before I decide on a language, and often depends on who will be maintaining it. I also hold a similar view on atheism, it can be a religion or not depending on how much time you're willing to argue about it. Since you view the comparison with a religion as an insult, this might apply to you. Sorry.
The game of life is a game of boomerangs. Our thoughts, deeds and words return to us sooner or later with astounding accuracy.