Northern Flies webshop launched!

23 01 2009

After a lot of coding, tweaking and hacking we finally launched Northern Flies.

See Northern Flies .

It’s a custom implementation on the greate opensource project Spree

I’ve added alot of extensions, some of them are generic enough to extract them into public extensions. I’ll try extracting those extensions in the next couple of weeks.

Until then… if you’re a flyfisher… go check it out  here .





Using helpers inside a controller [rails] [helpers] [custom]

13 01 2009

Needed to do some number_to_currency action in a controller…(don’t aks why :) ) and found this nice code: (adjusted to the helper I needed)

[sourcecode language='ruby']
def help
Helper.instance
end

class Helper
include Singleton
include ActionView::Helpers::NumberHelper
end
[/sourcecode]

via Using helpers inside a controller [rails] [helpers] [custom].





Java Programming Notes

13 01 2009

Found a very nice collection of java programming notes… and with the installation of the “Press this” button this post is born :)

See: http://leepoint.net/notes-java/index.html





Q-music het geluid is geraden!

9 12 2008

Zojuist even naar Qmusic luisteren…. en krijg nou..wat… iemand raad het geluid.. meer dan 62000 euro! Het was het uitschuiven van de koker van een mop / dweil … weet je wel om het water uit de dweil te drukken.

Nou…. is dat ook weer voorbij :D

Update: hier het filmpje met het geluid.





From Windows to Mac

27 07 2008

So it is finally happening, I’ve ordered a MacBook pro and will make the transition from windows to a mac. The MacBook will be used for all my daily work. Programming in java and rubyonrails off course. Perhaps I even check out cocoa and the iPhone sdk.

The MacBook should arive in about 2 weeks because I wanted the 7200rpm hd. This is only a option when ordered with apple. So I just have to be patient.

When I have some experience to share I will post it here





WordPress iphone app rocks!

22 07 2008

Just installed the wordpress app for iPhone and iPod touch from the apple appstore. This post is written on my ipod





Iphone get’s some sweet lovin…

7 03 2008

I just watched the keynote from apple about the SDK 2.0 update… and man this is gonna be awsome! Now the iPhone is getting some real enterprise business value, push mail, contact and calender, Microsoft Exchange support… and a free SDK for developers to develop for the iPhone. This summer is something I look forward to..

See: http://www.37signals.com/svn/posts/900-iphone-sdk-apples-touch-platform-and-the-next-two-decades 

and the keynote ofcource: http://www.apple.com/quicktime/qtv/keynote/





QNH Geeukup Community

25 01 2008

Vanuit QNH hebben we het plan opgevat om een community op te zetten voor ICT-ers uit Noord Nederland.
Dit wordt geen QNH community, maar een eigen community voor en door ICT-ers welke door QNH wordt gefaciliteerd/gesponsord. In een Geekup sessie willen we per avond diverse sprekers aan het woord laten.

WAT is een Geeukup ?

Een Geekup (borrel) community voor software ontwikkelaars of anderzijds ICT gerelateerde professionals  (in Noord Nederland) in de vorm van een Pecha Kucha podium of Geekup zoals ze in Engeland gehouden worden.

Hoe ziet een Geekup eruit?
17:30 – 18:00 Inloop
18:00 – 18:30 3-tal presentaties
18:30 – 19:30 panel/ronde tafel discussies
19:30 – 20:00 De Geekups (Pizza & bier met frisdrank)

Hieronder staan enkele items als voorbeeld genoemd:
Sharepoint,
Java,
J2ee spring,
Ruby
Bizztalk,
Java Polis.
Voor andere items staan we natuurlijk open.

Wat is Pecha Kucha?

Pecha Kucha is een podium voor het houden van veelal creatieve presentaties. Het concept is bedacht door Astrid Klein en Mark Dytham van Kein-Dytham Architecture (KDa) in Tokio, in 2003.
Het format heeft zich inmiddels verspreid over vele steden wereldwijd. De naam stamt af van een Japanse woord voor het geluid van een gesprek (gebabbel).
Het woord moet als een enkel woord worden uitgesproken.

Een Pecha Kucha-avond is een evenement waarbij deelnemers een diavoorstelling van 20 afbeeldingen presenteren, in een totale tijd van 400 seconden: 6 minuten en 40 seconden.
Elke afbeelding wordt daarbij precies 20 seconden getoond. Deze vorm van presentatie willen we dan ook graag het “20×20 formaat” noemen.

