blog.world3.net

Playstation controller protocol quirks

22/02/2010 – 01:29

Today I discovered why I have been having a few compatibility problems with my Playstation interface code.

The PSX uses a SPI bus. The device is supposed to put data on the bus when there is a high to low transition, then read the command on the low to high change. Sure enough the official controller sets the data line within 0.3us of the clock transition.

The problem is that some revisions of the PSX hardware don’t wait for the low to high transition to read the data line. They read at some random point during the clock cycle.

It seems to be some kind of bug because Sony fixed it in later revisions. That is of course assuming that the information on the net about the controller protocol is correct. It may be that the controller is supposed to assert the data line within a few hundred nanoseconds but that seems somewhat unlikely. It would force you to use a hardware SPI bus and thus limit the choice of microcontroller. Maybe Sony don’t care about the needs of third party developers…

I saw a PSX dev-kit for sale last year and wish I had it now. Oh well, it’s sorted now. Make sure the data is there before the transition, just like the PSX does with the command line, and it works.

Anyway,

By mojo | Posted in avr, electronics, microcontrollers | Comments (9)

Google Tasks

13/02/2010 – 23:49

I have been using Google Tasks to make to-do lists and am finding it really useful.

The interface is quite basic. You can add tasks and indent them to give it a bit of basic structure. It gives you multiple lists which at first seemed a bit cumbersome; I’d like to see an overview of all tasks. Having used it for a while I think it’s actually not such a bad idea.

Tasks is integrated into gMail and iGoogle, but I mostly use it via the Firefox sidebar (use https://mail.google.com/tasks/ig) and gTasks on Android.

It’s not as advanced as some services, but it is fast and simple.

By mojo | Posted in Internet | Comments (0)

Vistaprint update

13/02/2010 – 23:40

Vistaprint got back to me. They refunded the job and have offered to do another batch for free!

I am pretty impressed by this. The order was for about £10 and I’m sure most places would just write it off (hi Weycrest). They  have requested samples from the bad batches and samples of how the colour should print. I will send the package off on Monday and fingers crossed they can get it right this time.

By mojo | Posted in Uncategorized | Comments (0)

Second response from the BBC re BNP hijack

10/02/2010 – 22:44

The BBC finally got back to me with a response about the BNP hijacking the Have Your Say forums:

Thanks for your further e-mail.

Please accept our apologies for the delay in replying. 

We've raised your concerns with those responsible for managing the Have
Your Say board.

They recognise the board is open to abuse and there are other systems being
used to run forums elsewhere on the web. Nonetheless the moderators do
their best to try to ensure a representative response is published.

They will very shortly be making some changes to the HYS system which will
have an impact on this kind of behaviour.

Thanks again for taking the time to contact us with your concerns.

Regards

Gemma McAleer
BBC Complaints

I was hoping for some more concrete proposals to sort this out, but hopefully whatever they are planning will improve the situation.

As a bit of an aside I think this sort of thing is unfortunately symptomatic of the BBC’s attitude towards the viewers. The opinions of the public are held in high regard, and it’s normal for them not to be challenged at all. To me that seems completely backwards. Members of the public are usually the least likely to have any kind of reasoned and informed opinion, while those who can bring those qualities to the debate are interrogated vigorously (as they should be).

With regards to HYS specifically, the decision not to allow any kind of structured debate where people can respond to each other is, IMHO, a clear example of treating the public’s opinion with more reverence than it deserves. If someone says something which cannot stand up to scrutiny or debate then the BBC should not shield them.

By mojo | Posted in Uncategorized | Comments (0)

Vistaprint can’t print red

09/02/2010 – 18:46

I decided to get some business cards made. I produced the design in Inkscape according to Vistaprint’s specification:

Business Card Design

A nice shade of red I thought. Unfortunately, Vistaprint can’t print red:

Not Red

I included a few red and different colour items in the photo for comparison. I was a bit surprised at this as I had followed all the suggestions on the Vistaprint web site, and indeed the site itself seemed to render red correctly:

Looks okay

I contacted them and they kindly offered to try again. I sent them a few samples of the first lot so they could see the problem. The second batch turned up, and it was a slightly darker brown that the first. I contacted them again, and got this interesting response:

We currently do not have persons in place to check orders before they are printed nor shipped.

So they just press print and hope everything turns out okay.

They suggested I try converting the colour to CMYK, so I did. Sent them another proof, which again looked perfect on the web site preview. Third lot of cards turned up and sure enough they are still just as brown.

FFS Vistaprint, is it that hard to print red? Every cheap inkjet can do it, so why can’t you? How can your prints be so far from what is shown on screen? I can understand not being able to match colour to a professional level but we are talking completely different parts of the spectrum here.

FAIL.

By mojo | Posted in idiots | Comments (0)

Update to Thunderbird userContent.css

05/02/2010 – 19:03

My custom userContent.css has been updated. I found a fix for the few remaining stupid HTML mails that failed to display correctly due to using “font: inherit” which picks up the <body>’s text colour (off-white) which is unreadable against the white background. I’m still not entirely sure why the <body>’s font colour is being inherited over the parent <div>’s colour, but regardless of why I have now fixed it by making table > td use black text. It also has the added benefit of filtering out annoying font colours set by the sender.

#viewsource {
color: #f8f8f2 !important;
}

