June 10, 2010

Getting rid of Google’s annoying “background image”

Filed under: misc — Alex @ 9:05 am

For some reason, Google have decided to put large images as the backdrop to their search engine. Not only are they large and grating, but they change over time and it’s horrible.

I’ve turned this off by putting the following in Firefox’s userContent.css:

@-moz-document domain(www.google.co.uk) {
 #fpdi { display: none !important; }
 body { background-color: #ccc !important; }
}

This gets rid of most of the nasty. However, sadly, the file you need to edit may or may not exist, and could be in a variety of different places, and of course there doesn’t seem to be any good way of doing this easily. First, you need to find your profile folder – and once you’ve located that, the userContent.css file goes in the chrome directory.

Make sure it’s the userContent.css file you edit and not the similar userChrome.css file – they’re not the same thing.

Update: just to be clear; you will need to restart your browser after you make this change – it’s not instant. Also, you may need to change the domain given – I use .co.uk, so that’s what I put in there. For google.com users, it seems like you can change your background without needing an account for now – but who knows for how long?

Also, my theory is that Google have done this to be annoying. If you have an iGoogle account, you can set the background to be white again – which a lot of people will want to do. Implicit message: your experience is better with an iGoogle account. Sorry Google, but I don’t actually want one of those.

January 13, 2010

Why Google is really pulling out of China

Filed under: bongo,fedora,freesoftware,misc — Tags: , — Alex @ 12:18 pm

Since the news about Google demanding unfiltered search came out earlier today, I’ve speculated in a number of places that Google have broader reasons for wanting out of China, and that the issue of search – and, by extension, free speech – was not exactly #1 on their list of priorities. In particular, I mentioned on LWN my thoughts on what kind of an effect Chinese infiltration of Google Apps would have on the customer base they’re trying to build.

To reprise some of the facts in the reports;

  1. BBC News mentioned “a sophisticated and targeted” attack, but then later says that Google pointed the finger at phishing and malware scams rather than security problems.
  2. The reports are that Gmail accounts were mainly targeted, and these Gmail accounts were of known dissidents.

Now, 2) is quite believable, but 1) is not at all. Phishing and malware is nothing new, there’s not a lot you can do to stop it, and it’s certainly not sophisticated and targeted unless the Chinese Government was intercepting legitimate Google traffic. Even then, with SSL, that’s a difficult proposition.

Wikileak’s twitter account added a couple of other suspicions:

  1. China has been quietly asking for the same access to google logfiles as US intelligence for 2-3 years now.”
  2. Gossip from within google.cn is Shanghai office used as CN gov attack stage in US source code network.”

With this kind of affair, it’s usually instructive to consider the adage of Cui bono. Sure, Chinese intelligence probably could use more information about dissidents and would probably like log file access and things like that. Almost certainly they try to access gmail accounts too. I have little doubt that Google would have immense trouble detecting this from the more general problem of phishing, and to that extent it’s really not their problem – it’s a social engineering problem.

There is a far larger prize at stake, of course. If Google source code is under attack, which seems reasonable, this presents two major issues. The first, that Google code could be used by China: there is the issue of straight-up rip-off, which devalues Google at the very least. However, Google is already #2 and is well behind Baidu, the native search system. There is motivation to do this of course, but it’s not exactly the biggest prize on offer.

The larger prize is access to code to work out security issues. Google does not develop code in the open, and while most of it is probably secure there are doubtless issues that a determined attacker could find more easily with access to code. And, once you start getting access, you start being able to gain the stuff of real value: the information stored on Google’s systems, in Gmail, in Google Docs, in Postini, as well as the various logs and other behavioural data associated with advertising.

Put like that, Google simply cannot afford to work in China. In one sense, China is lawless: there is a certain class of “criminal” who is state-sponsored and therefore can do as they please. There is no good technological defence to this, there is only the question of whether to participate or not. And what are the potential costs of participating? Essentially, limitless. Major US and EU firms on Google Apps will not want their business information readable by the Chinese authorities. More than that, firms doing business with other firms using Google Apps will not want their information readable too.

On Facebook, I gave the example of Jaguar Land Rover as one company who use Google Apps for everything. Will they like the idea of the Chinese authorities being able to see what they’re up to? No. Even if it’s not happening, it will put the wind up them: potentially, it could destroy their business. And lets remember, there are now millions of businesses on this platform.

This highlights one danger of cloud computing: not only do you have to trust the provider, but you also have to trust that the aggregation of data in one place doesn’t become a sufficiently juicy target for someone else. And Google is a very, very juicy target.

