Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: February 25, 2025, 1:58 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here's a simple programming problem for you to solve
#30
RE: Here's a simple programming problem for you to solve
(April 27, 2016 at 4:09 am)Little lunch Wrote:
(April 27, 2016 at 2:11 am)pool the great Wrote: No guys!  Not my homework!
I was just fascinated by the idea of inserting "abcdefghijklmnopqrstuvwxyz" as input- output all the result into a text file , then run my computer till I turn 40, and then I can open the text file and all the words in the dictionary and all the words that will be in the dictionary in the future will be in my text file. So technically, I'll have all the words anyone can ever make up -in my text file!!

@K, So when you look at it from the text files perspective, it's living in the past, present and the future simultaneously because all the words in the past, present and even the future is in the text file.. Tongue

Have you looked up the Library of Babel yet?
It's pretty cool.

Yes it's very cool! I actually made a program that does exactly that. If I run my program for a few minutes it'll contain names of everyone I know (not long names). It's just that my program create lots of duplications and isn't at the very least efficient,this means bigger text file size, longer time to open the file and even longer time to search inside the file for very little trade off.
I remember leaving my computer on without my mom knowing (a few years back when I first made this thing) and we went out. After some hours we returned and the text file size was some 6 GB, I was so glad but unfortunately I couldn't open a text file as big as that. Sad
Reply



Messages In This Thread
RE: Here's a simple programming problem for you to solve - by ErGingerbreadMandude - April 27, 2016 at 4:35 am

Possibly Related Threads...
Thread Author Replies Views Last Post
  Cryptocurrency in simple details. WinterHold 49 6083 September 10, 2021 at 11:02 am
Last Post: Spongebob
  Programming Language Swift Poll Shining_Finger 24 5339 December 2, 2015 at 7:21 pm
Last Post: bennyboy
  Programming Question Shining_Finger 8 1713 December 2, 2015 at 5:30 pm
Last Post: Tiberius
  Programming the Human Mind: Shining_Finger 21 5546 November 24, 2015 at 7:56 pm
Last Post: bennyboy
  Anyone into Android programming? emjay 97 22332 September 20, 2015 at 6:50 am
Last Post: bennyboy
  Advice Sought for Web Programming AFTT47 13 3971 April 4, 2015 at 10:41 pm
Last Post: bennyboy



Users browsing this thread: 3 Guest(s)