Johan Rylander

2010-08-04

Get rid of that zooming in IntelliJ

Filed under: Programming — Johan Rylander @ 11:08

Settings -> IDE Settings group -> Editor -> Enable Ctrl+MouseWheel changes font size (in top left group ”Advanced mouse usage”)

Ahh! At last :)

2010-07-02

Huawei E122 and Dovado 3GN

Filed under: Computers — Johan Rylander @ 13:00

How we all continue to buy things that are this complicated to get to work never ceases to amaze me:

I have a Huawei E122 (from tre) that has worked really well and the installation went really smooth too. Trying to get it to work in Dovado:

  1. Start Dovado 3GN and surf to 192.168.0.1
  2. The login page and all subsequent pages loads extremely slow (minutes)
  3. At the end it does not connect with the modem
  4. Update modem with firmware from tre.se, need to use a Windows computer
  5. Test again, still extremely slow
  6. No go.
  7. Update Dovado from dovado.se
  8. Hey, it works!

But really… Yes, Dovado should work with a myriad of products but still, how is any normal consumer supposed to cope with all this?

innerHTML vs jquery html()

Filed under: web — Johan Rylander @ 10:02

Just learnt from hard experience the performance difference between the vanilla javascript innerHTML property and jquery’s html() method.

For Firefox 3.6 it was not so bug, just maybe 50% but for Safari the difference was several 100% (!). For Google Chrome, the difference was somewhere in between. All this is for a pretty large chunk of html and has been tested on Mac OS X. In usability the difference meant not being show a spinning beach ball in Safari and for Chrome not being asked whether it should terminate the script.

2010-06-08

Debugging javascript in ie7

Filed under: Programming, web — Johan Rylander @ 17:38

2010-05-11

Tail for windows to view large files

Filed under: Computers — Johan Rylander @ 7:59

Being stuck on windows for a while I needed a program to be able to view large log files. This one worked well and worked on big files, including opening them over lan: http://www.baremetalsoft.com/baretail/

2010-05-03

”no xml was provided” in axis 1.4 call

Filed under: Programming, java — Johan Rylander @ 16:09

When using axis 1.4 to call a legacy web service we got the not so explaing error ”no xml was provided”. The fault was found (after some wireshark fun) to be that the call was done using chunked encoding.

Now then, setting the chunked encoding would normally be done by overriding the createCall method in org.apache.axis.client.service by using call.setProperty(HTTPConstants.HEADER_TRANSFER_ENCODING_CHUNKED, false); but doing that changed nothing. What did work was doing:

Map<String, Object> headers = (Hashtable<String, Object>) call.getProperty(HTTPConstants.REQUEST_HEADERS);
if (headers == null) {
headers = new Hashtable<String, Object>();
}
headers.put(HTTPConstants.HEADER_TRANSFER_ENCODING_CHUNKED, false);
call.setProperty(HTTPConstants.REQUEST_HEADERS, headers);

Enabling voicemail button on iPhone

Filed under: iPhone — Johan Rylander @ 7:30
*5005*86*YOUR_ANSWERING_SERVICE_NO#
(the info is all over the net but I keep forgetting it)

2010-03-21

Yellow dog linux on old powerbook

Filed under: Uncategorized — Johan Rylander @ 0:46
  1. Get http://ydl.oregonstate.edu/releases/yellowdog-6.2/os/images/boot.iso
  2. Burn to cd
  3. Boot from above cd and point to (for Sweden) http://ftp.sunet.se/pub/os/Linux/distributions/yellowdog/releases/yellowdog-6.2/os/

Enjoy

2010-03-02

Korrupt pdf i openoffice

Filed under: Computers — Johan Rylander @ 15:41

I mitt nuvarande uppdrag hade vi ett problem med att OpenOffice export till pdf av Word-dokument inte fungerade som den skulle. Dokumenten gick inte att söka i och kopiering av text fungerade inte även om dokumenten såg bra ut och gick att läsa (i Acrobat Reader).

Lösningen var att välja default språk i Verktyg->Alternativ-Språkinställningar->Språk till Svenska (Sverige). Samma inställning återfinns också i profilen i filen Linguistic.xcu

2010-02-16

See the answers in experts-exchange from Google

Filed under: Computers — Johan Rylander @ 10:39

View the page as cached by Google and view without stylesheet. The answers are at the bottom ;)

Äldre inlägg »

Blogga med WordPress.com.