Meet the Other Phone. A phone that grows with your child.

Meet the Other Phone.
A phone that grows with your child.

Buy now

Please or to access all these features

Site stuff

Join our Innovation Panel to try new features early and help make Mumsnet better.

See all MNHQ comments on this thread

Hidden space - a hole in the MN time/space continuum?

306 replies

BecauseImWorthIt · 05/11/2009 21:50

I have noticed that in long
posts, suddenly there appears a rogue space.

Is this a secret door into the wonderful world of MNHQ, or something more mundane to do with the arcane world of coding?

Look:

[b iscuit]

[bi scuit]

[bis cuit]

[bisc uit]

Hoping it's worked ....

OP posts:
VulpusinaWilfsuit · 06/11/2009 22:03

aristo

you need longer sentences/words

try 100, 200, 300 characters before hitting return

and yes mnhq do know

snigger · 06/11/2009 22:08

Is this some sort of e-Magic Eye poster?

Because I never got them, either.

aristocat · 06/11/2009 22:11

gotta try again............aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrgggggggggg ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!

thanks

caramelwaffle · 06/11/2009 22:12

"By nannynick Fri 06-Nov-09 21:49:32

So my theory is that our posts are stored as a collection of individual words... not as a complete sentence. Well that's my theory, if you understood it... not even sure I understand my own theory!"

nannynick, somebody up above said click on page and choose "view source".

I right clicked on the page and chose "view page source".

This will show you the text/word and code breakdown for this thread.

I think I understand what you and BCNSback were explaining now.

caramelwaffle · 06/11/2009 22:14

....and bastian and others

caramelwaffle · 06/11/2009 22:17

god. I so wanted it to be The Matrix

caramelwaffle · 06/11/2009 22:18

sniff

VulpusinaWilfsuit · 06/11/2009 22:21

Exactly. Back away now while you still can imagine you're on X Files

asuwere · 06/11/2009 22:24

this is very strange... I kinda understand the explanations about the wrapping code thingy but WHY doesn't Ineedacleaner not get any spaces?!

asuwere · 06/11/2009 22:25

oops, that meant why doesn't Ineedacleaner get any spaces?! Mysterious 'not' got added

snigger · 06/11/2009 22:28

There just aren't enough biscuit emoticons in the world, sometimes.

caramelwaffle · 06/11/2009 22:34

Ineedacleaner keeps falling in the gaps doesn't appear to be pressing return before the end of line, but letting the text run and run.

IneedacleanerIamalazyslattern · 06/11/2009 22:41

I fall through the gaps all the time
000000000000000000000000000000000000000000001
000000000000000000000000000000000000000000001
0000 00000000000000000000000000000000000000001
000000000000000000000000000000000000000000001
0000000000 00000000000000000000000000000000001
000000000000000000000000000000000000000000001
0000000000000000 00000000000000000000000000001
000000000000000000000000000000000000000000001
0000000000000000000000 00000000000000000000001
000000000000000000000000000000000000000000001
0000000000000000000000000000 00000000000000001
000000000000000000000000000000000000000000001

Deadworm · 06/11/2009 22:44

Are these The Rules?

If you don't use any hard returns the site usually relies on spacebar-imposed spaces to generate line breaks.

If you don't use the spacebar, the site imposes a line break after every 100 unspaced characters.

If you have not used any hard returns then this rule will result in a neat block of 100-character-wide text.

If you have used hard returns, then the code that the site has used to enforce the linebreak is superfluous since the text will break where you have told it to. But that coding still generates a space, which will appear in a manner that is apparently random but is in fact dictated by the 100-character rule.

It doesn?t look like it is gernerated every 100 charaters because the space itself counts as 4 invisible characters (i.e. the characters ??)

SherryMerryLennipillar · 06/11/2009 22:44

Just
when
I
was
going
to
go
to
bed
for
the
night
I
came
in
here
and
fell
into
a
black
hole,
now
did
it
work?

bastian · 06/11/2009 22:44

@nannynick, the sad emoticon (when the square brackets are added) is five characters which 100 is a whole number of, biscuit on the other hand (with the ]s) is 8 characters which doesn't divide into 100 nicely.

There is a forced LFCR (new line) between your sad faces but is easier to miss than the forced LFCR on your row of biscuits.

The problem is due to the order of operation of formatting the text in posts. What I would expect to happen is that the content is saved to the database in the rawest format possible (as typed but cleansed etc), it would then be the responsibility of the code to handle the text to display it to ensure the formatting is as desired.

The obvious solution would be to wrap after replacing the emoticons with images (this would be my recommended approach, but then who am I)

SherryMerryLennipillar · 06/11/2009 22:45

Dammit

bastian · 06/11/2009 22:51

@Deadworm, the rouge spaces are infact two characters when viewing them from the "view source", a hex 10 and a hex 13. They don't count in to 100 as they're the sentinel character sequence (or termintator) indicating an end of line for word wrapping. The s are being added after the line wrapping is being done, you can tell this because the rows with s in them have a number of characters more which are a whole number multiple of the number of s in that line.

Deadworm · 06/11/2009 22:55

There are hexes too? It is way beyond me. The rouge spaces are on my shamed cheeks:

EinsteinBentLight · 06/11/2009 22:56

wow i have a busy day and you lot have solve the problem and constructed the solution. Does big tech need to come back now? I still say that should they let mn loose on the world it would solve the world crisis .

VulpusinaWilfsuit · 06/11/2009 22:57

Oh look: a shiny thing over there...

bastian · 06/11/2009 23:02

The Hex 10 and the Hex 13 are CRLF or Carriage Return and Line Feed which what people have been referring to as the "hard return". No black magic sorry.

nannynick · 06/11/2009 23:03

where... where...

caramelwaffle · 06/11/2009 23:04

what bastian said

look V wilf - a shiney penny

nannynick · 06/11/2009 23:06

So that's CRLF is 0001 0000 0001 0011 I think.