|
Sometimes the compiler can know via "static" analysis (that is, analysis done knowing only the compile-time types of expressions, rather than knowing their possibly more specific run-time types) that an "is" operator is guaranteed to produce a particular result. But before we get into that, let's briefly review the meaning of "is" in C#. It depends on what the meaning of the word 'is' is.
|
|
|
|
|
Today we released an update for xScope that supports the Retina display. This update was harder than most. The 68k to PowerPC, Carbon to Cocoa, and PowerPC to Intel transitions were no walk in the park, but this update really kicked my butt. Here’s hoping that sharing some of the things I learned along the way will help you with your own Retina work. Four times the pixels for ten times the work.
|
|
|
|
|
Last week at Vimeo we had a challenge. Build a better query string parameter sorter for a Varnish plugin. The gauntlet was thrown down at 5pm on a Friday and by 2am Friday night we had our first contender. I arrived home to see the code and decided to throw my hat into the ring. I had made some attempts at c plugins for php but never really got anything off the ground. The K&R book had been a fascination for me but now it was time to put it into practice. An interesting tactic for getting the kids to put in free overtime.
|
|
|
|
|
Abstraction layers are great tools for building things, but they can sometimes get in the way of learning. My goal in this post is to convince you that in order to rigorously understand C, we must also understand the assembly that our C compiler generates. I'll do this by showing you how to disassemble and read a simple program with GDB, and then we'll use GDB and our knowledge of assembly to understand how static local variables work in C. Or: learning to program the really hard way.
|
|
|
|
|
Inspired by the low-cost computing power of the Raspberry Pi, a team at the University of Southampton has used the ARM-based Linux computer-on-a-board as a building block for a low-cost supercomputer—racked and stacked using Lego blocks. And they’ve published a step-by-step guide for anyone interested in creating their own Raspberry Pi high-performance computing “bramble." So easy, a 6-year-old child prodigy could do it.
|
|
|
|
|
Benchmarks man, benchmarks is what we need!
I went looking but couldn't find anything relating to this build, but did come across another article that said you would need approximately 1.4 million Rasperberry Pi's to get into the Top500 list (#500 = 60 TFlops/s).
Now that would be a fair Lego build!
|
|
|
|
|
Today Apple announced the iPhone 5, with a new thin design, larger screen, and faster processor. It wasn’t much of a surprise primarily due to all the leaked parts, but as with all of Apple’s products, it made a big splash. Here are some first impressions from the point of a designer and web developer. It was perfectly integrated, and it had a marvelous kind of negative capability.
|
|
|
|
|
Without some details about the 160 attacks on “critical infrastructure” in 2011, it’s impossible to evaluate whether the solution is stronger hardware, better training, or advanced deep-breathing relaxation techniques. Some Internet attacks are the equivalent of knocking on a door and trying the handle to see if it’s unlocked. These might be targeted against millions of computers in numeric sequence, and happen to include “critical infrastructure” only by accident. The only thing we have to fear is corrupted backups.
|
|
|
|
|
A common dream of most developers is to develop a game. Game development can be very intimidating to jump into straight away. The hardest decision is to determine what kind of game you’re going to create – what’s the backstory, who are the actors, what’s their purpose, what does success look like, and so on. One of the more popular casual game types and one not to intimidating for new game developers to jump into is the Tower Defense game genre. Developers vs. Zombies.
|
|
|
|
|
Terrence Dorsey wrote: Developers vs. Zombies.
What weapons would we use? A machine gun that shoots exploding keyboard keys? Computer mouse grenades? Monitor mines? Exploding CDs/DVDs?
I do know that our rations would consist mostly of BACON!
I honestly think that would be a fun game!
I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.
Stephen Hawking
|
|
|
|
|
I'll skip the rumor mongering that lead to the NFC speculations and get straight to it. I'm glad Apple is not using NFC in the new iPhone. My iPhone already has one of the best data transmission options available, a retina display and a high resolution camera. NFC is solving the wrong problem. Here's the real problem: how do we communicate data a short distance as quick as possible with the least effort? Near-field curmudgeon.
|
|
|
|
|
The OP's username seems to indicate 'Apple Fanboy' and, as such, of course any feature that the iPhone 5 lacks would be considered as extraneous, unnecessary and lacking, and they'd be (publicly) glad that the phone didn't have it. The fact is that NFC does the job of exchanging information over a short distance very well as is being widely adopted as an industry standard. Even £40 PAYG phones have NFC these days. It seems that Apple have dropped a clanger to save the price of a chip and a bit of software development.
Live the Apple mantras: "We're not going to let you do that" and "We'll save that for the iPhone 6 and screw another upgrade out of you".
|
|
|
|
|
One of Steve Jobs’ wishes, to have Apple employees wear a uniform, seems to have come to fruition and was on display yesterday. But would he approve? Do you? ITworld
|
|
|
|
|
I just don't care what they wear. Of what importance is it?
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Might be a marketing fail, if people start talking about the dress style instead of the product.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
It might be marketing genius to distract the media away from their products as they know they are no longer 'the best'.
|
|
|
|
|
|
Welcome to our continuing series of Code Project interviews. In this installment we talk to Martin Pilkington, creator of Lighthouse Keeper.
|
|
|
|
|
I need to create a chat application using UDP in vb.net
|
|
|
|
|
Good for you.
I need to win the lottery and retire
|
|
|
|
|
.. and I just want a Million Dollars!
-
Just that something can be done, doesn't mean it should be done. Respect developers and their efforts!
Jk
|
|
|
|
|
|
Please post your question in the appropriate forum. This is a forum for industry news, not a place to ask programming questions. You're better off posting in the VB forum[^].
Also, please keep in mind that nobody is going to do your work for you. If you have a specific question or need help with something, explain what you've already tried and where you're stuck. We'll try our best to help you out, but as I said before, don't expect us to do your work for you.
Thanks,
/ravi
|
|
|
|
|
Please, delete that post before all the down-voting frenzy will get you out of CP...
You should look at the code project green top menu to search for the right places to post your messages:
Under "Quick answers", you can "Ask a question" this is what we call Q&A, and it is used to ask for a specific and fast question that can be answered in a breeze.
Under "Discussions" you have plenty of message boards all for their respective languages.
Under "Community" you can find "The Lounge" where you can go and speak about any white topic (no politics... see on top).
Also under "Community" you can find "The Soapbox" (which is the same than "The Lounge" but a little bit more harsh).
And then there is also this place "The insider news" which is the place were you can see interesting newes from the IT world.
See that you've posted your question wrong for two reasons:
- Wrong forum.
- No details.
When it is time to help we like to have plenty of details to understand properly what is happening and how to solve it. "Give me Code" is not well received...
Good luck and welcome to the CP!
|
|
|
|
|
You 'need' to create or you 'want' to create?
Happy Programming
|
|
|
|