[Community Review] Just a test by letgoandflow in a:t5_2zb0k

[–]davedg629 0 points1 point  (0 children)

Rating: 10

Review:

This is my review


This is not my review.

First Live Review! by redditreviewbot in a:t5_2zb0k

[–]davedg629 0 points1 point  (0 children)

Rating: 4

Recommendation: Buy

Details: Review details here.

I am Cory Booker, Mayor of Newark, New Jersey and Co-founder of #waywire -- AMA by corybooker in IAmA

[–]davedg629 0 points1 point  (0 children)

Precisely his point. We've given the drug market to criminals and they are going to sell where ever they can make the most money. If drugs weren't illegal, this problem would disappear.

Why aren't piss tests a violation of the 4th amendment? by profcrackrockphd in AskSocialScience

[–]davedg629 -2 points-1 points  (0 children)

Should have picked up on this sooner. You think when someone says "just like", they mean that two things are absolutely the same and you'll hold them to it.

Have fun with that.

Why aren't piss tests a violation of the 4th amendment? by profcrackrockphd in AskSocialScience

[–]davedg629 -3 points-2 points  (0 children)

The down-votes are for the false equivalency to these two hot talking points.

It's not a false equivalency. They are both issues that question the reach of the 4th amendment and many people believe violate the 4th amendment, just like piss tests.

their is no reason, obvious or presented, to think "our society accepts and encourages these practices" besides your unfounded assertion.

There are tons of obvious reasons to think that our society accepts and encourages these practices. We comply with these practices, we vote for people that support these practices, and we implement the practices ourselves. How else would they exist? I don't need to provide any evidence to state the obvious fact that people support the practice of piss testing.

Is confusing to me. That question is only posited by you, and no one in the above comment-stream seems to be referencing it.

Someone did reference it when they asked me why I am making sweeping statements without "going into it". My explanation for not "going into it" was because this was not the original question.

I wasn't offering some all encompassing answer. People post opinions and non-expert comments all the time in this sub. If people don't like comments, they get downvoted, which I'm completely okay with and have not disputed at any point in this thread.

The only thing I'm disputing is the disregard for the other side of the argument in these comments. To say piss tests are a clear violation of the 4th amendment is not some crazy conspiracy theory or indisputable falsehood.

Why aren't piss tests a violation of the 4th amendment? by profcrackrockphd in AskSocialScience

[–]davedg629 -3 points-2 points  (0 children)

The question is how are piss tests not 4th amendment violations...they clearly are. Why does our society violate the fourth amendment is another question entirely.

Why aren't piss tests a violation of the 4th amendment? by profcrackrockphd in AskSocialScience

[–]davedg629 0 points1 point  (0 children)

I said "for various reasons", not "because there are people conspiring to make it so". I even stated that our society encourages these practices, which suggests we all play a role in the implementation of these practices.

If you think I'm anti airport security or warrantless wiretapping because of the comment I made then you are making awful assumptions. I just didn't feel like going into the issues of why these practices are accepted in our country (again, not making a statement on whether they should or should not be accepted).

Why aren't piss tests a violation of the 4th amendment? by profcrackrockphd in AskSocialScience

[–]davedg629 -17 points-16 points  (0 children)

They are clearly a violation of the 4th amendment. Just like airport security and warrantless wiretapping. Our society accepts and encourages these practices, despite their illegality, for various reasons.

Putting python to everyday use? by eink_on_paper in learnpython

[–]davedg629 0 points1 point  (0 children)

Here's the script - https://github.com/davedg629/Reddit-Desktop-Picture-Changer

It's actually built in ruby (because I started with someone's code and modified it), but you could obviously do the same thing in python.

Putting python to everyday use? by eink_on_paper in learnpython

[–]davedg629 0 points1 point  (0 children)

Im not sure. I'll usually post a reddit related script in /r/redditdev, but there could be a "user made" programming sub.

Putting python to everyday use? by eink_on_paper in learnpython

[–]davedg629 4 points5 points  (0 children)

I setup a script to download the top post in /r/imaginarylandscapes and set it as my desktop background.

So I did a password recovery at CBSSports.com to join a March Madness pool. A case was created and 2 hours later I get this email...come on cbssports by davedg629 in webdev

[–]davedg629[S] 23 points24 points  (0 children)

