Category Archives: Development

Cannot find module XXXX

Today, I was working on a small node project. I did an npm init . followed by adding a few dependencies to my package.json I then proceeded to run npm install and edited a simple coffee script file. When I … Continue reading

Rate this:

Posted in Development, Node, Software | Tagged , , | Leave a comment

Fiddler and failure to intercept HTTPS traffic

If for some reason (for us, it was an easy transfer between domains) you get a message from makecert that it failed to acquire a security provider form the issuer’s certificate, do the following: Open mmc Add a Certificates snap-in … Continue reading

Rate this:

Posted in Security, Web | Tagged , , | Leave a comment

Find out GCC optimizations of -march -mtune etc

If you want to check what optimizations your current gcc settings give you, you need to use: echo | gcc -dM -E – -march=native You can then grep the output to check stuff like MMX, SSE or 3dNOW. To test … Continue reading

Rate this:

Posted in Burger Thoughts, C, Cpp, Software | Tagged , , , , , , | Leave a comment

Rails 3.0.9 and Mongo_Mapper error when using a generator

I was trying out the mongo_mapper gem with a small app that I had. I didn’t want to re-create a new app with the option to skip active-record (too easy apparently….) so instead, I converted the app to use mongo … Continue reading

Rate this:

Posted in Ruby on Rails, Web | Tagged , , , , , , , , , , , | Leave a comment

Error whith rspec on Ubuntu 11.04

This is mostly a personal note to remember next time I run into this. After setting up my rails environment on Ubuntu 11.04 last night, I had the bad surprise of having an error every time I tried to run … Continue reading

Rate this:

Posted in Development, Linux, Ruby on Rails, Software, Uncategorized | Tagged , , , , , , , , , , , , , , , , , | 1 Comment

Firefox applies styling to script blocks…

Here is the question I asked on stackoverflow. This applies to Firefox and Chrome, but not to IE. I still do not understand under which circumstances anyone would want the script blocks to be valid targets for css rules. If … Continue reading

Rate this:

Posted in Software, Web | Tagged , , , , , , , , | Leave a comment

IIS7 is failing Debug.Assert

Assert is one of the (several) best friend of every developer. Asserts are widely useful from checking pre-conditions to post-conditions and every other possible assumptions/invariants in between. When an assert condition fails, it usually indicates a serious error and is … Continue reading

Rate this:

Posted in .NET, Development, Uncategorized, Windows | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment