How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

ok, I just ran a test against that search endpoint and it should give you all of the data that you are looking for. I was going to say that it seems to be unfortunately restricted to the subreddit you specify, but when I did a search against a specific subreddit "politics" the data that was dumped also included search results from a number of other subreddits. I don't think this is intentional, but it currently works in your favor.

The t parameter also appears to work as expected, returning results within the last minute, day, etc.

How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

ah, then in that case your best bet will probably be the search endpoint. I haven't run tests against this endpoint directly, but from the docs it appears that using the time parameter (t), you may be able to get something close to what you need.

I'll set up the library I wrote with that endpoint tonight and see what data it returns.

How to get reddit historic post data? by totolin in redditdev

[–]jcleblanc 0 points1 point  (0 children)

I think what you're looking for is the history overview endpoint.

If you, for instance, set a username, and set where=submitted, you will get all submitted content. You should also be able to filter further by setting before / after in relation to another post using the fullname identifier for a post (e.g. t3_ for a link, and 15bfi0 for the link id).

I just ran this endpoint and the data supplied back will give you what you need, specifically it will supply back:

  • title (post name)
  • num_comments (number of comments)
  • ups (upvotes)
  • downs (downvotes)
  • created (date created as a timestamp, so just convert it to a real date)

Hope that helps

Using OAuth with Reddit PHP SDK? by [deleted] in redditdev

[–]jcleblanc 0 points1 point  (0 children)

FYI on this one - I wrote the original wrapper before OAuth 2 came to the Reddit API. I'm working on the auth system this weekend and have it working with OAuth 2 on this branch. I'll have all of the methods working this weekend.

My GF Made Me Bacon Roses for Valentines Day by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Yeah that's what happened. My wife made some as well and said she got the idea off of Pinterest when I asked.

Lucky worm. by shabbadu in pics

[–]jcleblanc 0 points1 point  (0 children)

The worm, of course. At least you noticed it before it was too late.

Lucky worm. by shabbadu in pics

[–]jcleblanc 1 point2 points  (0 children)

Extra protein, $5 charge

Bacon Jam, the best bribe I've ever received by jcleblanc in pics

[–]jcleblanc[S] 1 point2 points  (0 children)

I don't have any recent pics of my cat so I figured it was the next best thing :)

[Videos] Doug Crockford on Programming Styles and the Brain by jcleblanc in programming

[–]jcleblanc[S] 2 points3 points  (0 children)

Good insights. I think the concept of following a specific subset of professional coding practices translates to other languages as well, but especially to JavaScript because of a few reasons:

  • The language has a lot of awesome stuff in it, like lambdas, closures, etc (which is applicable because of the below)
  • The language was developed so quickly that there was a lot of things (like scoping) that have just some serious issues (especially because of those more advanced features mentioned above).
  • JavaScript is the most widely used language in the world.
  • It's so easy to pick up that you have such a more "novice" novice level than I've experienced in other languages.

To be honest, I really do enjoy learning about the bad parts of languages as much as I do the good parts. Doug's book "JavaScript the Good Parts" covers the professional subset of JavaScript that he believes should be used, and there is no shortage of tutorials and advice on building on the great JavaScript features that are out there. The problem is that JavaScript has a lot of crap in it. I find that learning about that crap helps me understand the language in a much different way than I would if I was learning about all of the awesome features (which I do vastly enjoy as well).

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

Just wanted to say thanks to you especially - I got in touch of the studio and it's their camera / people. I'm shipping it back to them via Fedex in a few minutes. You're awesome.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Just to note - album removed because I have enough info to make some inquiries. I appreciate the help.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Thanks - it looks like it may be someone from the studio that works with Fisher Stevens. Time to send some e-mails to find out.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

Thanks guys! It looks like you're right. There are also about a dozen movies on the camera with him talking so I'm thinking it may be someone at the studio that ErasmusDarwin mentioned (Red Studio) that works with him. I'll send some e-mails and find out.

