Byref and ByVal part II

Long ago I wrote about byref & byval
Apparently this wasnt widely read not even by some long standing members of the community as I still see completely wrong explanations of bevel & byref persist.

First you have to understand that there are two types of VARIABLES.
VALUE types and REFERENCE types.
With a VALUE type the compiler sees there is space in memory set aside when your program runs to hold a value – a number a floating point value etc.… Read the rest

Fixing code by not touching it follow up

In the case I described the code is in a subclass a Xojo class

The idea here is to INSERT a new subclass between the existing subclass and the new one. And the newly inserted subclass will expose things in a way the OLD existing code wont break

So we never touch the old code
We just modify the inheritance chain in a way we can then alter how things behave

So in his case we can add a new subclass of EmailMessage that exposes the Source as a Method pair ( get & set) and then make the existing class inherit from our new class

And the existing code will then JUST work without ever having had to alter any of it

Next time you have an issue like this consider that as an option !

YAY !!!!!!!!!!!!!

For the past 3 days I’ve been on a training course and today I got my certification as a CSIA level 1 instructor !!!!!

Fixing code by not touching it

The other day I was helping a friend with some code that worked fine in several versions of Xojo but then in a newer one wouldn’t compile

Seems he found a compiler regression Whether this _should_ have been caught by regression tests etc is an entirely different question.

It exists. And now his large project doesn’t compile.… Read the rest

Never had to think about this before

Was chatting with a potential client. And they are new to Xojo.

When I mentioned that I had worked at Xojo Inc for more than 10 years they didn’t believe me. And they asked for some proof. I had never encountered this before.
So here’s a quick few references where you can see that I was once a member of their development team.… Read the rest

XojoScript debugging

if you’ve EVER tried to debug a Xojo Script its truly a pain in the rear end

Since one of my current projects requires a lot of Xojo Script that became really apparent and really annoying

So, for this project, we made a XojoScript debugger 😛
You can run & single step. And with each step the values of all variables in scope will be reported; where possible.… Read the rest

INN

Over the last week I’ve been asked repeatedly about INN’s status
So I’ll post the same answer I’ve give n out several times

It seems to have been a series of bad luck & timing

Garry was in the process of transferring operation of INN to me
Just as  I was going on holidays

And apparently Digital Ocean had a node failure and thats where INN was housedAs far as I know Garry hasn’t investigated or invested any time to get it back up and running since he was moving away from being the admin anyway

And I’ve been on hotel wifi so couldn’t get anything done

The intent IS to get the domain transferred and the discourse instance back up and running as quickly as possible

UPDATE : I am HOPING that once the domain transfers that INN will be back up
That could be later this week after Nov 23
Fingers crossed !