Archive for the 'Technisches' Category

Sciencefeed: Jetzt twittert die Wissenschaft

Sciencefeed

Sciencefeed

Gestern ist Sciencefeed gestartet, ein neuer Microblogging-Dienst, speziell für Wissenschaftler.  TechCrunch berichtete darüber. Auf Sciencefeed kann man kurze Nachrichten eingeben und in der wissenschaftlichen Öffentlichkeit in Echtzeit verbreiten. Man kann nicht nur Bilder etc. an die Posts anhängen, sondern auch Artikel aus Fachzeitschriften (aus der umfangreichen ResearchGATE-Literaturdatenbank). Alles sehr übersichtlich und einfach. Noch sind natürlich nicht alle Fächer und Themen mit guten Feeds besetzt, aber das kommt bestimmt noch.

Nicht sehr vielsagend, aber toll gemacht ist übrigens der Trailer auf der Startseite. Hinter dem Bostoner Betreiber stecken übrigens auch mehrere deutsche Köpfe. Ein Interessantes Projekt.

TagsTags (1)
ThemenThemen (2)

WP Showroom and PHP memory limit

I found a nice new gallery plugin for Wordpress: WP Showroom. It looks really nice and is easy configurable and customizable.

But after installation, I had an error message whenever I tried to access any album settings:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in [...]/wp-content/plugins/WPshowroom/inc.thumb.php on line 1370

I commented out parts of the inc.thumb.php, but then the error message “moved” to another file.

My Wordpress installation consumes pretty much memory, so I’ve set 64M as PHP memory limit in my Apache web server config for this site. I set it even to 512M for testing, but the error message remained.

At the end, I figured out a line in WP Showroom’s request.ajax.php file:

@ini_set(‘memory_limit’, ‘32M’);

This line is at the beginning. It overwrites the PHP memory limit set in the Apache config and lowers it to – in my case, insufficient – 32M. I think, the line is in there to make more memory available, but if the setting is already above 32M, it has the opposite effect. I just commented out that one line, and now, it works fine.

I’ll upload pictures for my albums soon, so all pictures that have been there before (and some new) will be available.

ThemenThemen (1)

Using tr.im with Twitter Tools in Wordpress

For integrating my Twitter account with Wordpress, I’m using the Twitter Tools plugin by Crowd Favourite. This includes a “plugin plugin” for shortening blog URLs with bit.ly. I prefer tr.im as URL shortener, so I was looking for a solution to use tr.im instead of bit.ly.

There is a tr.im “plugin plugin” for Twitter Tools by John Girvin, but this did not work for me, don’t know why.

So I did it by editing the Twitter Tools original bit.ly Plugin:

  • Open twitter-tools-bitly.php in your Wordpress plugin editor
  • Find the function aktt_bitly_shorten_url() and comment it out (or delete it, if you are sure)
  • Replace it by this function:

function aktt_bitly_shorten_url($url) {
$parts = parse_url($url);
if (!in_array($parts['host'], array(‘j.mp’, ‘bit.ly’, ‘tr.im’, ‘u.nu’, ‘is.gd’, ’sn.im’, ‘tinyurl.com’))) {
$short = file_get_contents(‘http://api.tr.im/api/trim_simple?url=’ . urlencode($url));
$sparts = @parse_url($short);
if ($sparts['host'] == ‘tr.im’) $url = $short;
}
return $url;
}

  • Activate the Twitter Tools bit.ly Plugin
  • Enter any bit.ly API account information in the Twitter Tools configuration (don’t know whether that’s necessary, I just entered a ‘0′ in all fields)
  • Enjoy
TagsTags (1)
ThemenThemen (1)

Vista Complete PC Backup on RAID drive

This time it really hit me hard: The Mandriva 2009 RC1 live installer formatted one of my RAID 0 hard disks without prior notice. Oh yeah, I have a backup on the other RAID array, made with Vista’s great new “Complete PC Backup” – which didn’t work. So this time, Linux and Windows performed a great co-operation in driving me crazy.
Continue reading ‘Vista Complete PC Backup on RAID drive’

TagsTags (2)
ThemenThemen (1)

Repair Vista Bootup After PC-BSD Installation

Today, I downloaded PC-BSD 7 to try it out – my first BSD operating system. I was very disappointed after intalling it on my Thinkpad. Localised German texts often don’t fit into the space intended for text, the standard font-size is so big that options in drop-down-menus are not readable and it was damn slow, don’t know why. But the worst thing: Vista did not start up after installing PC-BSD. As intended, PC-BSD installed a bootloader with a boot menu, but after selecting “DOS” as a bootup option, the Vista bootup failed.

So I went through dozens of websites related to Vista bootloader fails after BSD or Linux installations. I came closer and closer, but at some point, information became very rare – as usual, my problem seemed to be more complicated than the average problem of the same kind :-) Here’s how I did it:
Continue reading ‘Repair Vista Bootup After PC-BSD Installation’

TagsTags (2)
ThemenThemen (1)