Dabr blog

 
Filed under

dabr

 

Where else can you use @Dabr?

This post is inspired by superstar @Dabr user @Supakitsune

Last week, our keen eyes spotted this tweet

On the Nintendo DSi?! Amazing! Being an interested bunch, we asked for a twitpic and naturally, @Supakitsune obliged -

Dual-screen @Dabr FTW!

Not soon after that, our favourite open source hacker/developer legend, @edent, reached out and said -

'Hey, what about me?'

He's tried (the text only version of) @Dabr on Lynx -

And on his Amazon Kindle!

Now it's over to you...

 

What's the coolest, non-mobile phone-based place you've used @Dabr?

Answers in the comments please :)

 

Filed under  //   DSi   amazon   dabr   devices   edent   kindle   lynx   mobile   nintendo   supakitsune  
Posted by James Whatley 

Comments [8]

It's the @Dabr stat attack!

Recently, Twitter recently released some rather impressive stats about their users and their usage habits. Taking our lead from Ev and the gang, we thought we'd pull together some facts and figures of our own based on what we actually get through here at Dabr HQ.

First of all, some overall download stats:

Next question - and this is where we hit the big numbers - what does one month of Dabr look like? Well it breaks down a little bit like this:

  • The 487 thousand of you that used dabr.co.uk in the last month
  • Clicked on 38 million pages throughout the site
  • Peaking at 1.4 million page views in one day
  • Making the server request 1TB of data from Twitter's API
  • And sending you 350GB of mobile web pages to your phones
  • 50% of you were using Opera Mini
  • 62% of you came from Indonesia
  • You uploaded 15 thousand TwitPic photos,
  • You looked at Justin Bieber's profile 12 thousand times
  • And we spent a mere £35 to keep things running smoothly
Thank you for your continued support.
 
You rock.
 

Filed under  //   dabr   facts   figures   numbers   stats  
Posted by James Whatley 

Comments [12]

Dabr – Reply to all and Geotagging – via @edent

People have been very excited to see some new functionality in Dabr – the mobile Twitter client I develop for. But what is it and how does it work?

@@ and geotag

@@ and geotag

Reply to All

The @@ symbol allows you to reply to all the people mentioned within the tweet.
It only shows up on tweets which mention other users – so you should only ever see it when it can be used.

Hitting @@ on the above tweet will pre-populate the text box with “@topgold @whatleydude @dabr”.

It should remove any duplicates and should also remove your username.

Geotagging

Twitter recently allowed the geotagging of tweets. This allows you to set the longitude and latitude of where you are when you wrote your message.
Clicking on the green globe (it just looks like a dot at that size!) takes you to a mobile mapping service.

Google Maps Mobile

Google Maps Mobile

It only shows up on tweets which are geotagged – so you should only ever see it when it can be used.

How Does It Work?

You can see all the code in the SVN, but here’s a quick rundown.

Geotagging is very simple.  Statuses now have a <geo> field.  If this is populated, it will contain a longitude and latitude.

We can take those values and pass them to Google Maps Mobile (or your favourite mobile mapping service).
if ($geo !== null)
{
   $latlong = $geo->coordinates;
   $lat = $latlong[0];
   $long = $latlong[1];
   $actions[] = theme('action_icon', "http://maps.google.co.uk/m?q={$lat},{$long}", 'images/map.png', 'MAP');
}

Reply to all is a little more involved.
Twitter provide an excellent set of Text Libraries. These provide officially sanctioned regular expressions to help your project find URLs, hashtags and usernames.

Using the Twitter Text Extractor class we can determine how many usernames are mentioned in a tweet. Any duplicates are removed – as is the user’s username.

Any questions – just ask!

 

 

This update comes from one of @Dabr's more prolific coders, Sir Terence of Eden - aka @edent..

Terence runs his own version of Dabr using the open-source code and has been playing and updating now for some time. With permission, David went through the main service and applied the awesome changes you can see above...

What do you think?
Do you - like @topgold - like these new features?

Cheers,
James

Filed under  //   dabr   edent   reply all   updates  
Posted by James Whatley 

Comments [6]

Dabr migration and Apache

Some techy stuff about how I migrated Dabr to it's new home last month, cross posted from one of my other blogs:

After a recent purchase of VPS hosting from WebFusion, I wanted to move my high-traffic site dabr.co.uk onto it. With the site exceeding one million daily page views, I really had to be careful about how I’d move the site to it’s new home.

10%

Using the “Hostnames” report within Google Analytics, I was able to identify that 10% of users access the site via the m subdomain and 40% use www – the rest not using any subdomain at all. This was a real stroke of luck as it allowed me to test the new server with a controllable percentage of the total traffic, simply by updating the DNS records.

