topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday November 13, 2025, 1:06 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 198 199 200 201 202 [203] 204 205 206 207 208 ... 264next
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.
5052
Living Room / Re: This Is Your Brain On Sugar:Study in Rats Shows...
« Last post by IainB on June 25, 2012, 10:09 PM »
Thankyou for thinking of me...      ;)
5053
Just a heads-up, courtesy of Lifehacker:
Facebook Changed Everyone’s Email to @Facebook.com; Here’s How to Fix It

Beats me why Facebook would behave like this.
5054
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by IainB on June 25, 2012, 06:59 PM »
@MilesAhead: Thanks for the explanation, especially (my emphasis):
...
...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....
...
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.
I have incorporated the modified script you give above (plus some notes) into the "experimental" part of my main AHK script file, for when I might need it. I too find it easier to run a piece of worked demo code to understand/analyse what it is doing and why.

By the way, I found the link you provided to the discussion thread with Lexikos quite informative, so thanks again.
I am left still curious as to what @pagebooks was intending using the incremental numbering for. I mean, he's presumably wanting to generate numbered lines - but why? I would have thought that was likely to be an already-automated feature in most applications.      :huh:
5055
Living Room / Re: Post Your Funny Videos Here [NSFW]
« Last post by IainB on June 25, 2012, 12:35 PM »
How is that an Apple Fanboy post?!
I couldn't figure that out either.
Maybe the link had the original video removed and replaced with a different video?
5056
In case it might be useful, here's a very handy template in Excel on Office.Microsoft.com. (I didn't know they had this, and could have done with it a while back.)
From 404techsupport.com: Using Microsoft Templates to perform Pareto Analysis easily in Excel
...
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
...
5057
Living Room / Re: Post Your Funny Videos Here [NSFW]
« Last post by IainB on June 25, 2012, 09:54 AM »
An Apple Fanboy post being made on DC (realtime reaction):
http://www.liveleak....iew?i=a94_1340566754
Interesting. That's a LiveLeaks vid: That's what happens if a box of garbage falls into a volcano lake
Couldn't we dispose of all our garbage like this?
5058
Living Room / Re: Post Your Funny Videos Here [NSFW]
« Last post by IainB on June 25, 2012, 09:47 AM »
The guy is a blast! (Reuses old material a fair bit it seems.)



A few laughs: Nazis, secondary smoke, the World Bank, gays (same material as above).
Thanks. Just got around to watching this. Very, very funny - and impressive.
He is an absolutely brilliant stand-up comic. A real treat to watch a true professional like that in action. Superbly well-rehearsed and sticks solidly to the rehearsed material whilst making it look as though it's straight off-the-cuff. Dives down from intelligent to coarse but clever repartee, and then snatches you around for more. Perfect timing, commands feedback at just the right points, plays the audience beautifully. Wow! Shades of Billy Connolly (The Big Yin).
5059
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by IainB on June 25, 2012, 08:42 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.    :up:
I am still slowly developing my understanding of AHK-L and that's why I like to read DC-created scripts and discussions about AHK code, though I am not necessarily able to contribute to or fully understand them...   :-[
I also subscribe to the discussions in the forum at http://www.autohotkey.com/community/ in my Google Reader, but it's a bit of a mixed bag, and they are too many and too active for me to be able to keep track of and study them all. I'm sure I miss a lot of useful info.



_____________________________________
"Semper in excremento, solo profundo variat"
5060
Living Room / Re: This Is Your Brain On Sugar:Study in Rats Shows...
« Last post by IainB on June 25, 2012, 04:56 AM »
Hey! It's not only women who wear high heeled fashion shoes you know!

