?

Log in

No account? Create an account
Shevek's Journal [entries|friends|calendar]
Shevek

[ website | Anarres ]
[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

[22 Dec 2010|02:15pm]
I have been trying to send text messages to various people in the UK, but I think they're getting lost, because the US SMS providers are all monkeys. Sorry. I'll keep chasing the trouble tickets. I might have to do a survey: Name, number, provider, since they're routing some 3 numbers to Vodafone right now.
3 comments|post comment

[16 Dec 2010|12:19am]
*bounce* The glitter is wearing off. I think I will fix that on Friday.
4 comments|post comment

[14 Dec 2010|01:27am]
Well.

I now live in Rainbow Mansion, with a phenomenal bunch of housemates and my first night here was an air of total madness. I both suspect and hope it goes on like this.

Today was amazing at work. I don't think I've had that much fun for months. My brane is full.

Other than that ... well, the weather's OK. The car's fun. And I spent a little of my evening playing backgammon with a nice lass, good player, in a pub in Palo Alto.
7 comments|post comment

[11 Dec 2010|03:45pm]
Hug me if you like glitter.

Please note, all your friends will know you have hugged me.

Go on, ask me how.
12 comments|post comment

[05 Dec 2010|02:54pm]
On a plane flying over Seattle, reading LiveJournal and watching the latest BBC news. Modern technology. You can buy anything by the hour. Well, that was always true, after a fashion.
2 comments|post comment

[01 Dec 2010|08:18pm]
I need to be put down.

ExecutorService queue = Executors.newSingleThreadExecutor();
...
queue.submit(... boot actions ...);
queue.submit(... boot actions ...);
...
queue.submit(new Runnable() {
  public void run() {
    if (!EventQueue.isDispatchThread()) {
      EventQueue.invokeLater(Runnable.this);
      return;
    }
    .... // post-boot gui actions, e.g. setStatus("OK");
  }
});
3 comments|post comment

[25 Nov 2010|02:31pm]
We have derived the axioms of Java OutputStreams. They are far more subtle than they appear.


  • Any OutputStream must be safe against double-close.
  • Any buffering I/O layer must flush before close IF the close is not a no-op or double-close.


The options are:


  • Double-close is invalid.
  • The user is required to flush a buffer before close.


The interesting question is:

May flush() throw an IOException if the stream is closed, even if there is no buffered data to send?

The two axioms above make this question answerable either way. It doesn't matter. If you're closing, close all underlying streams you have access to, even if you then go on to close a network layer which has pointers to inner/filtered streams within them; it will be safe.
2 comments|post comment

[13 Nov 2010|12:07am]
Please can someone translate into polite but clear Spanish a phrase which approximates, "Please clean the bathroom but do not tidy or organize the bedroom." If there's a convenient justification available for such a clause, I'll take it too.

Thank you all!
12 comments|post comment

[12 Nov 2010|02:07pm]
I have done a really stupid thing, and bought a car with only two seats, made by a respectable German firm of engineers.

The funniest statement of the process had to be when the salesman said "This gentleman seems to be under the impression that he can buy a car with a credit card."

In the end, I did.

Oh well. All these roads, and nowhere to drive.
24 comments|post comment

[31 Oct 2010|12:45pm]
The weather application on my phone offered me "featured weather" - New York, as it happened. Is this just in case I find some better weather than my local weather? And if so, can I download it?
2 comments|post comment

[29 Oct 2010|05:57pm]
Brain benders for Java, just for fun.

A Java-1.5 loop iterator may be declared final.

An empty statement is legal, but an unreachable empty statement is not.

if (false) does not create unreachable code.

And some less exciting but annoying ones:

A method with a parameterized return type is treated as raw if the static type of the object is raw, even if the parameter of the return type is independent.
8 comments|post comment

[29 Oct 2010|12:03am]
I accidentally a Justin Bieber concert.

It was next door to the fencing club.

Later, while trying to sneak quietly into the house without waking anybody up, I fell over a guitar.

Also, something of the old circus is coming back to me. "You've been a wonderful audience, thank you and goodnight." is not the normal sign-off from a technical presentation.
post comment

[27 Oct 2010|10:32am]
The MUD returns.
2 comments|post comment

[26 Oct 2010|03:13am]
I didn't have time to tell everybody. If you're looking for pink, it's now orange. Everything else is as-was.
17 comments|post comment

[26 Oct 2010|02:11am]
Both I and some of my luggage are safe in the USA. Why this matters more on this trip than any previous, I don't know, but there it is. Perhaps I'll be more informative and inventive later.

This trip, I was not deemed to be a terrorist. However, I have brought my section 7 notice from last trip so we can all have a good laugh.
1 comment|post comment

[25 Oct 2010|12:56pm]
I woke up with a hangover, and whiskers drawn on my face. People spent the rest of the day telling me what I did. None of it will be repeated here[0]. I've been uncommunicative for a few days, and the above only excuses one of them. I spent the rest of them trying to clear the house I've lived in for 14 years. I failed.

I am now in a restaurant in Heathrow's new terminal 5. The terminal is OK, except for the lack of departure boards. They've clearly thought a few things out. I hear they even do luggage, these days.

[0] This is a statement of fact, which is like a kind of suggestion or hint with consequences.
7 comments|post comment

[19 Oct 2010|04:05pm]
I called BT this morning and asked them to transfer an account. I was told that the only way to change the account holder was to cease and reprovide - that is, close the account and open a new one, which brings a 5-day downtime; or to do a line takeover, which changes the number. Neither option is really acceptable.

I inquired of the operator what happened when my grandfather passed away and his line magically came into my father's name.

She asked me how long ago it was, and I answered "Oh, about 10 years, but I'm fairly sure people are still dying now."

"That's different. I'm not going to get into that," was her response.

I think this is called a decease and reprovide.
6 comments|post comment

[19 Oct 2010|12:09am]
Last night was amazing, thank you all! *bouncy happy meep*
18 comments|post comment

[15 Oct 2010|04:32pm]
When I got on the plane in New York, the world was such a serene and wonderful place. When I landed in Bristol 6 hours later, somebody called "pedobear" had gotten the all-time high scores on all the in-flight puzzle games.
5 comments|post comment

[14 Oct 2010|03:40pm]
I guess it's official. As previously suggested, and barring malicious acts and personal foul-ups, I will be in the Pembury from something a little after lunch on Sunday for a sort-of going-away do.

I'm quite excited about this now. I'm looking forward to seeing you all!

I may try to give away possessions.

Eastbound red-eye from NY isn't nearly long enough to sleep, even with an empty row.
24 comments|post comment

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