Proof copy on the way...
I should receive the Fundamentals' proof copy in about 2 weeks. If all goes well, the release date is August 15th or so.
... then let's see how he does, up there, without all the assistance!
I should receive the Fundamentals' proof copy in about 2 weeks. If all goes well, the release date is August 15th or so.
Posted by
Andrés
at
22:38
0
comments
Good, now I have two new hard disks. I can't believe I put up with 4200rpm drives for so long. These are 7200rpm performance drives, and peak at about 100mb/sec. The machine sure comes back from hibernation faster now...
Posted by
Andrés
at
17:30
0
comments
Yep, one of the laptop's disks is busted. What's almost comical is that e.g.: chkdsk says "sorry, unknown error, so I am not finishing". But SMART insists everything is fine: no seek errors, no relocated sectors, no ECC issues, nothing.
Fujitsu... for some reason, I never quite developed much trust for those drives. Now, I can't help distrusting them outright. I could understand broken mechanics and bad SMART values. But read rattles, unrecoverable errors, and SMART insists everything is fine? I wish Google had released the data for their assertion that SMART does not predict disk failures sorted by manufacturer. I do have direct evidence of Western Digital drives reporting lower than perfect scores, so I have a feeling some drives are smarter than others...
Posted by
Andrés
at
17:58
0
comments
I don't quite realize that, basically, I just finished writing the first volume of Fundamentals of Smalltalk Programming Technique. The draft is 400 pages. The to do list has just small tasks... make a few more exercises for chapter 5, try to solve the last exercise (I do not know if it can be solved yet), get the text edited, design the book cover, and send it to Lulu for a proof copy. If all goes well, the book may go on sale in 2-3 weeks.
Posted by
Andrés
at
15:37
2
comments
The draft is at 396 pages. Just one section left. Any time now.
Posted by
Andrés
at
14:56
0
comments
Ok, I just finished the first (and longest) of the 3 sections I had to write. The Fundamentals draft is 390 pages. Now I just have a not so short section (5.3.8) and a short section (5.3.9) to go. A mere 15 or so more pages left to take care of...
I should also point out that I found a few bugs and other cleanup opportunities in Assessments as a result of writing about it. I will publish the improvements after I finish the book. Overall, I think I managed to reduce the methods/class average. The code stats for Assessments (including all the self tests and the tools) are 1227 methods and 187 classes and class extensions, for an average of 6.56 methods / class.
Posted by
Andrés
at
05:03
0
comments
There's a song by "The Pointer Sisters" called "Jump"...
Posted by
Andrés
at
01:25
1 comments
Pablo Gancharov started a new website where he shares his Smalltalk experience (in VisualWorks, but VW is also a Smalltalk!). Go there and check it out!
Posted by
Andrés
at
16:39
0
comments
Sigh... imminent laptop hard drive failure. Gotta love it :(. At least I am not losing anything, and I have about 5 backup copies of everything.
Posted by
Andrés
at
21:05
0
comments
I just finished the "half" section. Assessments just got a nice 25 page design document written. The Fundamentals draft is 374 pages. Just 3 sections to go...
Posted by
Andrés
at
19:13
1 comments
Assessments is a Smalltalk test framework like SUnit. Unlike SUnit, however, it is designed to be flexible and extensible. So, for example, whereas there are many mutually incompatible SUnit logging facilities, in Assessments you can have multiple logging facilities working at the same time. The key criterion is that using Assessments should not force anybody to modify the framework.
Moreover, Assessments also runs tests from other test frameworks, such as SUnit, SUnit VM (including SUnit Benchmarks and SUnit Based Validation), and SUnitToo. The Assessments execution machinery is quite powerful, and literally takes over the other frameworks seamlessly and transparently. Basically, you load Assessments, it detects what frameworks are in the image, and acts accordingly.
Instead of the approach taken by the SUnitToo bridge, Assessments does not modify or create code to run SUnit tests. Moreover, users do not need to make any changes to their existing SUnit tests either. Therefore, using Assessments does not invalidate any existing SUnit tests. In fact, you can continue writing your favorite variety of SUnit tests because Assessments is backwards compatible with them. Even though SUnit tests may not be Assessments' native tests, you still get all the advantages of a better test execution engine.
The Fundamentals' chapter on polymorphism documents many of the techniques and constructs that enable Assessments' flexibility (polymorphism is king). I spoke briefly about Assessments at ESUG 2008. The slides are here, the video is here (and here). The SUnit Benchmarks and SUnit Based Validation extensions are described at length in the mentoring course book (you can also get the book at Amazon and Powell's). SUnit Based Validation and its multitude of applications are also discussed in this paper and this Smalltalk Solutions 2008 presentation (mirror here) by Leandro Caniglia.
You can get the latest version of Assessments from the public Store repository. The bundle name is Assessments. As soon as I am done with the Fundamentals book, I will add a few things I've wanted in Assessments for a while. See here for the to do list.
Posted by
Andrés
at
10:15
2
comments
The draft is 362 pages long now, and it's growing quickly. I just have 3 and a half sections on Assessments to go, but I also think the end result will be over 400 pages in size. Then, making some more exercises, fixing a few other small details, and creating the book cover.
Posted by
Andrés
at
02:32
2
comments
FYI, the FTP server will be down for about 2 weeks.
Posted by
Andrés
at
23:38
0
comments
Sigh. It never ends. I think I will add a chapter on weak collections and ephemerons to the second volume of the Fundamentals book. As if having a chapter on optimization wasn't enough risk of having to write a third volume already...
Posted by
Andrés
at
18:11
0
comments
Now I have two editors working in parallel. They are doing a great job of keeping me busy, which is good. Just today, I rewrote about 25 pages so far. I managed to make some progress at the leading edge, too. The draft is 344 pages now. Moving along...
Posted by
Andrés
at
18:03
0
comments
Would anybody be so kind to provide a direct proof of the following identity?
Posted by
Andrés
at
18:09
6
comments
Check it out... using a VHS recorder as tape backup with no additional hardware. Up to 130mb/hour of tape! The last hack here is amazing...
Posted by
Andrés
at
22:04
0
comments
You know, in some countries there's major paranoia about swine flu. Don't go out, buy tamiflu, buy masks, cancel schools and large events, impose mandatory vacations, etcetera. Is that reaction reasonable? Let's see...
Posted by
Andrés
at
03:40
4
comments
I didn't put out a notice for the new versions of Assessments. So... I fixed a small problem with resource failure notifications, an issue with one test that improperly scanned for the presence of optional code, and deleted a subclass of the evaluation context. I made the design decision that, in an evaluation context, the evaluation itself should be subject to a policy. I will create a couple evaluation policies later.
What about the to do list? I want to add a new checklist evaluator that sorts checklists / testcases by bundle and package. I also plan to add some (simple!!!) extensions to the RB. Finally, I want to redo how failures and errors leave the evaluation result window frozen while waiting on a semaphore. Hopefully I will feel inspired later this month. Nevertheless, the book still has priority over Assessments enhancements right now.
Posted by
Andrés
at
02:40
0
comments
I just published an update for the Hash Analysis Tool. I deleted some dead code. Also, I temporarily disabled the block count tests because they can fail for ad-hoc data sets.
Posted by
Andrés
at
02:39
0
comments
So, the Fundamentals book now has figures. I had to take a few screenshots, and I noticed a few things.
Posted by
Andrés
at
02:03
7
comments
Finally, I can feel it. I am getting close to finishing the first volume of the Fundamentals book. The draft reached 330 pages today, and it's growing very quickly. I should point out that the book will include the first printed material about the Hash Analysis Tool and Assessments. In particular, the Fundamentals book will cover (some of) their sophisticated use of polymorphism. I think the book should be done at 400 pages or so.
Gotta go... I need to write some more now.
Update: 332 pages now, and with figures.
Posted by
Andrés
at
21:55
0
comments