r/Python • u/rubickcz • Apr 04 '17
We started late, but we managed to leave Python footprint on r/place!
3
250
u/jerry_fuentes Apr 04 '17
slowclap.py
64
7
189
u/iluvstephenhawking Apr 04 '17
If you are ever googling python stuff and google asks if you are ready for an adventure, click yes. It is not a virus. It's a job interview.
85
u/CozMedic Apr 04 '17
one time I was playing around in google docs and found a "google drive" version of a code editor, similar to Atom. I was stupid and thought I could just find it later so I closed it and continued on my school work. Little did I know it was a interview type test.
58
u/InDirectX4000 Apr 04 '17
If you're talking about foobar, it's tied to your Google account and you can still access it once you're invited.
19
4
5
u/driscollis Apr 05 '17
I've gotten that two or three times. Sometimes you have to go to the second page of search results to activate it. The coding challenges are fun, but I don't want to work in California.
3
u/Ruditorres Apr 05 '17
I've been searching for stuff like this for years. Maybe it doesn't happen in countries like Mexico
2
u/iluvstephenhawking Apr 05 '17
All tech companies have international employees. But IDK what they are looking for exactly
3
5
u/Ruditorres Apr 04 '17
Did this happen to you? What where you searching for? Would love to get a shot at it
5
u/Liberatric Apr 04 '17
Searching about python list comprehension did it for me.
8
Apr 04 '17
I don't know what I'm missing, then... That query is somewhere between beginner and intermediate Python; you'd think they were looking for more advanced queries, potentially. Shit, I'm top 1% on StackOverflow (which doesn't mean much) and haven't ever seen this feature.
5
u/RubyPinch PEP shill | Anti PEP 8/20 shill Apr 05 '17
I'd suspect its a mix of regional and promotional
1
u/ZeeBeeblebrox Apr 05 '17
Definitely regional, I visited NYC and DC a bunch of times searching for Python related queries and never saw it and on a short trip to SciPy in Austin it popped up after the first query.
1
Apr 05 '17
You are joking right?
3
u/Liberatric Apr 05 '17
Nope, it was back when I was first picking up python. There I was learning stuff and poof, the invitation.
9
u/iluvstephenhawking Apr 04 '17
It did not happen to me. Sadly enough I can't tell SQL from R. It happened to my bf. He has a masters in stats and was working Data analytics for a bank. He just told me he was googling python stuff. He thought it was a virus so he said no then found out later. Well, no harm no foul. He landed a job at Amazon which is pretty good still. And Seattle doesn't have as high cost of living as silicon valley.
5
1
Apr 05 '17
There is a google office in Seattle
4
u/iluvstephenhawking Apr 05 '17
One of our friends just got a job at Google and he had to move to silicon Valley. He's paying $2400/month for his apt. I don't know what the different offices do but this would have been the same kind of job. In Seattle we're paying $1800 for 600 Sq ft a month which I think is crazy as well. The mortgage on our house in Texas was $1200 for 1900 Sq ft. It's all nonsense over there in the west.
1
0
Apr 04 '17
[deleted]
21
Apr 04 '17
I found it when I was searching for super() related concepts. Don't participate, fuck google.
7
3
1
u/iguessthislldo Apr 05 '17
It started to do that while I was typing in my next search and I didn't stop fast enough for it to stay on the page.
21
20
Apr 04 '17
One of the first automation scripts I saw for r/place was written in Python. So I'd say "we" left our footprint quite early. :)
12
11
11
11
Apr 04 '17
I've been self-studying Python on and off for about 4years. I just realized that this symbol is two snakes (assumingely pythons) on top of each other.
5
u/desmoulinmichel Apr 05 '17
3000 upvotes for that.
You have people working their ass off to create incredible things everyday here. They got a few dozen votes.
Jupyter notebook 5.0, most amazing tool ever, 35 votes.
Python Decorators, good tutorial on a complicted topic, 19 votes.
Sombody play the "I got a big dick too" game on an april fool event and he gets 3000 points.
Why are we helping people on our free time again ?
1
u/ZeeBeeblebrox Apr 05 '17
I spend about 20 hours of my own time a week maintaining open-source projects, but I honestly don't see the issue. Obviously a fun little exercise has much broader appeal, especially to people to r/all, than any specific OSS library or blog post.
1
u/desmoulinmichel Apr 05 '17
It's alright if it's just a temporary demonstration or exercice. We all did bots for fun at one time or another. Just be careful with blog posts like those: claiming you get followers from this will incitate others to do the same. Having 100 of bots hitting one service and drowning the real content behind automated beahavior really is a drag.
I get the appeal. I got offered 10 000 euros 2 months ago to work on a little project with "targetted newsletters" and it was tempting to accept. But eventually it's like littering, you gotta do your part if you want the place you live in to stay a nice place.
1
u/ZeeBeeblebrox Apr 05 '17
I think you may have replied to the wrong comment, you probably assumed my reply was about the instagram thread (funnily enough it makes sense in that context too, although I agreed with your admonishment about spamming).
1
1
u/KronktheKronk Apr 04 '17
shoulda left an exec command, just in case someone decides to run place through a python interpreter to see what happens
1
1
0
Apr 04 '17
[deleted]
16
Apr 04 '17
We had an annoying javascript version. I wish we'd used the python one.
13
u/rubickcz Apr 04 '17
The node.js solution was pretty good. There was not enough time to write custom efficient python script.
8
u/redalastor Apr 04 '17
I did use a Python script I took from 4chan and debugged it a bit. Not on the Python logo though.
6
Apr 04 '17
There was even a python-based 'botnet' version I saw that had a server and clients that polled for picture updates. People are quick. /r/wallstreetbet's biggest problem was user's copies of the bot conflicting with eachother.
4
u/redalastor Apr 04 '17
I did modify the script that way but mine was polling the sub's wiki for the latest picture.
2
Apr 04 '17
Ah, clever.
3
u/redalastor Apr 04 '17
Html unescape then regex out the json object based on knowing what the first key was.
Given that time was of the essence and that I would never have to maintain it, practicality did beat purity.
0
Apr 05 '17
[deleted]
1
u/redalastor Apr 05 '17
The biggest problem I had with mine was to make it easy for casual users to run. Installing Python and getting packages with pip was a hurdle for lots.
I could freeze it as a single executable but I want the source to be easy to inspect so people can check out I'm not stealing their credentials.
I don't know if someone has an idea to make the process easier.
0
1
u/LpSamuelm Apr 05 '17
My version did the same! I also separated the image color converter and the actual placer, so you could edit the image manually afterwards. Sadly, color distance algorithms don't always give the result that looks best to humans (as that's highly contextual).
1
u/knd775 Apr 06 '17
That's not necessarily true. The one we used at /r/SpaceX was pretty great. It fetched a json file from a central server to coordinate our projects and managed multiple logos/designs with different priorities.
1
u/rubickcz Apr 06 '17
But we started out only about 24 hours before it was over. You started creating spacex logo much earlier, according to the timelapse video.
1
1
u/sneakpeekbot Apr 06 '17
Here's a sneak peek of /r/spacex using the top posts of the year!
#1: SpaceX Interplanetary Transport System | 2857 comments
#2: The first stage has landed successfully on OCISLY! | 1251 comments
#3: I am Elon Musk, ask me anything about becoming a spacefaring civ!I'm a bot, beep boop | Downvote to remove | Contact ^^me | ^^Info | ^^Opt-out
1
u/LpSamuelm Apr 05 '17
I don't know about "the script" - I think there were a few out there. I wrote my own.
0
Apr 04 '17
[deleted]
0
u/shaantya Apr 05 '17
True.
1
u/Snowball_Europa Apr 05 '17
You had one job
1
u/shaantya Apr 05 '17
It was late, I thought it was funny.
2
u/Snowball_Europa Apr 05 '17
It was, but a fullstop ended it all
1
u/shaantya Apr 05 '17
I thought it helped the ambiguity, could've been a normal answer, could've been a python joke. It was a bad call. Bad full stop, bad;
6
u/rochacbruno Python, Flask, Rust and Bikes. Apr 04 '17
You can see the exact time when it has been added here: https://youtu.be/XnRCZK3KjUY?t=3m44s (right bottom below the Chelsea logo)