Ivan Porto Carrero

IO(thoughts) flatMap (_.propagandize)

24

Aug
2006

Aptana for Writing Atlas Script

I write quite a lot of javascript code these days and have been looking for a couple of months for ways to make my life easier.

Easier would mean in my opinion to get some kind of intellisense or autocomplete while writing javascript.

As it turns out in visual studio orcas these features will be available so I’ll be a very happy vs orcas user i guess :).  But in the meantime there is a free eclipse based IDE around aptana that let’s you take advantage of autocomplete etc.

I added the atlas debug files to the default code profile and I was in business.

18

Aug
2006

New Base4 CTP a Must Have

I’ve been playing with the new base4 ctp that was released yesterday. And I must say that schema website thingy … NICE ;-)

I had trouble working out the joins from time to time but now I just browse my schema and it will show me the syntax if i click on a onetomany relationship which is SO cool.

 

I’d say Alex keep doing what you’re doing :D

15

Aug
2006

The Thing I Re-learned Again

I feel so stupid sometimes and today was such a day.. I’d been putting of reinstalling my pc for a  while now.
I had installed vista on it but my machine just isn’t fast enough.

The thing I’ve re-learned today is when installing a pc install the virus scanner last or disable it  during the install period. It shaved about 1 hour of my visual studio installation.

All in all I think that feature saves me about 6 hours over the whole install.

11

Aug
2006

This Blog Has Joined Technorati

I am now listed on technorati

            [Technorati Profile](http://www.technorati.com/claim/gw6vhrb4gs)

11

Aug
2006

Faces for Lebanon

A while ago I decided that I wouldn’t reblog somebody else’s posts. But I have to make an exception today because of what’s going on in the world.

People that have the chance to meet me in person can ask me for my view on that whole situation but I don’t want to write a whole book here.

                    [
                            As my friend Miel blogs :
                    ](http://blog.coolz0r.com/2006/08/11/faces-for-lebanon/)







            [
                    Faces4Lebanon.org
            ](http://www.faces4lebanon.org/)
             seeks to demonstrate the solidarity of people with Lebanon and the Lebanese people. Millions of people around the world are calling for an immediate halt of all acts of aggression against Lebanon, and the humanitarian catastrophe that is worsening everyday.  

            [
                    Faces4Lebanon.org
            ](http://www.faces4lebanon.org/)
             aims to spread the words of millions who want to send a message to the world that they are against all acts of violence and aggression. By publishing your photo on 
            [
                    Faces4Lebanon.org
            ](http://www.faces4lebanon.org/)
            , you will contribute to the buzz we want to create globally and attract as much media attention as possible in a highly civilized and unique manner. Furthermore, your contribution will document the world’s solidarity with Lebanon and the widespread infuriation from this aggression on Lebanon.






            Stop the madness! War isn’t the answer! It never is!

 

11

Aug
2006

User Group Atlas Presentations

This week I went to do a couple of presenations on atlas in the regional user groups here in New Zealand.

At first I was really nervous, so I apologise to the people in hamilton for not getting the best presenation I could give you, I even forgot some stuff that would make all the pieces fit together.

But after the first talk I started to get the hang of it, and now I regret that I can’t do more talks but who knows what the future brings.

It was really interesting to see that there are a lot of really skilled people with a passion for programming in New Zealand.

 

So in all I would like to thank everybody for taking the time to come and listen to my ramblings on Atlas.
And perhaps we’ll meet on Teched next week.

 

29

Jul
2006

Base4 Totally Rocks !!!

The last couple of days I have been playing around with base4 and I have to tell you if you aren’t using it now. You should hurry yourself to their site and start downloading.

We are in the process of testing a schema generator that will wrap your existing databases to the base4 schema file.

I have a code reduction of at least 33% with another OR/mapper so that counts in my book.

Hurry to base4.net

 

People interested in testing the mapper please email me or something.

25

Jul
2006

Disable Page Caching Globally

I decided to put some of the questions I get from time to time on my blog, if they involve code samples at least.

Today :

            Sent: Wednesday, 26 July 2006 10:18 a.m.






            To: Ivan Porto Carrero






            Subject: Page Caching








                     







            I use the following markup to disable caching for specific pages in my app. 






            <%@ OutputCache Location="None" VaryByParam="None" %>







                     







            Do you know how to do this gloablly, for whole application? 







             





            Answer:






            void Application_PreSendRequestHeaders(object sender, EventArgs e)









                                        {









                            










                                            Response.ContentEncoding = System.Text.Encoding.UTF8;











                                            Response.Cache.SetCacheability(HttpCacheability.NoCache); 









                     










                                        }









                     







            Add that to the global.asax that will disable all caching







                     







            More info on the HttpCacheability object :






            [
                    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcachepolicyclasssetcacheabilitytopic.asp
            ](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpcachepolicyclasssetcacheabilitytopic.asp)

 

23

Jul
2006

Some Choices Made Regarding NBlogr

For the development of NBlogr I had to say goodbye to some of my favorite controls.

The idea of NBlogr is that it is Open Source so that means I can’t use anything that is not open source / free in my project.  I use component arts excellent menu whenever I see fit except for now.

            [ComponentArt](www.componentart.com) have 2-3 controls in their range that I really like. The other ones aren't really usefull in my case.

I’ve been using the freetextbox control for 3,5 years now. But the latest versions aren’t really good implementations. If I load up my control in a firefox browser and I reload the site by entering in the address bar.. I get 3-5 errors @ pageLoad.  And that just sucks because the rest of the javascript doesn’t get executed and an atlas page won’t execute.

So for me it’s down with the freetextbox control and up with the tinymce control from moxiecode.
That one is the only true cross browser (IE, FF, Safari, Opera) richt text editor I can find

Another benefit : It’s smaller than the freetextbox and loads way faster.

Captcha isn’t a good solution for blocking comment spam. I’ve decided to use akismet as a refferer and comment blacklist service for NBlogr.

 

23

Jul
2006

Congrats to Tim and His Wife With Their New Baby

Tim Haines became a father over the weekend.

Congratulations to the happy family. I wonder if the little one will take after the father and start googling away after a few months/years :)

            [http://ims.co.nz/blog/archive/2006/07/22/1856.aspx](http://ims.co.nz/blog/archive/2006/07/22/1856.aspx)

 

A picture of the adorable baby :

    ![Tane Haines](http://www.ims.co.nz/blog/images/tane.jpg)

To top