Voor WIE?

Voor die mensen die tijdens normale kantoortijden niet met elkaar in contact komen. Om zo van  elkaars ideeën en/of  kennis kunnen gebruik kunnen maken,
Voor geïnteresseerden in een bepaald thema welke niet binnen jouw dagelijks vakgebied valt,
Voor sprekers die graag andere Geekup-ers een introductie in een bepaald thema willen geven,
Voor gelijkgestemden om eens ervaringen uit te wisselen,
Dus om met soortgenoten in contact te komen.

Waarom?

Omdat het prettig is om het “soortgenoten” eens rustig over een item te kunnen praten.
Omdat je met mensen in contact komt die vaker meer weten dan jij alleen.
Omdat het gewoon interessant en gezellig is.

Waar?

Omdat het een community voor Noord Nederland betreft, is het de bedoeling en de verwachting dat mensen/It-ers/geeks overal uit Noord Nederland naar de events toe zullen komen.
Vanuit QNH hebben we de beschikking gekregen over een grote vergaderruimte in het Noordelijk Trade Centre.

Wanneer?

Eens per kwartaal is het de bedoeling om een Geekup avond te houden.
Als eerste datum staat nu 19 februari 2008.
Juni, September, en November zullen de maanden zijn waarin de andere Geekups worden georganiseerd.

Geekup.nl

Om het geheel zo goed mogelijk te kunnen laten slagen zijn we momenteel druk bezig om het domein Geekup.nl op te tuigen. Hierbinnen kun je straks info vinden over de Upcomming Events, het inschrijven op de mailingslist etc. Mocht je nog items, op/aanmerkingen hebben voor of over de site dan vernemen we dit graag.

Het Geekup Team
Noord Nederland.





Radiant performance issue and how I fixed it.

24 01 2008

I implemented the Dutch Fly Fishing site http://www.ffinfo.nl using Radiant. It was a very good project and with Radiant we have a great CMS. However, after some time the site started to slow down considerbly and I started on a quest to improve the performance.

My first step was to investigate on the extensions used that are using a lot of resources and or nested pages. I’m using the Aggregation extensions quit heavily, but removing the use of this extension did not help. An other extension that I use is PageAttachments, in the log files I see that the images ’served’ by the PageAttachments are no bottleneck.

The next step was added RAM and CPU power. The site is hosted on Slicehost, when we had the performance issue it was on a 256 slice. So the next logical step was upgrading to a 512 slice and adding more mongrels to the cluster. This was not really helping, the processing was faster of-course, but there was still something that caused the site to be really slow.

Then something hit me… what about recursion? a quick look into my snippets and I finally found it. I overlooked it completely, but the menu snippet that I used was quering all the pages recursivly for (almost) all the pages in the system. When I removed the recursion the site was as fast as it was when we first started.

An example of what this looks like is displayed below. (sorry for the makeup, this is something that is open for improvement on WordPress)

In the layout:


<div id="menu">
    <r :find url="/nl/">
        <ul class="adxm menu">
            <r :snippet name="menu" />
        </ul>
    </r>
</div>

The “menu” snippet:


<r :children:each>
    </r><r :unless_content part="no-map">
        <li> <r :link />
            <ul>
                <r :snippet name="menu" />
            </ul>
        </li>
    </r>

This kind of code could be used for a sitemap. In fact we still use similar code for rendering our sitemap. This page is the slowest of the site of course :) So, this little episode shows that small amount of “smart” recursive code is easily overlooked and can lead to quite some problems.





Open Huis bij QNH Zeist, Groningen en Maastricht Airport

19 12 2007

Een échte oliebol liefhebber…..
…. komt op 31 december tussen 12.00 en 15.00 uur naar de open dag in Zeist, Groningen of Maastricht Aiport. Neem je kinderen mee, er is een bollen… uhhh… ballenbak en opvang, we hebben voor jou en je partner natuurlijk de beste oliebollen van Nederland en als klap op de vuurpijl krijg je die vuurpijl ook nog eens mee!

Kijk voor meer details op http://www.flyyourfuture.nl workshops of mail naar openhuis@qnh.nl en meld je snel aan.