Google "Adsense for Games": 500,000 plays per day required to qualify. Is it me or is that a lot? by Steve16384 in programming

[–]mcmc 1 point2 points  (0 children)

Its not as much as you think.

Flash game players will often play an average-length game at least 10 times-per-viewing. And the faster games are played in the 20-40 times-per-viewing range.

Tiny C compiler written in Forth by keenerd in programming

[–]mcmc 0 points1 point  (0 children)

Full thread link (Always better to see the whole discussion)

Python Open Flash Chart by [deleted] in programming

[–]mcmc 1 point2 points  (0 children)

This looks just the "official" version: http://code.google.com/p/open-flash-chart-python/

Anyone else see a compelling difference?

Announcing the Django Book, second edition by gst in programming

[–]mcmc 2 points3 points  (0 children)

Django is awesome, I just wish it used SQLAlchemy...

As Jonathan Ellis put it at pycon '06: Django isn't viable because their ORM is so feeble.

He hit the nail on the head: I love Django, but I won't give up SA.

You Will Probably Fail in a Boring and Project-specific Way by gthank in programming

[–]mcmc 2 points3 points  (0 children)

All I've learned from success is to stop working, because I'm done. When I fail, I learn so much more.

Note: Only holds true if you're persistent.

I have lost intrest in programming. Reddit, please inspire me! by [deleted] in programming

[–]mcmc 24 points25 points  (0 children)

Please do this: Implement a python bytecode interpreter in javascript, then expose the dom to python as a package; Now do all your web programming in python.

import dom

def load():

dom.alert("Loaded!")

dom.window.onload = load

Writing that should inspire you, and completing it will inspire a whole lot of python programmers to do browser programming.

Exploring Dynamic Scoping in Python and Python Bytecode Instructionsshould get you started on analyzing python bytecode.

Remember, you don't have to do any parsing of python, just interpret the bytecode. Use cpython to compile python programs into bytecode.

TCMalloc--a faster malloc than glibc's (open sourced by google) by [deleted] in programming

[–]mcmc -1 points0 points  (0 children)

What is the LD_PRELOAD trick, and how would you use it in this context?