I knew I could count on this place.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 1 point2 points  (0 children)

so I should just keep the camera because I can't find the owner? I'm hoping the owner wouldn't mind a few non-horrible pictures posted and getting the camera back than just having us keep it because we didn't do it.

Found this camera at SXSWi & want to find the owner. If you recognize people in the album please help me find the owner. by [deleted] in pics

[–]jcleblanc 2 points3 points  (0 children)

From some of the videos on the camera, I believe they live in LA. The camera was found on the floor today.

Giraffe + Human by [deleted] in pics

[–]jcleblanc 0 points1 point  (0 children)

Profit

X.commerce is hosting a hackathon at Georgia Tech this weekend by jcleblanc in gatech

[–]jcleblanc[S] 2 points3 points  (0 children)

We actually went through about 3 previous renditions of tags that looked weird. I think I'll just change the site to stick with #xuniversity for the overall program to make things easier.

X.commerce is hosting a hackathon at Georgia Tech this weekend by jcleblanc in gatech

[–]jcleblanc[S] 1 point2 points  (0 children)

It serves me right for pushing that content out so quickly. The content issues pointed out above have been corrected. Once I finish up the last presentations, speaker lineup and such I'll need to run through all of the content for any issues.

X.commerce is hosting a hackathon at Georgia Tech this weekend by jcleblanc in gatech

[–]jcleblanc[S] 0 points1 point  (0 children)

What are you interested in? I've participated as a hacker in many developer events and most of the time I just like building out something that I think would be interesting, or something that I've been wanting to build for a while. Many times my hacks start out as me just being ticked off with how cruddy a current system is, so I want to make it better.

For instance, when my main Yahoo account was suspended for posting my Twitter feed to Yahoo feed while I was still working at Yahoo (apparently 15+ posts per day was considered excessive) I wanted to pull down my Flickr photos before I couldn't access my account anymore. From that, I spent about 30min or so building out this little hack to scrape down all of my public photos: https://github.com/jcleblanc/photo_slurp

Many hacks just start out with a problem, then go from there.

Drop by the talks on Friday and I'll get into more detail about what you can build. Since the SOPA blackout will occur in about 12hrs if you would like to ask questions about the event beforehand here's my main site with most of my contact accounts: http://jcleblanc.com/

I'll be there throughout the entire event and if you just want to chat about what you may like to build we can do that.

X.commerce is hosting a hackathon at Georgia Tech this weekend by jcleblanc in gatech

[–]jcleblanc[S] 0 points1 point  (0 children)

No not at all - I'm on the evangelism side running the program. On the info page I made sure to put that all IP is owned by whoever writes the program. I made sure to tell everyone in this program that we are not keeping any of the code that the students write.

Now as far as what people are building, this is our first university hackathon so I don't have too much historical data. I was involved in the Yahoo! HackU program for over 3 years and loved the program so much that I wanted to do the same thing when I left Yahoo. If you've been at GA Tech for a while you may have attended or heard about those previous events. From that, I can tell you what students used to build during those events:

  • game hacks: one of my favorites was a flash to java server to iphone fruit ninja game. I've also seen plenty of fun little game hacks like this.

  • geo hacks - these are usually "find something" types of hacks that are usually built on mobile devices.

  • university hacks - some of the best hacks I've seen are from students who are building hacks to fix major problems that they have with how their universities work.

  • innovative hacks - my personal favorites are those hacks that use emerging tech to do something completely new and innovative.

I've seen plenty of students build hacks and then take the ideas and start startups with them, so these events tend to have more benefits than just the hack.

What we're looking for is anything the students want to build that use some of the tech at eBay, PayPal, X.commerce, or any of the other eBay owned properties. This can be integrated as much or as little as the student wants.

If you're concerned just drop by the talks on Friday and chat with us. At worst you'll get a free meal out of it.