Open/Close


BJ 单身日记13—February

2009年8月2日 by goog

Thursday 9 February

9st 2 (extra fat presumably caused by winter whale blubber), alcohol units 4, cigarettes 12 (v.g.), calories 2845 (v. cold).

9 p.m. V. much enjoying the Winter Wonderland and reminder that we are at the mercy of the elements, and should not concentrate so hard on being sophisticated or hardworking but on staying warm and watching the telly.

This is the third time I have called Mum and Dad this week and got no reply. Maybe The Gables has been cut off by the snow? In desperation, I pick up the phone and dial my brother Jamie's number in Manchester, only to get one of his hilarious answerphone messages: the sound of running water and Jamie pretending to be President Clinton in the White House, then a toilet flushing and his pathetic girlfriend tittering in the background.

......................

Tags: BJ  单身日记13—February  

BJ 单身日记12—February

2009年8月2日 by goog

Sunday 5 February

Still no word from Daniel. Cannot face thought of entire Sunday stretching ahead with everyone else in the world except me in bed with someone giggling and having sex. Worst of it is, only a week and a bit to go till impending Valentine's Day humiliation. No way will I get any cards. Toy with idea of flirting energetically with anyone I think might be induced to send me one, but dismiss as immoral. Will just have to take total indignity on the chin.

Hmm. I know. Think I'll go and see Mum and Dad again as am worried about Dad. Then will feel like caring angel or saint.

......................

Tags: BJ  单身日记12—February  

BJ 单身日记11—February

2009年8月2日 by goog

Wednesday 1 February

9 st, alcohol units 9, cigarettes 28 (but will soon give up for Lent so might as well smoke self into disgusted smoking frenzy), calories 3826.

Spent the weekend struggling to remain disdainfully buoyant after the Daniel fuckwittage debacle. I kept saying the words, 'Self-respect' and 'Huh' over and over till I was dizzy, trying to barrage out, 'But I lurrrve him.' Smoking was v. bad. Apparently there is a Martin Amis character who is so crazily addicted that he starts wanting a cigarette even when he's smoking one. That's me. It was good ringing up Sharon to boast about being Mrs Iron Knickers but when I rang Tom he saw straight through it and said, 'Oh, my poor darling,' which made me go silent trying not to burst into self-pitying tears..........................

Tags: BJ  单身日记11—February  

BJ 单身日记10—JANUARY

2009年8月2日 by goog

Tuesday 24 January

Heaven-sent day. At 5.30, like a gift from God, Daniel appeared, sat himself on the edge of my desk, with his back to Perpetua, took out his diary and murmured, 'How are you fixed for Friday?'

Yessssssi Yessssss!

Friday 27 January

9st 3 (but stuffed with Genoan food), alcohol units 8, cigarettes 400 (feels like), calories 875.

Huh. Had dream date at an intime little Genoan restaurant near Daniel's flat.

'Um . . . right. I'll get a taxi,' I blurted awkwardly as we stood in the street afterwards. Then he lightly brushed a hair from my forehead, took my cheek in his hand and kissed me, urgently, desperately................................

Tags: BJ  单身日记10—JANUARY  

BJ 单身日记09—JANUARY

2009年8月2日 by goog

Sunday 15 January

9st (excellent), alcohol units 0, cigarettes 29 (v.v. bad, esp. in 2 hours), caloriess 3879 (repulsive), negative thoughts 942 (approx. based on av. per minute), minutes spent counting negative thoughts 127 (approx.).

6 p.m. Completely exhausted by entire day of date-preparation. Being a woman is worse than being a farmer there is so much harvesting and crop spraying to be done: legs to be waxed, underarms shaved, eyebrows plucked, feet pumiced, skin exfoliated and moisturized, spots cleansed, roots dyed, eyelashes tinted, nails filed, cellulite massaged, stomach muscles exercised. The whole performance is so highly tuned you only need to neglect it for a few days for the whole thing to go to seed. Sometimes I wonder what I would be like if left to revert to nature — with a full beard and ...............................

Tags: BJ  单身日记09—JANUARY  

BJ 单身日记08—JANUARY

2009年8月2日 by goog

Monday 9 January

9st 2, alcoholunits 4, cigarettes 29, calories 770(v.g. but at what price?).