body {
background-color: #272822;
color: #f8f8f2;
border: 0 0 0 0;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

body > pre {
background-color: #272822;
color: #f8f8f2;
}

body > * {
background-color: #fff;
color: #00f;
}

pre {
background-color: #272822;
color: #f8f8f2;
}

pre > a:link {
color: #65ff00;
}

div[class=moz-text-html] {
background-color: #fff;
color: #000;
padding: 10px 10px 10px 10px;
}

div[class=moz-text-html] > table {
background-color: #fff !important;
color: #000 !important;
}

div[class=moz-text-plain] {
background-color: #272822;
color: #f8f8f2;
padding: 10px 10px 10px 10px;
}

*[_moz_dirty] {
color: #f8f8f2;
background-color: #272822;
}

*[_moz_quote=true] {
color: #ffcb00;
}

/* Quote Levels Colors */

blockquote[type=cite] > pre {
color: #ffcb00;
}

blockquote[type=cite] blockquote > pre{
color: #fd6500;
}

blockquote[type=cite] blockquote blockquote > pre {
color: #00a000;
}

blockquote[type=cite] blockquote blockquote blockquote > pre {
color: purple;
}

blockquote[type=cite] blockquote blockquote blockquote blockquote > pre {
color: teal;
}
By mojo | Posted in Internet, software | Comments (0)

Thunderbird config

20/01/2010 – 18:32

I finally made the switch to Thunderbird. The Bat is okay but for some reason image loading in emails is really, really, really slow. There are many other minor issues… Although Thunderbird has it’s fair share too. To make it even halfway usable you need a long list of extensions, some of them experimental. SmartTemplate in particular is a feature every other email client has had since about 1993.

Anyway, here is the current list:

AutoRewarp *

British English Dictionary

Compact Header

GMail Conversation View

keyconfig

NoBlankQuote *

PlainAddress

Quote Colors

SmartTemplate

SmoothWheel

Text Link

I use a dark but vibrant colour scheme:

Add the following to userChrome.css:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#folderTree {
 background-color: #272822 !important;
 color: #f8f8f2 !important;
}

#folderTree treechildren:-moz-tree-cell-text(selected),
#folderTree treechildren:-moz-tree-cell-text(selected, focus),
#folderTree treechildren::-moz-tree-row(selected, focus),
#folderTree treechildren::-moz-tree-row(selected) {
 background-color: #555753 !important;
 color: #f8f8f2 !important;
}

#threadTree {
 background-color: #272822 !important;
 color: #f8f8f2 !important;
}

#threadTree treechildren:-moz-tree-cell-text(selected),
#threadTree treechildren:-moz-tree-cell-text(selected, focus),
#threadTree treechildren::-moz-tree-row(selected, focus),
#threadTree treechildren::-moz-tree-row(selected) {
 background-color: #555753 !important;
 color: #f8f8f2 !important;
}

#content-frame[editortype=textmail] {
 padding-left: 5px;
 background-color: #272822;
}

Add this to userContent.css:

#viewsource {
 color: #f8f8f2 !important;
}

body {
 background-color: #272822;
 color: #f8f8f2;
 border: 0 0 0 0;
 padding: 0 0 0 0;
 margin: 0 0 0 0;
}

body > pre {
 background-color: #272822;
 color: #f8f8f2;
}

body > * {
 background-color: #fff;
 color: #000;
}

