Author Topic: What the hell?  (Read 6372 times)

0 Members and 1 Guest are viewing this topic.

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
What the hell?
« on: January 03, 2007, 11:56:45 pm »
This is weird.  I saw this on another forum.  What you do is:

1. Open up Microsoft's Notepad

2. Type: Bush hid the facts

3. Save it

4. Reopen it

It comes out in little [][][][][][][][][][] things.  Why's that?  Tad strange?!

[Edit]
Nvm, I know why. 
http://www.hoax-slayer.com/bush-hid-the-facts-notepad.html

Still neat though!
« Last Edit: January 03, 2007, 11:58:39 pm by AntiVirus »
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Armin

  • Honorary Leader
  • x86
  • Hero Member
  • *****
  • Posts: 2480
    • View Profile
Re: What the hell?
« Reply #1 on: January 03, 2007, 11:58:55 pm »
It's a bug in notepad. I think it does it for just about any 4 word phrase, where the first word is 4 letters, second is 3, etc.
Hitmen: art is gay

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #2 on: January 04, 2007, 12:01:41 am »
Yeah, most sentences that follow: 4 3 3 5
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: What the hell?
« Reply #3 on: January 04, 2007, 12:09:19 am »
iago use the linux
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #4 on: January 04, 2007, 12:12:36 am »
iago use the linux
Looks like he is missing out on all the Windows fun!
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #5 on: January 04, 2007, 12:23:44 am »
I'm pretty sure this was posted on here before.  iago or someone articulated the reasoning behind it quite well, if I remember correctly.

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #6 on: January 04, 2007, 12:37:49 am »
I'm pretty sure this was posted on here before.  iago or someone articulated the reasoning behind it quite well, if I remember correctly.
Well la de da.  Didn't look for it.  I didn't recall hearing about it, so I assumed it wasn't already posted. :P
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #7 on: January 04, 2007, 12:43:49 am »
Well la de da.  Didn't look for it.  I didn't recall hearing about it, so I assumed it wasn't already posted. :P

I wasn't accusing you of anything; I was just making a somewhat tangential statement.  I didn't mean to be rude or condescending.

It very well could have been posted before you even registered here.

Offline Rule

  • x86
  • Hero Member
  • *****
  • Posts: 1588
    • View Profile
Re: What the hell?
« Reply #8 on: January 04, 2007, 02:59:44 am »
No, I remember it being posted here less than a year ago.  "Old" :P

Here's the link.
« Last Edit: January 04, 2007, 03:04:10 am by Rule »

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #9 on: January 04, 2007, 03:09:44 am »
Well damn, I was even here on these forums when that was posted!!  Looks like I am behind the times!  Well for those of you new people that didn't know, now you do! :D
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #10 on: January 04, 2007, 04:21:06 am »
No, I remember it being posted here less than a year ago.  "Old" :P

Here's the link.

Ah.  My sense of time on these sorts of things isn't that well established. :(

Offline disco

  • Full Member
  • ***
  • Posts: 212
  • Comfortably Numb
    • View Profile
Re: What the hell?
« Reply #11 on: January 04, 2007, 09:32:30 am »
THIS APP CAN BREAK

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What the hell?
« Reply #12 on: January 07, 2007, 08:26:12 pm »
Long story short: it's because of a bug when deciding whether or not a file is unicode.

And incidentally, it's not all about 4 3 3 5.  For example, "Bush hid the truth" doesn't work.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: What the hell?
« Reply #13 on: January 07, 2007, 08:51:25 pm »
Yeah, HABP.

I thought it was about detecting from the line ending, though.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Skywing

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • Nynaeve
Re: What the hell?
« Reply #14 on: January 07, 2007, 10:33:49 pm »
Long story short: it's because of a bug when deciding whether or not a file is unicode.

And incidentally, it's not all about 4 3 3 5.  For example, "Bush hid the truth" doesn't work.
It's not really a bug.  A heuristic is being used to guess whether a text file with no indication as to whether it is Unicode or not is probably Unicode.  As such, it's really just making an educated guess based on whether something is likely Unicode or not, and like most guesses, sometimes it gets it wrong.

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #15 on: January 08, 2007, 11:40:12 pm »
Long story short: it's because of a bug when deciding whether or not a file is unicode.

And incidentally, it's not all about 4 3 3 5.  For example, "Bush hid the truth" doesn't work.
It's not really a bug.  A heuristic is being used to guess whether a text file with no indication as to whether it is Unicode or not is probably Unicode.  As such, it's really just making an educated guess based on whether something is likely Unicode or not, and like most guesses, sometimes it gets it wrong.
And it doesn't learn from its mistakes either!  Sheesh. :P
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #16 on: January 09, 2007, 02:30:43 am »
And it doesn't learn from its mistakes either!  Sheesh. :P

If it could identify a mistake, there wouldn't be any...

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #17 on: January 09, 2007, 11:35:24 am »
And it doesn't learn from its mistakes either!  Sheesh. :P

If it could identify a mistake, there wouldn't be any...
....  It was a joke. :P

And there would be a mistake.  It would have to make atleast one mistake first before it learned from it.   That's how you learn from mistakes, you make them.
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #18 on: January 09, 2007, 01:05:52 pm »
....  It was a joke. :P

And there would be a mistake.  It would have to make atleast one mistake first before it learned from it.   That's how you learn from mistakes, you make them.

How's it going to learn from a mistake if it's unable to identify it?  That was my point. :P

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #19 on: January 09, 2007, 03:57:24 pm »
....  It was a joke. :P

And there would be a mistake.  It would have to make atleast one mistake first before it learned from it.   That's how you learn from mistakes, you make them.

How's it going to learn from a mistake if it's unable to identify it?  That was my point. :P
... My first post was about it identifying the mistake and then learning about it.. :P
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #20 on: January 09, 2007, 04:10:54 pm »
I don't know about you, but I'd hate to have to click "Yep, it's encoded correctly" every time I opened something with notepad. :P

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What the hell?
« Reply #21 on: January 09, 2007, 07:45:35 pm »
Hmm, I wonder if there's some way to fool it for longer text?

That might be useful for somebody who wants to raise the bar for viewing source on their website, since IE opens source in notepad. 

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: What the hell?
« Reply #22 on: January 09, 2007, 07:49:05 pm »
Hmm, I wonder if there's some way to fool it for longer text?

That might be useful for somebody who wants to raise the bar for viewing source on their website, since IE opens source in notepad. 

An interesting question... I'd guess it gets increasingly hard as the text it has to sample gets longer, though.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What the hell?
« Reply #23 on: January 09, 2007, 09:02:06 pm »
That's assuming they take the entire file as a sample.  Perhaps they take the first 1024 bytes, in which case it'd be much more possible.

Offline Skywing

  • Full Member
  • ***
  • Posts: 139
    • View Profile
    • Nynaeve
Re: What the hell?
« Reply #24 on: January 09, 2007, 09:23:27 pm »
That's assuming they take the entire file as a sample.  Perhaps they take the first 1024 bytes, in which case it'd be much more possible.
Notepad will use up to the first 1024 bytes in conjunction with IsTextUnicode (using all available tests).  Determining just what probabilities the tests use is left as an exercise for the reader.

Offline AntiVirus

  • Legendary
  • x86
  • Hero Member
  • *****
  • Posts: 2521
  • Best
    • View Profile
Re: What the hell?
« Reply #25 on: January 09, 2007, 10:23:17 pm »
I don't know about you, but I'd hate to have to click "Yep, it's encoded correctly" every time I opened something with notepad. :P
-.-;;

I mean the program had almost like AI or something. :P Might not be possible, but it'd be nice.
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus