« first day (2314 days earlier)      last day (2858 days later) » 

20:06
I found a video on Youtube whose credits say "directed by [my coworker's full name]" and I'm trying to decide whether I should ask him about it.
The video isn't unseemly or anything, so I wouldn't expect him to lose face for being associated to it. But even so I feel like I shouldn't break the work/outside-of-work barrier without prior consent.
Might make a new friend? What's the worse that could happen..
wim
wim
wow, you are timid
The worst that could happen? A meteor strikes the earth, eradicating all life.
The worst that could happen, directly caused by my own actions? [coworker] surreptitiously strangles me in order to keep his secret directing passion a secret.
@Kevin If I were you, I wouldn't bring it up/ask him. If you really are curious and care about it, then maybe ask... but personally I would just leave it at that
The worst thing that is actually likely to happen? He says "why are you watching Youtube videos at work?"
20:15
Oh no, that's not good. Who would always correct me?! Why don't you drop a hint and see if [coworker] goes "Oh yea, i made a video"...
@wim I am the master of overthinking.
He's probably watching youtube right now.
there is insufficient data for a meaningful answer
I showed him the video. He says "No, but I bet I'm related to him"
The video could, in principle, have been filmed in the general area. It contains both trees and flat ground, which is what South Jersey is 95% comprised of.
wim
wim
@MarcusS there is AS YET insufficient data for a meaningful answer
20:28
@wim Mighty big assumption there!
anyways was going to ask, are you 100% sure it's even him, as opposed to someone with the same/similar name, etc
He didn't show up on camera but a director doesn't necessarily need to so it doesn't prove anything either way
Oh sugar puffs, i wrote a new bit of code but didn't document it so i've forgotten how to use it.
DSM
DSM
I once met two people in the same crowd of friends both named Penner. They looked almost identical, and I naturally assumed they were brother and sister. Thought I was being pranked when they said it wasn't true. Turned out to be a complete coincidence, other than the fact that a lot of Mennonites are named Penner, and for various reasons I know more Mennonite families than is typical.
something something rock people
enervated recbg
Between my jobs/internships and high school, I know or have known about nine Dans. I'm pretty sure no other name came close to that frequency.
20:40
In one year at school there were 5 sams
I don't think I met any Dans in college, though.
Ofc names don't occur in even distributions, so
they don't even occur in distributions
I could lamely backpedal and say something about geographic distribution, but we both know that's not what I originally meant.
Let's see... Daniel was the 8th most popular name for boys born in 1988 in the US. The fact that I don't know 9+ Michaels Christophers Matthews Joshuas Andrews Davids or Justins remains unexplained.
Ooh, nice, my own name squeaks in at #20. Underdog appeal.
"This does not work in the Nintendo 3DS browser." https://t.co/NGAxHFfcsi
Web development is suffering.
20:47
hey guys
I know this question sounds silly - but in german we say: there is no dumb question
@PomeGranate sure there is, but go ahead
in english we say that too...unless it is a dumb question, then we say, mate, that's a dumb question.
"(There's) no such thing as a stupid question" is a popular phrase that has had a long history. It suggests that the quest for knowledge includes failure, and that just because one person may know less than others they should not be afraid to ask rather than pretend they already know. In many cases multiple people may not know but are too afraid to ask the "stupid question"; the one who asks the question may in fact be doing a service to those around them. == Opinions == === There are no stupid questions === Carl Sagan, in his work The Demon-Haunted World: Science as a Candle in the Dar...
I have to do my bachelor thesis about finding people - specific person on the net with parameters like: eye color, hair color, living place, ...
ATTENTION now the dumb part: I wanted to crawl some 1000 facebook users public profiles
now the dumb question: HOW do I do that? 🙈
You're not even the first person in here today that wants to crawl facebook pages.
20:50
did you really have to all caps 'attention' ?
Also read Facebook's API is a good starting point
yea because I yelled
@MooingRawr hm you know, when you use the API, you only can get datas from users, who use your fb app
@PomeGranate You do that by looking up how to scrape websites. Then you do it enough times until you get blocked by doing something that Facebook probably doesn't want you to do.
Is that a problem? you never specify what pages you want to crawl, so i assumed...
and I want just to go to my own profil and get my friendslist (500 user) and start do download their profiles ( with another logged in user => I only want the public data)
What are you having difficulty with?
did you start this?
20:52
@MooingRawr I want to craw User profiles but public data
Also, typically websites that have an API that have high volume of visitors like Facebook, typically don't like scraping
also how are you going to pull eye color and hair color? are you going to pull display pictures and "image analyse' them ?
@idjaw there are tools which you can use - but do you know a library for crawling? the problem is: how can I make a correct request to fb, with logged in user
I can tell you facebook has a limit on bot request... even through their api, hence you should go read it .
(Assuming we're dead-set on web scraping and not using an api or something) First, you need to get the html of the page. urllib.request.urlopen is one such way. Next, you need to parse the html into a form you can navigate. The BeautifulSoup library is one such way. Then you need to extract the desired data from that structure. There's probably not going to be any step-by-step tutorial for this part, since it varies hugely based on the structure of the page.
20:54
did you look up python webcrawlers on The Google
But you can probably piece things together from the BeautifulSoup documentation. Selecting page elements with particular properties, etc etc
@MooingRawr first I want to get the images from fb, than I want to use some algorithms , maybe there is also API's (microsoft face api) which you can use to get meta data from images
Seems like you know how to research and google things, I'm surprised you didn't research on 'ways to scrape facebook using Python' first before coming to us. That's what baffles me, did you try something before coming to us ?
It gets more complicated if you need special credentials to access the page. It gets more complicated if the page content is dynamically loaded with asynchronous javascript. It gets more complicated if the page's host doesn't like people crawling their page, and takes steps to prevent it from happening.
@MooingRawr to be honest, I googled a bit (but not with the word python) I'm not a python programmer, but I know that python guys love doing things with data hehe ... and I wanted to know if that is even possible or not, maybe someone has already done something like that - just want to discuss thx
@Kevin it sounds impossible
20:59
Anything is possible. There are scrapers and crawlers for Python
If you don't know Python and aren't familiar with some of the libraries out there, you should probably do some more diving
If a human can do it, in principle a computer can do it. It's not about what's possible, but what's practical. The limiting resource here is not the power of the computer, but the willingness of the programmer to continue in the face of frustrating obstacles, both external (people trying to stop you) and internal (insufficient knowledge)
I have already done simple crawling with node.js or php, but wasn't sure how to make fb believe that you are a logged_in user
I also don't know how to do that. I'm going to guess... Cookies.
@Kevin I have 360hours for this project
wim
wim
As my school teacher used to say, "there's no such thing as a stupid question, only stupid people"
21:01
Careful, the cookie monster might hear you.
Yes Python is good at scraping, Some Python users love to scrape and data collect. Yes you can try to "trick" facebook to say your script is a user. I doubt you would be 100% successful though, maybe enough to get a few request in before you get locked out. Point being is there are ways to do it, and you should try it and then ask questions when your resources from your research is used up...
@wim but then stupid people asking a question is what? Is it a stupid person asking a good question?
@PomeGranate "maybe someone has already done something like that", actually, probably there has been. Facebook is pretty much the most popular site to scrape. But that doesn't necessarily mean it will be easy to find that code. Maybe try searching on github. (or would that be a violation of their TOS? Hmm)
@Kevin there are a few module that I remember coming across on github, I don't remember the names... though...
Has SO had an update? I don't remember seeing a bar and the icons look different
21:06
Yes there has.... Orange.... xD a new Nav bar and filter question.
Ooh, nice. I would of noticed before but I got annoyed when finding a question i could answer and someones already answered it 2 seconds before
rbrb
 
2 hours later…
23:36
So i finally messed with that code you sent me and compared it to mine and it doesn't seem to work as intended, some ships aren't spawning correctly. I was never having problems with my x-y co-ordinates(at least from what tests I ran, not claiming to be right) I was having problems with the correct guessed co-ords not being removed from the list. Here is my code if anyone is interested in looking at it http://pastebin.com/MRz9Xyj7

Please remember this is a codeacademy extra credit thing and it's only on lists and loops, so I don't have knowledge of more advanced techniques, though I am not
23:59
I believe I have figured it out now, thanks for looking, now to just keep moving on to the next broken logic/code till it works. Feel like I've been working on this forever, like I'm taking more time than it should.

« first day (2314 days earlier)      last day (2858 days later) »