pre {
 background-color: #272822;
 color: #f8f8f2;
}

pre > a:link {
 color: #65ff00;
}

div[class=moz-text-html] {
 background-color: #fff !important;
 color: #000 !important;
 padding: 10px 10px 10px 10px;
}

div[class=moz-text-plain] {
 background-color: #272822;
 color: #f8f8f2;
 padding: 10px 10px 10px 10px;
}

*[_moz_dirty] {
 color: #f8f8f2;
 background-color: #272822;
}

*[_moz_quote=true] {
 color: #ffcb00;
}

/* Quote Levels Colors */
blockquote[type=cite] {
 background-color: #272822;
}

blockquote[type=cite] > pre {
 color: #ffcb00;
}

blockquote[type=cite] blockquote > pre{
 color: #fd6500;
}

blockquote[type=cite] blockquote blockquote > pre {
 color: #00a000;
}

blockquote[type=cite] blockquote blockquote blockquote > pre {
 color: purple;
}

blockquote[type=cite] blockquote blockquote blockquote blockquote > pre {
 color: teal;
}
By mojo | Posted in Internet, software | Comments (0)

Brother P-Touch QL-560 label printer mini review

29/12/2009 – 20:35

I got a Brother label printer in the sales. No driver for XP x64 was supplied but the Vista x64 one works perfectly. It seems that the printer subsystem did not change much between XP x64 (based on the Server 2003 kernel) and Vista.

Print quality isn’t bad. Blacks are very deep and should hopefully stay that way since it’s a thermal printer and does not use ink. That also means no smudging. It’s 300 DPI which is fine for labels and some basic graphics like logos and barcodes.

The supplied P-Touch Editor software is okay. All the usual functions are there for working with text, except for a spell checker. It can generate barcodes too, including QR code. The interface is actually pretty good, presumably because this is a business printer and so forgoes all the usual consumer oriented fluff. I have not tried the Address Book software yet as it looks like it’s oriented to mail-merge tasks, but there is a MS Word plug-in which lets you select an address and print it directly from the context menu. It seems to work well enough.

The printer can use both separate label rolls and continuous rolls, and comes with one of the latter. It has a cutter built in which slices the roll up automatically. Unlike the Dymo at work it’s very quiet too, in fact you don’t realise it’s printing until the cutter kicks in. Even set to quality mode it’s pretty fast too, printing a 62x50mm label in less than 1 second and taking about 1.5 seconds to cut it.

Oh, and being a Japanese company Japanese language support is naturally excellent. For example, you can enter Japanese text into the barcode generator which is something most online ones can’t do.

By mojo | Posted in hardware | Comments (0)

BNP back at it again, time to start a Facebook group?

22/12/2009 – 19:11

Looks like they have started again: http://newsforums.bbc.co.uk/nol/thread.jspa?sortBy=2&forumID=7365&edition=1&ttl=20091222190905&#paginator

With the recent success of Rage Against The Machine thanks to a Facebook group I’m starting to think it might be a good way to sort this out. Unfortunately Facebook’s privacy policies go against my nature but maybe this time needs must…

By mojo | Posted in politics | Comments (0)

Mitsubishi Colt ClearTec long term review

11/12/2009 – 23:14

When I was looking at buying a car this year I couldn’t find many blogs or forums with reviews from owners, so I am doing my bit to correct that :)

I decided to look at the Mitsubishi Colt after reading some magazine reviews and checking various web sites. I was lucky enough to have a test drive in it’s native Japan, and despite the less than ideal test track it did reassure me that it was comfortable and refined. Back in the UK I test drove a Suzuki Splash and a Subaru Justy, but neither really impressed me. The Splash is nice enough but had no character at all, and the Justy was underpowered and noisy.

I decided to get the ClearTec model in an attempt to keep running costs down. The ClearTec 1.3l engine is not only more efficient than most but also has a feature called “Auto Stop & Go”. More on that later. The spec lists the “combined cycle” fuel consumption as 56MPG, and I have managed to hit that level a few times on the way to work when the roads are not too busy.

The Colt is a solid and well made car. The interior doesn’t seem cheap or flimsy and it’s pretty quiet when running. Importantly for me it’s quite a tall car with big, wide opening doors that make it easy to get in and out of. The position of the steering wheel is nicely adjustable and the seats are comfortable with good back support and ample adjustment options. All the controls are within easy reach and the displays are big and clear. They are lit evenly in orange with the lights on. All the usual features are there, as well as a few less usual ones like cruise control (which works very well), air con and fully electric mirrors. Rear privacy glass is standard, as are alloy wheels on the ClearTec model.

