GHOSE & CO.

Independent illustrator, Lazy photographer, and Paid researcher
I amResearchIllustrationsSubjects

Python: Abstract Programming - Combinations

List all the combinations of “n” integers from a given list (array) of length n where each modified integer can only only be the original’s neighbor (+1 and -1) and the total sum remains same.

def subset_sum(numbers, target,partial=[],metap=[]):
    s = sum(partial)

    # check if the partial sum is equals to target
    if s == target: 
    metap.append(partial[:])
    if s >= target:
        return metap # if we reach the number why bother to continue

    for i in range(len(numbers)):
        n = numbers[i]
        remaining = numbers[i+1:]
        subset_sum(remaining, target, partial + [n],metap) 
    return metap

if __name__ == "__main__":
    inar = [4,3,7] #given
    sumo = sum(inar)
    combo = []
    for inare in inar:
    combo.append(inare-1)
    combo.append(inare)
    combo.append(inare+1)
    metp =subset_sum(combo,sumo)
    for mete in metp:
    if len(mete) == 3:
        diffo = [abs(a_i - b_i) for a_i, b_i in zip(inar, mete)]
        if all(element==0 or element==1 for element in diffo):
        print mete

Used codes from StackOverflow

Credit Card Inspiration on Dribbble

This is a good collection of credit card design inspirations found on Dribbble. They belong to their respective copy-right owners. All of them do not offer download and use, please respect such limitations.

https://dribbble.com/shots/1501021-Credit-Card

https://dribbble.com/shots/800689-The-Big-Four

https://dribbble.com/shots/619684-Credit-Card-Icons

https://dribbble.com/shots/1512103-Credit-Card-Icons

https://dribbble.com/shots/884215-Pay-me

https://dribbble.com/shots/962228-Free-Credit-Card-Icons

https://dribbble.com/shots/282294-Candlejack-Stocks

https://dribbble.com/shots/861169-Credit-Cards-Wave-Apps

https://dribbble.com/shots/1041711-Credit-Card-GIF

Lies

TheMiddleClass

…
Ink / Soft Pastel
…
© 2014

Lies

TheMiddleClass


Ink / Soft Pastel

© 2014

Song from Ek Villain

A just married Indian Army couple bids each other before going to assignments. By Poulomi Basu (via Portraits)

A just married Indian Army couple bids each other before going to assignments. By Poulomi Basu (via Portraits)

Chaandaniya to barse Phir kyun mere haath andhere lagde ne

(Source: soundcloud.com)

The Escapist
(Pitambar Ghatak Lane, Kolkata 27)

My illustration series “City of Lost Hope" is inspired by the emptiness of the city of Kolkata and its people. Due to a conservative and restrictive left regime for more than thirty consecutive years, the back-bone of this ‘vibrant and enriched’ city was completely destroyed. The shattered economic growth, apathy to change anything, obstruction to all kinds of development, negligence to urban psychology, unconstitutional support to minority groups, and generic politicizing of all aspect of life took Kolkata to a  phase of thoughtlessness and oblivion. With the end of left rule, a large number of people expected the end of the dark period of monotony, but unfortunately this change was just political, except the colours and shape of the baton, all the things remain same.

Illustrations from this series are mostly from my memory from my college and university life - 2001 to 2006 (as well as enriched by some photographs in newspaper, article, online or offline). This are mostly drawn on A4 sized crape paper, scanned and digitally manipulated. I use a large variant of colours including inks (gel and fountain), water colours, acrylics, oil pastels, dry pastels. In this series, I’ve tried to restrict myself in duotone.
…
Water colour, ink
…
© 2014

The Escapist
(Pitambar Ghatak Lane, Kolkata 27)

My illustration series “City of Lost Hope" is inspired by the emptiness of the city of Kolkata and its people. Due to a conservative and restrictive left regime for more than thirty consecutive years, the back-bone of this ‘vibrant and enriched’ city was completely destroyed. The shattered economic growth, apathy to change anything, obstruction to all kinds of development, negligence to urban psychology, unconstitutional support to minority groups, and generic politicizing of all aspect of life took Kolkata to a phase of thoughtlessness and oblivion. With the end of left rule, a large number of people expected the end of the dark period of monotony, but unfortunately this change was just political, except the colours and shape of the baton, all the things remain same.

Illustrations from this series are mostly from my memory from my college and university life - 2001 to 2006 (as well as enriched by some photographs in newspaper, article, online or offline). This are mostly drawn on A4 sized crape paper, scanned and digitally manipulated. I use a large variant of colours including inks (gel and fountain), water colours, acrylics, oil pastels, dry pastels. In this series, I’ve tried to restrict myself in duotone.

Water colour, ink

© 2014

Kolkata -700012
Gokul Boral Street, North of Kolkata
….
Pencil and Ink
….
© 2014

Kolkata -700012
Gokul Boral Street, North of Kolkata
….
Pencil and Ink
….
© 2014

Glamours Days of Air Travel - A Revisit

insyncmag:

Dutch photographer Arthur Mebius created a series of photos focused on the subject of airline advertisements from the ‘60s and ‘70’s –

when air travel was glamorous, thrilling and sexy.

The photographs combine hyperrealism competing with the artificial. The obvious set design forms a…

(Source: syncmag)

Our lasting relationships center around the unique qualities and perspectives we all possess. We call it personality. Through our personalities, we express the entire gamut of human emotion. Personality is the mysterious force that attracts us to certain people and repels us from others. …

personality greatly influences our decision-making process

AARRON WALTER on Personality in Design · An A List Apart Article
Inside Chilapata Forest Range

© 2014

Inside Chilapata Forest Range

© 2014

You're still the source of the post, they can't remove that. Peoples Urls at the bottom of posts are very very annoying Anonymous

ilanawexler:

If you think that, you can spend hours and hours and hours making your own posts or you can unfollow me, because I think it is ‘very very annoying’ to see one of my posts get popular only to click on it and see that 90% of the people who saw it never saw my url. Believe it or not, I make posts for myself and so I can gain followers! I gain less followers when someone removes my url from the post, and this is even more true now that we have mini-profiles.

And they aren’t ‘peoples urls’, it is one url, the url that took the time to create the post.

Project Hope Alliance - My Life. (by Pigeon Road)