BOINC error when adding World Community Grid project

1 Comment

I just downloaded the latest version of BOINC, 7.4.27 for Windows 64-bit.

When trying to Add Project and select World Community Grid, enter my username and password I get this error:

Failed to add project
Messages from server:
missing or bad parameter: email_addr

Workaround

This seems to be a regression bug from way back. For some reason the World Community Grid forum does not rank high in Google search results but in this thread I found the following workaround to add project from command line instead of GUI.

Do this:

  1. Login to worldcommunitygrid.org then click Settings and My Profile, at the bottom of that page you will find your Account key
  2. Have BOINC running
  3. Open a Windows Command Prompt and go to the BOINC program directory, for 64-bit this should be something like c:\Program Files\BOINC, for 32-bit c:\Program Files (x86)\BOINC
  4. Enter command:
    boinccmd.exe --project_attach www.worldcommunitygrid.org [Insert your Account key here]
  5. That’s it, World Community Grid should now be added as a project in BOINC

Yes SSD does work!

No Comments

Just wanted to share this, probably old news to most of you out there, but: SSD actually does work!

I just installed an SSD (Solid State Drive) in my four year old (!) laptop and it is now lightning fast!

My laptop is an Acer Aspire 5741G with 4GB memory running Windows 7 64-bit. I switched the original 320GB HDD for a Samsung 840 EVO 250GB SSD.

Simple setup

Included with the SSD drive is a piece of software called Samsung Data Migration. You also need a SATA to USB cable, you can select to buy the SSD with this cable included if you don’t already own one.

The Data Migration tool was a breeze, I just ran it and my existing hard drive including Windows and everything else on it was copied to the new SSD drive. I then turned off my laptop and switched drives and everything – totally unexpected – just worked!

The only thing I had to do was delete and move some files since I was going from an almost full 320GB drive to 250GB. Also the SSD drive needs to have 20% free of the new drives available ca 230GB so that took me down to below 200GB.

After setup I ran the Samsung Magician software that is also included. There you can test performance and do optimizations. I have yet to figure out the various settings but enabling something called Rapid mode gave my benchmark tests a real boost.

Magician also reports that my laptop does not support SATA 3 (6Gb/s) hence not being able to use maximum performance of the SSD drive but that actually does not bother me as it is anyway superfast!

Some more info on SSD and Samsung software can be found here.

Conclusion: If you, like I did, don’t think SSD will do that much for your laptop (or desktop for that matter) – think again!

Rename Notebook in Evernote fails

No Comments

This has been bothering me for some time. I have been wanting to change names of some of my Notebooks in Evernote (Windows client) but it doesn’t work.

I right cklick, select Rename, enter the new name and hit Enter and… it reverts back to the old name.

Finally figured out a work around: Instead of right-clicking and selecting Rename, I right-click and select Properties. From the properties window I can then change the Notebook name and it actually renames it!

Windows 7, Evenrnote Windows client 5.6.4

Solution: Bootstrap glyphicons-halflings-regular.woff 404 not found

5 Comments

I’m testing out Bootstrap 3.1.1 by redoing the design of a very old site of mine, running on Php 5.3 on a Windows 2008/IIS 7 server.

The new version of the site has been slow at loading the icons (wich are a Glyphicons web font) for buttons and when I check the Javascript console in Chrome (Ctrl+Shift+J) it shows the following error:

GET /fonts/glyphicons-halflings-regular.woff 404 (Not Found)

After much testing and Googling it turns out my old IIS server does not have Mime types registered for .woff files.

So I go in to the IIS console, click MIME Types icon and add .woff as application/octet-stream – problem solved!

How to get DRAC 4 Console Working in IE11

3 Comments

Previously I have had some problems getting the DRAC 4/P (Dell Remote Access Card) working with Java 7 as it is only Java 6 compatible. Now Internet Explorer 11 (IE 11) was my next challenge, these four steps is how I got it to work:

