Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times

    Question Need some help...

    I was wondering if:

    I add all the bits of a string of binary and I divide by however many bits I have total, then round, do I get the average bit of the binary?

    So for 0:
    110000

    The average bit is 0. See what I'm going for?


    Thanks!

  2.  

  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Posts
    7,668
    Member #
    1234
    Liked
    142 times
    What are you trying to accomplish?

  4. #3
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times
    oh I've since then concluded that I was right about my hypothesis. The regularity of 0's and 1's in binary supports it.

    Thanks though!

    I'm building an extrapolator. It takes (or doesn't, ideally it will run off of constants and be fully automatic) input and generates output greater than the input that represents the input consistently. So like you could ask the computer a question and it would give you an answer. Currently it will answer with a 0 or a 1, and can answer with binary up to the binary given through the input (what the input is when translated to binary), and can even be incremented to somewhat be extrapolating, but still needs some work.

    So ultimately what I want is a content generator that would generate whole websites and any other output. Just have to figure out the patterns from here and apply them and I'm done!

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,865
    Member #
    5580
    Liked
    731 times
    Iím calling the NSA right now ... I think youíre an alien from another planet 🤪

  6. #5
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times
    Hahaha! Check this dude!

    If I take some string, lets say for simplicity an "a", and I break it down to average bits, so starting with the full binary value of "a":

    1100001
    110000
    11000
    1100
    100
    10
    0

    Now if I go back up from there!!

  7. #6
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times
    How do they make like lets say the letter "a"?

  8. #7
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,865
    Member #
    5580
    Liked
    731 times
    Lower case a: 01100001
    Lower case b: 01100010

    Same number of 1's and 0's

    So what is your point? You need all 8 bits to define the ASCII character set.


  9. #8
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times
    Yea but I mean what is the whole (yea its a little out of hand, but some are brave-hearted line of logic from 0 to the lowercase letter a? Like I made this script that goes:

    Dont be
    then figure out whether to use a or b (based on input already given ("Dont be "))
    menace.

    And it works! It correctly says "Dont be a menace.".

    Now what I want to do is extrapolate that whole process so it generates sentences, commands, etc. out of nowhere.

  10. #9
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,865
    Member #
    5580
    Liked
    731 times
    What programming language is all of this done with? PHP, C++, JAVA?


  11. #10
    Member
    Join Date
    Jan 2021
    Location
    Santa Barbara, CA, USA
    Posts
    63
    Member #
    62344
    Liked
    1 times
    Javascript (for no particular reason


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com