|
New survey finds more than nine in 10 organizations use Agile techniques -- but are they delivering? Also useful in getting a performer job at Cirque du Soliel
|
|
|
|
|
In France, the upper house of parliament yesterday voted to support an amendment to a draft economy bill that would require search engines to display at least three rivals on their homepage. Googlebot subpoenaed to testify
|
|
|
|
|
You may have never heard of it, but if you are a Chrome users, chances are you’ve used Google’s QUIC protocol already. "Faster, Pussycat! Kill! Kill! "
|
|
|
|
|
Quote: the code is shorter and the intent is immediately clear with ?. operator
|
|
|
|
|
Need to provide a link
New version: WinHeist Version 2.1.1 new web site.
When you are dead you don't know it, it's only difficult for others.
It's the same when you're stupid.
|
|
|
|
|
|
What it has to do with the Insider news?
Ranjan.D
|
|
|
|
|
Nope, it is not even my favorite update in C# 6; also hiding NullReferenceException is (IMO) not a very great update. My favorite update is the default values for getters and setters.
Also maybe you wanted to link the "Quote" text to this hyperlink: http://www.volatileread.com/Wiki?id=2104[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Afzaal Ahmad Zeeshan wrote: hiding NullReferenceException is (IMO) not a very great update
It's not hiding a NullReferenceException ; it's checking each level of the expression for null .
In other words, this:
DateTime? dateOfBirth = user?.Profile?.DateOfBirth;
is equivalent to this:
DateTime? dateOfBirth = user != null && user.Profile != null ? user.Profile.DateOfBirth : default(DateTime?);
not this:
DateTime? dateOfBirth;
try
{
dateOfBirth = user.Profile.DateOfBirth;
}
catch (NullReferenceException)
{
dateOfBirth = null;
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Anybody that writes stuff like this:
userManager.CurrentUser == null ? null :
(userManager.CurrentUser.GetRole() == null ? null :
userManager.CurrentUser.GetRole().Name);
Or it's .? shorthand, should be summarily shot.
If you have to do all these null checks in order to get the name of the role, then you have absolutely done something very very wrong. And in general, whenever I write code that checks for null, the first question I ask myself is, "WTF am I writing this? I better have a damn good reason."
Marc
|
|
|
|
|
Unfortunately I have the displeasure of using an API where that would be a minor help.
|
|
|
|
|
Marc Clifton wrote: "WTF am I writing this? I better have a damn good reason. A "damn good reason" could be that you will have no control over the code/behavior of other people who will use/abuse your code ! Or, your code may access resources/data/feed you have no control over which could be null.
I would distinguish between cases where:
- checking for null is a "benign" requirement, like checking the result of a TryParse call
- cases where checking for null means something may be "wrong" but you still want to continue for example: when your program depends on an externally supplied object which you have no control over.
- cases where checking for null is essential because if the result is null then there is something totally "wrong" with the current state, and you do not want to continue.
In the third case, I would throw an error.
By the way, I recall reading comments on a StackOverFlow thread claiming that using the Ternary operator is extremely slow compared to using 'if/else. See: [^]
cheers, Bill
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"
modified 20-Apr-15 6:09am.
|
|
|
|
|
Sam: [^].
Hanson Robotics: [^].
Interesting connection of Hanson founder to Russian billionaire Dmitri Iskov's "2045 Initiative" where Sam will be displayed: [^]. Iskov is funding various research initiatives, including "quest for immortality" projects.
Why does the word "abomination" come so easily to mind ?
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"
|
|
|
|
|
I can't lie to you about your chances, but... you have my sympathies...
|
|
|
|
|
Its educational JavaScript teaching software targets the six- to 13-year-old age-range, and can be played either as a web app via the Code Kingdoms’ site, or as an iOS app. "Give me a child until he is seven and I will give you the man"
|
|
|
|
|
Not enough script kiddies, we wants moar!
Of course since the script kiddies trend ended in mid 2000s, reducing the number of random defacement and exploits, we need some more. Beacuse all of us missed them (due to poor aiming skills).
Geek code v 3.12
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- r++>+++ y+++*
Weapons extension: ma- k++ F+2 X
I use 1TBS
|
|
|
|
|
Bing has hit 20 percent market share in the US according to new data from comScore. The slow and steady gains resulting in today’s milestone have come mostly at the expense of Search Alliance partner Yahoo. "Mission Accomplished"
|
|
|
|
|
Total of 100.1%? Morons! Can't even get a simple addition right.
You have just been Sharapova'd.
|
|
|
|
|
IT pros who can effectively fill skills gaps may find that they have a good amount of leverage in terms of career and salary growth. "Money, it's a hit"
|
|
|
|
|
Unless there's a good reason for the gap.
|
|
|
|
|
Called NailO, the prototype trackpad is similar to the stick-on nails sometimes used as a fashion accessory. It attaches to the user’s thumb and can be controlled by running a finger over its surface. Something to use with your thumb computer?
|
|
|
|
|
For decades, Moore’s Law has been a guiding star for the development of modern electronics, though in recent years its relevance has been subject to debate. "They're more like guidelines anyway."
|
|
|
|
|
This is insane.
Moore's law didn't *do* anything. It's just words, not a magic spell.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Kent Sharkey wrote: "They're more like guidelines anyway."
Hang the code! Hit escape to exit.
|
|
|
|
|
Black Duck Software and North Bridge's survey found open-source software in businesses everywhere, but few are managing it worth a darn. And I'm sure they've all read and follow the license
|
|
|
|