Older blog entries for sness (starting at number 4224)

#AltDevBlogADay » Functional Programming in C++

#AltDevBlogADay » Functional Programming in C++: "Someone taking an introductory programming class might be scratching their head and thinking “aren’t all programs supposed to be written like this?”  The reality is that far more programs are Big Balls of Mud than not.  Traditional imperative programming languages give you escape hatches, and they get used all the time.  If you are just writing throwaway code, do whatever is most convenient, which often involves global state.  If you are writing code that may still be in use a year later, balance the convenience factor against the difficulties you will inevitably suffer later.  Most developers are not very good at predicting the future time integrated suffering their changes will result in."

'via Blog this'

Syndicated 2012-04-27 20:11:00 from sness

Code rant: The Database As Queue Anti-Pattern

Code rant: The Database As Queue Anti-Pattern: "Simple, use the right tool for the job: this scenario is crying out for a messaging system. It solves all the problems described above; no more polling, efficient message delivery, no need to clear completed messages from queues, and no shared state."

Syndicated 2012-04-27 19:57:00 from sness

Get CPU Info via Command Line in Mac OS X

Get CPU Info via Command Line in Mac OS X: "Retrieving CPU information from the command line in Mac OS X is easy enough, first we’ll use sysctl because it give us everything on one easy to read line:

sysctl -n machdep.cpu.brand_string"

'via Blog this'

Syndicated 2012-04-27 18:47:00 from sness

Clearly

Clearly: "Are you lost? This is Clearly - structured text editor that uses your browser to manipulate & store documents.
To get hang of it go and play with the tutorial."

'via Blog this'

Syndicated 2012-04-27 16:43:00 from sness

Intel Announces the New Intel® SDK for OpenCL* Applications 2012 – Blogs - Intel® Software Network

Intel Announces the New Intel® SDK for OpenCL* Applications 2012 – Blogs - Intel® Software Network: "In support of the recent announcement of the 3rd Generation Intel® Core™ Processors, Intel has released the Intel® SDK for OpenCL* Applications 2012. For the first time, OpenCL* developers using Intel® architecture can utilize compute resources across both Intel® Processors and Intel® HD Graphics Driver 4000/2500"

'via Blog this'

Syndicated 2012-04-27 16:42:00 from sness

flex - How can I pass the string "Null" through wsdl (SOAP) from AS3 to ColdFusion web service without receiving a "missing parameter error"? - Stack Overflow

flex - How can I pass the string "Null" through wsdl (SOAP) from AS3 to ColdFusion web service without receiving a "missing parameter error"? - Stack Overflow: "We have an employee whose last name is Null. He kills our employee lookup app when his last name is used as the search term (which happens to be quite often now). The error received (thanks Fiddler!) is

 
   soapenv:Server.userException
   coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.MissingArgumentException : The SEARCHSTRING parameter to the getFacultyNames function is required but was not passed in.]
Cute, huh?

The parameter's type is string. Using WSDL (SOAP). Flex 3.5 Actionscript 3 ColdFusion 8

Note that the error DOES NOT occur when calling the webservice as an object from a coldfusion page."

'via Blog this'

Syndicated 2012-04-27 16:42:00 from sness

Martin Doms : Splines and curves part I – Bézier Curves

Martin Doms : Splines and curves part I – Bézier Curves: "Bézier curves
The first curve we will investigate is the infamous Bezier curve. It should be noted that the Bezier curve is not, in fact, a spline, but it’s still a useful starting point. We will start with an example, and delve into some details of how this curve works and why. Note that the interactive examples in this article use the HTML5 canvas element so may not work correctly on older browsers and some mobile devices. Hover your mouse over the curve to see how it is constructed."

'via Blog this'

Syndicated 2012-04-26 22:27:00 from sness

MiniJs - jQuery Plugins made easy

MiniJs - jQuery Plugins made easy: "
A suite of jQuery plugins written in CoffeeScript"

'via Blog this'

Syndicated 2012-04-26 17:04:00 from sness

4215 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!