Nightmare day in office. Watched the door for Daniel all morning: nothing. By 11.45 a.m. I was seriously alarmed. Should I raise an alert?

Then Perpetua suddenly bellowed into the phone: 'Daniel? He's gone to a meeting in Croydon, He'll be in tomorrow.' She banged the phone down and said, 'God, all these bloody girls ringing him up.'

Panic stricken, I reached for the Silk Cut. Which girls? What? Somehow I made it through the day, got home, and in a moment of insanity left a message on Daniel's answerphone, saying (oh no, I can't believe I did this), 'Hi, it's Jones here. I was just wondering how you are and if you wanted to meet for the skirt-health summit, like you said.'
........................

Tags: BJ  单身日记08—JANUARY  

BJ 单身日记07—JANUARY

2009年8月2日 by goog

Friday 6 January

5.45 p.m. Could not be more joyous. Computer messaging re: presence or otherwise of skirt continued obsessively all afternoon. Cannot imagine respected boss did stroke of work. Weird scenario with Perpetua (penultimate boss), since knew I was messaging and v. angry, but fact that was messaging ultimate boss gave self conflicting feelings of loyalty — distinctly un-level playing field where anyone with ounce of sense would say ultimate boss should hold sway.
................

Tags: BJ  单身日记07—JANUARY  

BJ 单身日记06—JANUARY

2009年8月2日 by goog

Thursday 5 January

9st 3 (excellent progress — 21b of fat spontaneously combusted through joy and sexual promise), alcohol units 6 (v.g. for party), cigarettes 12 (continuing good work), calories 1258 (love has eradicated need to pig out).

11 a.m. Office. Oh my God. Daniel Cleaver just sent me a message. Was trying to work on CV without Perpetua noticing (in preparation for improving career) when Message Pending suddenly flashed up on top of screen. Delighted by, well, anything — as always am if is not work — I quickly
..........................

Tags: BJ  单身日记06—JANUARY  

BJ 单身日记05—JANUARY

2009年8月2日 by goog

Wednesday 4 January

9st 5 (state of emergency now as if fat has been stored in capsule form over Christmas and is being slowly released under skin), alcohol units 5 (better), cigarettes 20, calories 700 (v.g.)

4 p.m. Office. State of emergency. Jude just rang up from her portable phone in flood of tears, and eventually managed to explain, in a sheep's voice, that she had just had to excuse herself from a board meeting (Jude is Head of Futures at Brightlings) as she was about to burst into tears and was now trapped in the ladies' with Alice Cooper eyes and no make-up bag. Her boyfriend, Vile Richard ................

Tags: BJ  单身日记05—JANUARY  

BJ 单身日记04—JANUARY

2009年8月2日 by goog

Tuesday 3 January

9st 4 (terrifying slide into obesity — why? why?), alcohol units 6 (excellent), cigarettes 23 (v.g.), calories 2472.

9 a.m. Ugh. Cannot face thought of go to work. Only thing which makes it tolerable is thought of seeing Daniel again, but even that is inadvisable since am fat, have spot on chin, and desire only to sit on cushion eating chocolate and watching Xmas specials. It seems wrong and unfair that Christmas, with its stressful and unmanageable financial and emotional challenges, should first be forced upon one wholly against one's will, then rudely snatched away just when one is starting to get .................

Tags: BJ  单身日记04—JANUARY  

BJ 单身日记03—JANUARY

2009年8月2日 by goog

11.45 p.m. Ugh. First day of New Year has been day of horror. Cannot quite believe I am once again starting the year in a single bed in my parents' house. It is too humiliating at my age. I wonder if they'll smell it if I have a fag out of the window. Having skulked at home all day, hoping hangover would clear, I eventually gave up and set off for the Turkey Curry Buffet far too late. When I got to the Alconburys' and rang their entire-tune-of-town-hallclock-style doorbell I was still in a strange world of my own — nauseous, vile-headed, acidic. I was also suffering from road-rage residue after inadvertently getting on to the M6 instead of the M1 and having to drive halfway to Birming-ham before I could find anywhere to turn round. I was so furious I kept jamming my foot down to the floor on the accelerator pedal to give vent to my feelings, which is very dangerous. I watched resignedly as Una Alconbury's