There are lots of little touches like being able to tap the indicator lever to indicate three times and then automatically cancel, ideal for lane changes and roundabout exits. The washers have a similar feature, as well a speed sensitive intermittent operation where the wipers speed up as the car goes faster. Overall it’s all very well thought out and implemented.

The sound system is pretty good too, with front and rear speakers. Touches like a leather wheel and gear knob add to the sense of class and refinement that I found other cars in this price range lacked. The car is also quite practical, with a decent boot and fold flat rear seats. Inside it’s very spacious.

The thing that most impressed me though is the handling. It’s the sort of thing that is hard to judge on a short test drive, but having owned it for six months I’m now really enjoying it. The suspension is pretty stiff so the car doesn’t roll when cornering, and you can fling it into a bend with confidence. It manages to absorb the many bumps and pot-holes on your average British road without sacrificing stability which is no mean feat on a relatively tall car like this. The 1.3l ClearTec engine isn’t particularly fast but still manages to shift when you ask it to and has plenty of power left at motorway speeds to not worry about overtaking etc. The breaks are very sharp too, requiring only a tap to activate.

I had parking sensors fitted to mine and have found it pretty easy to manoeuvre into narrow spaces in packed roads. The sensors are very, um, sensitive and will warn you about stuff to the side of the car as well as directly behind it. I quickly learnt that you only really use them to warn of things you haven’t seen or are trying to judge distance from, because they do go off a lot when backing up. That’s not a bad thing by any means.

Visibility is generally pretty good in the Colt, except for the side pillars which block your view at some junctions. The wing mirrors are extra large and provide good coverage.

The ClearTec engine works well. The “Auto Stop & Go” feature basically turns the engine off when the car is stationary and in neutral. The moment you put your foot back down on the clutch the engine comes on again. The idea is to save fuel when not moving while in a queue or waiting for the lights to change. When not moving you are getting exactly 0MPG. It’s quite intelligent, for example not activating if the wheels are turned in (such as when turning into a side road) or if the battery is a little bit low. Mitsubishi claim that it doesn’t do the battery any harm and the starter motor is supposed to last the lifetime of the car, but of course only time will tell on that. It does take a little getting used to as well, but once you learn not to try and second guess it everything “just works”. How much fuel it really saves I’m not sure, but the car seems pretty efficient and cheap to run overall. I spend less on petrol than I did with my old 1.0l Suzuki Alto.

About the only thing that does bother me about this car is that the air-con only delivers lukewarm air for the first few minutes until the engine heats up. It clears the windscreen in under a minute but takes longer to raise the cabin temperature on a cold winter morning. At first I wasn’t entirely convinced by the looks of the car either, but they have grown on me. It’s not ugly or anything, just an unusual shape from some angles. The addition of a spoiler really improves things I think. Colour wise you can have pearl white or red for free, or various metallic colours. It looks good in white but of course like all white cars shows the dirt up. I went for black in the end and am pretty happy with it.

There are other cars which on paper look like they might have an edge over the Colt, but spec isn’t everything. Mitsubishi have come up with a brilliant design which is well executed. The Suzuki Splash and Skoda Fabia are good examples cars which seem good on paper but which fail to impress when you get behind the wheel. The Skoda is pretty nippy but otherwise seems a bit cheap and basic inside, while the Splash is just utterly unremarkable.

By mojo | Posted in Uncategorized | Comments (0)
Page 4 of 16« First...«23456»...Last »
γŸγ¨γˆζΊΊγ‚Œγ¦γ‚‚ζ’¦γ―γ‚†γ‚γ§γ—γ‹γͺい
  •  

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • Categories

    • audio (1)
    • avr (15)
    • electronics (25)
    • genius (4)
    • hardware (21)
    • idiots (34)
    • Internet (14)
    • law (19)
    • microcontrollers (12)
    • networking (17)
    • politics (28)
    • privacy (18)
    • Retro Adapter (5)
    • security (16)
    • software (29)
    • Uncategorized (16)
    • windows (21)
  • Archives

    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • November 2005
  • Links:

    Main site: world3.net

    Electronics: denki.world3.net

WordPress | Sandbox