1. Make sure you have a working  Java 6 runtime environment (JRE)

If not, follow the instructions in my previous post.

2. Add url to Compatability View List in IE

Click Tools icon (ALT+x) and select Compatability View settings and add the DRAC url.

(Without adding it here, when I click Open Console, it says Connecting… but then nothing happens, no error message, no nothing)

3. Add url to Exception Site List in Java Control Panel

Make sure you run the 32-bit version, e.g. c:\Program Files (x86)\Java\jre7\bin\javacpl.exe. Add it under the Security tab and click the Edit Site List button where you can add the DRAC url.

(Without adding it here, I would get a warning saying: Application Blocked by Security Settings, Name: VersionApplet, followed by an error message: Either you do not have a supported Java Virtual Machine (JVM) installed, or you did not accept the security credentials for the Console Redirect applet.)

4. Using IE, login to DRAC and click to open the Console

Accept warnings to Run an unsigned application and to let it use an older Java version.

Done!

I think IE11 does some sort of intelligent switching between 32 and 64 bit versions because I can now get it to work in any version, but if you have a problem make sure you run the 32-bit version of IE. As of IE11, there is only one IE icon in the Start menu, which is the 64-bit version, so go in to the file system and run C:\Program Files (x86)\Internet Explorer\iexplore.exe

Tested on Windows 7 64-bit with Microsoft Internet Explorer 11. DRAC 4/P firmware version 1.75 (Build 06.03).

It may be that you can skip any of the steps as it was a trial and error process to get this to work and I did not backtrack to find out if every step was absolutely necessary. To help others, please leave a comment if this worked or did not work for you and what version of software you were using.

Troubleshoot email delivery in Exchange on Microsoft Online

3 Comments

I had a problem the other day where I noticed that of all the emails I sent to the same recipient outside my orgianization, some were delivered and some were not. They were not in Junk mail and I did not receive any non-delivery reports.

I find the Microsoft Online user interface to be a little… puzzling … to use a nice word. I have learned that I cannot expect to find any links to the admin interface but have to remember to use my bookmarked url to http://portal.microsoftonline.com

Exchange Admin Center (EAC)

Yesterday I learned that I can also access something called the Exchange Admin Center (EAC). From there it is possible to, among other things, run a mail trace for any message sent the last 7 days.

1. Go to http://outlook.office365.com/ecp/ (if you, like me, have a separate admin account, make sure you sign in with this)

2. Click Mail flow and then Message trace

3. Fill out the Sender and Recipient information and hit search. Double click any message to see details.

My undelivered emails

From the EAC Message trace I can see that the messages that were not delivered are marked as “Spam” and action set to “Use high risk delivery pool”. It is then set to “Send” and details say “Message transferred from: To_DefaultOpportunisticTLS”.

My best guess is that it means the email is currently in waiting mode and will be delivered or fail some time in the future… I have contacted Microsoft support and will update this post when I get an answer.

 

Source: Microsoft help article: Troubleshoot email delivery using the Exchange Online message trace tool

Barack Obama Presidential Motorcade in Stockholm, Sweden

No Comments

This is a little off topic…

The other day (September 4, 2013) US Preisdent Barack Obama made a state visit to my hometown of Stockholm, Sweden. On my way walking to a meeting I got stuck and watched the presidential motorcade on it’s way from the airport to the president’s hotel. So how could I not grab my iphone and film the motorcade as it passed me by? :)

If you watch closely (or playback in slow motion) you can see Obama waving from the second limo (aka “The Beast”)

In the background you can see Arvfurstens palats where the State Department (Foreign Ministry) has its offices and the Royal Opera House. Just opposite of where I am standing is King Karl XII‘s square which is located in Kungsträdgården, King’s Garden. When I turn the camera you can see the Stockholm Grand Hotel which was the motorcade’s destination and where President Obama stayed.

