Wastholm.com

The Fault-Tolerant Shell (ftsh) is a small language for system integration that makes failures a first class concept. Ftsh aims to combine the ease of scripting with very precise error semantics. It is especially useful in building distributed systems, where failures are common, making timeouts, retry, and alternation necessary techniques.

...

If any element of the script fails, all running process trees are reliably cleaned up, and the block is tried again with an exponential backoff. You might think of this as exception handling for scripts.

This guide will show you how to build a variety of apps in Django 1.2, including a Todo List App, a simple Blog, a Photo Manager / Sharing App and a simple Forum App. (Nearly all of the code will work on Django 1.1, as well.)

Welcome to your first taste of Haskell! Let's try Haskell right now!

Enter Haskell expressions straight into the web browser, and/or chat with other users.

KWallet is a service provided by KDE that provides a convenient way to save and read this kind of data. Lets take a look at a simple example of how we can use the KWallet service from a Python application.

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.

The PHP/Java Bridge is an implementation of a streaming, XML-based network protocol, which can be used to connect a native script engine, for example PHP, Scheme or Python, with a Java virtual machine. It is up to 50 times faster than local RPC via SOAP, requires less resources on the web-server side. It is faster and more reliable than direct communication via the Java Native Interface, and it requires no additional components to invoke Java procedures from PHP or PHP procedures from Java.

Security and encryption is getting ever more important in today's computer networks, being it SSL secured web sites, encryption of data or mail, secure logon to mention just a few. But security is expensive, right? Not anymore....

StartCom, the vendor and distributor of StartCom Linux Operating Systems, also operates MediaHost™, a hosting company, which offered its clients, SSL secured web sites with certificates signed by StartCom for many years. That's where the idea originated: Free SSL certificates!

The development of the typical app cost $35,000 and the median paid app earns $682 dollars per year after Apple took its cut. You see where this is going.. We get to break even on our App Development costs in... 51 years. I'd say the iPhone battery will need replacing before then, and perhaps our grand kids have grown tired with that oldfashioned antique toy by then. But maybe - just maybe - without any updates to our app, we can sustain 51 years of continuous sales and recover our initial investment. Yeah, and this is obviously without covering any of our marketing costs, and gives us no profit yet, etc...

Just to break even.

If you take that absolute lowest end of the two estimates, $15,000 and do our app 'dirt cheap' - even then, it will take 22 years to recover our costs.

Designing an HTML email that renders consistently across the major email clients can be very time consuming. Support for even simple CSS varies considerably between clients, and even different versions of the same client.

We’ve put together this guide to save you the time and frustration of figuring it out for yourself. With 23 different email clients tested, we cover all the popular applications across desktop, web and mobile email.

A vast proportion of software at work today is horribly over-engineered for its task. And I’m not talking about the interfaces, about having too many controls or options for the users. These are, indeed, terrible sins but they are the visible ones. The worst of the overengineering goes on under the surface, in the code itself.

...

The most insidious cause of overengineering is over-generalizing. We will over-generalize anything given half a chance. Writing code to work with a list of students? Well, we might want to work with teachers and the general public someday, better add a base People class and subclass Student from that. Or Person and then EducationPerson and then Student. Yes, that’s better, right?

Only, now we have three classes to maintain each with their own virtual methods and interfaces and probably split across three different files plus the one we were working in when a one-line dictionary would have been fine.

|< First   < Previous   299–308 (530)   Next >   Last >|