2008-10-31 18 views
11

मेरे दोस्त को यह मुफ्त Google वेबसाइट अनुकूलक टीशर्ट दिया गया था और सामने आया लोगो का मतलब जानने और समझने के लिए मेरे पास आया था।संभावित Google पहेली?

t-shirt

तो, मैं करने के लिए के रूप में अनुमान के एक जोड़े इसका क्या मतलब है, लेकिन मैं सिर्फ अगर इसमें कुछ न कुछ है सोच रहा था।

मेरा पहला अनुमान यह है कि प्रत्येक ब्लॉक पृष्ठ लेआउट का प्रतिनिधित्व करता है, और लोगो "आपको इसका परीक्षण करना चाहिए" का मतलब है कि आपको सबसे अच्छा लेआउट देखने के लिए Google वेबसाइट ऑप्टिमाइज़र का उपयोग करना चाहिए। मुझे उम्मीद है कि यह जवाब नहीं है, यह सिर्फ सरल और असंतुष्ट लगता है।

ठीक है, मैंने पिछले घंटे बिताए हैं कि क्या कोई गहरा अर्थ है, लेकिन इसका कोई फायदा नहीं हुआ है। तो, मैं उम्मीद कर रहा हूं कि कोई मदद करने में सक्षम हो।

मैंने हालांकि यह देखने के लिए एक प्रोग्राम लिखा था कि ब्लॉक बाइनरी में कुछ दर्शाते हैं या नहीं। मैं नीचे कोड पोस्ट करूंगा। मेरा कोड ब्लॉक को 4 बिट्स के रूप में पढ़ने के हर क्रमपरिवर्तन का परीक्षण करता है, और फिर अक्षरों, हेक्स और आईपी पते के रूप में इन बिट्स को समझने की कोशिश करता है।

मुझे उम्मीद है कि कोई बेहतर जानता है।

#This code interprets the google t-shirt as a binary code, each box 4 bits. 
# I try every permutation of counting the bits and then try to interpret these 
# interpretations as letters, or hex numbers, or ip addresses. 

# I need more interpretations, maybe one will find a pattern 

import string 

#these represent the boxes binary codes from left to right top to bottom 
boxes = ['1110', '1000', '1111', '0110', '0011', '1011', '0001', '1001'] 

#changing the ordering 
permutations = ["1234", "1243", "1324", "1342", "1423", "1432", 
       "2134", "2143", "2314", "2341", "2413", "2431", 
       "3124", "3142", "3214", "3241", "3412", "3421", 
       "4123", "4132", "4213", "4231","4312", "4321"] 

#alphabet hashing where 0 = a 
alphabet1 = {'0000':'a', '0001':'b', '0010':'c', '0011':'d', 
      '0100':'e', '0101':'f', '0110':'g', '0111':'h', 
      '1000':'i', '1001':'j', '1010':'k', '1011':'l', 
      '1100':'m', '1101':'n', '1110':'o', '1111':'p'} 

#alphabet hasing where 1 = a 
alphabet2 = {'0000':'?', '0001':'a', '0010':'b', '0011':'c', 
      '0100':'d', '0101':'e', '0110':'f', '0111':'g', 
      '1000':'h', '1001':'i', '1010':'j', '1011':'k', 
      '1100':'l', '1101':'m', '1110':'n', '1111':'o'} 

hex  = {'0000':'0', '0001':'1', '0010':'2', '0011':'3', 
      '0100':'4', '0101':'5', '0110':'6', '0111':'7', 
      '1000':'8', '1001':'9', '1010':'a', '1011':'b', 
      '1100':'c', '1101':'d', '1110':'e', '1111':'f'} 

#code to convert from a string of ones and zeros(binary) to decimal number 
def bin_to_dec(bin_string): 
    l = len(bin_string) 
    answer = 0 
    for index in range(l): 
     answer += int(bin_string[l - index - 1]) * (2**index) 
    return answer   

