Glorp findings – using count:

Conntinuing on the Customer/Order example from my last post, we might want to only send some ads to customers who have ordered at least twice in the past. For this we'd first have to cunt all orders of our customers who haven't ordered for at least 100 days. So the first step is to create … Continue reading Glorp findings – using count:

Advertisements

Glorp Subqueries – notExists:

I decided to get back to blogging after a very long break. Since I am quite busy with our Kontolino! project, I also decided that I need to get back to blogging with small articles that require little time - but might still be useful. So here is the idea: I am struggling with Glorp … Continue reading Glorp Subqueries – notExists:

Seaside Learnings, pt. 123

Note to self: never, never ever try to use show:onAnswer: or answer: in an Ajax callback. In your delegating WATask or  WAComponent you will see the callback code run as if all was good, just the new components won't show up in th browser. This will take a long time to debug and you won't … Continue reading Seaside Learnings, pt. 123

Seaside 3.2 Session timeout & let’s start a blog parade

Seaside 3.2 is not actually new, but we just recently switched to VAST 8.6.3, which ships with Seaside 3.2. Before that we were on VAST 8.6 and Seaside 3.1.x (x=I don't remember exactly). Among the numerous changes in Seaside 3.2 is the new session timeout configuration. Up to Seaside 3.1 the way to configure session … Continue reading Seaside 3.2 Session timeout & let’s start a blog parade

Glorp/DB2 – Tip: Sorting case insensitive

If you are working with Glorp and DB2 and use #orderBy: you may have found out that the results of ordering by CHAR or VARCHAR columns may end up strange. DB2 assumes that a Small letter is less than a capitalized one. "Hans" is lower than "HANK". In my case this came obvious in a … Continue reading Glorp/DB2 – Tip: Sorting case insensitive

Instantiations releases VA Smalltalk Version 8.6.3

While it is no secret that Instantiations is working on a new 64-bits VM and Image for its VA Smalltalk system, innovation in all kinds of Software packages that can be connected to VAST doesn't stop and wait for it to be done. So Instantiations just announced the immediate availability of VA Smalltalk 8.6.3, a … Continue reading Instantiations releases VA Smalltalk Version 8.6.3

Expressions you’d probably never type

... and yet they give the expected result. I just tried this one, assuming it's probably worth a try, but it will most likely not work: String with: Character cr with: Character lf. Not that this is interesting or such. I was just surprised you can use with:with: to create Strings. Go back to work, … Continue reading Expressions you’d probably never type

Zürich Smalltalk Meetup, Nov. 8, 2016?

It's been almost a year since the Zürich Smalltalk users met. What a pity. So I'd like to get the ball rolling to gather interested Smalltalkers to meet on Tuesday, November 8, 2016. If you are interested, drop me a note or mail and I'll keep everybody updated on the exact time and place. Where … Continue reading Zürich Smalltalk Meetup, Nov. 8, 2016?

Seaside: Registering a WAApplicaton too late leads to an HTTP 503 error

[Update: Thinking about this a little more, this post has a misleading title. This is very likely not to be a Seaside issue at all, but one of VA Smalltalk's WASstServerAdaptor, which, if started/registered too late (whatever too late may be), doesn't get realized by Apache. So the title of this post should rather be: … Continue reading Seaside: Registering a WAApplicaton too late leads to an HTTP 503 error

VA Smalltalk 8.6.2 is available

John O'Keefe from Instantiations sometimes makes this joke that a new release of VA Smalltalk will be out "in October" but it's not clear yet how many days this year's October will have. Well, 2015 October had exactly 61 days. Instantiations just announced the availability of VA Smalltalk on November 30th, 2015. At first sight, … Continue reading VA Smalltalk 8.6.2 is available