............................

Tags: BJ  单身日记03—JANUARY  

BJ 单身日记02—JANUARY

2009年8月2日 by goog

JANUARY

An Exceptionally Bad Start

Sunday 1 January

9st 3 (but post-Christmas), alcohol units 14 (but effectively covers 2 days as 4 hours of party was on New Year's Day),cigarettes 22, calories 5424.

Food consumed today:

2 pkts Emmenthal cheese slices

14 cold new potatoes

2 Bloody Marys (count as food as contain Worcester sauce and tomatoes)

1/3 Ciabatta loaf with Brie

Coriander leaves 1/2 packet

12 Milk Tray (best to get rid of all Christmas confectionery in one go and make fresh start tomorrow)

13 cocktail sticks securing cheese and pineapple

.....................

Tags: BJ  单身日记02—JANUARY  

BJ 单身日记01—New year's resolution

2009年8月2日 by goog

New year's resolution

I Will Not

Drink more than fourteen alcohol units a week.

Smoke.

Waste money on: pasta-makers, ice-cream machines or other culinary devices which will never use; books by unreadable literary authors to put impressively on shelves; exotic underwear, since pointless as have no boyfriend.

Behave sluttishly around the house, but instead imagine others are watching.

...............................

Tags: BJ  单身日记01—New  year's  resolution  

《Alice's Adventures In Wonderland》CHAPTER10by Lewis Carroll

2009年7月14日 by goog

The Mock Turtle sighed deeply, and drew the back of one flapper across
his eyes. He looked at Alice, and tried to speak, but for a minute or two sobs choked his
voice. `Same as if he had a bone in his throat,' said the Gryphon: and it set to work
shaking him and punching him in the back. At last the Mock Turtle recovered his voice,
and, with tears running down his cheeks, he went on again:--




`You may not have lived much under the sea--' (`I haven't,' said
Alice)-- `and perhaps you were never even introduced to a lobster--' (Alice began to say
`I once tasted--' but checked herself hastily, and said `No, never') `--so you can have no
idea what a delightful thing a Lobster Quadrille is!'




`No, indeed,' said Alice. `What sort of a dance is it?'




`Why,' said the Gryphon, `you first form into a line along the
sea-shore--'




`Two lines!' cried the Mock Turtle. `Seals, turtles, salmon, and so on;
then, when you've cleared all the jelly-fish out of the way--'




`THAT generally takes some time,' interrupted the Gryphon.




`--you advance twice--'




`Each with a lobster as a partner!' cried the Gryphon.




`Of course,' the Mock Turtle said: `advance twice, set to partners--'




`--change lobsters, and retire in same order,' continued the Gryphon.




`Then, you know,' the Mock Turtle went on, `you throw the--'




`The lobsters!' shouted the Gryphon, with a bound into the air.




`--as far out to sea as you can--'




`Swim after them!' screamed the Gryphon.




`Turn a somersault in the sea!' cried the Mock Turtle, capering wildly
about.




`Change lobster's again!' yelled the Gryphon at the top of its voice.




`Back to land again, and that's all the first figure,' said the Mock
Turtle, suddenly dropping his voice; and the two creatures, who had been jumping about
like mad things all this time, sat down again very sadly and quietly, and looked at Alice.




`It must be a very pretty dance,' said Alice timidly.




`Would you like to see a little of it?' said the Mock Turtle.




`Very much indeed,' said Alice.




`Come, let's try the first figure!' said the Mock Turtle to the
Gryphon. `We can do without lobsters, you know. Which shall sing?'




`Oh, YOU sing,' said the Gryphon. `I've forgotten the words.'




So they began solemnly dancing round and round Alice, every now and
then treading on her toes when they passed too close, and waving their forepaws to mark
the time, while the Mock Turtle sang this, very slowly and sadly:--



Tags: Alice's  Adventures  In  WonderlandCHAPTER10  

[9] OnLoad vs. Page_Load vs. Load event (OnLoad?Page_Load?还是Load事件?)

2009年7月14日 by goog

若想在Page加载时执行某些自定义操作,既可以覆写页面的OnLoad方法,也可以在默认的Page_Load中直接添加,还可以监听页面的Load事件,那么三者之间有什么区别呢?应该如何挑选呢?

