|
Perhaps they are counting in Octal. Oct("10") is 8.
Old question: Why can't programmers distinguish between Halloween and Christmas?
Answer: Because Oct("31") == Dec("25")
|
|
|
|
|
I think you nailed it!!
|
|
|
|
|
They dit it just to show how annoying Google Docs can be
|
|
|
|
|
#9: Unable to display > 8 items in a list.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
1876:
Graham Bell invented the phone which allowed people to communicate even they lived in different cities.
2007:
Apple invented iPhone which prevent people to communicate even you sit at the same table.
modified 27-Mar-21 21:01pm.
|
|
|
|
|
A husband hears his phone buzz a text message. It's in the kitchen so he gets up to go see the message. It's from his wife, with whom he had been sitting. The text reads:
Honey, while you're in the kitchen please bring me some wine
|
|
|
|
|
|
Braceless if statements are so yesterdays news.
As of last night I wrote code to create side effects when you add an event handler to an event in C#.
So for example
(assume BleRemoteCharacteristic ch = some valid value)
ch.Changed += CH_Changed;
ch.Changed -= CH_Changed;
Subscribe and Unsubscribe cause network activity.
*hides*
Real programmers use butterflies
|
|
|
|
|
Agent 47? You have a new mission ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Has someone been playing Hitman 3 recently?
|
|
|
|
|
I could tell you, but then ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
As the official Sander spokesperson I say: haha!
|
|
|
|
|
Noooooooo, my eyesss! IT BURNS!!!
I actually did read your other post and know why you did it though
Working with badly designed third party libraries can be a pain
I can't even remember the last time I wrote my own event.
And I actually can't even remember how I'd go about it, I'd have to check the manual.
I do remember that adding multiple handlers in VB.NET still results in one handler being added, which totally screwed me over when I switched to C#
So for this one, you're forgiven.
|
|
|
|
|
Well spoken
|
|
|
|
|
honey the codewitch wrote: Subscribe and Unsubscribe cause network activity.
Almost like Ruby's magic "method missing" hook.
|
|
|
|
|
I wish I didn't find myself writing it but after thinking about it I didn't know what else to do.
It's really error prone if I don't do it, because how are you suppose to know you also have to call Subscribe() before your events will get fired?
Better to just make the act of hooking the (first) event do it for you, lest you introduce bugs inadvertently.
It has other obvious disadvantages, like actually sending signals over bluetooth when you do it, plus the high possibility of throwing an exception during the subscription process. All of that would have been more of a problem if I derived from Component and thus exposed the events to the design time interface, where you run into issues with the designer instantiating your stuff and keeping state.
But I digress. I don't like automagic code but this is one of those instances where there were not many good options and reasonable people would disagree on how to handle it i think.
Real programmers use butterflies
|
|
|
|
|
<soapbox>I have observed during my decades as a programmer that if you possess certain knowledge/skills and refuse to share that with the rest of the development team, you are an impediment to the team's proper functioning and should be removed from the team. </soapbox>
|
|
|
|
|
Why would that be soap box material?
That's just common sense: it's the whole principle behind this site.
As the Belters say "The more you share, the more your bowl will be plentiful".
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
One would think that would be common sense, right? Unfortunately, I have run across many programmers throughout my career who want to "hoard" all of their knowledge. Whether it is because they want job security or just want to feel superior to other programmers, I don't know. I do know that when I encounter them, if I cannot change their outlook, I send 'em packing.
|
|
|
|
|
To be fair, some of this may be insecurities. Having other people look at and critique their work may be damaging to their ego.
|
|
|
|
|
and what may this "certain knowledge/skills" be ? .... does it start with j and end with t ? muhaaaa !!!!
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
Nah ... I find that some people "pretend" to have knowledge when you ask the hard questions; and then throw you out of their office as a defense.
I stopped asking for that reason long ago ... other than where the coffee machine is.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
That's a good way to be on call 24/7/365. Teach everybody that wants to learn everything you can. Then when you take a vacation, you can "leave your laptop at home."
Keep Calm and Carry On
|
|
|
|
|
TimWallace wrote: <soapbox>I have observed during my decades as a programmer that if you possess certain knowledge/skills and refuse to share that with the rest of the development team, you are an impediment to the team's proper functioning and should be removed from the team. </soapbox> So, I should share the stuff that makes me valuable? "For free and the good of all"?
CodeProject does that, they could learn here. I'm not responsible for the team. Moreso even, lots of the team usually has little interest in learning. If you want to remove me for their shortcomings, kudo's to you; you'll end up with the team you deserve
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Anyone that thinks
A) So lowly of their teammates
B) Has no interest and feels no responsibility for the team he is a part of
Would not last long under me. All the technical talent in the world (even if they have it, or more of the case, they only *think* they have it) doesn't make up for someone that can't work for the benefit of the team and as a result, the project.
That's just how I roll and I've been satisfied with the teams I've run as a result.
Real programmers use butterflies
|
|
|
|