|
Less than 2 months to go for me...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I'm missing 6 months for my CP majority.
I'd rather be phishing!
|
|
|
|
|
Can you make it to the next world cup?
|
|
|
|
|
Who knows.....depends if i'm still here or the rota changes, or I move on somewhere else!
|
|
|
|
|
I am one of the few who has been here a little bit longer. In fact, the only people I see around with a member number lower than me are Ravi and Chris.
Anyway, now that you mention it, it really has been a long time.
Old Timer.
|
|
|
|
|
Wow, same year, and you are 3 months older than me …
|
|
|
|
|
There's a little history behind this. Chris started his website stuff at a site called codeguru and the owner of it sold out and left Chris high and dry. Shortly thereafter he sent an e-mail to a few hundred users of the site and notified us he was starting the site and many of us came over. The first member numbers were assigned by where your first name was in the alphabetic sort and not all of those first people actually signed up. As I wrote, Ravi and I are the only ones from back then that I know are still around, at least occasionally.
|
|
|
|
|
Quote: Chris started his website stuff at a site called codeguru and the owner of it sold out and left Chris high and dry. Interesting story … I was on CodeGuru too, and, I became hooked on CP very quickly , so indeed it looks like it's Chris's fault (and he deserves all possible distinctions for this ) … ,
BR
|
|
|
|
|
DaveAuld wrote: I don't suppose there is a long service award?
If there was, I'm sure someone would have GOTTEN one long before now.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I'm just 3 years behind you! Yes, time flies!
"Go forth into the source" - Neal Morse
|
|
|
|
|
If someone stores 'Sex' attrib as
bool isMale;
haha just seen this in code.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
Strange. I don't know that as a boolean flag. Here N can have any value from 0x0 - 0xF.
Instruction: SET X Mnemonic: SEX Machine Code: EN Registers: N → X
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
And a feminist code reviewer would definitely hate to see it. (the original code) lol
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
I can give you a good stack of assembly source code where this instruction is used frequently.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
How can it be bool when the answer can be "Yes please"?
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
Perhaps the software registers wire connectors and there really only is one alternative?
|
|
|
|
|
hehe good one
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
At least it wasn't bool? isMale;
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I just love it, when a fun post turns out to be a productive one.
I'm just discovering this "null-conditional Operators"
I'm a bit outdated, may be C# 4.0, that's when I became a manager. lol
happy to take away these cool tips
Thanks Marc!
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
|
You just made it double productive thanks
I was just thinking how can I google that. Then just went by searching ? operator in C#
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
Vunic wrote: Thanks Marc!
YW! Richard beat me to it, but my favorites are continuation and coalescing operators, so you can write stuff like this (not that you'd want to, mind you, at least without really thinking about whether your data model is really right, but really handy when you need it!):
int? n;
string ns = n?.ToString() ?? "0";
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
thanks.
Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy Falcon.
|
|
|
|
|
Given genders are hard to keep up with these days I use google's api to retrieve an up-to-date list rather than storing my own
public class Gender
{
public string Key { get; set; }
public string Description { get; set; }
public string PronounSubset { get; set; }
}
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://genders.googleapis.com/genders/api/json?key=API_KEY");
request.Method = "GET";
request.ContentType = "application/json";
WebResponse response = request.GetResponse();
using (var reader = new StreamReader(response.GetResponseStream()))
{
string data = reader.ReadToEnd();
JavaScriptSerializer s = new JavaScriptSerializer();
var genders = s.Deserialize<List<Gender>>(data);
foreach(var gender in genders)
{
System.Diagnostics.Debug.WriteLine("{0} {1} ({2})", gender.Key, gender.Description, gender.PronounSubset);
}
}
|
|
|
|