|
When I grow up, there will be a thing called the Internet and a company called Google where I can look up the answer to everything and anything.
When I grow up, I will be a software developer and there will a be site called Stack Overflow where I can ask "how do I convert, in Python, a 6 character hex string representing an RGB color to separate r, g, b integers" and 10 different ways will magically appear because someone else who didn't know the answer had the cojones to ask such a silly question in a public forum.
Python (one way): red = int("0x" + bkColor[0:2], 0)
C# (one way): int red = int.Parse(bkColor.Substring(0, 2), NumberStyles.HexNumber);
There, I spared you a google search.
Bonus SO answer: verify that a string is all hex digits (C#): bool isHex = Regex.IsMatch(src, @"\A\b[0-9a-fA-F]+\b\Z")
|
|
|
|
|
No programming answers in the lounge! Especially none nobody asked for.
But don't get me started on colors (in connection with XAML).
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
Wikipedia reports that the largest pyramid in Giza is that of Khufu Kardashian.
|
|
|
|
|
Marc Clifton wrote: Bonus SO answer: verify that a string is all hex digits (C#): bool isHex = Regex.IsMatch(src, @"\A\b[0-9a-fA-F]+\b\Z")
<STACK_OVERFLOW_MODE> Down-vote and derogatory comment for missing the semi-colon on that line! </STACK_OVERFLOW_MODE>
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Wow, why didn't I think of that when I was in school.
|
|
|
|
|
Message Removed
modified 17-Dec-17 1:53am.
|
|
|
|
|
"The 14th Dalai Lama announced a new iPhone app which will allow devotees to watch live video of his teachings to his 16.6 million Twitter followers on Thursday" [^]
When wise runs into anti-wise, they just can't help getting into particulars: the quarks get quirky, the higgs gets horripilated, muons manic, neutrinos nuts ... but it's usually taken care of with a cold shower, and nothing comes of it. I mean: it's not like they can do without each other.
'jes sayin'
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it.» Claude Levi-Strauss (Tristes Tropiques, 1955)
|
|
|
|
|
Next thing you know he'll be riding around in a lama mobile?
Someone's therapist knows all about you!
|
|
|
|
|
Like this: Lama mobile[^] ?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Put a bullet proof bubble on it and it's good to go!
Someone's therapist knows all about you!
|
|
|
|
|
No need - you can't kill the Dalai Lama: he has a season ticket!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
This is worth following?
I would think it better to be out in front rather than following!
I'm pretty sure I would not like to live in a world in which I would never be offended.
I am absolutely certain I don't want to live in a world in which you would never be offended.
Freedom doesn't mean the absence of things you don't like.
Dave
|
|
|
|
|
|
BillWoodruff wrote: "The 14th Dalai Lama announced a new iPhone app which will allow devotees to watch live video of his teachings to his 16.6 million Twit [ter follower ] s on...
... and imagine the power they could produce if put to good use.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Why is it fashionable to beat up the Dalai Lama? He's a man of peace.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Because:Quote: The greater the social and cultural distances between people, the more magical the light can spring from their contact. ... as Milan Kundera said.
When that light is too blinding, too magical, we put on the dark glasses of humor so we can keep challenging otherness at a safer level of opacity.
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it.» Claude Levi-Strauss (Tristes Tropiques, 1955)
modified 16-Dec-17 18:06pm.
|
|
|
|
|
Because beating up a man of war can be dangerous to your health?
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
|
Ha ! I realized I was in an alien body in 1955 (at age twelve).
«While I complain of being able to see only a shadow of the past, I may be insensitive to reality as it is now, since I'm not at a stage of development where I'm capable of seeing it.» Claude Levi-Strauss (Tristes Tropiques, 1955)
|
|
|
|
|
Those Terrans are most strange indeed!!
|
|
|
|
|
One day, scientists on Earth will discover a very distant planet, one with a huge continent in its equatorial zone, and begin to observe it toroughly. Eventually, they will figure out, after several decades, that there is a message carved in the soil of a huge plain. They will spend some other decades to decode it, and it will appear that its meaning would be "Who are you?".
The excitement caused by the discovery of an extra-terrestrial intelligent form of life will trigger a passionate community, dedicated to determine how to answer to this another form of life in a way that it would understand relatively easily. Several decades further, and and appropriate answer could be set up: "We are the 'Terrans'. Who are you?".
Some more decades will be necessary for the distant form of intelligent life to see the answer, decode it, and decide if they should answer back, and how. And even more for Earth's scientists to see the reply and decode it once more:
"We are not talking to you!..."
"I'm neither for nor against, on the contrary." John Middle
|
|
|
|
|
..since now every weird chunck of debris is a potential terrorist
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
So they've been tossing satellites into space for quite a few years now,
letting them fall down or spin off into space, banging them into each other, even blowing a few up
- so there's bits of tech all around out there, and now they want to check space debris for tech.
OK, I know the reason they give is "looking for alien tech,"
...but why do I get the feeling it's really because some clearly very important manager at NASA misplaced his garage door remote control down at the assembly line and his wife ran off with the only spare.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Just in case anyone else was wondering about exactly what astronomers are doing this.
"Siemion is a member of the Breakthrough Listen initiative: a $100 million project, backed by Russian billionaire Yuri Milner, to hunt for extraterrestrial intelligence. "
Astronomers probe 'Oumuamua for signs of intelligent life - The Washington Post[^]
And the specific radio telescope used for this is looking for private funding just to keep it going. Probably, as a guess on my part, because older earth based radio telescopes have limited use.
Green Bank Telescope - Wikipedia[^]
|
|
|
|
|
Is buckshot Rudolph's favourite drink?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|