Let me speculate further on a few potential issues in the future (none of which are problematic at this point today):

  • Google controls large amount of “dark fibre” and “private internet”. That’s a juicy target.
  • Google are putting Android into many handsets. Yum, yum, another juicy target!
  • Google maps / street map / other raw data. If, somehow, the collection of data could be controlled by another agent – well, that’s quite a useful tool to have.

This doesn’t even go into the potential issues of having hardware controlled by another agent in your data centre or in your phone, which isn’t outside the realms of practical possibility for the Chinese Government either.

Let’s be clear about this: all Governments have secret services, and the Chinese are by no means the most adept or technologically advanced. However, they may be the most dangerous and the most likely to work clandestinely. Google must know already that they have spies working for them, not just in China but in all their major offices. Most good industrial espionage is internally undetectable, because it’s acquired information out only. The Chinese spies clearly have been up to many detectable activities, which puts them in a very different class.

Update: Wired has a very good article up with more details about the attack. In short, there was a specific piece of malware targeted at Google to pull their source code out of the organisation. It doesn’t say what, but it does say that the large amounts could be sent and doesn’t say how quickly they detected in. Which is exceptionally scary. I would have thought the Windows-based attack would limit the scope of what could have been lifted, but this doesn’t explain many of the other rumours about Google’s Chinese offices, and doesn’t (on its own) explain Google’s seeming decision to withdraw. Possibly, Google were attacked in other ways too.

September 2, 2009

Patent infringement to be criminalised?

Filed under: freesoftware,misc — Alex @ 9:22 am

That’s apparently what a group of UK inventors are asking for. On the face of it, their arguments are pretty hard to dismiss: if you have a patent, it is extremely costly to “enforce” it and essentially means it’s only open to the big boys.

Sadly, the article doesn’t really talk much about patent quality or the goals of the patent system, and although it brings up the problem of accidental infringement / independent invention, it doesn’t really explore any possible solutions. Certainly, we do seem to have a system which requires a severe overhaul at the moment, though.

July 10, 2009

Come on, Facebook – re-instate Tom Brake MP

Filed under: green,misc,proprietary — Alex @ 1:09 pm

Now, I’m not a huge one for using web applications as a means civic communication – I tend to believe that communicating with your representatives is much better done in a public space rather than a private one like Facebook. However, this story (on the face of it) is quite disturbing.

Transport for London recently announced the removal of the N213 night bus service between Croydon and Sutton. For many people, particularly young people going out of a night in Croydon, although this service wasn’t overcrowded it was important. A number of people on Facebook started a group to protest this, and took to the streets of Wallington last night.

Our local MP, Tom Brake, has been a Facebook user for years now and has tended to be pretty good about using it intelligently: joining good local causes, using it as another way of letting people know what he’s up to, and that kind of thing. So, he also joined the “Save the N213″ group and posted various letters that he’d sent to the Mayor / TFL.

Now, however, Facebook has suspended his account: it’s like he doesn’t exist on the site any more. No comments, no profile, unceremoniously de-listed from the various groups.

Fine upstanding local residents

Fine upstanding local residents

Why has this happened? Well, according to LibDem Voice, “his account was automatically suspended when their system detected an unusually large amount of traffic to and from his account“. That is to say, the protest against the N213 – which Tom was participating in, not really organising – was too successful, and Facebook assumed something bad was happening.

MPs need to be easily accessible by their constituents. On issues like public transport, children and young adults are particularly important because they don’t have the option driving. Representing them effectively means, realistically, being able to contact the local community via Facebook (and services like it) because that’s what these people use in the same way older generations write letters to the local newspaper.

It’s difficult to know what to do about this. It’s difficult to see how a kind of public service obligation could be imposed on something like Facebook; equally, setting up something genuinely public and civic-minded is unlikely to attract the demographic we’re talking about.

July 7, 2009

Mono and the MCP

Filed under: bongo,fedora,freesoftware,misc — Tags: , — Alex @ 7:21 pm

It has been interesting watching the debate around Mono over the past few months. As essentially an independent observer – albeit one who has used Mono and can almost code C# – I couldn’t help the sneaking feeling that somehow, some of this was being orchestrated behind the scenes.

Particularly on the “anti-Mono” side, it has been pretty clear that an agenda of agitation has been in effect, with various distributions being prodded into making statements either way and various “users” kicking up stink on mailing lists – not least a certain infamous blog writer being caught red-handed whilst goading people on to write angry letters. I don’t know if speeches like Stallman’s were co-ordinated – I suspect more likely happenstance – but it all seemed very well timed.

