Posted by Soulskill | Posted in News, programming | Posted on 20-06-2010
theodp writes “Among the tips Derek Sivers offers for how to hire a programmer to make your ideas happen is an intriguing one: hire more than one person to complete your first programming milestone, with the expectation that one will go bad, one will be so-so, and one will be great. ‘Yes it means you’re paying multiple times for this first milestone,’ says Sivers, ‘but it’s worth it to find a good one.’ It’s not a new idea — the practice of pitting two different programmers against each other on the same task was noted three decades ago in Tracy Kidder’s Soul of a New Machine — but one that never gained widespread acceptance. Should the programming code-off be adopted as a software development best practice?”


Read more of this story at Slashdot.



Posted by Soulskill | Posted in News, programming | Posted on 16-06-2010
blackbearnh writes “As more non-traditional programmers start playing around with embedded platforms like the Arduino, the limitations and complications of interrupt-driven event handling can become an annoying barrier to entry. Now a group of academics have ported the parallel-processing language Occam to the Arduino. In an interview on O’Reilly Answers, Matt Jadud of Allegheny College describes how Occam helps artists using the Arduino in their installations, and how the advent of low-cost computing platforms is changing the educational experience for proto-makers in school. ‘Basically, an artist or a tinkerer or a hacker has a goal. They don’t really care about learning Occam. They don’t care about how this language is different from C. They just want to make a cat door that keeps their cat out when the cat comes back with a mouse. Or they want to make some kind of installation piece. Trying to focus as much on the user and the possible goals they might have is what’s motivating our work right now.’”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 03-06-2010
misof writes “Roughly a thousand teams from all around the globe have already
registered for IPSC 2010, which takes place on
Sunday, June 6. $3,000 in prize money (courtesy of Facebook, Inc.) is waiting for the best few of them. Participation is free and the contest is open to everybody. IPSC is what you could call a programming contest with a twist. Over the years, the problems always push the boundary and go
beyond the usual stuff you see in a programming contest. For example, in past few years the contestants have had to understand how arithmetic in computers differs from that in mathematics, produce a sequence of cache requests that generates many page faults,
solve
a logic puzzle given as a Flash game, and
recognize
images to evaluate a rock-paper-scissors game.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 02-06-2010
bonch writes “Objective-C has entered the top 10 of the Tiobe Programming Community Index. Last year, it was at #39. The huge jump is attributed to its use in iPhone and iPad development. C, of which Objective-C is a strict superset, has reclaimed the #1 spot from Java, which slides to #2. Tiobe also explains how it determines its rankings.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 26-05-2010
An anonymous reader writes “I am working on a project that would allow our customers to test our sending different PCL commands to LAN printers. My initial thought was that a DOS batch file will allow users to select some simple options, send the tests to printers, and even generate a small web page which, when launched from the batch file, will provide email feedback on the tool. This all worked. To spice it up I added some ANSI color commands to the menus, though the implementation of that may prove tricky without resorting to .COM files or forcing the load of the ansi.sys via the command.com shortcut. And this implementation goes against my initial idea that I want the entire thing to be contained in a standalone batch file. My questions are: Is there a better option for this? Are DOS Batch files too 1990s to be taken seriously in 2010? The application needs to (1) be simple (2) be easy to update (3) be able to send PCL commands to LAN-attached printers and (4) allow email feedback. I don’t know what other programming language would allow this and be as simple. I tend to think that I have found the best tool for the job but if you have another idea let me know. Call me crazy but I love DOS.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 26-05-2010
An anonymous reader writes “I am working on a project that would allow our customers to test out sending different PCL commands to LAN printers. My initial thought was that a DOS batch file will allow users to select some simple options, send the tests to printers, and even generate a small web page which, when launched from the batch file, will provide email feedback on the tool. This all worked. To spice it up I added some ANSI color commands to the menus, though the implementation of that may prove tricky without resorting to .COM files or forcing the load of the ansi.sys via the command.com shortcut. And this implementation goes against my initial idea that I want the entire thing to be contained in a standalone batch file. My questions are: Is there a better option for this? Are DOS Batch files too 1990s to be taken seriously in 2010? The application needs to (1) be simple (2) be easy to update (3) be able to send PCL commands to LAN-attached printers and (4) allow email feedback. I don’t know what other programming language would allow this and be as simple. I tend to think that I have found the best tool for the job but if you have another idea let me know. Call me crazy but I love DOS.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 22-05-2010
vlangber writes “Joel Spolsky wrote a famous blog post back in 2000 called ‘Things You Should Never Do, Part I,’ where he wrote the following: ‘[T]he single worst strategic mistake that any software company can make: They decided to rewrite the code from scratch.’ Here is a story about a software company that decided to rewrite their application from scratch, and their experiences from that process.”


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 14-05-2010
GMGruman writes “Neil McAllister was helping out a friend whose web developer disappeared. Neil’s journey into his friend’s website ended up being an archaeological dig through unstable remains, as layers of code in different languages easily broke when touched. Neil realized in that experience that the ever-growing jumble of standards, frameworks, and tools makes web application development harder than it needs to be. Although the Web is all about open standards where anyone can create variations for their specific needs and wants, Neil’s experience reminded him that a tightly controlled ecosystem backed by a major vendor does make it easier to define best practices, set development targets, and deliver results with a minimum of chaos. There’s something to be said for that.”


