|
If you get thread-abort, out-of-memory, or stack-overflow exceptions thrown back at you, you don't want to suppress those. Once you run into these, your code has ignored all the red flags and exhausted its resources and whatever it was that you called didn't get its job done and likely sits there as a zombie in an undefined state. That class of exceptions is raining down your call stack like a shower of knife blades. They can't happen. Try... Catch... Oh noooooooo!
|
|
|
|
|
I tried that once as a kid. 3 stitches later.. lesson learned.
|
|
|
|
|
With our push to share the kernel of your software in reusable C# libraries and build a native experience per platform one component that is always missing is what about doing a web UI that also shares some of the code. Until very recently the answer was far from optimal, and included things like: put the kernel on the server and use some .NET stack to ship the HTML to the client. Today there are two solid choices to run your C# code on the browser and share code between the web and your native UIs. C# all the things!
|
|
|
|
|
Imagine an approach to programming where you write down some description of what your code should do, then before running your code you run some automatic tool to see if the code matches the description. That’s Test-driven development, you say! Actually, this is what you are doing when you use static types in most languages too. Types are a description of the code’s inputs and outputs, and the check ensures that inputs and outputs match up and are used consistently. Modern type systems—such as in Haskell or above—are very flexible, and allow these descriptions to be quite detailed; plus they are not too obtrusive in use and often very helpful. Put aside your bad experiences from Java, and prepare to be amazed!
|
|
|
|
|
JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. JSON is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). Here's an interactive web tool for parsing JSON into human readable formats on the fly. Convert JSON Strings to a Friendly Readable Format.
|
|
|
|
|
Actually I find JSON pretty user-friendly and readable by itself!
/ravi
|
|
|
|
|
For other readers: doesn't work in IE9, but does work in Chrome/Firefox.
|
|
|
|
|
CodeMirror is a code editor implemented in JavaScript. It relies on the browser to display its content, and modern browsers are very good at displaying text. But it also displays a cursor, and controls its movement. To do that, it needs to be aware of some non-trivial properties of Unicode text. In this article, I'll outline the solutions I came up with. Understanding the edge cases of Unicode handling in the browser.
|
|
|
|
|
It’s damn hard to make robots walk on two legs. Hand-coding a walking routine will almost certainly fail. Even if you succeed in making a robot walk, the next robot that comes off the line might have a slightly different center of balance, and that algorithm you slaved over no longer works. Instead of enduring the inevitable heartbreak, you might use a GA to “teach the robot to learn to walk” rather than simply “teaching the robot to walk”. Everything starts with “Hello, World!” and so building a GA to reproduce that phrase is apropos.
|
|
|
|
|
In this post, we provide some tips and techniques on automating the testing of Windows 8 apps. Keep in mind that automated testing is a powerful technique and it requires some initial investment to reap the full rewards. The advice and examples in this post are meant to get you started, but you’ll need to build and maintain your own infrastructure on top of them. Test early. Test often.
|
|
|
|
|
This provides an easy way to work with a sane git workflow process that encourages using highly-focussed branches to encourage collaboration, enable fearless changes, and improve team communication. Continuous delivery for the git-challenged.
|
|
|
|
|
As a software engineer, you might want any number of things out of your job - a steady paycheck, the opportunity to work on interesting projects, a springboard to the next better job, or maybe you just like hanging out with other programmers. But by "effective", I mean the ability to complete projects in a timely manner with the expected quality. After working on dozens of software releases, I believe the following practices will bring you there, and while they may involve sticking your neck out, I'd like to think they will also advance your professional reputation, career longevity, and personal satisfaction. Powerful lessons in personal programming.
|
|
|
|
|
Guess who’s winning the brains race, with 100% of first graders learning to code?[^]
Rather than truly teaching kids about computers, we’re teaching them to see the machines and programs as mysterious tools, offering little or no instruction about the conceptual aspects of computer science that lay the foundation for innovation and deeper study in the field
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Already, in hacking competitions around the world, Eastern European programmers are often leading the pack.
Yeah, no sh*t, Sherlock.
Marc
|
|
|
|
|
10!
|
|
|
|
|
Awesome, thanks for the link, I kept arguing with my family and friends that every kids should learn to code... Now I have the proof that I'm not the only fool !
|
|
|
|
|
|
Yeah, really interesting. I also find it intriguing that the trend was to simplify the logo over the years, as the companies got bigger and bigger. Although this may not be so surprising, given that they didn't need really fancy logos once achieving some notoriety.
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
|
|
|
|
|
This is not a news article and I think I've seen it before.
|
|
|
|
|
Let's not get too hung up on the "news" aspect of these posts, please.
The better way of thinking about this forum, IMHO is that it's a place for discussing newsy, interesting and informative posts from around the web specifically about programming and tech.
Director of Content Development, The Code Project
|
|
|
|
|
|
Have you been in the Lounge lately?
Director of Content Development, The Code Project
|
|
|
|
|
Yes, and that's where this thread belongs (if anywhere).
|
|
|
|
|
Photoshop filters have a lot to answer for...
Danny
|
|
|
|
|
I always thought it was done like this[^]
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
|
|
|
|