本文就从性能、编程风格、代码一致性、是否面向对象等各个方面对上述三种方法进行了比较……

Tags: 9  OnLoad  vs.  Page_Load  vs.  Load  event  (OnLoad?Page_Load?还是Load事件?)  

[8] Adding Filter Action to FileUpload Control of ASP.NET 2.0 (给ASP.NET 2.0 FileUpload控件添加过滤功能)

2009年7月14日 by goog

所谓过滤功能,其实就是只允许上传某类扩展名的文件。不过实际上HTML中并没有此类内建的支持,因此若想实现此类功能,还是要靠客户端的JavaScript和服务器端自定义的验证逻辑配合。当然,个人感觉最好的方法还是使用专门的Flash上传控件。

Tags: 8  Adding  Filter  Action  to  FileUpload  Control  of  ASP.NET  2.0  给ASP.NET  2.0  FileUpload控件添加过滤功能  

[7] New Log Reporting, Database Management, and other cool admin modules for IIS 7 (IIS7的新模块:日志报表、数据库管理等)

2009年7月14日 by goog

不过实际上,我还是觉得从前的IIS 6界面比较顺眼,使用了IIS 7的时间也不短了,还是没有搞清楚某些功能在什么地方…………

Tags: 7  New  Log  Reporting  Database  Management  and  other  cool  admin  modules  for  IIS  7  (IIS7的新模块:日志报表、数据库管理等)  

[6] ASP.NET MVC Framework – Part 2: Testing (ASP.NET MVC框架:第二部分:测试)

2009年7月14日 by goog

似乎MVC框架中对测试的关注程度非常高,最近好多文章都在介绍这个东西。这篇文章也是一步步地给出了通常的使用方法,从为什么要测试到如何测试。

下面就是对某个Controller进行测试的代码:

[TestMethod]
public void AboutOverride()
{
HomeControllerForTest controller = new HomeControllerForTest();
................

Tags: 6  ASP.NET  MVC  Framework    part  2  Testing  (ASP.NET  MVC框架:第二部分:测试)  

[5] Using jQuery to Consume ASP.NET JSON Web Services (使用jQuery调用ASP.NET的JSON Web Service)

2009年7月14日 by goog

ASP.NET AJAX的客户端类库内建了对调用ASP.NET的JSON Web Service的支持,不过只要“模拟”出同样的请求,任何的JavaScript客户端类库都能够一样调用。

这篇文章就介绍了使用jQuery调用ASP.NET的JSON Web Service的方法,其实并没有任何技巧可言:

$(document).ready(function() {
$.ajax({
type: "POST",
url: "RSSReader.asmx/GetRSSReader",
beforeSend: function(xhr) {
xhr.setRequestHeader("Content-type",
"application/json; charset=utf-8");
},
dataType: "json",
success: function(msg) {
// Hide the fake progress indicator graphic
.............

Tags: 5  Using  jQuery  to  Consume  ASP.NET  JSON  Web  Services  (使用jQuery调用ASP.NET的JSON  Web  Service)  

[4] C# and VB .NET Libraries to Digg, Flickr, Facebook, YouTube, Twitter, Live Services, Google and other Web 2.0 APIs (调用Digg、Flickr、Facebook、YouTube、Twitter、Live Services、Google和其他Web 2.0 API的C#及VB.NET类库)

2009年7月14日 by goog

很多Web 2.0都提供了专门的API供其他程序调用,自然也有一些类库对这些API进行了封装。本文就列出了这样几个流行的Web 2.0网站的调用类库,例如调用Flickr,只要使用如下语法即可:

PhotosSearchOptions options = new PhotosSearchOptions();
options.Tags = "blue,sky";
options.Extras |= PhotoSearchExtras.DateTaken | PhotoSearchExtras.OriginalFormat;
Photos photos = flickr.PhotosSearch(options);

Tags: 4  C#  and  VB  .NET  Libraries  to  Digg  Flickr  Facebook  YouTube  Twitter  Live  Services  Google  and  other  Web  2.0  APIs  (调用Digg、Flickr、Facebook、YouTube、Twitter、Live  Services、Google和其他Web  2.0  API的C#及VB.NET类库)