Read more of this story at Slashdot.



Posted by Soulskill | Posted in News, programming | Posted on 07-05-2010
An anonymous reader writes “The Security Ninja has written a blog post which discusses web programming languages and the fact that they are all insecure. It’s based on a report from WhiteHat Security and aims to dispel the myth that some languages will guarantee that an application will be more or less secure than other languages. ‘… secure code is the product of a secure development process and real business commitment to deliver secure applications which includes developer education. The absence of these processes and business commitments will lead to web applications being developed insecurely regardless of the language being used.’”


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 07-05-2010
The Flash platform has been taking body blows lately. First Apple, then Scribd, publicly abandon it; now ARM’s marketing VP is blaming a delay in ARM smartbooks on the continuing unsuitability of Flash for the subnotebook market. But how ready is HTML5 to take over from Flash? Tim Bray offers a cautionary appraisal of the not-yet-a-standard’s state of grace. While Flash may be on the way out (or so legions of its detractors hope), it is still important in many corners of the Web. Here a branding expert demonstrates that the sites of 10 out of 10 leading worldwide brands don’t display on the iPad — because they’re coded in Flash, of course.


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 02-05-2010
Download Squad has a quick review, with video, of Zen Coding (Google Code project page here), an extremely well thought-out accelerator for anyone who codes HTML. Its syntax is CSS-like. Zen Coding has been around for a while — here’s its author Sergey Chikuyonok’s introduction in Smashing Magazine from last November — and it has now picked up support for more than a dozen editing environments including Notepad++ and TextMate.


Read more of this story at Slashdot.



Posted by Soulskill | Posted in News, programming | Posted on 02-05-2010
-brazil- writes “Every programmer forum gets a steady stream of novice questions about numbers not ‘adding up.’ Apart from repetitive explanations, SOP is to link to a paper by David Goldberg which, while very thorough, is not very accessible for novices. To alleviate this, I wrote The Floating-Point Guide, as a floating-point equivalent to Joel Spolsky’s excellent introduction to Unicode. In doing so, I learned quite a few things about the intricacies of the IEEE 754 standard, and just how difficult it is to compare floating-point numbers using an epsilon. If you find any errors or omissions, you can suggest corrections.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 24-04-2010
JonathansCorner.com writes “Even if Ajax was backronymed to ‘Asynchronous JavaScript and XML,’ it works with JSON substituted for XML. Here’s a proof of concept that JavaScript/VBScript are not strictly necessary either. The technique, besides being used standalone, may be useful to provide a better ‘graceful degradation’ for Ajax applications used by clients with scripting turned off.”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 23-04-2010
TekNullOG writes “I was given the job to prepare the logistics involved with moving our office. At the same time my bosses asked me to look into buying new desks for a small team of four developers and to consider if it could benefit the team to sit at a round table. In many offices and departments it increases productivity and makes collaboration easy. However, I am concerned that putting developers around a table could potentially be distracting consequently diminishing productivity by increasing coding errors. What are your thoughts?”


Read more of this story at Slashdot.



Posted by CmdrTaco | Posted in News, programming | Posted on 22-04-2010
Jamie found a nifty blog entry where Indy Game designer Jeff Vogel writes about game engine and art re-use. He is criticized for not rewriting his core engine for a decade. It’s an amusing little rant with thoughts that actually might apply anyone working in engineering.


Read more of this story at Slashdot.