#code to try and ping ip addresses 
def ping(ipaddress): 
    #ping the network addresses 
    import subprocess 

    # execute the code and pipe the result to a string, wait 5 seconds 
    test = "ping -t 5 " + ipaddress 
    process = subprocess.Popen(test, shell=True, stdout=subprocess.PIPE) 

    # give it time to respond 
    process.wait() 

    # read the result to a string 
    result_str = process.stdout.read() 

    #For now, need to manually check if the ping worked, fix later 
    print result_str 

#now iterate over the permuation and then the boxes to produce the codes 
for permute in permutations: 
    box_codes = [] 
    for box in boxes: 
     temp_code = "" 
     for index in permute: 
      temp_code += box[int(index) - 1] 
     box_codes.append(temp_code) 

    #now manipulate the codes using leter translation, network, whatever 

    #binary 
    print string.join(box_codes, "") 

    #alphabet1 
    print string.join(map(lambda x: alphabet1[x], box_codes), "") 

    #alphabet2 
    print string.join(map(lambda x: alphabet2[x], box_codes), "") 

    #hex 
    print string.join(map(lambda x: hex[x], box_codes), "") 

    #ipaddress, call ping and see who is reachable 
    ipcodes = zip(box_codes[0:8:2], box_codes[1:8:2]) 
    ip = "" 
    for code in ipcodes: 
     bin = bin_to_dec(code[0] + code[1]) 
     ip += repr(bin) + "." 
    print ip[:-1] 
    #ping(ip[:-1]) 
    print 
    print 

t-shirt

+0

छवि के लिए लिंक: http://2.bp.blogspot.com/_iQVgmEEAit4/SPkKHA3e8fI/AAAAAAAAAB8/ugUerJjuBw8/s1600-h/GWO-tshirt.jpg –

+0

आप रंग बात नहीं मानते हुए लगते हैं। मैं नहीं करूंगा –

+0

एक निश्चित स्थिति में एक ब्लॉक में हमेशा एक ही रंग होता है ... किसी भी मौके पर यह डिज़ाइन सिर्फ/dev/random की उपज है? – Artelius

उत्तर

15

मैं वेबसाइट अनुकूलक टीम ईमेल कर दी, और उन्होंने कहा कि "वहाँ कोई रहस्य नहीं है कोड, जब तक आप मिल है :)।"

2

क्या होगा यदि इसका कोई मतलब नहीं है, तो क्या होगा यदि यह सिर्फ एक साफ डिजाइन है जिसके साथ वे आए हैं?

+0

यह भी एक अच्छी संभावना है, और अगर इसका कोई मतलब नहीं है तो मैं क्षमा चाहता हूं। लेकिन यह एक शॉट के लायक है। Google पहेलियों के साथ आना पसंद करता है। – esiegel

5

मुझे लगता है कि Google सिर्फ अपने बिंदु घर को चलाने की कोशिश कर रहा है - यहां एक ही पृष्ठ के विभिन्न प्रस्तुतियों का एक समूह है, उनका परीक्षण करें, देखें कि कौन सा सर्वोत्तम है।

आपको कौन सा ब्लॉक सबसे अच्छा लगता है?

+0

यह मामला सबसे अधिक संभावना है। मैं बस सुनिश्चित करना चाहता था। – esiegel

0

ठीक है, मैं एक तत्काल पैटर्न नहीं देख सकता। लेकिन यदि आप आईपी का परीक्षण कर रहे हैं, तो क्यों न केवल दो बाइनरी संख्या के रूप में 4 ब्लॉक लेते हैं।

5

मुझे लगता है कि यह बस एक डिज़ाइन, कुछ भी गुप्त, या रहस्यमय नहीं है।

+0

हाहाहा, यदि यह सच है तो सवालकर्ता पूछेगा :) –

1

इसे कहते हैं: "आप करीब हो रही है"।

+0

आप इसके साथ कैसे आए? –

+0

एक धोखेबाज और भी भयानक! –

0

शायद यह आधार 4 नोटेशन है?

मैं कोशिश करता हूं, लेकिन मेरे पास इसका कोई दृष्टिकोण नहीं है।

संबंधित मुद्दे