u/PasswordIsTaco - 2 Archived Voat Posts in v/programming
u/PasswordIsTaco
  • home
  • search

u/PasswordIsTaco

0 posts · 2 comments · 2 total

Active in: v/programming (2)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: Come up with the most inefficient, poorly written, and complex way to print out "Hello World!".

I have thought of a horrible way to do it, but it would take so long to test that I can't really write it. Basically, continually calculate Pi, converting each digit into binary, then look for the binary representation of 'hello' and then do it all again for 'world'. Then take those indexes, and generate pi again to get to that index, and print the ascii representation of that part. Stupid and inefficient? Most definitely!

They'll be in there somewhere (and here's the locations: hello and world). If you remove the space and punctuation, you'd be looking a LOT longer (exponentially longer, I imagine ;) ). It's not in the first 4 billion digits.

Capitalisation and punctuation while looking for the exact string would probably turn this into something that takes longer than your lifetime.. I don't know.

5 16 Jul 2015 20:55 u/PasswordIsTaco in v/programming
Comment on: MenuetOS, an operating system written entirely in assembly, hits 1.0

I love little niche OSs like this. Good on them!

2 15 May 2015 22:35 u/PasswordIsTaco in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.