When given 10% load the VPS handled just fine, so after two days I moved on and tried it with 50%.

50%

A second report from Google Analytics also helped tremendously: hourly visits. With about 45% of hits coming from Indonesia (yes, really), I needed to know what time was the best window to try any drastic changes to the servers. The graph clearly shows that the longest quiet period I get is between 6pm and 9pm GMT – when most of Indonesia is asleep and web traffic drops in half:

On the first few occasions that I did try 50% of the load pointing at the new server – it buckled and almost completely fell over. A chat with Nick, a friend from Heavy Sumo, led me to explore the Apache configuration – and what a bizarre experience that was.

Here’s the settings that were used by default on the server, compared with the Apache defaults and the settings on the old server:

Setting WebFusion VPS Apache default Old server
StartServers 1 5 8
MinSpareServers 1 5 5
MaxSpareServers 5 10 20
MaxClients 10 256 256
MaxRequestsPerChild 0 1000 4000

Notice the difference?

I have no idea why WebFusion would have their defaults so low. Changing these to match the settings of the old server had a significant boost on performance.

I left 50% traffic on the new server for a couple of weeks, and tried a couple of times to add a bit more, but users quickly complained about the site slowing down.  The slow down matched up to the Indonesian peak time around 2pm GMT, so I rolled back the DNS to point to the old server again.

90%

This stage required a little further exploration of Apache performance tuning articles. One interesting fact I discovered was that Apache has a hard-coded MaxClients limit of 256, which you can only raise by recompiling Apache – so that wasn’t particularly an ideal option.

The Apache Performance Tuning article from devside.net was the answer to my problems. It suggested a number of different solutions, two of which were to adjust Keep Alive and Timeout settings.

Setting Webfusion VPS Devside
Timeout 300 45
MaxKeepAliveRequests 100 80
KeepAliveTimeout 15 2

These changes, combined with the forking settings above, have made the server run much more smoothly. In fact, it’s now taking 100% of the traffic and people are noticing an improvement in speed.

100%

With the new server running well for a month, I then asked the previous host to delete the old server. Hopefully the new server should last a while before I need to consider load balancing to a second server.

 

Filed under  //   apache   dabr  

@Dabr on the N900

I've been running Dabr in 'touch phone' mode on my Nokia N900 for some time now and, in lieu of a definitive Maemo Twitter app, a fair few early adopters are enjoying it just as much as I am.

Imagine my happiness when I read this today:

John Loughney, aka '@j_loughney', is a certified 'Maemonaut at Nokia' over in California and to see him a) tweet how much he likes Dabr himself and b) hint at just how awesome it is on the N900's yet-to-be-released portrait mode... well, that makes us very, very happy indeed!

:)

Thanks John!

Filed under  //   dabr   n900   nokia   ooooh   portrait  
Posted by James Whatley 

Comments [2]

Half a million page views

Usage

It always amazes me that even with hundreds of thousands of hits every day, Dabr users can still cause spikes of traffic.

Thanks to the 6,273 users that tweeted 75 thousand times yesterday. You guys made the server stats jump up to 527 thousand page views in one day!

AND... those numbers don't even include the many copies of Dabr across the web, just dabr.co.uk.

(The graphs are based on tweets about stats on the old server, combined with real stats from the new server. To just see stats from the new server check out the other graphs)

Filed under  //   dabr  

Twitter lists are LIVE on @Dabr :D

As of lunchtime today David rather awesomely rolled out the brand new 'lists' feature out onto Dabr.

If you're new to lists (we certainly are!) then you might want to read this blog post from Twitter themselves about what they are how you set them up.

But basically, lists are a neat way to sort your followers into easy to browse groups. The best thing about this is, you can also check other Twitter users' lists too! 

Let me show you how it works -
Your new homescreen options include 'lists' in the top bar.

Unfortunately, I haven't made any lists yet so there's nothing there to show you... Um. I tell you what, lets find someone who has made some lists: Robert Scoble - aka @scobleizer - he's definitely made some lists.

So on Robert's profile, click 'lists' and voila, you can see his lists (as below).

Let's click 'Twitter Tools'

Huzzah! Here are the Tweets from Robert's favourite Twitter tools! :)
I wonder if Dabr will appear there soon... :D

David tells me he's going to add further list functionality throughout the day (viewing subscribers, who's listing you etc), but currently there's no API setting to create your own lists from the Dabr interface. As soon as it's live, we'll get to work.

Enjoy! :D

 

Filed under  //   dabr   lists   scobleizer   update  
Posted by James Whatley 

Comments [3]