And now it seems that Novell have been leading Microsoft into giving a Community Promise surrounding patent claims that cover the “standard” parts of Mono. I predict this is going to have a surprisingly negative effect within the community, however. It validates the arguments of people worried about Mono, and this proposed split of Mono into “Standard bits covered by MCP” and “Other bits not covered by MCP” is actually going to fuel the flames: inevitably, people will assume the non-MCP bits are a total patent mine-field, no matter what is actually in that area. Parts that people are quite happily shipping right now – such as ASP.net – will be targetted next by people “anti” Mono. And for the parts covered by MCP; well, I expect not much to change: certainly, it’s not likely to convert many people to Mono.

In this scenario, I would actually suggest this is a step backwards. People will read the MCP news as an admission that Mono is at risk from Microsoft patents, and it certainly will not unite the community in any fashion.

Personally, though, I think this move signals that Mono is now basically big-time. I don’t know how many will agree, but the smoke-signals have been in the air for a while: major products such as Sims 3 by EA shipping with Mono, for example. It’s big enough that Microsoft is having to sit up and take notice; it cannot be long now before Microsoft starts shipping either parts of Mono or its own implementations of key Mono tools and libraries.

I don’t think “the Mono issue” is going to be resolved in the Linux community any time soon. However, as I’ve said before – I don’t think that matters. The community of people using Mono, and the community for whom Mono is an attractive proposition, is an extremely large and probably not (for a large part) particularly Linux users.

Like Firefox before it, Mono is becoming a break-out technology which appeals to an entirely different set of developers. In Firefox’s case, it became the web developer tool par excellence due to its vastly better debugging, inspection and developer tools. Mono isn’t comparable with MS’ development tools yet, but already has a strong appeal to people wanting to use .net development tools in non-Windows environments. You can use Mono to develop for Microsoft’s own Xbox 360 – as far as I’m aware, you can’t do that with Microsoft’s own .net yet.

It will be interesting to see where the Linux community moves to on this issue over the next couple of years. Whether or not Mono gets used much doesn’t really matter any more though; Mono is now an entirely successful project in its own right and it’s going to be here whether we like it or not.

June 17, 2009

Windows Vista lameness (for future reference)

Filed under: misc,proprietary — Tags: — Alex @ 11:03 am

I’ve hit across this problem a couple of times and always end up having to look up the magic incantations, so I’m going to store it here for posterity and in the hopes it may also aid other people.

Problem: Windows Vista / XP machine on a wireless network behaving extremely oddly. You can often browse to Google, for example, but basically nowhere else – it’s like other websites just time out.

Issue: For some reason, the MTU discovery doesn’t seem to work – the OS ends up sending packets which are too big and things stop working. This is probably an issue with one of the wireless routers involved I would imagine, rather than windows itself.

Solution:

You’ll need an Administrator shell. Find the ‘Command Prompt’ in the Start Menu, and right-click to select ‘Run as Administrator’. Then, use this command to find the name of the interfaces on the machine:

netsh interface ipv4 show subinterfaces

Using the name we found above, do:

netsh interface ipv4 set subinterface "Name We Just Found In Quotes" mtu=1400 store=persistent

It’s a complete hack, but it works, and since I use Windows about once a year I really don’t care :D

April 22, 2009

Want to tell UK Govt. to keep their hands off the ‘net?

Filed under: freesoftware,misc — Tags: , — Alex @ 10:39 am

apComms is an all-party group interested in various technological issues, and they’ve just announced that they’re starting an enquiry effectively into ‘net neutrality. I would link to something useful if I could, but surprisingly(?) their website is well out of date. Paraphrasing the specific questions they’re asking, though:

  1. When should ISPs be filtering/blocking traffic?
  2. Should Govt. intervene over Phorm-like services?
  3. Do we need new initiatives to protect privacy online?
  4. Is the global approach to kiddie porn working?
  5. Who should pay for traffic, and should Net Neutrality be enshrined in law?

If you want to respond, you need to write not more than four pages and submit it via email to the admin user at the domain apcomms.org.uk – you have until the 22nd May 2009. I’d be interested in people blogging on this topic, particularly their responses.

This is an important topic. Just this Monday there were questions from various well-briefed Tories – including a Tory whip who, and I mean no offence to Mrs Watkinson, I’m pretty sure didn’t know about “throttling bandwidth” before she was given that phrase. It’s pretty clear where the wind is blowing on this issue.

April 6, 2009

IBM vs. Sun – spoken too soon?

Filed under: freesoftware,misc — Tags: , — Alex @ 6:25 am

So, probably as I was posting my little blog piece yesterday on IBM taking over Sun, it seems that the IBM and Sun deal was falling apart – seemingly a quabble over the pricing, but I suspect a little more must have been to it than that.

