Ping Clarion 7
Art posted a classic reply to a post entitled “Ping Clarion7″, which was asking if there has been any recent news.
Following is Art’s response,
C:\Documents and Setting\Programming\Clarion> Ping Clarion7
Pinging Clarion7 with 32 bytes of data:
Request timed out.Request timed out.Request timed out.Request timed out.
Ping statistics for Clarion7: Packets: Sent = 4, Received = [...]
Entropy Increases. Or, _Chaos_ breeds.
Too often in Software Development the Second Law of Thermodynamics holds sway over projects. Over programmers. Over tools.
Code is convoluted. Too many people worked on one piece of functionality over the years, noone leaving notes. Documentation is mangled. Direction has changed more than once in the past few months. The [...]
This post was conceived and written at least a month ago. It seems that now the site has been indexed by Google. But the picture was too good to let slip into the dim recess of my memory alone.
Over the past couple of weeks I have been working hard to get this site up [...]
25 Apr
Posted by Stu as Coding, Tips (Little Bits Of Awesomeness)
When manipulating data files in code, you can check after each operation for errors.
Here’s an example:
1
2
3
4
5
6
7
8
9
10
11
clear(peo:Record)
peo:EnteredDate = _:FirstDayOfYear
set(peo:keyEntered,peo:keyEntered)
loop
next(People)
if ((errorcode() = 33) or (peo:EnteredDate > today())
break
elsif errorcode()
_AddError(_:ProcedureName,’routinename’,subject,body)
.
.
So what’s going on?
When you’re running an error check, there are certain errors that should be handled with special care, contextually based on the preceeding command.
After a next() I know [...]
24 Apr
Posted by Stu as Templates, Tips (Little Bits Of Awesomeness)
The simplest template in my arsenal is the one you’d find most in the code.
I discovered early on it was a good idea to send the (offending) Procedure Name through to the error logging.
_AddError(’MyAwesomeProcedure’,'Stupid Error Subject’,'Stupid Error Body’);
After too long, I decided to do something about always having to string type as a parameter [...]