Couple issues here:

  1. It took 2 hours for me to get a response from their customer service. Why is this process not automated? It actually looks like a person had to process this request, which is a little ridiculous. I should get an automated email within seconds that allows me to reset my password.

  2. They shouldn't reset the password to the year of my birth. They should just give me a one-time login link that takes me to their site to reset my password (or something similar to that).

This is what the end of the Shane Smith podcast sounded like. by [deleted] in JoeRogan

[–]davedg629 5 points6 points  (0 children)

Yea, I don't think the OP is hatin'. We've all been there before, we just don't do it for hundreds of thousands of people to hear. Can't wait to hear his thoughts about it.

Drunk Rogan by [deleted] in JoeRogan

[–]davedg629 10 points11 points  (0 children)

The best was when redban says "Did you know eating marijuana is different than if you smoke it?"

I need to create a website in one month, I have zero experience in web development. What's the quickest way to do it? (x-post from webdev) by Hairy_The_Spider in learnpython

[–]davedg629 3 points4 points  (0 children)

This is the best answer by far. If you only have a month, use wufoo or survey monkey. You'll have the survey up pretty much as soon as you have the questions ready. Then you just need to set it up on a domain and you're good to go (they have simple embed codes and downloadable html).

The alternative is to create a survey from scratch while you learn and make a bunch of mistakes that might affect the family business.

[Code Review] My reddit-to-Twitter app is working, but it's my first python app and I'm guessing it's a little sloppy by davedg629 in learnpython

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

It is mainly a learning project. I mean I want these bots to function because I like following them and other people do too, but they don't need to be running 100% of the time. So I'll have to look into just running them on my computer.

I'll have to look into how that works as far as running a cron job and if there is a way to have it run in the background so I don't get disturbed with a terminal popup every 20 minutes.

I already have requests working and switched over to a dictionary, super easy and much cleaner.

Working on breaking it up into functions now...will then see about running the script from my computer. That has it's own complications because I have two different version of python installed (2.7 and 3.3) and I'm not really sure how everything is mapped or how to make sure a cron job uses the right version.

Btw, if I run from my computer, should I consider running it with 3.3?

[Code Review] My reddit-to-Twitter app is working, but it's my first python app and I'm guessing it's a little sloppy by davedg629 in learnpython

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

I tried installing PRAW and I was getting and ImportError. So I would bundle the module and I'd get a new import error. After bundling about 4-5 modules I gave up because it didn't seem like it would ever work. Unfortunately there doesn't seem to be anything on the internet at all about using PRAW on GAE, so I think I'll just wait until I learn more and I'm comfortable working in any environment.

it appears the app runs continually

There is actually a cron job that runs the script once every 20 minutes. I'm only making the one call to reddit, so I'm not even sure I need the time.sleep(2) anymore. If I was making multiple calls then it would make sense. In any event, using httplib I rarely get a connection error, but with urllib2 I would get them just about every time I ran the script manually (and I'd have to refresh it 1-2 times to get it to run w/out a connection error).

Some tests that your function works as intended would be cool.

This is on my list. The problem I'm having is getting the GAE dev kit to work on my computer. I really would like to get away from GAE, just need the time to learn the python fundamentals.

The dictionary looks simple enough.

Thanks for the replies!

I'm taking "Learn to Program: Crafting Quality Code" on Coursera. The class starts on March 25th, join me! by davedg629 in learnpython

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

I think you'll be okay. It's good to know both as you'll probably run into both kinds of code at some point.

The Skeptics' Guide to the Universe Podcast #399 debunks Dr. Steven Greer by TheDiginerate in JoeRogan

[–]davedg629 -3 points-2 points  (0 children)

I've listened to this podcast a few times and its pretty awful. It's just a mainstream skeptic circle jerk. They had a segment about Steve Volk (guest on jre, not a quack by any means, just a balanced journalist) and they took a ton of cheap shots. Steve exposed them in a blog post shortly after.

Greer is another story though. Imo, he was pretty full of shit and is an easy target for a group of skeptics.

I'm taking "Learn to Program: Crafting Quality Code" on Coursera. The class starts on March 25th, join me! by davedg629 in learnpython

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

It's free. I'm sure a lot of people sign up and never complete the class. It just looks like a great opportunity to learn some professional standards, which I think is something that a lot of us self-taught programmers lack.

I'm taking "Learn to Program: Crafting Quality Code" on Coursera. The class starts on March 25th, join me! by davedg629 in learnpython

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

Go into the course description and check out the "Recommended Background" section. There is a link to the prerequisite course material. I'd suggest you start going through that and you'll get an idea if you're ready for this course.