Again, I’m reminded somewhat of Microsoft – when Yahoo! refused their take-over offer, which at $31 represented an extremely generous premium over their then ticker-price of about 62%, with a total deal worth $44.6 billions. Such a rich deal that even Microsoft would have been forced into debt (though doubtless they’re thanking themselves for walking away now – the timing would have been awful). When we look today, it’s around $13 and has been as low as $9. Shareholders were rightly steaming.

At $9.50 for JAVA stock, IBM would have been paying an almost 90% premium over the sub-$5 price pre-takeover talks. What’s going to happen to Sun in trading today? I suspect the market will punish them, hard – they appear to be the ones walking away from the deal, not IBM, and people will be well aware of that before trading starts later. They’re now going to talk to HP and Cisco about a merger – I’m not sure either of those deals makes sense, particularly Cisco, but HP haven’t long ago swallowed Compaq and are still making sense of that.

In many ways this is Sun all over, but the management will have a lot of explaining to do at this point if another deal doesn’t come together quite quickly. If it falls apart and the stock value starts sinking, we may see IBM come back in a bit later and pick them up even more cheaply…

April 5, 2009

Sun vs. IBM

Filed under: freesoftware,misc — Tags: , — Alex @ 12:52 pm

If we’re to believe what we’re told in the press, sometime tomorrow – or perhaps later in the week – IBM and Sun will announce some kind of merger. I’m not sure anyone is under any illusion that this would effectively mean the end of Sun in time, being absorbed into IBM, although there is a lot of speculation over what would happen to various projects. Some, like NetBeans, seem pretty certainly done for, and the amount of life left in the SPARC architecture post-merger seems limited.

It doesn’t seem to me that MySQL will be affected much. IBM may or may not continue interest in it – I suggest they would – but Sun appear to have made such a complete balls-up of that acquisition that it doesn’t seem like it would matter any more. Sun’s argument was that they would make MySQL enterprise-ready – but then they released 5.0, which scared the horses and that $1 billion value looks to be rapidly eroding. Similarly, OpenSolaris would probably continue in some half-hearted effort, but again there appears to be a touch of “Well, why bother?” about it.

No-one much seems to have talked about OpenOffice.org. The community side of OOo, in terms of code, is really pretty limited and most interesting stuff happens in Go-OO. Sun are basically OOo, and the ODF TC at OASIS is heavily Sun/IBM. Presumably a merger would weaken their current combined grip on ODF by some small amount, but what of OOo? IBM are currently off in the weeds with Lotus Symphony, which has an outstanding user interface (compared to OOo anyway) but is based on some relatively ancient version of OOo. It would be nice to think that some grand merger of OOo and Symphony would happen, but any such scheme would likely completely alienate what OOo developer community there is because it would take time and be an extremely exclusive process.

I’ve always thought Sun had significant problems with their attitude to free software / open source. They talk about it a lot, it seems like their heart is in the right place, but fundamentally they don’t appear to get it. The difference between “controlling what we do” and “controlling what other people do” appears to be lost on them, and when they giveth with one hand opening up previously proprietary code-bases, they take away with another with licensing restrictions or limitations on contributions. However, IBM are an entirely different beast: they fundamentally do get it. Sadly, though, they get it and decide not to participate: hence Lotus Symphony, hence AIX, hence WebSphere, hence DB2, etc. etc. They contribute widely, but selectively and judiciously. Their participation in stuff like ODF is as much tactical anti-Microsoft activity as anything else.

Based on that approach to free software: very smart, very thoughtful application of development resource to projects which directly benefit IBM reminds me a lot of Microsoft. Fundamentally, their approach is identical – we’ll put effort into a few things where it suits us and we’re not going to be competed with, but everything else we’ll do proprietary thank you. Even where the pain of that proprietary cost is high – e.g., Symphony – they have the resource and the ability to do it.

It will be interesting to see what happens post-IBM. The job cuts are surely going to be the start, rather than the end, and some significant projects will stop – possibly abruptly. Things that will continue will quickly become IBM-branded. In many ways, it will be entirely illustrative of where Sun has gone wrong: IBM will not be putting effort into things which don’t generate return. They’re not going to be wowed by buzzwords about “cloud computing”. IBM are sharp, and the culture clash will be huge.

January 12, 2009

News of the Screws cack-handed “the Stig revealed!”

Filed under: misc — Tags: — Alex @ 4:10 pm

The news of the world “newspaper” did a “reveal” of Top Gear’s “The Stig” character – so many quotes, but Stig is just a name, they didn’t actually reveal who it was, and I’m not sure they’re really a newspaper ;)

At least. They say that they didn’t reveal who it was, but if you go to the story you’ll see they have a picture of “the Stig” showing just his eyes – apparently giving a clue to the readers. If you don’t want to know who they think the Stig is, don’t click “More”.

(more…)

Older Posts »