Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Stuff Disappears

The whole page is:

Niki9 writes:
One thing that's helped me stay awake if I'm starting to get sleepy when I drive... fresh air. Turn that air conditioner off & open the window if the gum chewing, soda drinking, music-playing isn't doing it for you.

Also, sometimes listening to music I find slightly annoying helps to keep me up. I know it's strange to do something to purposely make your trip less pleasant, but at least it isn't as unpleasant as being woken up by the lamp post you just drove into in your sleep.

Of course, ideally it's better to sleep and just drive when you don't have to resort to such tactics to stay awake, but situations aren't always ideal.



Niki - Normally I'd agree with you about opening your windows, and I did this quite a bit driving between NYC and New Paltz every weekend a few years ago, but the Carolinas are hot and sticky, even in the evenings. I think I was in Virginia - at night - before I felt anything approaching cool, refreshing air.

I have "fond" memories of driving at 4am with the window wide open, listening to Hole's Live Through This and chewing gum.


Tomos Wise from England writes:
Re: "Long Distance Driving Trips" - I am learning to drive at the moment and all that sort of stuff is yet to come, but the one thing that is a definite no-go are things that take your eye/mind off the road (excessively loud music, TV, cell-phones, walkie talkies whilst driving etc.) I can imagine that driving 3,000 miles is not the most exciting thing to do in one go - I'm sure it's all worth it when you get there, but the main objective IS TO ACTUALLY GET THERE, and not wipe-out half way there!
I agree with everything else you say though.


Tomos - Mihaly Csikszentmihalyi postulates that there's something he calls "flow" and other people refer to as "the zone" where the brain sort of steps out of the picture and it seems as if you're acting without thinking. I'm sure as a bass player, this is a familiar feeling to you. I think loud music can help faciliate "zone driving" where you're not actively conscious of what you're doing, but you are alert. As long as you're conscious of your speed, and not so far gone that an odd situation won't snap you back, I think loud music is OK.

Being constanly conscious of what you're doing is very tiring, which is what makes nighttime driving so stressful.

Fiddling with the radio dial, on the other hand, especially when tired is a big no-no. You can spend 10 or more seconds looking at that thing before you realize your eyes aren't on the road.


Akilesh writes:

Hi there. Read your article on long-distance driving: nice tips. I'd like to add that when I went cross-country, I found that audiobooks were a godsend. I found that my local library had lots of good, long, mindless-fun type books, so you don't have to pay $50 or whatever high amount the bookstore wants to charge you. I remember picking up some short stories by Stephen King and The Janson Directive by Robert Ludlum. Fun stuff.


Akilesh. Yeah, books on tape are great. I'm actually surprised it wasn't already on my list.

This is how I consume ALL of my fiction. The DaVinci Code was good, a "page turner" and you may learn something too. The Sue Grafton ABC Mystery stuff is good. Memoirs of a Geisha was great. Midnight In the Garden of Good & Evil also. The abridged Warlord series by Bernard Cornwell. A Girl's Guide to Hunting And Fishing. Vurt was great, if you can find it. The Hitchhikers Guide To The Galaxy!!!!!!!!!!!!!!!! Lolita. Avoid The Ya Ya Sisterhood, and The Founding Fathers.. zzzz those will put you to sleep.

Get a selection before you go, you never know which ones will be good.
Monday, June 21, 2004

But it always cuts off just after the:


I don't know why. Is it the HR tag? I can't go into the source, save it, or even publish it without everything below that disappearing.
Monday, June 21, 2004

Hi Mark
Have you tried to reference =) by their character numbers instead of just typing them in?

Jorgen B.
Monday, June 21, 2004

hr {
    height: 1px;
    size: #1px;
    background-color: #999999;
    color: #999999;

Notice the # in front of 1px in the size attribute.  I'm not sure if this causes your problem, but it does relate to the hr element.

joel goldstick
Monday, June 21, 2004

When I go into the source, the "missing" text simply isn't there. Searching for "NYC" or "Normally" fails, and a manual read of the wrapped text confirms it is missing, at least as far as my browser is concerned. (It does contain the closing HTML tag, so it's not a partial download...)

R Tate
Tuesday, June 22, 2004

Oh I think you mean CityDesk is cutting it off (from the article body?) sorry

R Tate
Tuesday, June 22, 2004

Long shot: It may be that you have a non-valid character in there that something in the system is choking on. If you haven't already done this, go through the standard debug process: remove all the blank-looking characters before your missing text, and see what happens.

David Walker
Tuesday, June 22, 2004

Well, removing every HR tag & all the white space around them, then manually putting them back in seemed to work.

Anyway, here is the page I was copying & pasting from:

It's the full version and it seems to work. When I copy from this file in to the temp file I created, that whole problem happens again.

Deleting the first HR and surrounding text makes that part OK, and then it's the second HR is where things cut off again. I know once I put an HR tag in the code I copy & paste it because there is no easy way in CityDesk to create an HR in the WYSIWYG, so the same HR tag was copied all over the place - it or something near it must have the offending code/character.

But a peek at the source doesn't turn up any odd characters. At least not the way it renders in Notepad.

So, I can fix it, but I still don't know what makes it break in the first place.
Thursday, June 24, 2004

Nice to see you got the problem to go away.  Weird one!  How about putting the hr snippet in a variable?  Then, if you come across this strangeness again, you could just fiddle around with the precise text in the variable.

Do you switch between normal and wysiwyg editing mode?  Could this have been something that relates to how citydesk tries to clean up the code when it goes to wysiwyg mode?

joel goldstick
Thursday, June 24, 2004

I dunno. It was probably something that happened when copying/pasting from my email program into CityDesk. This stuff was in the 'Sidebar' so it was by default WYSIWYG. It was when I tried to copy it in to a body & view the source that the problems began.
Tuesday, June 29, 2004

*  Recent Topics

*  Fog Creek Home