|
Is my brain still half asleep, or is their next to last example failing to fully refactor the code?
bool b = o > 10;
if (o < 10)
b = true;
To:
bool b = o > 10 || o < 10;
Shouldn't the fully simplified version be:
bool b = o != 10;
instead?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
he final release of Visual Studio 2015 is coming soon! Mark your calendars for the celebrations on July 20th 2015. This event featuring tools for any developer and any app will start with Soma’s keynote streamed live starting 8:30 am PDT. Do you smell what Redmond is cooking? Oh wait, that's just the burrito in the microwave. Be back soon.
|
|
|
|
|
http://www.wsj.com/articles/microsoft-to-cut-7-800-jobs-amid-phone-woes-1436361327[^]
18 months ago Microsoft bought Nokia's mobile phone business for $9 billion. By March of this year they had already shed 18,000 jobs. Now they're cutting another 7,800 jobs and taking a $7.6 billion write-down.
And the guy mainly responsible has already left and is enjoying the fruits of being one of the richest people on the planet.
Contrary to popular belief, nobody owes you anything.
|
|
|
|
|
Mike Mullikin wrote: And the guy mainly responsible has already left and is enjoying the fruits of being one of the richest people on the planet. Pretty clever, isn't it? And nothing to be upset about. He's not the only one.
|
|
|
|
|
|
Dang it! You beat me!
Contrary to popular belief, nobody owes you anything.
|
|
|
|
|
The RAM of the OnePlus 2 uses a lower operating voltage than its predecessor, decreasing from 1.2V to 1.1V. And with speeds up to 32 GB/s, it is also twice as fast as the LPDDR3. I might have to wait a little longer to get a new device.
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: I might have to wait a little longer to get a new device.
Aye, if Shakespeare were alive today, it would be:
To purchase or not to purchase, that is the question:
Whether 'tis better in the mind to suffer
the slings and arrows of my current technology
Or to take the plunge against a new sea of troubles
And by buying them, end the old ones. To invest, to migrate ---
etc etc etc
Marc
|
|
|
|
|
I mean, to wait for it to get released. It is not out yet.
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: to wait for it to get released.
Yes I know.
Well, try this one:
Dear tech, you got to let me know
Should I wait or should I buy?
If you say that you are mine
I'll be here 'til the end of time
So you got to let me know
Should I wait or should I buy?
The constant question, even when it does come out, is of course, gee, should I wait until the next release (when hopefully the bugs are worked out) or the next newfangled thing?
Marc
|
|
|
|
|
|
Or in the words of the Modern Poets...
"Oops, I did it again..." (upgraded) ala Britney Spears(sp?)
|
|
|
|
|
Some claim that Windows 8.1 has only now just become more popular than XP, but is that really true? "Good-night, sweet prince; and flights of angels sing thee to thy rest."
|
|
|
|
|
Kent Sharkey wrote: "Good-night, sweet prince; and flights of angels fly up your nose."
FTFY
|
|
|
|
|
...unless your the military or have a few million dollars to purchase continued support.
Marc
|
|
|
|
|
I think they're counting all the old crap computers sitting in basements that people can't bring themselves to throw out as 'installed base' for XP...we have a couple of those here.
|
|
|
|
|
While working with these people I started to notice that the better programmers (not necessarily the seniors) seemed to understand certain concepts much better than others. Pointers. Why did it have to be pointers?
|
|
|
|
|
Quote: If you couldn’t write the basic implementation of the function you are using then you shouldn’t be using it because you don’t understand it. Sorry, just don't entirely agree with this. So because I don't know how to write the underlying drivers and firmware that stores data on disk I should never use a "File" API??!? What balderdash!
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
You didn't write your OS from scratch (after writing your compiler and editor from scratch)? Heathen and dilettante!
TTFN - Kent
|
|
|
|
|
You didn't build your latest-generation CPU from scratch, starting with a pile of sand?!
Its only hardware...
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
|
|
|
|
|
TheGreatAndPowerfulOz wrote: because you don’t understand it.
And that's because the developer who wrote it didn't provide adaquate documentation... sooo... yeah, don't use it.
|
|
|
|
|
I'm not sure I agree with you. Even something complicated, I know enough of how it might work that with some hand waving and magical incantations, I could at least describe the concept in pseudo code if not outright re-implement, given enough time.
So yeah, his statement is a bit too dramatic, but one should at least, IMO, be able to describe the theory of what's going on. Or, as I recently answered in an interview regarding how garbage collection works: "I used to know how garbage collection works, but really, if I need to know the gory details, I can always google that." But I did talk briefly of IDisposable and unmanaged resources, which appeased the natives.
Marc
|
|
|
|
|
Marc Clifton wrote: could at least describe the concept in pseudo code Of course, I agree. But that's not what the author wrote now did he? What he wrote is basically "don't even try to drive a car unless you can build one from the ground up, including mining the materials, smelting the steel, extracting rubber from the trees and making glass."
Pffft!
Marc Clifton wrote: his statement is a bit too dramatic Ya think??!?
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|
|
"
A linked list is probably the most basic data structure in computer science and is the main building block that other data structures consist of.
Knowing this you should be able to develop and algorithm that, given the head node, will return the reversed node.
"
He doesn't seem to know about arrays.
I don't think I ever wrote a singly-linked list -- because I always wrote doubly-linked lists, every time.
If you think you need a feature, like reversing, you're better off building it right in (using a little more space) rather than wasting time to do it. We're always getting more space, but we're never getting more time.
|
|
|
|
|
PIEBALDconsult wrote: we're never getting more time So true.
#SupportHeForShe If your actions inspire others to dream more, learn more, do more and become more, you are a leader.-John Q. Adams
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Only 2 things are infinite, the universe and human stupidity, and I'm not sure about the former.-Albert Einstein
|
|
|
|