Oops.
5061
Finished Programs / Re: DONE: Generate sequential serial numbers
« Last post by IainB on June 25, 2012, 03:54 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.
In what the speaker says here there seem to be not a few direct/implied logical fallacies:
  • there is an implied argumentum ad hominem (argument against the person, including, for example @MilesAhead) - viz: "he's inexperienced/unqualified".
  • there is an argumentum ad ignorantiam (forwarding a proposition without any certain proof) - that the speaker is implicitly "an authority".
  • there is an unproven (QED) and implied argumentum ad verecundiam (appeal to authority) - based on the above fallacy, the implication that because the speaker is an authority he/she is therefore correct in all his/her statements.
  • there is an ignoratio elenchi (a "red herring" or genetic fallacy) - the speaker's opinions of their own qualities or those of @MilesAhead or anyone else are irrelevant as they prove nothing - except perhaps the speaker's own self-opinionated arrogance, in this case at any rate.
  • there is a non sequitur ("it does not follow") - for all we know, the speaker's work experience might have meant 15 long and dreary years with the same company, with annually poor training and repetitive and bad programming practice, with the adverse effects of same being spread multinationally, leaving him angrily stuck in the rut where he is, unacceptable for employment with another company.

I would suggest that if I have the above more or less right, then it could be worth reflecting as to whether there is generally a requirement that programmers need to be able to reason logically to be able to do their job. If there is, and if a person cannot, then a vocational guidance counsellor would probably suggest that programming was an inadvisable vocation for such an individual.
I say this because, without such advice, a person might spend the best part of their working life doing something for which they were naturally ill-suited, and living in a sense of unhappiness, inner frustration, incompleteness and anger as a result. This might be coped with in a sub-optimal manner by, (say) angrily hitting out at or running down others as though they were the cause of the inner turmoil and ego-conflict.

In any event, I would suggest that the speaker's apparently absurd reasoning and rudeness on display in this thread is uncalled for, unnecessary and unconstructive.
5062
General Software Discussion / Re: VLC Hit 1 BILLION Downloads
« Last post by IainB on June 25, 2012, 02:29 AM »
Maybe someone could consider writing a new Mini-Review of VLC on the DC Forum.
VLC is certainly a powerfully useful proggie, not only for video viewing, but also for other stuff - e.g., including converting the audio tracks from videos to mp3 files. (I used it only last night for that.)
5063
Living Room / Re: Error 451: The Government Has Censored This Content
« Last post by IainB on June 25, 2012, 02:15 AM »
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.
Maybe I should have put a smiley or two with it. Hmm... I shall go and edit it now....Done.
Sorry for any confusing ambiguity.

Mind you, on a more serious note, there are those as reckon they can speak with the dead - or that the dead can speak through them (e.g., mediums). "Is anybody there?" - You know, that sort of thing.
When I was a child, I knew of one such person who reckoned that he spoke with his spirit guide who was the spirit of Chief Sitting Bull, or something like that, and I read of another whose spirit guide was apparently the spirit of one of the Egyptian Pharaohs - I forget which one. I'm not sure how they overcame the language barrier in either case.
Oddly enough, though I did look, I never read of anyone who claimed that his spirit guide was someone ordinary - like the spirit of a deceased bus-conductor off a Clapham omnibus, for example. And it made me think "Now why is that?". Very mysterious.     :D
5064
Mini-Reviews by Members / Re: Talking Moose - Mini-Review
« Last post by IainB on June 23, 2012, 11:36 PM »
I was just reading this:
...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:
"Machines can't really think, but then neither can most people."
Wow! Coincidence? I think not.
Talking Moose 02 (small).png
5065
Mini-Reviews by Members / Re: Talking Moose - Mini-Review
« Last post by IainB on June 23, 2012, 11:15 PM »
Talking Moose just said:
"I believe 5 out of 4 people have trouble with fractions."
Talking Moose 02 (small).png
5066
Mini-Reviews by Members / Re: Talking Moose - Mini-Review
« Last post by IainB on June 23, 2012, 11:05 PM »
All that classic SF from 1940-1980 is gonna show up soon.
You could well be proven right.
That period of SF (science fiction) was highly speculative, and the authors turned ideas and problems about science and society every which way and upside down, inspecting them and asking the question "What if...?"
Some scientific predictions came out of that period - for example, including (I think) sputniks, mobile phones, geostationary space elevators, wristwatch-based computer libraries, the Laws of Robotics, the use of a methodology called psychohistory.
5067
Living Room / Re: Error 451: The Government Has Censored This Content
« Last post by IainB on June 23, 2012, 10:50 PM »
I confess I had no idea, if indeed that's how he felt.
Well, why doesn't someone ask him? Oh, wait...bugger.

