A Little Help, Please

Discussion in 'Software' started by Paxton007, Oct 26, 2012.

  1. Paxton007

    Paxton007 MajorGeek

    I've been looking at this for nearly a year now trying to figure out what it is. I think it's some kind of primitive computer language, but I can't decipher it. Any help would be great!

    Thank you.
     

    Attached Files:

  2. GermanOne

    GermanOne Guest

    Last edited by a moderator: Oct 26, 2012
  3. GermanOne

    GermanOne Guest

    Edit: Looks like 5bit Baudot Code. In that case your example begins with "BEHIND TUBBIES".
    Doesn't sound like programming ;)
     
  4. pwillener

    pwillener MajorGeek

    Punch tape was rarely used for programming; mostly for storing / transferring data.

    Telex also used punch tape; messages were entered onto the tape, then the tape was used to transmit the message.

    In the 60's and 70's, before computer terminals and PCs became common, punch cards were used for data entry, including programming.
     

    Attached Files:

  5. pwillener

    pwillener MajorGeek

    P.S. this is how punch tape looked like.
     

    Attached Files:

  6. Paxton007

    Paxton007 MajorGeek

    Thank you for your help. You're right about it not being "programming" but I was thinking that it was written in a computer language I couldn't find a cipher for. It was part of a geocache (geocaching.com) puzzle, and with your start I was able to decode the rest.

    Thank you!

    By the way, is there a simulator online? I'd like to make one of these puzzles now as well, haha.
     
  7. GermanOne

    GermanOne Guest

    You're welcome.

    Of course I already knew where to find the film can but I thought it was not fair to fully solve your puzzle ;)

    It seems there is no online converter that can provide any image format. That's the best I was able to find:
    http://ff-solutions.lu/text-converter/#text-ita2
     
  8. GermanOne

    GermanOne Guest

    I was kinda bored today (cold and rainy in Germany :(). So I wrote a small example that uses the (HTML5) canvas and its toDataURL() method to get an image from the canvas element.

    Save as *.HTML :-
    PHP:
    <!DOCTYPE html>
    <
    html dir="ltr" lang="en-US">
      <
    head>
        <
    meta charset="utf-8">
        <
    title>Text to Baudot-Murray</title>
        <
    script type="text/javascript">
          <!--
          
    "use strict";
          var 
    bFig falsearr = [], 0dim 12;
          var 
    aPatterns = [
            [
    118000/* A - */, [108011/* B ? */, [018110/* C : */, [108010/* D */,   [108000/* E 3 */,
            [
    108110/* F ! */, [018011/* G */,   [008101/* H */,   [018100/* I 8 */, [118010/* J */,
            [
    118110/* K */,   [018001/* L ) */, [008111/* M . */, [008110/* N , */, [008011/* O 9 */,
            [
    018101/* O 9 */, [118101/* Q 1 */, [018010/* R 4 */, [108100/* S */,   [008001/* T 5 */,
            [
    118100/* U 7 */, [018111/* V */,   [118001/* W 2 */, [108111/* X / */, [108101/* Y 6 */,
            [
    108001/* Z " */, [008100/* space */, [118111/* shift letters */, [118011/* shift figures */];
          var 
    sPool 'ABCDEFGHIJKLMNOPQRSTUVWXYZ -?:3!8().,9014572/6"';
          var 
    aIndex = [012345678910111213141516171819202122232425260124581011121314151617192022232425];

          function 
    drawrect(ctxw) {
            
    ctx.fillStyle '#FFFBBB';
            
    ctx.fillRect(00, (1) * dimdim);
          }

          function 
    drawcirc(ctxiXiYr) {
            
    ctx.beginPath();
            
    ctx.arc((iX 1) * dim, (iY 1) * dimr0Math.PIfalse);
            
    ctx.fillStyle 'black';
            
    ctx.fill();
          }

          function 
    addArray(arrPatternbIsFig) {
            if (
    bFig!==bIsFig) {
              if (
    bFig) {
                
    arr[x] = aPatterns[27];
              } else {
                
    arr[x] = aPatterns[28];
              }
              
    bFig = !bFig;
              ++
    x;
            }
            
    arr[x] = arrPattern;
            ++
    x;
          }

          function 
    convert() {
            var 
    cij;
            var 
    str document.getElementById('txt').value.toUpperCase();
            var 
    len str.length;
            var 
    cac document.getElementById('canvascontainer');
            var 
    imc document.getElementById('imgcontainer');
            
    cac.innerHTML '';
            
    imc.innerHTML '';
            if (
    len) {
              for (
    0i<leni++) {
                
    str.charAt(i);
                
    sPool.indexOf(c);
                if (
    j<0) {
                  
    alert('Character "' '" is not supported!');
                  
    arr.length 0;
                  break;
                } else if (
    j<26) {
                  
    addArray(aPatterns[aIndex[j]], false);
                } else if (
    j===26) {
                  
    addArray(aPatterns[aIndex[j]], bFig);
                } else {
                  
    addArray(aPatterns[aIndex[j]], true);
                }
              }
            }
            
    len arr.length;
            if (
    len) {
              var 
    ca document.createElement('canvas');
              
    ca.setAttribute('id''canvrect');
              
    ca.setAttribute('width', ((len 1) * dim).toString());
              
    ca.setAttribute('height', (dim).toString());
              
    cac.appendChild(ca);
              var 
    ctx ca.getContext('2d');
              
    drawrect(ctxlen);
              for (
    0i<6i++) {
                for (
    0j<lenj++) {
                  if (
    i===2) {
                    
    drawcirc(ctxji2);
                  } else {
                    if (
    arr[j][i]===1) {
                      
    drawcirc(ctxji4);
                    }
                  }
                }
              }
              var 
    im document.createElement('img');
              
    im.setAttribute('src'ca.toDataURL("image/png"));
              
    im.setAttribute('alt''PNG image');
              
    imc.appendChild(im);
            }
            
    bFig false;
            
    arr.length 0;
            
    0;
          }

          function 
    focustxt() {
            
    document.getElementById('txt').focus();
          }

          function 
    enter(evt) {
            var 
    charCode;
            if (
    evt && evt.which) {
                
    charCode evt.which;
            } else if (
    window.event) {
                
    evt window.event;
                
    charCode evt.keyCode;
            }
            if (
    charCode===13) {
                
    convert();
            }
          }
          
    // -->
        
    </script>

        <
    style type="text/css">
          <!--
          
    body {
            
    color black;
            
    background-color #1188FF;
            
    font-family Tahomasans-serif;
            
    font-size 10pt;
            
    margin 10px 20px 10px 20px;
          }
          
    div {
            
    height 100px;
          }
          
    #canvascontainer {
            
    visibility hidden;
            
    position absolute;
          }
          
    h2 {
            
    text-align center;
          }
          
    input {
            
    color black;
            
    font-family Tahomasans-serif;
            
    font-size 10pt;
            
    padding-left 10px;
            
    padding-right 10px;
          }
          
    #run {
            
    background-color #CCCCEE;
            
    font-weight bold;
          }
          -->
        </
    style>

      </
    head>
      <
    body onload="focustxt()">
        <
    div id="canvascontainer"></div>
        <
    h2>Text to Baudot-Murray</h2><hr>
        <
    h4>Enter your text:</h4>
        <
    p><input type="text" id="txt" size="150" onkeypress="enter(event)"></p>
        <
    p><input type="button" id="run" value="Convert" onclick="convert()"></p><hr>
        <
    h4>Baudot-Murray punched tape:</h4>
        <
    div id="imgcontainer"></div><hr>
      </
    body>
    </
    html>
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds