The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   The Coat Room (http://hintsforums.macworld.com/forumdisplay.php?f=8)
-   -   How many Fs? (http://hintsforums.macworld.com/showthread.php?t=87061)

iampete 03-18-2008 03:39 PM

Quote:

Originally Posted by capitalj (Post 458840)
. . . 8. Failure to value teaching as professional career. . . .

Another chicken/egg issue whose solution is non-trivial and requires an honest assessment which teachers' union pressures have thus far resisted.

For many years, the teaching profession has allowed entry to those who chose it because it required only time expenditure towards credentials rather than an objectively demonstrated mastery of any skill. As previously stated, tenure, raises and promotions are based on time, not on capability. There is a reason that decades of high school counselors have told their students variations of " . . . and if things don't work out, you can always get into teaching". For these, and probably other, reasons, the profession contains much more than its share of underperformers.

Taxpayers naturally resist union pressure to consider the entire profession worthy of the remuneration that only the best of them deserve. If the unions agreed to allow differentiation of reward according to demonstrated capability, I believe that taxpayer resistance to significant pay increases for those deserving of them would disappear. To date, the unions have resisted all attempts to even explore reasonable ways to accomplish merit-based pay standards.

fazstp 03-18-2008 06:11 PM

Code:

set dialog_msg to ""
set dialog_rnd to "osa! a l geylbssAkrah!re'gndaae j,mcioawtekhieadl!r  h,h b lcemy"

set repeats to number of characters of dialog_rnd

repeat with next_seed from 1 to repeats
        set next_num to random number from 1 to (number of characters of dialog_rnd) with seed next_seed
        set dialog_msg to dialog_msg & (character next_num of dialog_rnd)
        if (number of characters of dialog_rnd is 1) then
                set dialog_rnd to ""
        else
                if (next_num is 1) then
                        set dialog_rnd to (characters 2 thru (number of characters of dialog_rnd) of dialog_rnd) as string
                       
                else
                        if (next_num is (number of characters of dialog_rnd)) then
                                set dialog_rnd to (characters 1 thru ((number of characters of dialog_rnd) - 1) of dialog_rnd) as string
                               
                        else
                                set dialog_1 to (characters 1 thru (next_num - 1) of dialog_rnd) as string
                                set dialog_2 to (characters (next_num + 1) thru (number of characters of dialog_rnd) of dialog_rnd) as string
                                set dialog_rnd to (dialog_1 & dialog_2) as string
                               
                        end if
                end if
        end if
       
end repeat

display dialog dialog_msg


Felix_MC 03-18-2008 06:43 PM

Quote:

Originally Posted by fazstp
Code:

set dialog_msg to ""
set dialog_rnd to "osa! a l geylbssAkrah!re'gndaae j,mcioawtekhieadl!r  h,h b lcemy"

set repeats to number of characters of dialog_rnd

repeat with next_seed from 1 to repeats
        set next_num to random number from 1 to (number of characters of dialog_rnd) with seed next_seed
        set dialog_msg to dialog_msg & (character next_num of dialog_rnd)
        if (number of characters of dialog_rnd is 1) then
                set dialog_rnd to ""
        else
                if (next_num is 1) then
                        set dialog_rnd to (characters 2 thru (number of characters of dialog_rnd) of dialog_rnd) as string
                       
                else
                        if (next_num is (number of characters of dialog_rnd)) then
                                set dialog_rnd to (characters 1 thru ((number of characters of dialog_rnd) - 1) of dialog_rnd) as string
                               
                        else
                                set dialog_1 to (characters 1 thru (next_num - 1) of dialog_rnd) as string
                                set dialog_2 to (characters (next_num + 1) thru (number of characters of dialog_rnd) of dialog_rnd) as string
                                set dialog_rnd to (dialog_1 & dialog_2) as string
                               
                        end if
                end if
        end if
       
end repeat

display dialog dialog_msg


HA HA!XD Nice one :D

BEWARE! SPOILER!
http://www.tgraphicz.890m.com/photo.png

Felix_MC 03-18-2008 07:51 PM

Know-all video?
 
1 Attachment(s)
So for the last half an hour I've been working on this "video". If you watch it, it will tell you everything about your computer, from your username to your processor load.. Seriously, it works! (it's QC based obviously)
It only works if you view it from a Mac.. running Tiger or above.. and with Quicktime.. :D

In the attachment you'll find the 36kb video and it's 32kb source file :)
Enjoy! :D

capitalj 03-18-2008 08:06 PM

Quote:

Originally Posted by iampete
For many years, the teaching profession has allowed entry to those who chose it because it required only time expenditure towards credentials rather than an objectively demonstrated mastery of any skill.

Teacher cerification here requires a masters degree in education as well as periodic training and re-certification. That takes more than simple time expenditure.

But I agree that not everybody who receives certification will be a successful teacher.

Quote:

Originally Posted by iampete
"There is a reason that decades of high school counselors have told their students variations of " . . . and if things don't work out, you can always get into teaching".

No teacher or guidance counselor I have ever known has said that. Neither I nor my wife, a former teacher, have never heard that said by anybody except critics of public schools. It reminds me of the old canard about students being asked "If math was a color, what color would it be?"

Quote:

Originally Posted by iampete
Taxpayers naturally resist union pressure to consider the entire profession worthy of the remuneration that only the best of them deserve. If the unions agreed to allow differentiation of reward according to demonstrated capability, I believe that taxpayer resistance to significant pay increases for those deserving of them would disappear. To date, the unions have resisted all attempts to even explore reasonable ways to accomplish merit-based pay standards.

I agree that merit-based standards should be included in the calculation of teachers' pay. I disagree that unions have resisted all attempts to explore the issue - I even know teachers who advocate for it. But I doubt that taxpayer resistance to pay increases would disappear. Distaste for taxes, and disdain for public schools and teachers currently run too deep.

And, with that said, I will withdraw and leave the thread to its intended topic.

NovaScotian 03-18-2008 08:25 PM

Quote:

Originally Posted by Felix_MC (Post 458906)
So for the last half an hour I've been working on this "video". If you watch it, it will tell you everything about your computer, from your username to your processor load.. Seriously, it works! (it's QC based obviously)
It only works if you view it from a Mac.. running Tiger or above.. and with Quicktime.. :D

In the attachment you'll find the 36kb video and it's 32kb source file :)
Enjoy! :D

Well on a dual-core G5 running Leopard, Felix, it didn't identify anything (not one single thing from start to finish) correctly. There was a security update today (#2). Bet that has something to do with it.

Felix_MC 03-18-2008 10:28 PM

Quote:

Originally Posted by NovaScotian
Well on a dual-core G5 running Leopard, Felix, it didn't identify anything (not one single thing from start to finish) correctly. There was a security update today (#2). Bet that has something to do with it.

Umm, that's fishy.. I installed the update as well, and I'm not having any problems with it.. Then again, I'm running Tiger, so it might be a Leopard thing
NovaScotian, you said it didn't display anything correctly.. but did it at least display some specs? Or was the space where the specs should have been just blank?
The movie used some "string morphing" patches that morphed some text with inputs from a "Host Info" patch and displayed the result as an image using a sprite patch..
How about the video input at the end ;)? was that visible, or did you see "no image available" ?
Anyone else tried it :)?
Anyone else got it to work?
Did I mess up somewhere:o?

fazstp 03-18-2008 11:08 PM

Quote:

Originally Posted by capitalj (Post 458909)
And, with that said, I will withdraw and leave the thread to its intended topic.

Well, to be fair, the topic was pretty vague to begin with.

fazstp 03-18-2008 11:13 PM

Quote:

Originally Posted by Felix_MC (Post 458934)
How about the video input at the end ;)? was that visible, or did you see "no image available" ?
Anyone else tried it :)?
Anyone else got it to work?
Did I mess up somewhere:o?

I'm running 10.4.11 and it picked up my specs ok but I got "no image available" at the end. Oh and there's another w in awkward ;) .

Felix_MC 03-18-2008 11:17 PM

Quote:

I'm running 10.4.11 and it picked up my specs ok but I got "no image available" at the end. Oh and there's another w in awkward ;) .
Nice to hear that it worked :)
The reason you might have a "no image available" at the end is because you might not have a webcam or isight camera attached to your mac.. either that or I messed up :p..
I added another "w" to awkward ;)
I'll post the new version tomorrow, lol
I gtg goo take a shower and then sleep.. school tomorrow..
11:18 PM :p

fazstp 03-18-2008 11:19 PM

Quote:

Originally Posted by Felix_MC (Post 458944)
The reason you might have a "no image available" at the end is because you might not have a webcam or isight camera attached to your mac.. either that or I messed up :p..

Bingo. Ran it on a G3 iBook without an iSight.

NovaScotian 03-19-2008 09:49 AM

Nada for me Felix. First page all Hello, no info where I suspect it should be. Predicts I'm running Tiger, it's Leopard. Says 0 MB of RAM, it's 3 GB. Says hello Proc, where I suspect I was supposed to get processor info, and Process Load is not followed by a number. I don't have a web cam, so no image.

