?

Log in

Artur Bergman [entries|archive|friends|userinfo]
Artur Bergman

[ website | O'Reilly Radar ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Where in the world is Artur? [Sep. 9th, 2008|10:22 am]
Artur Bergman
Check my dopplr at http://www.dopplr.com/traveller/sky/public


LinkLeave a comment

London taxi language failure [Sep. 8th, 2008|03:31 am]
Artur Bergman
PLEASE NOTIFY THE DRIVER IF YOU WISH TO STOP AND WAIT (i.e.) CASHPOINT OR SHOPS AS IT MAY NOT BE POSSIBLE DUE TO PARKING RESTRICTIONS AND CCTV,s ISSUING FINES (24 HOURS A DAY)
LinkLeave a comment

LazyWeb [Sep. 2nd, 2008|07:04 am]
Artur Bergman
I need a proxy webserver for gziping outbound traffic. Please let is support chunked encodings.
Link4 comments|Leave a comment

(no subject) [Aug. 29th, 2008|10:52 am]
Artur Bergman
[Tags|, , ]

The idiots inexperienced Valley wankers at FriendFeed think following updates.sixapart.com is hard;

This is exactly how hard it is.

curl -N -s http://updates.sixapart.com/atom-stream.xml | grep --line-buffered "application/atom+xml" | grep --line-buffered 'rel="self"'
Link4 comments|Leave a comment

HTTP FAIL WHALE FAIL AT HTTP [Aug. 28th, 2008|04:08 pm]
Artur Bergman
[Tags|, , , ]
[Current Mood |amusedamused]

Spectacular failure in using HTTP from twitter -- apparently I last-modified my page now() (and not two months ago), and the ETAG changes on every request.

It changes because the etag is the md5sum of the rendered content, which contains an form_auth_token. So neither If-Match or If-Modified-Since works.

Way to waste bandwidth.

hope:~ sky$ curl -v "http://twitter.com/crucially" > /dev/null
* About to connect() to twitter.com port 80 (#0)
* Trying 128.121.146.100... connected
* Connected to twitter.com (128.121.146.100) port 80 (#0)
> GET /crucially HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin8.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: twitter.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 28 Aug 2008 23:07:50 GMT
< Server: hi
< Last-Modified: Thu, 28 Aug 2008 23:07:50 GMT
< Status: 200 OK
< X-Runtime: 0.12711
< ETag: "a5ca7514effd7287c0aa9a60d443a21e"


hope:~ sky$ curl -v "http://twitter.com/crucially" > /dev/null
* About to connect() to twitter.com port 80 (#0)
* Trying 128.121.146.100... connected
* Connected to twitter.com (128.121.146.100) port 80 (#0)
> GET /crucially HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin8.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: twitter.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 28 Aug 2008 23:09:17 GMT
< Server: hi
< Last-Modified: Thu, 28 Aug 2008 23:09:17 GMT
< Status: 200 OK
< X-Runtime: 0.19511
< ETag: "33afb185e11a9689ea9974140e67b309"

For the feeds, at least the ETAG stays the same

hope:~ sky$ curl -H "If-Match: c64cd62cd2c8f859feb60384c5c43784" -v http://twitter.com/statuses/user_timeline/2334251.atom > /dev/null
* About to connect() to twitter.com port 80 (#0)
* Trying 128.121.146.100... connected
* Connected to twitter.com (128.121.146.100) port 80 (#0)
> GET /statuses/user_timeline/2334251.atom HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin8.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: twitter.com
> Accept: */*
> If-Match: c64cd62cd2c8f859feb60384c5c43784
>
< HTTP/1.1 200 OK
< Date: Thu, 28 Aug 2008 23:21:49 GMT
< Server: hi
< Last-Modified: Thu, 28 Aug 2008 23:21:49 GMT
< Status: 200 OK
< X-Runtime: 0.00568
< ETag: "c64cd62cd2c8f859feb60384c5c43784"

Yet, doing a if(if-match == etag) { return not_modified } is apparently too much work.

And here I worry about getting Trailers right!

ps: i might have gotten the If-Match incorrect, if so, apologies

pss: I tried 'If-Match: "c64cd62cd2c8f859feb60384c5c43784"'

*UPDATE*

Don points out i probably want If-None-Match -- this doesn't work either though.
Link1 comment|Leave a comment

Bathrobes! [Aug. 26th, 2008|02:05 pm]
Artur Bergman

Bathrobes!
Originally uploaded by crucially
weirdest use of one of my photos ever http://ecoscraps.com/2008/08/26/hotel-laundries-discover-towelism/
Link1 comment|Leave a comment

Crayfish [Aug. 22nd, 2008|11:50 pm]
Artur Bergman

Crayfish
Originally uploaded by crucially
Crayfish and meatballs; all you need for a Kräftskiva!
Link2 comments|Leave a comment

Posted using LJ Talk (http://www.livejournal.com/chat/)... [Aug. 4th, 2008|08:28 am]
Artur Bergman
The internet has no Network Neutrality, never has. Get over it.
Link5 comments|Leave a comment

How to push Google Apps Domain to AT&T Blackberry [Aug. 3rd, 2008|03:26 pm]
Artur Bergman
[Tags|]

I noticed a while ago that my Google apps for your domain email wasn't pushed to the Blackberry at once. There was some debate on different forums on how to solve this, with the most credible one being to call AT&T, escalate to RIM and get them to mark your domain as a Google Domain.

However, the solution is simpler, just make sure that the highest priority MX is ASPMX.L.GOOGLE.com. and BIS will do the right thing. (At least for AT&T BIS).

(Usual reasons for this not being the case is if your domain is being filtered through something else.)
Link1 comment|Leave a comment

Help me choose! [Jul. 14th, 2008|12:48 pm]
Artur Bergman



iPhone?

Help me choose!

not buy

buy

Before you click, give us some idea of why you feel that way.

[Comments]

Doxory
LinkLeave a comment

navigation
[ viewing | 10 entries back ]
[ go | earlier/later ]