Page 40 of 682« First...102030...3839404142...506070...Last »

WordPress StumbleUpon Plugin v2.0

The StumbleUpon WordPress plugin shows some SEO information about the links published on a webpage.

Download it here: http://wordpress.org/extend/plugins/stumbleupon-wordpress-plugin/

The biggest change I made for 2.0 was rewriting the code to make use of classes instead of uh … non oo PHP. That was an interesting exercise since I never did that before in PHP. It made me think of futilities like naming conventions and such again. I feel like 15 years ago studying how to program in C++ :) .   I even made two abstract classes which I can reuse again, I am proud! :)  The whole reason I actually maintain the plugin is to keep up a very little bit with WordPress coding and learn how it works and well.. it sort of clears my mind of other things when I’m doing some coding. I should of course improve the code much and much more but each time I only have a little time. I did notice that there are many naming conventions for php on the Internet and I also noticed they all claim things the other way around.
 
I found out most things in the end on how to do things except for the callback functions inside a class, but thankfully http://lists.automattic.com/pipermail/wp-hackers/2010-May/031802.html / http://www.andrewnacin.com/ helped me to inform me that $this->, self::, &$this is all useless and it should be array($this,”methodname”). I could have looked for that for ages but I quickly realized http://php.net/manual/en/language.pseudo-types.php

You can view the code in the trunk: http://plugins.svn.wordpress.org/stumbleupon-wordpress-plugin/

I have some issues though (which will ofcourse be fixed in 2.1):

Bugs:

- The Widget class somehow booms out of memory even though I have a pretty empty WP_Widget extend of the class. I really don’t know why. I really hope someone can help me with this.
- When a site has 0 reviews but it has had stumbles I still link to it to submit it of course that should become a view
- The buttons in general are too wide, I need need to find a way to shrink them.
- Sometimes a link has 0 pageviews but it DOES have reviews (possibly because the sites were thrown out), maybe it’s handy to make a summary of these and decide what to do about these types.
- it takes images also, probably i left that out while transitioning to the class based code

RFC’s:

- Add the button to the content of a post (like one of the 6 official buttons but then including reviews)
- Cache all links in a database so that they don’t need to call SU that often. Later on that database could provide some nice listings but with my time schedule that probably will happen in 2011 :)
- Make standalone button styles for the standalone / widget button
- Add localization
- Add delete plugin option
- Make all comments in the code php-helpable.

Contributing to World of Spectrum: Your Computer May 1986

As a continuation on my quest to find out what to do with my old magazines…

The Magazine Archive at World of Spectrum

One idea I had was to scan in all old magazines and after that either throw them away, sell them or store them in a far away place (a future post might show the final decision). Of course the Internet already has digital archives of computer magazines. One location that archives old computer magazine scans specifically around the ZX Spectrum is World of Spectrum. You can find a list here: http://www.worldofspectrum.org/magazines/ (it points to the FTP site which is heaven on earth for retro gamers).

And although I don’t know exactly what to do with the old magazines I do realize that there are a lot of people out there who either share a passion for retro gaming or are working in the game industry and just like to read these old magazines for inspiration or to get a detailed view on the history of computer (gaming). For instance, if you scroll through the list of companies at the right hand side of http://populair.eu/games/ you will see that the game industry is booming. Almost any company is hiring like mad and thus the history is becoming more and more interesting.

Missing entries in the Magazine Archive of World of Spectrum

imageThe digital archives at World of Spectrum is almost complete but misses some issues. As a giveback to their archive I decided to do a search in my own collection, and the first magazine I found (that was in their list of missing issues) was "Your Computer" from may 1986. This specific issue is actually a really interesting issue. I found company profiles in there and some awesome reviews of older software (check out my scans once they are in the archive).

However… it is not only a giveback action but I also want to try to learn some best practices in scanning in my magazines so that I can get some experience and get some idea on how to scan in ALL my magazines

To start, they list the requirements for adding them to archive, which is interesting because I can learn something here to determine my own requirements for digitalizing my magazines. Their requirements are:

- scan each page at 970 pixels wide
- in JPG format
- upload them to the incoming archive at their FTP site

CHOICE 1: Scanning Single pages of old magazines versus spreads: I want spreads!

The archive wants to have single A4′s of magazines. However, I really really don’t like that. I will give you an example of a scan I made of one of the pages out of this magazine:

image

Above you see a company review of Ariolasoft) (I think their most famous game was they stole a million) (later taken over by MicroProse).

I don’t know if you agree with me but if I would scan in 2 separate A4′s instead of the page spread it would definitely (1) miss some of the feeling of the total spread. It’s not only the elements that are spread over 2 pages but while reading through a magazine in total (2) you would also miss what is supposed to be on the left and what is supposed to be on the right and (3) you might miss information that is needed in the middle e.g. not handy with maps.

Furthermore (4) scanning in spreads takes half the time of scanning in page by page… so that is a functional reason to do so.

So I will not scan it in on A4 because of these 4 reasons. I would like my total digital archives to consist of A3 pages not separate A4′s. So I hope that this archive will some day convert also to full spreads instead of their current archive, which would help me with my own collection.

