K
K
Karina2014-11-15 00:48:38
Programming
Karina, 2014-11-15 00:48:38

Can you help me remember the programming language by the logo?

They get banned for such questions, but I can’t help myself. I forgot the name of the programming language and can't remember! I remember that I went through it on some resource. I don't remember which one! It's not udacity, it's not codeacademy, it's not edx, it's not programmr, it's not codeschool, it's not Khan academy... what else could it be? There was definitely Ruby and js - in short, few languages, but I liked the tasks, they were of high quality. It was summer and the project was just developing. I will be very grateful if you send more similar projects like codeacademy - I will find this course on them.
And now, in fact, the logo itself: a black and white picture, two dudes, one of whom is wearing a high hat. The style of the logo: skewed under the Middle Ages.
I never drank in my life.
Thanks everyone for the replies.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
T
tsarevfs, 2014-11-15
@iKapex

I wrote a python script that downloads pictures for the query "<language name> logo" from Google.

import os
import sys
import time
from urllib import FancyURLopener
import urllib2
import urllib
import simplejson


# Start FancyURLopener with defined version 
class MyOpener(FancyURLopener): 
    version = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11'
myopener = MyOpener()


def request(searchTerm, max_count):
  # Set count to 0
  count= 0
  searchTermQuote = urllib.quote(searchTerm + ' language logo', '')
  for i in range(0, 10):
      # Notice that the start changes for each iteration in order to request a new set of images for each loop
      url = ('https://ajax.googleapis.com/ajax/services/search/images?' + 'v=1.0&q=' + searchTermQuote + '&start=' + str(i*4) + '&userip=MyIP')
      print url
      request = urllib2.Request(url, None, {'Referer': 'testing'})
      response = urllib2.urlopen(request)

      # Get results using JSON
      results = simplejson.load(response)
      data = results['responseData']
      dataInfo = data['results']

      # Iterate for each result and get unescaped url
      for myUrl in dataInfo:
          count = count + 1
          print myUrl['unescapedUrl']

          searchTermSafe = ''.join([c for c in searchTerm if c.isalnum() or c == '.'])

          name = os.path.join('imgs', searchTermSafe + str(count) + '.jpg')
          myopener.retrieve(myUrl['unescapedUrl'], name)
          if count >= max_count:
            return


def main():
  languages_list = open('list.txt', 'r').readlines()
  for language in languages_list:
    try:
      request(language, 1)
    except:
      print "error with request" + language
    time.sleep(1)


if __name__ == '__main__':
  main()

He is currently working on a list of 256 languages.
UPD:
The only one that somehow fits the description of Rexx language:
rexxla.gif

S
Sergey Lerg, 2014-11-15
@Lerg

Maybe you have been to codility.com? I'll look for the logo now.

X
xmoonlight, 2014-11-15
@xmoonlight

I never drank in my life.
But you can't tell!)

D
Deodatuss, 2014-11-15
@Deodatuss

I didn’t drink and I don’t remember what I drank, these are different concepts)

S
Sergey, 2014-11-15
Protko @Fesor

The syntax would say more ... at least approximately in addition to what has been said.

M
MunGell, 2014-11-23
@MunGell

Whether it was a case Hexlet ? They even have a course on that book (SICP) using Scheme

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question