You don't need a split, or the Perl code. You can do it all in TT2 language:
[% noun = 'World'; USE date; this_hour = date.format(date.now,'%H'); %] Hello [% noun %], [% IF this_hour < 12 %] good morning [% ELSE %] good afternoon [% END %]
See the Template Toolkit website for more information. The TT2 language is simple enough to be taught to semi-non-programmers, yet powerful enough to do some serious damage. And hey, Slashcode uses it!
For example, to change your address and things like that in the future you will need to know the exact AGI filed for a given year, etc.
... which the Social (in)Security Administration gleefully supplies in a pretty obviously marked letter to my tax return address at least once a year: my entire monetary history since I started filing returns over 20 years ago.
So, if someone is scarfing my mail, they now have that, and everything else.
I had mine done in the summer of 1999. My eyes were pretty much at the edge of their "reasonably tested" zone... -9.0 nearsighted with about a 1.5 astigmatism as well. In relatable terms, I could focus on a piece of paper about two inches from my nose, but no further.
But I came out of the surgery being able to drive without glasses the next day, and with a perfect 0/0 correction left eye (seeing 20/10: better than my eye doc with his glasses) and about -0.7 nearsightedness in the right eye: a perfect bifocal, important since I hit 40 this year.
Would I do it again? Absolutely. Will you get the same results? Only your doctor can tell (or maybe guess).
The main thing was after 10 years of glasses and 20 years of contacts, I wake up in the morning and can see the individual leaves in the tree outside my window. And instead of the once-a-day horror when some crap would get behind my lens, I have about a once a month piece of junk in my eye. Absolutely worth the trade.
I do not notice any night loss. Perhaps that's because my doc used the machine that makes an extremely wide cut... I know that some of the "cut-rate" docs have simpler machines. That was an initial concern of my eyedoc, which is why he hesitated recommending me. But my night vision is amazing, and I confuse my students when I can read their monitor text from 6 or 7 feet away.
My eyes are just as good today. Actually, I haven't even gone in for an eye exam for two years, because they're just working! It's truly a miracle.
And who is the arbiter of that? How safe is a legitimate customer from false reports? Getting "joe jobbed" these days is becoming the sport of kings.
It's a constant battle between the people who would use your money to try to sell you something (spammers) and the people trying to protect you from same.
StarSqueak has been in the Squeak Smalltalk System's base image for a couple of years. The interface was modelled on StarLogo, and has some mighty impressive demos in the distribution. (Squeak is free to use, and very cross-platform.)
The site and all of its user selectable themes have been Tested in Netscape, Mozilla, Opera, Konquerer and IE. What browser are you using?
OK.
Looking at the article in OmniWeb gives me nearly-white-on-white. That's my preferred browser. Something in the CSS is messed up enough that it's not working. And the CSS validator at W3 confirms that it's fairly brain-damaged CSS, so I presume that's why OmniWeb is choking.
Remember: don't just check with favorite browsers. You also need to validate to standards.
Another resource
on
Perl & LWP
·
· Score: 5, Interesting
In addition to the Perl & LWP book, about half of my 150+ columns have been about LWP in one way or another. Enjoy! (And please support the magazines that still publish me: Linux Magazine and SysAdmin Magazine).
[...] a unique, compact, portable, and battery-operated laser capability. The laser can cut like a scalpel as well as coagulate bleeding.
Great. This means that every time I board an airplane with my normal laser pointer, the security thugs are going to need to see it operating to make sure it's not one of the dangerous kind.
And ya know what, they aren't doing that already. One more thing to slow us down. And just how do you see a laser scalpel from a normal metal ball-point pen on the X-ray?
I knew this performer once. Her stage name was "Infinity". I always wanted to take her out to dinner, just so when they said "how many in your party?", I could say "infinity plus one".
It took me three tries to move stonehenge.com away from Verisign earlier this year, even though I was in good standing and paid up for another year.
On the first two attempts, they claimed to the new registrar that I hadn't replied positively to the transfer when asked, or that I had declined. When the new registrar got me a trouble ticket number on the second attempt, I went 5 rounds in email with Verisign, with various non-sequitor responses quoting FAQs at me.
On a whim, I tried the third time, and had to jump through about three or four messages with URLs for confirmation buried in the middle of an apology and near-demand to stay with Verisign. I just kept saying "no no no, let it transfer, yes, transfer, yes." And finally, I am free of the beast.
The solution that the (defunct) etoys.com adopted for their site was based on code from one of my Perl columns. My code is based on CPU throttling, but you can quickly change it to bytes sent using the same technology.
According to this news article, $RANDOM_PRODUCT_THAT_COULD_BE_A_WINDOW_MANAGER_OR_ A_PIM_OR_A_GAME_OR_SOMETHING_ELSE is finally on its way to the $PLATFORM_THAT_I_USE and $RANDOM_OTHER_PLATFORM_THAT_I_COULD_NOT_CARE_LESS_ ABOUT. $SOME_COMPANY is handling the $PLATFORM_THAT_I_USE version, and $SOME_OTHER_COMPANY is working on the $RANDOM_OTHER_PLATFORM_THAT_I_COULD_NOT_CARE_LESS_ ABOUT version, but it won't be released untill next summer. The official announcement says "$RANDOM_PRODUCT_THAT_COULD_BE_A_WINDOW_MANAGER_OR _A_PIM_OR_A_GAME_OR_SOMETHING_ELSE for $PLATFORM_THAT_I_USE is expected to be available in summer 2003. The $RANDOM_OTHER_PLATFORM_THAT_I_COULD_NOT_CARE_LESS_ ABOUT version is also expected to be available in 2003. Additional information regarding game content, features and enhancements will be announced at a later date." We can only assume they have some cool new features up their sleeves, maybe we'll be seeing $RANDOM_PRODUCT_THAT_COULD_BE_A_WINDOW_MANAGER_OR_ A_PIM_OR_A_GAME_OR_SOMETHING_ELSE with even better graphics, optimized for the new $WINDOW_MANAGER_OR_MAYBE_VIDEO_CARD_OR_SOMETHING? Anyway, this is certainly a huge relief to many gamers who thought they may never see $RANDOM_PRODUCT_THAT_COULD_BE_A_WINDOW_MANAGER_OR_ A_PIM_OR_A_GAME_OR_SOMETHING_ELSE on their home $PLATFORM_THAT_I_USE. For details check their $SLASHDOTTED_WEBSITE.
{sigh}
Don't the editors ever think to add maybe even two or three words to describe even the category of a random proper noun that some of us might not have heard of?
People are visually oriented, so remembering pictures is easy, especially compared to a mess of uppercase, lowercase and symbols.
Uh, some people. I'd have to name each picture to remember it, and then remember the names. I'm a part of the 5% of the population that doesn't deal well with picture recall, and a particularly bad case of that. Let's hope this system is never mandatory for any system I have to use. It's bad enough for icons without tooltips.
Weird Al gets permissions from the people he parodies. He has said that he might have the right to do it without that, but it's much safer having that license in hand.
So, if someone is scarfing my mail, they now have that, and everything else.
Joy.
We'll need some other shared secret, thank you.
"... it's a Space Station!"
But I came out of the surgery being able to drive without glasses the next day, and with a perfect 0/0 correction left eye (seeing 20/10: better than my eye doc with his glasses) and about -0.7 nearsightedness in the right eye: a perfect bifocal, important since I hit 40 this year.
Would I do it again? Absolutely. Will you get the same results? Only your doctor can tell (or maybe guess).
The main thing was after 10 years of glasses and 20 years of contacts, I wake up in the morning and can see the individual leaves in the tree outside my window. And instead of the once-a-day horror when some crap would get behind my lens, I have about a once a month piece of junk in my eye. Absolutely worth the trade.
I do not notice any night loss. Perhaps that's because my doc used the machine that makes an extremely wide cut... I know that some of the "cut-rate" docs have simpler machines. That was an initial concern of my eyedoc, which is why he hesitated recommending me. But my night vision is amazing, and I confuse my students when I can read their monitor text from 6 or 7 feet away.
My eyes are just as good today. Actually, I haven't even gone in for an eye exam for two years, because they're just working! It's truly a miracle.
It's a constant battle between the people who would use your money to try to sell you something (spammers) and the people trying to protect you from same.
StarSqueak has been in the Squeak Smalltalk System's base image for a couple of years. The interface was modelled on StarLogo, and has some mighty impressive demos in the distribution. (Squeak is free to use, and very cross-platform.)
Always check Greg's Previews for useful information on upcoming movies. In fact, he used to be upcomingmovies.com, one of my most visited sites.
Uh, www.orbitersim.com is no longer. Perhaps you wanna go back to the original site which a quick google search found.
Remember: don't just check with favorite browsers. You also need to validate to standards.
In addition to the Perl & LWP book, about half of my 150+ columns have been about LWP in one way or another. Enjoy! (And please support the magazines that still publish me: Linux Magazine and SysAdmin Magazine).
"Look Robin, it's the Bat Signal! Commissioner Gordon needs our help!"
wow. That URL shows nearly white text on a white background in my browser. Their web designers should be shot.
And ya know what, they aren't doing that already. One more thing to slow us down. And just how do you see a laser scalpel from a normal metal ball-point pen on the X-ray?
I knew this performer once. Her stage name was "Infinity". I always wanted to take her out to dinner, just so when they said "how many in your party?", I could say "infinity plus one".
On the first two attempts, they claimed to the new registrar that I hadn't replied positively to the transfer when asked, or that I had declined. When the new registrar got me a trouble ticket number on the second attempt, I went 5 rounds in email with Verisign, with various non-sequitor responses quoting FAQs at me.
On a whim, I tried the third time, and had to jump through about three or four messages with URLs for confirmation buried in the middle of an apology and near-demand to stay with Verisign. I just kept saying "no no no, let it transfer, yes, transfer, yes." And finally, I am free of the beast.
The solution that the (defunct) etoys.com adopted for their site was based on code from one of my Perl columns. My code is based on CPU throttling, but you can quickly change it to bytes sent using the same technology.
Don't the editors ever think to add maybe even two or three words to describe even the category of a random proper noun that some of us might not have heard of?
Peek-a-booty seems to be simply reinventing the Crowds project. Why?
Or is it just in another orbit?
Weird Al gets permissions from the people he parodies. He has said that he might have the right to do it without that, but it's much safer having that license in hand.