|
|
Thanks for pointing that out. Did you not read my reply?
Director of Content Development, The Code Project
|
|
|
|
|
It’s been a bumpy ride, in regards to namespace support in PHP. Thankfully, it was added to the language in PHP 5.3, and the applicable structure of PHP code has improved greatly since then. But how exactly do we use them? <?php namespace isAwesome!
|
|
|
|
|
Throughout its first decade on the market, the compact disc represented a tangible link to the future for many consumers. It combined two cutting-edge technologies, the laser and the digital computer, into a relatively inexpensive consumer product with capabilities unimagined just a decade prior. Closing the Red Book.
|
|
|
|
|
TypeScript is a programming language that makes it easier to write cross-platform, application scale, JavaScript that runs in any browser or in any host. Microsoft Technical Fellow Anders Hejlsberg explains how TypeScript, which is a typed superset of JavaScript that compiles to idiomatic (normal) JavaScript, can dramatically improve your productivity by enabling rich tooling experiences, all while maintaining your existing code and continuing to use the same JavaScript libraries you already love. Because nobody actually wants to write JavaScript in JavaScript...
|
|
|
|
|
OMFG - where's that vote 5000 link?
/ravi
|
|
|
|
|
|
Yeah, sorry about that. New posting schedule is not entirely ironed out yet.
We'll need something about this in the Insider, though, so expect to see Soma's post here as well.
Director of Content Development, The Code Project
|
|
|
|
|
Now that Sparrow is effectively dead many of its users will be looking for a new email client. If you’re not afraid of the terminal you may want to give Mutt a try. Mutt certainly isn’t the prettiest email client around, and its setup/configuration process is one of the ugliest out there. But once you get it set up it’s got a lot of advantages over many other email clients. Add a green screen and Sun OS... just like old times.
|
|
|
|
|
This weekend, I was writing some demo code for the async chapter of C# in Depth - the idea was to decompile a simple asynchronous method and see what happened. I received quite a surprise during this, in a way which had nothing to do with asynchrony. Don't assume you know what the compiler is going to do.
|
|
|
|
|
|
My opinion: It's fantastic and finally a decent version of static typing for JavaScript with integration for (my favourite IDE - I admit extreme prejudice here) Visual Studio - it doesn't get much better! You can try it out here:
http://www.typescriptlang.org/Playground/[^]
When I say "try it out", I mean type in code, use the intelli-sense, see the compiled JavaScript output and run it all within your browser (I'm using Chrome but they say it works across the major browsers). I've been watched the video and been playing about with it for about half an hour and already wish this had been released years ago - would have made web development and debugging soooo much easier!
I would not class this as "Yet another" - It is so much better than anything else I have seen. Oh and for all those people that are "oh but we love how JavaScript doesn't have static typing", don't worry TypeScript will still let you do that and it will let you mix 'n' match traditional JS code with TypeScript code. I think Microsoft are on to a winner here (whatever their commercial reasoning may be). Another brilliant development step forward for Microsoft! (And one that was very much needed - writing JS code in Visual Studio 2010 is dire - not that anything else is any better that is...)
Ed
|
|
|
|
|
Insanely cool!
/ravi
|
|
|
|
|
Building a NAS took a lot of research, and other people have been equally interested in building their own NAS storage system, so I have condensed what I learned and built into this post. Doing this yourself is not for the faint of heart; it took at least 12 hours of work to assemble and setup the NAS to my needs, and required knowledge of how UNIX worked in order to make what I wanted. This post walks through a lot of that, but still requires skill in system administration (and no, I probably won't be able to help you figure out why your system is not working). Data storage for newbies.
|
|
|
|
|
|
That's a 'NAS' link ya got there, pardner.
(Works best with a deep Texan accent)
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
|
|
|
|
|
If you use Time Machine, USB storage devices, or online options for routinely backing up your data, that’s fantastic. Good for you. You’re probably in a minority. Unfortunately, your safety net may be little more than a cardboard cutout propped over cold concrete. Here are a few things that happen in real life with alarming regularity… things you don’t want to happen when you really need to recover data. I've got all the files right here... I just can read them.
|
|
|
|
|
HP has already announced a slew of touch-capable Windows 8 products targeted at consumers, but today it has unveiled hardware for the business set. The HP ElitePad 900 is a 10" Windows 8 tablet running Intel's Clover Trail-based Atom processors, and features business-class security features along with a sturdy aluminum frame reminiscent of the company's business-class EliteBook laptops. And this one is going to sell like hotcakes because...
|
|
|
|
|
While the underlying concept is good, the typical foil helmet fails in design and execution. An effective Faraday cage fully encloses whatever it's shielding, but a helmet that doesn't fully cover the head doesn't fully protect it. If the helmet is designed or worn with a loose fit, radiofrequency electromagnetic radiation can still get up underneath the brim from below and reveal your innermost thoughts to the reptilian humanoids or the Bilderberg Group. They tested this at MIT. No, really.
|
|
|
|
|
|
Technology offers so many opportunities to help improve users’ lives. This means it is really important to focus or we end up doing too much with too little impact. So today we’re winding down a bunch more features—bringing the total to nearly 60 since we started our “spring” clean last fall. I hope you didn't depend on AdSense for Feeds, Google Storage or any of these other products.
|
|
|
|
|
If you've read The Clean Coder, you probably know that writing clean code is one of the marks of a professional developer. However a true professional doesn't stop with the code, but keeps everything around the code clean, including Git history. If at first you don't succeed, git --rebase.
|
|
|
|
|
Article discusses the basics of not changing (public) history: rebase your changes on the public branch, clean them up and never force-push.
Cleaning up my changes before publishing them is probably the biggest mind shift after moving to git. being able to reorder, combine and amend commits allows dirty, broken WiP commits to save your progress and provide rollback points (as well as allowing a simple backup by pushing to a remote private repository).
|
|
|
|
|
With a little time and energy, it's possible to put together the right combination of hardware and software to provide a great SOHO server. For those without the inclination, though, a NAS box can provide a great alternative. NAS makers have done the hard work of building compact, energy efficient hardware, and putting an interface between you and the operating system that makes configuring the server a relative snap. What are you using for home or small-office network storage?
|
|
|
|
|
NAS manufacturers charge way too much for boxes that are limited in terms of expandability. Building your own is a much better way to go, is cheaper, and easier than you think.
".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 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|