CHOICE 2: Resolution of scans of older magazines: 1 magazine equals 1 cd in diskspace!

The archive requests scans of 970 pixels wide. I think that is too low for quality scans. Look at the example below:

image

this was scanned in with a size of 4890×3424 … so if they want it at 970 pixels wide, that means it is 1940 pixels for a full size scan. This has a direct impact on the DPI requested. To give you a feeling on what the quality is for different DPI’s:

100x100dpi (559 kilobytes) 300×300 dpi (3 megabytes)
image image
150x150dpi (1 megabytes)  
image  

It basically means a trade-off between quality of scans versus disk space. A complete scan of this magazine is 48 page spreads. Which means at 150x150dpi about 50MB. I think this is, nowadays, acceptable. 100 magazine scans would cost you 5000MB (5 gigabytes). 100.000 magazine scans would cost 5 terabyte. Since nowadays a terabyte is cheap (70 euro) you could have 100.000 magazines for 350 euro. This is possible without a problem nowadays.

I even think that 300×300 dpi is possible, it would mean you would need 15 terabyte for 100.000 magazines. Nowadays that is probably on the border of "possible for everyone" (and soon that amount of space will fit on a usb stick).

However, since 150x150dpi is readable enough (as seen in the example) I will go for 150x150dpi.

Another reason is that 1 magazine then equals the size of 1 cd in mp3 format. So 1 CD is 50MB and 1 Magazine if 50MB. I think that is reasonable and pretty much a nice thing to state.

CHOICE 3: JPG instead of other formats??

For now I have choosen JPG, but I have todo some reading here to see IF I will in the end choose JPG as format to digitize my archive. One format I’m thinking about is an open image format (see http://en.wikipedia.org/wiki/Open_format), since in the long run that might be handier. Maybe PNG, maybe DjVu, maybe mkv. This specific magazine archive however requires JPG. I think that is a bad choice.

Time to scan 1 magazine

On my Brother MFC A3 scanner it took me about 1/2 hour to scan the magazine. But this was with some fiddling because it was the first time I scanned a magazine AND it included making this blogposting :) Just scanning one spread takes a few seconds. So I think you can count on 10 minutes per magazine or even less including some the after processing. Time will tell if this is a correct assumption.

After processing!

step 1: turn to the right!

All my scans are scanned in uhm… in a way that I have to turn them to the right to make it easier readable. It’s not completely required but it makes it much handier afterwards. So:

image image

Maybe… my scanning software can do this automatically… but… for now I used Irfanview ‘s batch conversion capabilities. As you can see, it allows for MANY batch conversion options and I only need "Rotate to the right":

image

I also choose as output "JPG" (with compression level 0) and set a default output directory. Later on, I might try to use Irfanview’s command line interface so that I could do these batch operations on a large amount of images. That really might save some time. Converting these 50 pages takes about 4 seconds per page on my laptop. So that is 200 seconds in total per magazine. So the total manual action including selection is about 5 minutes.

What I noticed is that the outputted files are all 3MB while the original ones are 1MB ? Uhm… probably that is because I have to add some parameters with the JPG conversion. For now I set the converter to 90% quality of the JPG. That produces again files of 1 Mb. (Something I will have to find out in a later stage).

step 2: rename!

In my case all scans are place on a directory in the following format (so I have to rename them).

image

 

 

 

 

 

 

step 1 renaming – So the first thing todo is to replace "CCF01052010_"  with "YourComputer8605" (I already configured my scanner to use 5 digits for the numbering, which is handy because that is what WorldOfSpectrum also uses). Total Commander, my trusty tool, has an incredibly handy multi rename tool which let’s me do this very fast:

image

So now I create /magazines/YourComputer/Issue8605/Pages and put all the pages in there. But wait… I also scanned in a 2 page survery :) So I will also create a directory /magazines/YourComputer/Issue8605/Survery to put the survey in there. I don’t know if I should place the frontpage in the root of this directory. In my own collection i might decide to do so. Ah well… let’s do this also here.

This directory structure they use is handy enough for me to follow.

step 3: submit it!

Well… I just zipped the lot… (I was thinking to put it in a .cbz (this is a zip file but the extension makes it possible for comic book readers to read it as 1 magazine, which I might use for my own scans) (it’s probably also possible to make an online reader for this format) (probably exists somewhere).

… and ftp-ed it to the incoming directory of World of Spectrum. They probably don’t like it that it is in the form of spreads of seperate A4′s but … if they really want to they can just cut all images in half and place them as A4′s.

Want to see it?

I also uploaded it to my "ijskast" (the place where I store all kinds of things to go into the refrigerator), download it here:

http://ijskast.com/yourcomputermay1986/yourcomputer0586.zip

and travel back to these old days when everything was nice… :

image image

StumbleUpon WordPress plugin 1.6

I had some comments on my StumbleUpon WordPress plugin. For some time I had not updated the plugin but I finally did the pretty little change to make it compatible again with the new demands around the registering of settings.

According to the stats there are 1552 people who downloaded the plugin so that is some motivation for keeping it updated.

Version 1.6 fixes the settings part. You can auto update using the WordPress auto updater for plugins.

For version 1.7 I will add the official new SU buttons as an option also since they are of course also pretty cool. I need to add also an option to uninstall and localizing, that will follow also. I might try to mix both reviews and views in one button, seems handier. I think it is only interesting to click through to see the reviews other wrote and/or add interesting urls that are not in the system yet (the grey ones). On the thing that IS interesting is the ratio between reviews and pageviews. It somehow will probably tell us something about the content of that link. Don’t worry about the time scale, I will see if I have time this weekend to fiddle this together and apply it to the thousands of links on my blog. Let’s see if we can find patterns in those ratios. My hypothesis is that both controversial and funny easy pictures create the highest ratios.

The pageviews button solely looks like this:

download it here : http://wordpress.org/extend/plugins/stumbleupon-wordpress-plugin/

p.s. nice to see that it appears on the must have wordpress social media plugins.

A good example on how the plugin works shows in this post.

Sinclair User Magazines

image As a continuation from my last post to start somewhere… let’s focus on the Sinclair User. I grabbed an issue of September 1986 ( No. 54) out of the pile. Really cool: Dark Sceptre on the front. We were already in the era of pretty advanced games of the ZX. And each page keeps me busy up until the description of something new to play with: fractals :)

Here I find: http://www.sincuser.f9.co.uk/ a list of the magazines already scanned in. I see it was probably not updated after 22nd 2004. And not all versions have been scanned in completely, I could do that.

Probably I find a lot of other scans here:
ftp://ftp.worldofspectrum.org/pub/sinclair/magazines/SinclairUser/SinclairUserViewer.html

imageIt would be an idea to collect all scans and only then sell them on e-bay per title. So I could start with the pile of Sinclair Users

And now that I am diving into this… this ftp site is absolutely WOW WOW WOW. Just ftp to ftp.worldofspectrum.org and if you are someone who was into Spectrum back then… it’s unbelievable how much there is here. Hmmm.. I just wanted to clean up my old magazines but it leads to finding more things and more things and will probably lead to a lot of time I am spending here and there while I was trying to do the opposite.

Now I probably have to join that community and see if they still need some additional scans… and i need extra storage for everything that is on the ftp site… hmmm this going to cost me some extra time and money…

Let me start here: http://www.worldofspectrum.org/

What to do with 10 meter old computer magazines

Actually I wanted to write this in Dutch, then again probably it is a universal nerd topic.

I have been collecting (computer) magazines somewhere starting 1980. I think I have about nn meters of computer magazines now at home (never measured exactly: they are everywhere). Today it dawned me that it was too much. I have filled now 3 tall "billy’s" (with exta top) vertically with magz (3 columns per billy). In general people like me probably are collecting old computer mags starting around 1960.

The funny thing about collecting or just keeping those old computer magazines is that the complete pc home computing history falls down on you while randomly reading this stuff. From old Computer+Video Games, Spectrum Magazines, WordPerfect magazines but also newer Dr. Bobbs, Java magazines, PHP magazines, .NET magazines and so on and so on and so on. From reviews on pyjamara to the introduction of the XT to the description of the soundblaster. Everything is in there.

Another thing that always strikes me when I visit "people like me" is that when I come to their sanctuary that I always find the same pattern: dozens of these old computer magazines stashed in closets. So I think there must a lot of people like me around who have the same error: they can’t split from them.

So when I started today I should actually have started grouping them but soon I was lost in just reading them. I can not even get it over my heart to even sell one of them since I read about all these things that have kept us busy since 1980. Ancient reviews of computer games, pretty much any since the dawn of the TI 99 4/A. All the games during the 80′s an 90′s. Thousands. Tips on computer usage ranging really any subject. Question and Answer parts on anything that has kept us busy.

And yet… I have to split from them. I never ever look in them again. They just sit there as a sort of external memory or something to reference but which I will never actually reference.

But I get a bleeding heart from having to part from them.

So let’s first see if they at all bring any value on the market. I will just type "old magazines" in Google. I have a lot of dutch links between them because I don’t think I will ship any overseas.

I know that some money can be earned by cutting out specific advertisements out of them and selling these as loose items on e-bay, however that also feels bad. Cutting them. So let’s first do some research.

Another approach could be of course that I "do" something with it. Yet to think of what. Maybe a little computer magazine museum partly online partly offline.

But while I am writing this and maybe that was unconsciously the meaning, I am starting to think… there is a certain niche group of people like me. A sort of social group who probably all have the same "problem". So maybe it would be an idea to create a social network for this just like I created http://farmvillechicken.com : groups, forums, chat, selling and buying place, blogs, etc… would be and idea.

Just some random links while googling:

http://www.vintage-computer.com/magazines.shtml
http://www.theoldcomputer.com/Libraries/Librarys%20%28main%29.htm
http://oldcomputers.net/
http://www.atarimagazines.com/
http://www.old-computer-mags.com/
http://www.dvq.com/oldcomp/oldads.htm

If you are working in the IT: just take a look at this : http://edward.de.leau.net/images/ibm_dm_11_60.jpg to get a feeling of what I mean.

Page 40 of 682« First...102030...3839404142...506070...Last »