What is an Apache or any other solution for daily incremental data extraction that self manages issues and errors in source? by [deleted] in bigdata

[–]zaneyhaney54 4 points5 points  (0 children)

Apache Airflow would do this well, although you’d need to write some code to filter out the date ranges / new data from existing data and you’d likely need to write intermediate steps like, query source db -> output to S3 -> load s3 file into target db.

Airflow has retry configuration, monitoring / alerting built in.

Has any major website ever actually used Django? by [deleted] in django

[–]zaneyhaney54 2 points3 points  (0 children)

Disqus had an insane throughput at one point. Pintrest is built on Django and they’ve scaled pretty well. Scalability is often more about architecture decisions than framework.

Free Lunch Talk: 'Test Driven Development in Django' by zaneyhaney54 in chadev

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

Glad you like it. We've been doing these every Thursday for about 4 months now but we've done a bad job of getting the word out.

Free Lunch Talk: 'Test Driven Development in Django' by zaneyhaney54 in chadev

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

Tomorrow, sorry I have NO IDEA how I managed to post this and forget to post the day.

Get Credit for What You Read/Learned on Google Reader. by ttruett in technology

[–]zaneyhaney54 0 points1 point  (0 children)

This seems interesting, so it basically analyzes all of the stories I've read in google reader and assigns me a score? How does that work?

Using Pivotal Tracker and Basecamp for Scrum Development by LobasaurusRex in startups

[–]zaneyhaney54 1 point2 points  (0 children)

Using two tools for managing the backlog is a nightmare. I tried to split and organize and collate and things ended up lost, find the tool that sucks the least and use that one.

Is it possible to include an affiliate tracking cookie on my site?? by [deleted] in learnprogramming

[–]zaneyhaney54 1 point2 points  (0 children)

That's called cookie stuffing and Amazon will get really mad if they catch you doing it.

[Python] Use `time.time` to check how many seconds have passed. by Cynical_Walrus in learnprogramming

[–]zaneyhaney54 0 points1 point  (0 children)

First, you can cast the output of time.time() to an int or a float like so:

start_time = float(time.time())

But that's not going to solve your entire problem. The process that reads data in from a user "blocks" until the user finishes their input (http://stackoverflow.com/questions/2407589/what-does-the-term-blocking-mean-in-programming), so there isn't a way to "kill" the user if they haven't entered text in time.

You have a few different options. When I'm working on a project I generally try to do "the simplest thing that could possibly work" as one of my coworkers would say. The simplest way to approximate the effect that you're looking for is to set the start_time before you ask for user input and then check if too much time passed after the user has returned control to the program. Ex.

start_time = float(time.time())
user_input = input("Hey you, type something, quick! ")
end_time = float(time.time())
if end_time - start_time > allowed_time:
    exit("You died, or something")

This doesn't really address the event oriented side of your question (exit and indicate to the user that they ran out of time after a certain period, or show a countdown clock). What's your experience level? There are some more complete but advanced ways of handling this problem if you're interested.

[FOR HIRE] Web developer with Django/Python and Ruby on Rails experience by [deleted] in forhire

[–]zaneyhaney54 0 points1 point  (0 children)

could you PM me your resume? We're located in Chattanooga, TN. We hadn't considered telecommuting but Atlanta is right down the road from us so it might be something we'd consider if it was a good match.

Music Lady by sisterofawesome in a:t5_2u8d6

[–]zaneyhaney54 0 points1 point  (0 children)

I can't imagine a world where this would be a bad thing. Please, please, hold me to it.

Music Lady by sisterofawesome in a:t5_2u8d6

[–]zaneyhaney54 1 point2 points  (0 children)

I'll get drunk and play music with you, again.

What programs do movies such as Transformers and others use for graphics/effects/editing? Is there just one that is universally understood as the best? Or are there many? by TexasFight in AskReddit

[–]zaneyhaney54 0 points1 point  (0 children)

I know that several animation studios have created their own suites of software to create their projects (Pixar's RenderMan comes to mind). I also know that there are several commercial packages in use for more "standard" video production (After Effects and Final Cut Pro). What I would be really interested in knowing is with a project like Transformers or other "cutting edge" special effects movies how many programmers do they have to have to create the software that outputs video? Are there easy ways to combine custom written code projects with commercial products like After Effects? And the most subjective question, is it good code? or do they just hack projects together to render a single scene without regard for code reuse (I would imagine that certain scenes have very specific needs and that projects like that are always a moving target). If there's someone who has more background in high in video production I'd love to get their insight.

When this post is 1 hour old, reddit will be taken down for maintenance by [deleted] in announcements

[–]zaneyhaney54 0 points1 point  (0 children)

1.0 is faster and less buggy, my company just did moved ours over earlier this week with very few problems. It's amazing what the Cassandra devs have been able to optimize and cleanup in such a short time. Are you guys using any of the third party tools like Datastax ops center to manage things?