// comments are lies!
This blog is no longer updated!
Visar inlägg med etikett
Python
.
Visa alla inlägg
Visar inlägg med etikett
Python
.
Visa alla inlägg
2008-10-29
If the only tool you have...
›
"If the only tool you have is a hammer, you will see every problem as a nail." - Abraham Maslow This week, I've been experimen...
2008-10-19
Pattern matching function declarations in Python part II
›
Ok, so the pattern matching idea kind of backfired. I was under the impression that a function's default arguments wouldn't be eval...
1 kommentar:
2008-10-13
Pattern matching function declarations in Python
›
All those who have tried to write a rules-based program know that there are, at least, two differences between "regular" programmi...
2008-09-02
Roman numerals
›
Yesterday we had another GothPy meeting. Apart from getting some formalities out of the way, Emily showed us how to do the FizzBuzz kata i...
2008-07-18
Sling Blade Runner IV
›
I've been doing some more work on my kōan , Sling Blade Runner . I've given up on the beam-stack search approach. I doubt it will im...
2008-07-02
Sling Blade Runner III
›
Continuing work on my Sling Blade Runner solution has led me to improve the search algorithm a bit further. Instead of looking for good st...
2008-06-23
Sling Blade Runner II
›
In an effort to understand my heuristic's performance better I've compared the chains created by icefox's (312 titles) and my p...
2008-06-06
Creating an .exe for a CLIPS application
›
Every now and then someone (on CLIPSESG ) asks about how to create a standalone binary (usually a Windows .exe) for a CLIPS application they...
1 kommentar:
2008-05-23
Domain Specific Languages and XML
›
A couple of days ago Pascal Costanza wrote an interesting reply to Martin Fowler's post ParserFear . Like Pascal, I think Martin miss...
2008-05-20
NotNode woes
›
Since the rewrite of the RuleCompiler I've been making good progress at good speed with PyRete. It might appear different to the casua...
2008-05-14
Why I love Python
›
Two days ago I attended the first GothPy meeting here in Gothenburg. Jeppesen was kind enough to let us use one of their conference rooms f...
2008-05-12
Sling Blade Runner
›
I found the ITA Software Hiring Puzzles almost a year ago and ever since I haven't really been able to stop thinking about one of the p...
2008-04-28
KataMinesweeper
›
I've been playing around with a few of the katas at codingdojo.org these past few days. I'm new to the concept but I like the idea ...
2008-04-16
SVN update
›
I haven't updated the PyRete SVN repo for some time now. Mostly because I haven't really had any (working) code I wanted to share. ...
2008-04-11
AST to AST translation in Python
›
In an attempt to further simplify PyRete's rule compiler I've split it into three parts. 1) Pre-processing (splits a rule into subru...
2008-03-21
1000 LOC removed
›
There's not many things that make me happier than being able to remove existing code. These past few days have been quite good in that r...
1 kommentar:
2008-03-14
I hate mathematics
›
Via Gary King , I found this little weirdness, called the 6174 problem. Pick any four distinct digits (e.g., 6, 2, 9, 0) arrange them into t...
1 kommentar:
2008-03-11
Yet another post about the RuleCompiler
›
There's still a lot of code to be written for the RuleCompiler but I came a bit further today. I've added print statements to the pa...
2008-03-09
python4ply vs a custom rule compiler
›
Andrew Dalke released python4ply 1.0 today. It might be useful as part of the RuleCompiler since I wouldn't have to constrain the rule ...
5 kommentarer:
2008-03-07
Progress with the RuleCompiler
›
Finally! It's starting to feel like I'm getting somewhere with PyRete's RuleCompiler. Earlier this week I decided to change quit...
3 kommentarer:
›
Startsida
Visa webbversion