Jump to content

Recommended Posts

Posted

I would chuck the camera away quickly and concentrate on swimming. Situational awareness and a brain is what dog gave me for occasion's such as this and I'd ignore your limited options as part of my survival instinct that IS GENERIC acquired over millions of years of  necessity.   Nev

  • Like 1
  • Informative 1
Posted

Spoken with the quick and correct response of a true Aviator, Nev.  Most of us would drown gleefully clutching the prizewinning photo.

 

  • Like 1
Posted

Going back to the fireworks displays for a moment, when I lived in Sydney in the late 70's, we had friends who manufactured  and conducted fireworks displays, such as the NYE displays. The company was Howard and Sons Pyrotechnics. They do the displays from the rooftops of buildings in the Melbourne CBD on NYE. The Sydney Harbour Bridge display is done by another company, Foti Pyrotechnics.

  • Informative 3
Posted

I tell this one for Jerry.

 

A wife asks her programmer husband to go to the store
‘Can you go down to the store, and get a gallon of milk, and if they have eggs, get 6.’
Later on, he returns home and she looks at his purchases and says
‘ Why do you have 6 gallons of milk?’
He responded
‘They had eggs.’

  • Like 2
  • Haha 2
Posted

I was doing my grocery shopping yesterday, and considering buying some eggs. Being that there's only me, and I really don't use a lot of eggs except for the occasional bit of baking or a Sunday breakfast treat, I thought the I would buy a half dozen carton. Half a dozen cost as much as a full dozen, but I suppose that was because the half dozen were orgasmic.

  • Like 2
Posted (edited)

If she'd written it like this he would've been fine.

 

--initialise

milkgallons = 0;

eggs = 0;

 

--at store

milkgallons +1;

IF available_eggs >= 6    --note: originally "if available_eggs > 0" - but this would cause brain error if shop only had 3 eggs

THEN eggs + 6;

ELSE eggs = 0;

Edited by Marty_d
  • Like 1
  • Haha 1
Posted

AN IRISH BLONDE IN A CASINO

 An attractive blonde from Cork, Ireland arrived at the casino. She seemed a little intoxicated and bet twenty-thousand Euros on a single roll of the dice.

 She said, “I hope you don't mind, but I feel much luckier when I'm completely naked.”

 With that, she stripped from the neck down, rolled the dice and with an Irish brogue yelled, “Come on, baby, Mama needs new clothes!”

 As the dice came to a stop, she jumped up and down and squealed: “YES! YES! I WON, I WON!”

She hugged each of the dealers and then picked up her winnings (and her clothes) and quickly departed.

 The dealers stared at each other dumbfounded. Finally, one of them asked, “What did she roll”

 The other answered, “I don't know - I thought you were watching the dice."

 MORAL OF THE STORY:

Not all Irish are drunks.

Not all blondes are dumb.

 But all men.... are men.

  • Like 1
  • Agree 1
  • Haha 1
Posted (edited)
On 23/02/2024 at 2:53 AM, Marty_d said:

--initialise

milkgallons = 0;

eggs = 0;

 

--at store

milkgallons +1;

IF available_eggs >= 6    --note: originally "if available_eggs > 0" - but this would cause brain error if shop only had 3 eggs

THEN eggs + 6;

ELSE eggs = 0;

tsk tsk.. that would throw me...   The bolds are perfectly formed expressions, but not assignments...   All they would tell me is to add 1 to my counter of milkgallons and, conditionally, eggs, but not where to store them...

 

Correct syntax is:

milkgallons = mikgallons +1 (from the shop shelf, of course); or, for some languages that allow a shorthand version: milkgallons += 1;

 

And the same for the eggs...

 

Now you know why my parnter no longer bothers me to do the shopping!

 

Edited by Jerry_Atrick
  • Haha 3
Posted
2 hours ago, Marty_d said:

Sorry Jerry - I'm used to SAS where you can iterate using the shorthand "varname +1".

But wouldn't you have to identify "varname" to a variable. In the example there were two variables - milk and eggs. So wouldn't you have something like varname_1 = milk varname_2 = eggs  ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...