Archive for the ‘the internet’ Category

You have been successfully trolled by long-dead English typographers.

Friday, February 19th, 2010

<lvh> I’d split, if only because it does French spacing correctly.

<raz> oh, split is magic in that way?

<Wild_Cat> “French spacing”?

<Wild_Cat> what is French spacing?

<lvh> If you know your input won’t do that, fine :)

<ProgVal> a word is something which match with that :
#[^a-zA-Z0-9][a-zA-Z0-9]+[^a-zA-Z0-9]#

<lvh> Wild_Cat: It’s what the English call something stupid to mock the
French.

<lvh> Wild_Cat: Two spaces after a period. [09:51]
*** toabctl (~tom@ubuntu/member/toabctl) has joined channel #python

<Wild_Cat> but nobody uses that!
*** nzmm (~matthew_j@121.98.145.205) has joined channel #python
*** regebro (~lregebro@121.16.97-84.rev.gaoland.net) has joined channel
#python
*** nzmm (~matthew_j@121.98.145.205) has left channel #python: #python

<Wild_Cat> (I’d have expected “French spacing” to mean something like putting
a space between words and ? or !)

<lvh> Wild_Cat: loads of software has broken because of things that “nobody
does”, because nobody does that, until somebody does [09:52]

<raz> well, he has a point. whitespace counting only makes sense after
squeezing whitespace, e.g. with a regex
* evanton wonders what’s the problem to google for “python word count”

<ProgVal> <lvh> Wild_Cat: Two spaces after a period. => Why do you call that
French spacing ?

<Wild_Cat> lvh: no, I mean, nobody does that in France. Why the heck is that
called French spacing?

<ProgVal> I’m french, but never write two spaces…

<lvh> ew no, let’s not use things that solve NP-complete problems
*** lamefun (~dingbing@92.246.161.75) has quit: Remote host closed the
connection

<lvh> ProgVal, Wild_Cat: <lvh> Wild_Cat: It’s what the English call something
stupid to mock the French. [09:53]

<Wild_Cat> (I suspect it’s like French fries: it’s actually Belgian spacing
but it’d sound silly :p)

<evanton> space length contest

<evanton> enlarge your space!

<lvh> You have been successfully trolled by long-dead English typographers.

Adding Reader and Analytics to Google Apps

Tuesday, October 6th, 2009

appsexpanded

Google Apps for your domain bring you all the functionality of Gmail, Google Docs, Calendar and talk to your own domain. Which, for those of us who like Gmail et al, is a very nice thing to have.

What Google Apps doesn’t give you however, is the integrated google account that gives you access to all their other services like Google Reader and Analytics.

So after a while switching between my shiny new apps account & my plain old google account, I decided to write a little greasemonkey script to add them to Google Apps.

Basically it inserts links to Google Reader and Analytics into the top left navigation of Gmail, Google Docs & Calendar, and redirects the navigation in Google Reader to point to your Apps account rather than the ‘Google Account’ you’re using for Reader & analytics.

You can generate the script for your site by typing the domain in here and then following the link:

Alternatively you can take a look at the Source on github, or clone the repo with

git clone git://github.com/davidmiller/apps.expanded.user.git

Hope you find it useful somehow.

Love regards etc