5051
Living Room / Re: Post Your Funny Videos Here [NSFW]
« Last post by IainB on June 25, 2012, 10:12 PM »Ah, I understand now.

...That seems to me to be quite a tidy way of ensuring that you avoid the risk of odd results "if you have other references to the same object" now, or at some stage in the future. Belts and braces.
...For the AHK_L code in question this demonstrates that one can stick the result of SubStr() in another dedicated variable. But since there's no comparison it's just the creation of another variable for no real reason. I found out from Lexicos the author of AHK_L when you create a variable, even a local in a function, the storage is there for the life of the program run. He stressed the main danger of doing things like myObject := 0 to clear an object is if you have other references to the same object. In that case you can get side effects/unexpected behavior. For that reason I modified a small utility I wrote to create an object as a local inside a function, then return the result out to the global. Lexicos says that even though the local variables don't "disappear" when the function returns like compiled program stack variables, the storage is reused on the next function call. So basically, if I make sure I only see one reference to an object, I can safely clear its contents with myObject := 0. In which case the variable myObject is now a numeric. But then you can just assign the object returned from the function and its type is restored to Object....
...

How is that an Apple Fanboy post?!I couldn't figure that out either.-TaoPhoenix (June 25, 2012, 11:00 AM)
...
This post is as much about using templates in Excel as it is about Pareto charts. They just make a good example because they are more complicated than the typical charts used in Excel. Fortunately, Microsoft Office has a template online that can easily be used.
On Office.Microsoft.com, Templates can be found that have been created by Microsoft or others that accomplish frequently used tasks. You can find the Pareto Analysis template at http://office.micros...sis-TC030001551.aspx
...
An Apple Fanboy post being made on DC (realtime reaction):Interesting. That's a LiveLeaks vid: That's what happens if a box of garbage falls into a volcano lake
http://www.liveleak....iew?i=a94_1340566754-nosh (June 25, 2012, 05:22 AM)
The guy is a blast! (Reuses old material a fair bit it seems.)Thanks. Just got around to watching this. Very, very funny - and impressive.
A few laughs: Nazis, secondary smoke, the World Bank, gays (same material as above).-Renegade (April 13, 2012, 06:56 AM)
...I learnt from the code that AHK auto converts to string if string is added to number. Since I use a lot AHK, AutoIt etc. code, this tip will reduce my code...Oh, I missed that. That's useful. Thanks for pointing that out.-anandcoral (June 25, 2012, 07:07 AM)

...I don´t want or have to prove anything to anyone; I´ve been a senior programmer for over 15 years at the same multinational company and if you refuse to take good advice for what it is, then that´s your loss.Sorry to chip in, but really, this seems to be becoming an absurd discussion.
Umm... that was the point of the article? As in it had direct quotes? And you can find other direct references to it if you search for it...Sorry! Yes, of course it had direct quotes - I could see that. What I wrote was intended as a joke.-wraith808 (June 24, 2012, 11:27 AM)

...it really isn't that hard, figuratively speaking 5,000 lines of code tops, which for an AI, is peanuts.- and then Talking Moose just said:-TaoPhoenix (June 23, 2012, 02:39 PM)
"Machines can't really think, but then neither can most people."Wow! Coincidence? I think not.
"I believe 5 out of 4 people have trouble with fractions."
All that classic SF from 1940-1980 is gonna show up soon.You could well be proven right.-TaoPhoenix (June 23, 2012, 02:39 PM)
I confess I had no idea, if indeed that's how he felt.Well, why doesn't someone ask him? Oh, wait...bugger.-rgdot (June 23, 2012, 07:19 PM)

Not sure where the humour was, unless, that is, that you wanted to laugh at making grown men cry in despair...Yes, I think @Deozaan has it right.
-Renegade (June 23, 2012, 09:36 AM)
However, that's still quite an article to write about, because as we get closer to certain kinds of AI, we're on the verge of computer generated news articles.Yep. Eggsactly.-TaoPhoenix (June 23, 2012, 12:13 PM)

About a month ago, we wrote about some comments by Congressional staffer Stephanie Moore, the "Democrat's chief counsel on the House Judiciary Committee," in which she still couldn't come to grips with the fact that the public rose up against SOPA -- insisting that it must have been some nefarious "misinformation" campaign. We went through, in a fair amount of detail, how the misinformation was coming from her. It appears that Moore has decided to go even further down this path and express her general distaste for the public. During a panel discussion at the American Constitution Society's 2012 National Convention, covered by BNA, Moore was a panelist and apparently decided to totally mock the public and make the ridiculous claim that the failure to pass SOPA puts the internet at risk:“Netizens poisoned the well, and as a result the reliability of the internet is at risk,” Moore said
Think about that for a second. That entire sentence is so incredibly insulting. Millions of people spoke out against bad legislation. The public spoke out, and Moore is so against the basic concept of democracy that she has to claim that millions of people expressing their political opinion is "poisoning the well." And how in the hell is "the reliability of the internet at risk" because Congress failed to pass a horrifically bad piece of legislation aimed at censoring sites one industry didn't like? Please.
The report goes on to a bunch of additional insulting comments from Moore towards the public, including the claim that "We don't know what the numbers mean," regarding the number of people who contacted Congress on January 18th. Here, I'll help you out: it means that a very large segment of the American population realized you were trying to push through a bad bill as a favor to some big Hollywood donors, and they didn't like it. What was so hard to understand about that?
...
Scholar argues computer-generated speech is not protected by the Constitution.(It's an interesting article - worth a read IMHO.)
"How come we never go out any more?"- but this newer version is pretty good and no doubt could become just as irritating as the old version after you have heard the entire repertoire a few dozen times. That could take a while with over 1,000 phrases - I think the old one was only about 10 or so, as I recall.

Error 451: The Government Has Censored This Content
Ed Krayewski | June 22, 2012
There is currently no HTTP status code to indicate you can’t access content because it’s been prohibited by a government agency. Tim Bray, a Google engineer, has proposed the status code “451,” in honor of the recently deceased author of Fahrenheit 451, Ray Bradbury, for use when an ISP is ordered by the government to deny access to a certain website. From Bray’s proposal:
...
...SorryThanks - no harm done. I thought you probably did not know about the extra payload. MediaInfo otherwise seemed to do its job, so it was a worthwhile exercise.
...
...Plus I run UniExtract over installers to see if programs really need to be installed, so I miss a lot of the extra 'goodies' they put in installers.-4wd (June 23, 2012, 12:33 AM)