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:
caramelwaffle · 07/11/2009 00:11

01101000 01100001 01110010 00100000 01100100 01100101 00100000 01101000 01100001 01110010

EinsteinBentLight · 07/11/2009 00:05

!

VulpusinaWilfsuit · 06/11/2009 23:49

Fuck me. It is like a Bloke Nerd Breeding Sanctuary now.

"Finally, someone to talk binary to..." has to go on your tombstone I feel.

nannynick · 06/11/2009 23:48

For those wondering, I used ASCII to Binary / Binary to ASCII on TheSkull.com to translate the phrase to binary.

nannynick · 06/11/2009 23:45

Trust me to get it wrong.

Or in our language:
01010100011100100111010101110011011101000010000001101101011001010010000001110100
0110111 1001000000110011101100101011101000010000001101001011101000010000001110111
0111001001101111011011100 110011100101110
(without any CR/LF the browser decides to display in that binary sequence)

bastian · 06/11/2009 23:12

@nannynick, finally someone to talk binary to, except CRLF would be 00001101 00001010, I see what you did though, you split the two bytes into four half bytes and then interpreted each digit into each half byte. What you've said would be hex 8, hex 11 which is backspace and a "vertical tab".

nannynick · 06/11/2009 23:06

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

caramelwaffle · 06/11/2009 23:04

what bastian said

look V wilf - a shiney penny

nannynick · 06/11/2009 23:03

where... where...

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.

VulpusinaWilfsuit · 06/11/2009 22:57

Oh look: a shiny thing over there...

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 .

Deadworm · 06/11/2009 22:55

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

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.

SherryMerryLennipillar · 06/11/2009 22:45

Dammit

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: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?

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 ??)

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

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.

snigger · 06/11/2009 22:28

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

asuwere · 06/11/2009 22:25

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

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?!

VulpusinaWilfsuit · 06/11/2009 22:21

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

caramelwaffle · 06/11/2009 22:18

sniff