Felix_MC 03-19-2008 04:06 PM

Quote:

Originally Posted by NovaScotian
Nada for me Felix. First page all Hello, no info where I suspect it should be. Predicts I'm running Tiger, it's Leopard. Says 0 MB of RAM, it's 3 GB. Says hello Proc, where I suspect I was supposed to get processor info, and Process Load is not followed by a number. I don't have a web cam, so no image.

That's really weird.. It's supposed to take info straight out of your computer using a "Host info" patch..
The processor load it wasn't actually supposed to be followed by a number, but by a "live" graph that changed color and height based on your processors' load. There was supposedly one graph for each processor..
The tiger thing is really weird.. I made a custom patch in the qc file that checks if the operating system is Leopard. If it returned a "false" value, I set it to show tiger, hence QC QT movies aren't compatible with previous versions of OS X..
If you have the Xcode tools installed, perhaps we can see what's wrong.. Double click the Source.qtz file that came with the movie, and make sure it opens with Quartz Composer(/Developer/Applications/Graphics Tools/Quartz Composer.app) and not QuickTime. You should see a whole bunch of squares connected to each-other by yellow, orange or red "wires"..
In the tool bar, in the top right corner, you should see a "Viewer" button. Click on it. It should display the same thing it should have shown in the QT movie.. See if that works:)..
Feel free to tweak around the qtz file. Note that squares(patches) with 90º straight corners, have sub levels, and you can double click on them to view what patches are inside them. Use the "Edit parent" button to travel back up, out of the patch. Also note that the lines connecting the patches are outputs and inputs from different patches.
See if it works if you view the "movie" from Quartz Composer, and have fun with the Quartz Composer, lol :D

kel101 03-19-2008 06:26 PM

Quote:

Originally Posted by Felix_MC (Post 458906)
So for the last half an hour I've been working on this "video". If you watch it, it will tell you everything about your computer, from your username to your processor load.. Seriously, it works! (it's QC based obviously)
It only works if you view it from a Mac.. running Tiger or above.. and with Quicktime.. :D

In the attachment you'll find the 36kb video and it's 32kb source file :)
Enjoy! :D

:eek: WITCHCRAFT :eek:

fazstp 03-19-2008 06:29 PM

Probably sends your bank details back to the mothership while it's at it ;)

Felix_MC 03-19-2008 11:00 PM

Quote:

Originally Posted by fazstp
Probably sends your bank details back to the mothership while it's at it

Lol, I wish, :D
The guys over at apple are pretty smart, they don't allow quicktime to forward any outputs, and even if you view it in quartz composer, it would still be impossible, hence the only host information I can pull out of your computer is usernames, ip's, and specs :p, and even those are almost impossible to forward without a "trigger", and that itself is hard enough to do and it's not even guaranteed it's going to work.. the closest thing I got to forwarding an output "outside" the patch, is by launching a URL, via a keyboard controller.. that was fun.. used it for my "Xmas Countdown" screen saver that was available this last xmas.. I also used a patch that checked for a new version, and let you update your version by a single keystroke, directly from the screen saver.. pretty cool for a code-less "app", huh? (I'm getting a bit off-topic:D)

Quote:

Originally Posted by kel101
WITCHCRAFT

Are you guys going to burn me on a pyre like they did in the old days:D?

NovaScotian 03-20-2008 09:42 AM

I did download it again, Felix, and discovered this: It runs as advertised from the viewer in Quartz Composer, but fails entirely when run from QuickTime.

Felix_MC 03-20-2008 03:39 PM

Quote:

Originally Posted by NovaScotian
I did download it again, Felix, and discovered this: It runs as advertised from the viewer in Quartz Composer, but fails entirely when run from QuickTime.

Glad it works :)
If you want to convert it into a movie again you can just go to File>Export as QuickTime Movie, in Quartz Composer
Hope it was worth the trouble, lol ;)

kel101 03-20-2008 03:51 PM

Quote:

Originally Posted by NovaScotian (Post 459200)
I did download it again, Felix, and discovered this: It runs as advertised from the viewer in Quartz Composer, but fails entirely when run from QuickTime.

well only one of the clips works for me in quicktime, the one called quartz composer source

NovaScotian 03-20-2008 04:19 PM

Quote:

Originally Posted by Felix_MC (Post 459262)
Glad it works :)
If you want to convert it into a movie again you can just go to File>Export as QuickTime Movie, in Quartz Composer
Hope it was worth the trouble, lol ;)

I was just testing it for you FMC -- I don't need the data.


All times are GMT -5. The time now is 04:33 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.