If a newbie writes something that can be re-written with a list comprehension for instance, it's pretty much given that nobody will actually answer his question, choosing instead to re-write his program for him using tricks and shortcuts.
List comprehensions are not "tricks," they are an extremely powerful language feature. Newbies should be taught how to use them, and translating their loop-based code into list comprehensions is probably the best way to do that.
Python can be written from either an imperative standpoint or a pseudo-functional one. Most of the highly skilled Python programmers code in the pseudo-functional style, because it is more efficient and (arguably) more elegant.
Sure, you can get into some pretty scary territory with various combinations of sum(), map(), reduce(), and list comprehensions but that's your choice. I admit that there should not be such a big performance gap between the different styles... This is due to not enough effort being spent on improving the VM.
Considering the number of people who've posted about how they are on a dance team, or fix electrical problems, or repair bikes, or play poker online, or any of a myriad of non-IT activities as side work, I'd say you're the one who is "sheltered" (from reality, that is) and perhaps a little "fuckin retarded."
Yes, because open source developers don't really exist (the software is coded by gnomes from outer space), and even if they did, they certainly wouldn't frequent a technology site...
Except that things like window placement are supposed to be controlled by the window manager, not the application itself.
Mozilla pops on workspace two. Why won't an app stay on the workspace it was originally launched from? Does it have to follow me to the current active workspace?
The application does not have (nor should it) any idea of what a "workspace" is. The workspace itself doesn't even really exist -- it's just a concept of showing/hiding groups of windows at once. Why on earth do you believe that the application itself should have any knowledge of this?
Mozilla isn't "following" you around, it's the window manager which decides where to place the window. What you want is a smarter window manager (it would be an easy feature to add).
I don't care what you think about the definition or semantics of "steal" and copyright infringement; honest people inherently know that the two are for all practical purposes, equal
Say it as much as you want, but you're still wrong. For all practical purposes they are completely different. In one case, a person has been deprived of the possession and use of an object. In the other case, they have not. How you can say that for "all practical purposes" these two are equivalent, I can't understand.
I'm in agreement with you that both are unethical, but they are definitely not equivalent. We draw much, much finer distinctions than this in the legal system. Consider manslaughter vs. murder.
You do, however, notice the pronounced downward IE trend and upward Mozilla trend, right?:-)
Given the wide variation in the types of users of different web sites, I'd say the difference between your number (92.75%) and the 88.9% number is barely significant. The trend, on the other hand, has a correlation of -0.843 to the best linear fit (according to a quick gnuplot computation on your numbers). Very strong, but then again you've only got 10 data points and 8 degrees of freedom.
There is no point in wasting money like this. They are supposed to be their to serve, not get ever richer.
Rich people don't get that way by getting paid a salary. People tend to spend money at the same rate they earn it. The truly rich get that way through investment or pedigree, not paychecks.
The point being, Ted Kennedy is not getting "ever richer" because of his Congressional salary.
From what I can tell, these "pivot tables" are just a primitive form of concept analysis (data mining).
Anybody reading this article who actually thinks these pivot tables sound "powerful" should look into some of the real row-based data mining tools out there. For starters I suggest looking at Weka and Orange.
Weka in particular is extremely easy to use and you don't have to be a researcher to figure it out.
Actually, cold cathode tubes use a much higher voltage than filament tubes. A heated filament spews electrons easily, but a cold cathode will only emit them when the applied electric field is large enough.
Even though the cold cathode uses a higher voltage, it uses much less power because it doesn't need to keep a filament hot (which wastes a lot of energy).
The <> operator does equality comparison. Although the value stored in A might be equal to the value stored in B, that doesn't mean that variable A is variable B. You need a different kind of operator to check for that.
The concept of Is/IsNot doesn't really apply when you don't have object references. Early versions of BASIC did not have references, so the <> operator was all you needed.
The only reason I can think of for even _caring_ if two variables are the same variable programatically is when determining if you should delete a variable
Another reason is if you're writing a function that copies data from one object into another, or transforms one object to produce another of the same type. Often these sorts of functions will go awry if their source and destination are the same object.
For example, when you override C::operator==(const C &a, const C &b) you typically check to see if a and b are the same object before doing the assignment.
money wasted on paying millionaires like Ted Kennedy a Congressional salary
So you're saying different Senators should be treated differently depending on who they are and how much money they have? Who gets to decide this complicated set of rules and exceptions? You?
Get real. Except for the specific kinds of data passing through it, it's absolutely no different than the international telephone system, and that is heavily taxed by nearly every nation in the world.
Get over this stupid idea that the Internet is some other-worldly, unparalleled phenomemon. It isn't. It's an evolutionary step in human communication, not alien technology, and it can be taxed just like everything else in history has been taxed.
"Anonymous" (who has finally proven to be Michael Scheuer) makes a lot of very solid arguments in his book, but I don't think "Kill'em all" was a particularly good one. The man's insightful, but that doesn't make everything he says the gospel truth.
Somehow I feel the solution to our problems isn't going to include killing millions of people.
4) "Oooh, we found an omnidirectional transmitter - let's trace the signal back to the reciever!"
Actually, that's not strictly impossible. Any antenna, even one designed specifically for receiving, also rebroadcasts some of the signal it is receiving. This is just a physical consequence of the way an antenna works.
It's sort of like finding a person with a camera by looking for the light reflecting off the lens. That's not the best of analogies, I admit...
List comprehensions are not "tricks," they are an extremely powerful language feature. Newbies should be taught how to use them, and translating their loop-based code into list comprehensions is probably the best way to do that.
Python can be written from either an imperative standpoint or a pseudo-functional one. Most of the highly skilled Python programmers code in the pseudo-functional style, because it is more efficient and (arguably) more elegant.
Sure, you can get into some pretty scary territory with various combinations of sum(), map(), reduce(), and list comprehensions but that's your choice. I admit that there should not be such a big performance gap between the different styles... This is due to not enough effort being spent on improving the VM.
Whaa? How about this statement:
BING! Mozilla pops on workspace two. Why won't an app stay on the workspace it was originally launched from?
The app won't stay there because the app is not what controls the position of its window.
Or this:
Does it have to follow me to the current active workspace?
"It" isn't following, he is seeing an effect of the window manager.
Or this:
I would think any app should be smart enough to do two things: (1) know where it is when it's launched and stay there;
He's directing blame directly on the app. I really don't see any ambiguity here. He has a misunderstanding which I attempted to correct.
Considering the number of people who've posted about how they are on a dance team, or fix electrical problems, or repair bikes, or play poker online, or any of a myriad of non-IT activities as side work, I'd say you're the one who is "sheltered" (from reality, that is) and perhaps a little "fuckin retarded."
Money unspent is money you may as well not have bothered earning.
Yes, because open source developers don't really exist (the software is coded by gnomes from outer space), and even if they did, they certainly wouldn't frequent a technology site...
Mozilla pops on workspace two. Why won't an app stay on the workspace it was originally launched from? Does it have to follow me to the current active workspace?
The application does not have (nor should it) any idea of what a "workspace" is. The workspace itself doesn't even really exist -- it's just a concept of showing/hiding groups of windows at once. Why on earth do you believe that the application itself should have any knowledge of this?
Mozilla isn't "following" you around, it's the window manager which decides where to place the window. What you want is a smarter window manager (it would be an easy feature to add).
Who is suggesting that all those systems should be upgraded to Linux? Seriously. Give us a link to the comment where you read that.
Say it as much as you want, but you're still wrong. For all practical purposes they are completely different. In one case, a person has been deprived of the possession and use of an object. In the other case, they have not. How you can say that for "all practical purposes" these two are equivalent, I can't understand.
I'm in agreement with you that both are unethical, but they are definitely not equivalent. We draw much, much finer distinctions than this in the legal system. Consider manslaughter vs. murder.
Given the wide variation in the types of users of different web sites, I'd say the difference between your number (92.75%) and the 88.9% number is barely significant. The trend, on the other hand, has a correlation of -0.843 to the best linear fit (according to a quick gnuplot computation on your numbers). Very strong, but then again you've only got 10 data points and 8 degrees of freedom.
ATM == asynchronous transfer mode, try plugging things into Google before making silly comments...
That which is created by woman, on the other hand...
Total non-sequitur.
Rich people don't get that way by getting paid a salary. People tend to spend money at the same rate they earn it. The truly rich get that way through investment or pedigree, not paychecks.
The point being, Ted Kennedy is not getting "ever richer" because of his Congressional salary.
Anybody reading this article who actually thinks these pivot tables sound "powerful" should look into some of the real row-based data mining tools out there. For starters I suggest looking at Weka and Orange.
Weka in particular is extremely easy to use and you don't have to be a researcher to figure it out.
You seem to have some issues of insecurity surrounding OpenOffice. Stop ranting and try reading what the guy said, instead of what you think he said.
Even though the cold cathode uses a higher voltage, it uses much less power because it doesn't need to keep a filament hot (which wastes a lot of energy).
The concept of Is/IsNot doesn't really apply when you don't have object references. Early versions of BASIC did not have references, so the <> operator was all you needed.
Another reason is if you're writing a function that copies data from one object into another, or transforms one object to produce another of the same type. Often these sorts of functions will go awry if their source and destination are the same object.
For example, when you override C::operator==(const C &a, const C &b) you typically check to see if a and b are the same object before doing the assignment.
That only works when some dork hasn't overridden the unary '&' operator. Why that is even allowed in C++ is a different matter...
So you're saying different Senators should be treated differently depending on who they are and how much money they have? Who gets to decide this complicated set of rules and exceptions? You?
Get over this stupid idea that the Internet is some other-worldly, unparalleled phenomemon. It isn't. It's an evolutionary step in human communication, not alien technology, and it can be taxed just like everything else in history has been taxed.
The majority of the heat in magma comes from natural radioactive decay processes. The stuff is already radioactive.
Somehow I feel the solution to our problems isn't going to include killing millions of people.
Sorry, I was just being crabby -- didn't mean to apply a stereotype.
Actually, that's not strictly impossible. Any antenna, even one designed specifically for receiving, also rebroadcasts some of the signal it is receiving. This is just a physical consequence of the way an antenna works.
It's sort of like finding a person with a camera by looking for the light reflecting off the lens. That's not the best of analogies, I admit...