Big parts of central Stockholm was locked down for the two-day visit, and it was oh so quiet and nice without all the traffic, i wish they could make it permanent.

Solution: Error Open EPS in Gimp 64-bit with Ghostscript

94 Comments

I have been spending a lot of time to try to find a solution to the problem where GIMP 2.8 64-bit with Ghostscript cannot open EPS images.

After the “Import from PostScript” dialog you will get an error similar to: Could not interpret Postscript file ‘C:\logo.eps’ Opening ‘C:\logo.eps’ failed

The answer to this problem can be found in this bug report (thanks to Jako Grobler) but this is the short version.

Starting with GIMP 2.8.x you no longer need to install Ghostscript to be able to open EPS images, instead the dll is in included with the GIMP-installation. This means  you can forget about the instructions about setting the GS_PROG environment variable, trying to switch between 32-bit and 64-bit versions etc.
However at least up until the latest version of GIMP (2.8.4) there is something wrong with the included dll.

Solution

So this is the solution:

  1. If you have not already, download and install Ghostscript 64-bit
  2. Copy gsdll64.dll from your Ghostscript bin folder (Eg: C:\Program Files\gs\gs9.07\bin\) to the GIMP bin folder (Eg: C:\Program Files\GIMP 2\bin\)
  3. In the GIMP bin folder first a) Rename the file libgs-8.dll to libgs-8.old, and then b) Rename gsdll64.dll to libgs-8.dll
  4. Restart GIMP and opening EPS images should now work

Tried on Windows 7 64-bit with GIMP 2.8.4 64-bit and Ghostscript 9.07 64-bit

How to: Animated GIF with GIMP

No Comments

I just started using GIMP which is more or less an Open Source version of Photoshop.

When trying to create an animated GIF i ended up spending quite some time Googling for answers, this is how I did it in the end:

  1. Create your banner images the way you normally would.
  2. Each frame in the animation needs to be it’s own layer. GIMP will use each layer as animation frames in the order they are listed. I created one Layer Group for each animation frame and named them Frame1, Frame2 etc.
  3. Add the number of milliseconds you want the frame to be shown to the layer name, e.g. “Frame1 (2000ms)” to show the frame for 2000 milliseconds (2 seconds) before showing the next frame. Make sure you write exactly as I have done, i.e. between parentheses and no space between the number and ms.
  4. Take a backup copy of your file (File – Save a Copy…) as the following steps will destroy your layers etc
  5. You cannot do the next step with Layer Groups so you need to make any groups single layers. Do like this for each Layer Group: Make the Layer Group visible (Eye icon should show). Right click the layer and select Merge visible layers. From the popup window select Clipped to image, check Merge within active group only and leave Discard invisible layers unchecked. Click Merge button.
  6. GIMP needs your image to be in Indexed Mode in order to save it as a GIF. From Image menu select Mode – Indexed. From the popup window leave Color map as Generate optimum palette and Dithering set to None. Click Convert button.
  7. Export as GIF using File – Export and in the Export Image Dialog make sure to both name the file so it has the .gif extension and also select GIF in the drop down. Click the Export button. From the Export Image as GIF dialog window check the As animation checkbox (and set any of the Animated GIF options you want). Click the Export button.
  8. Done!

Using GIMP 2.8.4 on Windows.

Resize and Convert EPS to PNG, GIF, JPG

No Comments

This is a great free alternative to Photoshop or other imaging software if you just want to do some simple resizing of photos, logos etc.  I usually get a hires image, e.g. EPS format (Encapsulated Postscript) and need to resize it and save it as a PNG or JPEG for a web site. If you are using Windows I recommend using IrfanView.

1. Download and install IrfanView

2. Download and install the IrfanView plug-in pack (for Save as PGNG/JPG/GIF support and other stuff too)

3. Download and install Ghostscript (for EPS support)

Current versions of Irfan View and plugins are 4.33, Ghostscript is 9.05. All 32-bit Windows.

Older Entries