Buying Clone http://weheartit.com for $2,300usd

Discussion in 'Programming' started by Manald, Feb 26, 2014.

  1. #1
    Anyone can clone http://weheartit.com using Python and PostgreSQL? Will pay you $2,300usd to a simple version of weheartit.com.

    Before we hire you, you will need to prove that you know Python by answering this question:

    What does this piece of code do?
    img_src.extend(['/%s' % f for f in glob.glob('static/tmp/'+`pin_id`+'.*.png')])


    PM me if you want to work on this project!

    -Ormus
     
    Manald, Feb 26, 2014 IP
  2. easyolcash

    easyolcash Well-Known Member

    Messages:
    304
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    Digital Goods:
    1
    As Seller:
    100% - 11
    As Buyer:
    100% - 0
    #2
    I don't know about python, but it's iterates through the folder to create a list of png images path with names based on 'pin_id'.

    And I am sure img_src is a variable containing a list of images path that need to be extended or inserted into the list above.

    Hope it help you, even just a little. May be someone else with decent knowledge would help you better.
     
    easyolcash, Feb 26, 2014 IP
  3. Javed iqbal

    Javed iqbal Well-Known Member

    Messages:
    445
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Hi,

    Do you need this site only python or any other tool ?

    Thanks
     
    Javed iqbal, Feb 26, 2014 IP
  4. HowDoYou

    HowDoYou Well-Known Member

    Messages:
    443
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    130
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    HowDoYou, Feb 26, 2014 IP
  5. Javed iqbal

    Javed iqbal Well-Known Member

    Messages:
    445
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    I am asking do you need this in another tool like php and mysql
     
    Javed iqbal, Feb 26, 2014 IP
  6. website1337

    website1337 Active Member

    Messages:
    65
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    68
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Yeah I wonder the same since I could build this with php and mysql. I don't have any experience with python.
     
    website1337, Feb 26, 2014 IP
  7. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    I can do this with wordpress in less than a few hours and cheaper by orders of magnitude. Then you are not stuck with a stand alone solution someone else coded.

    Its not much fun trying to figure out what someone else was doing if things go south with the dev.

    Nigel
     
    Nigel Lew, Feb 26, 2014 IP
  8. Javed iqbal

    Javed iqbal Well-Known Member

    Messages:
    445
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    Below is answer -- This is my friend python developer if you want to hire him let me know
    img_src.extend(['/%s' % f for f in glob.glob('static/tmp/'+`pin_id`+'.*.png')])

    assuming values for variables:
    img_src = ['a', 'b', 'c']
    pin_id = 123

    assuming the directory statuc/tmp/123 has these files:
    alpha.jpeg
    beta.png
    gamma.png

    the above will change img_src to be:
    ['a', 'b', 'c', '/statuc/tmp/123/beta.png', '/statuc/tmp/123/gamma.png']
     
    Javed iqbal, Feb 26, 2014 IP
  9. nside26

    nside26 Well-Known Member

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #9
    img_src is a list of images, and this piece of code adds new elements to that list. The elements themselves are relative URI's from files that match 'static/tmp/PIN_ID.*.png glob (aka shell expansion).
     
    nside26, Feb 27, 2014 IP
  10. sonupatil

    sonupatil Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    Hey,
    Do you still have this requirement open ?
    Though I dont work in python, I can clone weheartit.com for you in .NET or Java or PHP. Let me know if you are still looking for it via PM.
     
    sonupatil, Feb 27, 2014 IP
  11. Bahman

    Bahman Member

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    I don't know about python but if you're willing to do this with php I will do it for you in the perfect way with much less than money you offered . It not a difficult job. I'll send you my samples job if you're interested .
     
    Bahman, Mar 2, 2014 IP