|
Quote: So the lesson here? Never, ever copy and paste code from the internet you don't understand. I repeat: never copy and paste code from the internet you don't understand.
Should read... Never, ever copy and paste code you don't understand. I repeat: never copy and paste that you don't understand.
Who cares what the source of the code is. you should be curious enough to learn what that code actually does.
|
|
|
|
|
|
|
At least, change the variable and function names to something synonymous.
|
|
|
|
|
I usually include the URL to any code I have used from the internet, including SO, CP, MSDN and any other resource where I snaffle code from. I only change the variables if the original don't make sense in the context.
The included URL gives the support guys some context and it is doco that I don't have to write.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I've done the same on numerous occasions.
|
|
|
|
|
I think the complaint/laugh was less about the source being copied, and more about displaying the comment about SO on the actual app screen. For me, anyway.
TTFN - Kent
|
|
|
|
|
Broken link? I get a 404 page.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
The stackoverflow question[^] says the article was taken down. I tried the internet archive[^]; but it's currently erroring out. Hopefully the latter will come back online soon.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Archive.org only caught it after the article was yanked. OTOH the SO answer history linked to a Tweet[^] with the full fail included.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
|
Hundreds of millions of hacked user names and passwords for email accounts and other websites are being traded in Russia's criminal underworld, a security expert told Reuters. Have a nice day
|
|
|
|
|
In this article, Niko Köbler advances an interesting idea: is JavaScript on its way to become —just like the JVM— a universal runtime platform? "Of course, some people will ask 'why'." Yup, he got that right.
I was going to go with, "Bad idea, or worst idea?", but decided it was too harsh.
|
|
|
|
|
IMHO Javascript is the machine code of the internet age. You have to use it to get the machines to understand what you want them to do but you have to be somewhat odd to program in it directly when there are human-centric languages that can compile down to it.*
*I know - a "real man" chops down trees with his lad but I'm too old for that kind of masochistic idiocy
|
|
|
|
|
Duncan Edwards Jones wrote: *I know - a "real man" chops down trees with his lad but I'm too old for that kind of masochistic idiocy
I tried that, but my lad complained too loudly.
But that's all right, I'm a lumberjack, and I'm OK.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
By flipping the question of possible alien life to a question of whether we are unique, researchers find it much more likely the universe has seen many civilisations come and go. Paging Dr. Fermi
|
|
|
|
|
Sully asked: "Rather than asking how many civilisations may exist now, we ask 'Are we the only technological species that has ever arisen?'" Sullivan said in a statement That is another limiting factor into Drake's formula; making "intelligent" life another factor.
..but there is still no planet like Earth with this magnetic core nor its atmosphere. It is quite unique and there is no short time escaping this planet
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: there is still no planet like Earth with this magnetic core nor its atmosphere.
That's quite a bold claim, given how few planets we've actually seen. There could be billions of planets just like Earth throughout the universe; we just haven't seen them yet.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Not really. The forming of an earth is just not very likely.
And yes, there could also be millions of flying spaghettimonsters out there that we simply haven't seen
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: The forming of an earth is just not very likely.
What are you basing that on, and what do you define as "not very"?
With an estimated 100 octillion stars in the universe - that's 1029 - the odds of our planet being some sort of "special snowflake", with conditions never to be repeated anywhere else, are pretty low.
Also, this argument presumes that life can only exist in conditions similar to our own. It's quite possible that different forms of life could happily exist in totally different conditions, as they do on Earth[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: What are you basing that on The point that we did not observe one yet.
Richard Deeming wrote: With an estimated 100 octillion stars in the universe Like I said, there is no short time escaping this planet; any world that would fit the bill is not yet observed, and hence, a bit far to travel.
Richard Deeming wrote: Also, this argument presumes that life can only exist in conditions similar to our own. It is not only about existing, but coming into existence and surviving.
Without the outer planets, Earth would have been bombarded more often with space-debris. Without the core, no magnetic field, and radiation sterilizing the planet.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: The point that we did not observe one yet.
Given how little of the universe we can actually observe at the moment, the fact that we've not seen one yet doesn't necessarily mean that it's "not very likely".
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: Given how little of the universe we can actually observe at the moment Given the distribution of what we do know..
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
That's Doctor Some Idiot, thank you.
TTFN - Kent
|
|
|
|