Archives for the Month of November, 2006

Full Text Indexing in Ruby is Faster than Java

Jim Wiseman John Wiseman, who is porting Ferret to Lisp, reports on the blazing performance of Ferret.
(Ferret was originally a port of Lucene, but recent alteration to the file format has increased performence 5x over GCJ, and then the author ported to C to get an order of magnitude improvement.)
The moral of the story is [...]

Software for Bulgarian Asparagus Farmers

You have to read the story behind this quote about developing software on top of the .Net 3.0 framework:

“I want to develop for the .NET 3.0 framework”
I don’t think you could find a smaller market segment if you tried. Perhaps writing software for Bulgarian asparagus farmers?
Joel On Software Discussion Group

Atom WSSE Profile

It’s been a few years since Mark Pilgrim wrote up the WSSE authentication on XML.com. There has been little exposition of it, bar Ezra from MovableType who explained that the OASIS scheme requires passwords to be stored in clear text on the server. The WSSE scheme doesn’t really define any extensions which specify that a [...]

Beware of Property Descriptor and __getattr__

What’s wrong with this code?

class C:

def __init__(self, id):
self.id = id

def getdata(self):
if not hasattr(self, ‘_data’)
temp = longComputation()
self._data = temp.value()
return self._data

def __getattr__(self, name):
[...]

BindingSource and Saving data

TIP:
If you bind controls to data using BindingSource, make sure you call
bindingSource1.EndEdit()
before you serialize to your data store. It’ll save a few red-faces.
Chui

How to lose weight without feeling hungry

Rami (a developer) talks about how he shed 40kgs. I’d like to share my perspective. I lost about 5kg from a relatively low base, and I really admire how Rami can lose 40, because it’s simply hard work. I’d like to share with the general reader how I managed to curb the hunger pangs. [...]

ShortcutsEnabled on TextBox (WinForms DotNet) does not perform SelectAll with Control+A

In the KeyPress event handler

If Asc(e.KeyChar) = 1 Then
CType(sender, TextBox).SelectAll()
e.Handled = True
End If

technorati tags:.net, textbox, [...]