Posted by samzenpus | Posted in News, programming | Posted on 21-04-2010
Sparky Anduril writes “In this book author Allan Walker writes to inform Joomla! website administrators and developers how to enrich their websites with the inclusion of multimedia. And be in no doubt, this book is not for novices. A decent understanding of Joomla! will be required for you to benefit from this book. But all-in-all, whether you are an experienced Joomla! administrator but fear to go where multimedia gremlins tread, or someone with knowledge of video and audio but having little idea how to integrate that into your Joomla! website, this book will give you a solid understanding and ability to enable you to embed multimedia in your website using a range of techniques and Joomla! extensions.” Read on for the rest of Sparky’s review.


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 18-04-2010
rmoskal recommends his blog post up at Most Media on finding the right level of abstraction, Grails, and SOFEA. “[Three years ago] I was very excited about Apache Wicket as the way to develop line of business applications with a domain model, CRUD [create-read-update-delete] screens for maintaining the model, and in the most interesting cases, doing something else useful besides. I still like Wicket. It has, as its website says, a small conceptual surface area.’ It reminds me of Python in that ‘You try something it usually just works.’ In many respects, though, Wicket seems to be at the wrong level of abstraction for the for the sorts of line-of-business applications described above. If your team is spending any time at all writing code to produce listing, filtering, and sorting behavior, not to mention creating CRUD screens and the back-end logic for these operations, they are probably working at the wrong level of abstraction. … Recently I did a small project using Grails and was quite pleased. Grails uses groovy, a dynamic language compatible with Java, and is based on the proven technologies that I know and love well: Spring, Hibernate, SiteMesh, Maven, etc. … I get all the power of the Java ecosystem without the fustiness and lack of expressivity of the core language (no more getters and setters, ever!).”


Read more of this story at Slashdot.



Posted by timothy | Posted in News, programming | Posted on 14-04-2010
An anonymous reader writes “How many hours a week should a full-time programmer program? Trying to program anywhere near 40 wears me out. On a good week, I can do 20. Often, it is around 10 or 15. I’m talking about your programming session at the console, typing — including, of course, stopping and thinking for a minute, but not meetings, reading programming books, notes, specifications, etc., which by comparison feel like lunch breaks. I rarely get called to meetings (which is good) but that means to keep my brain from overheating I spend several hours a week surfing the web (usually reading tech news but also a few stops on Facebook, email, etc.). I should add that I am interrupted a few times per day. Me and another guy maintain an intranet site of a couple dozen web apps for an IT department, so we work on a few different things: phone calls, bug fixes, feature adds, as well as writing new web apps from the ground up, all in a day’s work. And I know that wears a person out more than if they had just one project to work on. I wonder if programming is like mental sprinting, not walking, so you can only do it in bursts. Am I normal or stealing?”


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 13-04-2010
First up, reader martinjlogan sends along a tutorial for setting up a workable Erlang/OTP development environment on a Mac. Next, reader acid06 notes news of Perl 5.12, including what may be the first delivered fix for the Y2K38 bug. (Hit the Read More link below for some details on Perl’s new release strategy.) “After two years of development, the new major version of Perl is now available. Notable new features are: better Unicode support, proper support for time after the Y2038 barrier, new APIs to allow developers to extend Perl with ‘pluggable’ keywords and syntax, warnings for deprecated features and more. From the linked post: You can get it from the CPAN right now or wait for a platform-specific release (such as Strawberry Perl for Windows).” Finally, from reader snydeq: “InfoWorld’s Martin Heller provides an in-depth review of Visual Studio 2010 and finds Microsoft taking several large steps away from its legacy IDE code. ‘Visual Studio 2010 is a major upgrade in functionality and capability from its predecessor. Developers, architects, and testers will all find areas where the new version makes their jobs easier. Despite the higher pricing for this version, most serious Microsoft-oriented shops will upgrade to Visual Studio 2010 and never look back,’ Heller writes. Chief among the improvements are Microsoft’s revamping the core editing and designer views to use WPF, its overhaul of IntelliSense and support for test-driven development, and its intelligent support for multiple versions of the .Net Framework.”


Read more of this story at Slashdot.



Posted by kdawson | Posted in News, programming | Posted on 13-04-2010
An anonymous reader writes “Ever wondered what was so bad about NULL pointer exceptions? An MIT Linux kernel programmer explains how to turn any NULL pointer into a root exploit on Linux. (There was also a previous installment about virtual memory and how to make NULL pointers benign.)”


Read more of this story at Slashdot.