EDIT 2012-06-25 1855hrs NZT:  ;D    :)    8)    ;)    :D    :P      
5068
Not sure where the humour was, unless, that is, that you wanted to laugh at making grown men cry in despair... ;) :P
Yes, I think @Deozaan has it right.
The humour is in that it is the second recent example of an expensive EU PC propaganda FAIL, pushing a PC feminist and "gender-balanced" ideology.
They apparently pulled it after a solid wall of negative feedback.
They pulled the previous one a couple of months back - another epic FAIL - which was pushing the same PC feminist and "gender-balanced" ideology.

The thing is, the sexes must be equal, you see, though, annoyingly, Nature seems to have mucked that up a bit.
I read somewhere recently that the EU Commission have apparently scheduled another "gender-balanced" video which encourages men to have a recently-perfected transformational surgery which enables men to bear children.
5069
Mini-Reviews by Members / Re: Talking Moose - Mini-Review
« Last post by IainB on June 23, 2012, 12:35 PM »
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.
5070
Official Announcements / Re: DC going offline to protest SOPA on Jan 18
« Last post by IainB on June 23, 2012, 10:55 AM »
Well, this article from techdirt is a surprise! It rather looks as though some in Congress may consider this whole SOPA blackout protest to have been completely misguided.     :tellme:
Congressional Staffer Says SOPA Protests 'Poisoned The Well', Failure To Pass Puts Internet At Risk
Here's an extract: (read the whole post via the link above)
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?
...

Cretinous.
5071
Mini-Reviews by Members / Talking Moose - Mini-Review
« Last post by IainB on June 23, 2012, 10:27 AM »
I haven't used the standard template for this review as this software is just-for-fun and nostalgia.

I spotted this article in my Google Reader: Do you lose free speech rights if you speak using a computer?
Scholar argues computer-generated speech is not protected by the Constitution.
(It's an interesting article - worth a read IMHO.)
Looking at the headline, I idly thought "I wonder if the Talking Moose's speech is/was protected speech?"
So I googled "voice of the Moose on the Mac", and came up with a few hits.
If you used a Macintosh in 1986, you might have come across Talking Moose
I found that TM is alive and well at: http://www.halls.md/moose/index.htm
So I downloaded the proggy and installed it.

It seems that TM has not been just chewing his cud (do moose do that?) over the years. He's gone to a third owner, who has redeveloped him to run on the Windows platform.
It runs well, and TM now has a repertoire of over 1,000 witty phrases to speak. You can tweak most of his settings, and add to or edit his repertore. He has more functionality, so you can get him to do things such as, for example, tell you the time on the hour.

The voice is not as I recall - it used to be a man's rather German-sounding voice. However, this newer one is higher-pitched and sounds like the voices in the Renton police video spoofs (which I really enjoy), and the end-of-sentence tones tend to sound flat or rising, when they should usually be falling. This cues you to wait for the speech synthesiser to come up with the next word, until you realise that it has already finished.
I have missed the "old" TM voice though, saying things such as, for example:
"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.

Talking Moose.png

How nice! TM just said the "How come we never go out any more?" phrase!    :D
5072
A 1-minute video produced by the European Commission (an unelected sort of federal government of Europe).
Science: It's a Girl Thing! (hat-tip to The Reference Frame)

5073
Living Room / Error 451: The Government Has Censored This Content
« Last post by IainB on June 23, 2012, 06:22 AM »
Superb suggestion:
Error 451: The Government Has Censored This Content
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:
...
5074
General Software Discussion / Re: corrupt index (I think): how to fix?
« Last post by IainB on June 23, 2012, 01:22 AM »
We've strayed some way from "corrupt index" though - haven't we?
5075
General Software Discussion / Re: corrupt index (I think): how to fix?
« Last post by IainB on June 23, 2012, 01:20 AM »
...Sorry  :-[
...
...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.
Thanks - 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.
I must check out UniExtract. Thanks.
Pages: prev1 ... 198 199 200 201 202 [203] 204 205 206 207 208 ... 264next