the intersection of pastebin, help desk, version control, and social networking
More Info & Screenies Demos Sign Up Browse the Site Recent Activity
Recent Activity
06 February 2010
1
1
|
|
David Underhill
edited the Python snippet
“Automatic replacement of logging statements with pass (and vice versa)”
three days ago at 09:13 PM
|
|
|
David Underhill
posted
the Python snippet
“Automatic replacement of logging statements with pass (and vice versa)”
three days ago at 08:48 PM
|
This script parses a Python file and comments out logging statements, replacing them with a pass statement (or vice versa). The purpose of commenting out these statements is to improve performance.... more
05 February 2010
1
2
|
|
David Underhill
commented
on the article
“Python Tips, Tricks, and Hacks”
four days ago at 04:35 PM
|
|
|
David Underhill
commented
on the article
“Python Tips, Tricks, and Hacks”
four days ago at 04:35 PM
|
|
|
article
“Python Tips, Tricks, and Hacks”
was rated as a 5
four days ago at 04:31 PM
|
The new average is 4.90909 of 5.0 with 11 ratings.
rate
04 February 2010
7
3
6
|
|
David
posted
the Python snippet
“Strip HTML and XML tags”
five days ago at 09:11 PM
|
Strips tags from a string, leaving only the text bits.
|
|
Stou S.
posted
the C snippet
“Lennard-Jones potential Molecular dynamics monte-carlo”
five days ago at 09:02 PM
|
This is some sort of monte-carlo simulation of 10 particles in a Lennard-Jones potential that I wrote for what appears to be thermodynamics. It uses the ROOT framework so good luck getting it to... more
|
|
David
posted
the C snippet
“The Newton-Raphson Method”
five days ago at 08:32 PM
|
Uses the Newton-Raphson Method to find zeros of a function.
|
|
Stou S.
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:27 PM
|
|
|
David
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:26 PM
|
|
|
Stou S.
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:25 PM
|
|
|
David
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:24 PM
|
|
|
David
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:23 PM
|
|
|
David
posted
the C snippet
“Eigenvectors and Eigenvalues”
five days ago at 08:20 PM
|
Numerically find the eigenvectors and eigenvalues of a matrix using the Power Method.
|
|
David
posted
the C snippet
“Euclidian Norm”
five days ago at 08:18 PM
|
Finds the euclidian norm of a matrix you specify.
|
|
Stou S.
commented
on the C snippet
“Finding Epsilon”
five days ago at 08:17 PM
|
|
|
David
edited the C snippet
“Finding Epsilon”
five days ago at 08:16 PM
|
|
|
David
posted
the C snippet
“Fixed Point Iteration”
five days ago at 08:15 PM
|
Find zeros of a function near a given point.
|
|
David
edited the C snippet
“Finding Epsilon”
five days ago at 08:13 PM
|
|
|
David
posted
the C snippet
“Finding Epsilon”
five days ago at 08:12 PM
|
Find the machine epsilon of a computer, that is, the smallest number E such that 1+E != 1 . (using single precision only)
03 February 2010
3
|
|
David
edited the Diff snippet
“Patch Trac to allow arbitrary project properties”
3 February at 11:17 AM
|
|
|
David
edited the Diff snippet
“Patch Trac to allow arbitrary project properties”
3 February at 11:15 AM
|
|
|
David
edited the Python snippet
“Pass arbitrary options from conf.ini to templates in Trac”
3 February at 11:01 AM
|
01 February 2010
3
3
1
|
|
David
edited the article
“Python Tips, Tricks, and Hacks”
1 February at 12:32 PM
|
|
|
David
edited the article
“Python Tips, Tricks, and Hacks”
1 February at 12:31 PM
|
|
|
David
posted
the Python snippet
“Print yourself”
1 February at 12:05 PM
|
A stupid snippet that prints its own source.... more
|
|
David
commented
on the blog entry
“Siafoo has been updated”
1 February at 11:39 AM
|
|
|
Michael Case
created
the blog
“Ad blocking”
1 February at 08:17 AM
|
hehehe, hey guys, thought you'd like to know :)... more
|
|
Stou S.
posted
the blog entry
“Siafoo has been updated”
1 February at 01:06 AM
|
If you haven't noticed yet, Siafoo was updated on Saturday. This release brings a much cleaner home page,... more
31 January 2010
1
30 January 2010
1
|
|
David
posted
the blog entry
“Adjector”
30 January at 12:01 PM
|
I'm glad to "officially" release our open-source ad server, Adjector.... more
29 January 2010
2
2
|
|
Stou S.
posted
the blog entry
“Protocol Buffers and Eclipse”
29 January at 08:45 PM
|
One of my current projects involves sending data to a remote server using Google's Protocol Buffers. PBs let you define your data using a simple definition language which is then compiled into... more
|
|
Stou S.
edited the Perl snippet
“Encode a password for VNC access to OS X”
29 January at 03:25 PM
|
|
|
Stou S.
edited the Perl snippet
“Encode a password for VNC access to OS X”
29 January at 03:22 PM
|
|
|
Stou S.
posted
the Perl snippet
“Encode a password for VNC access to OS X”
29 January at 03:21 PM
|
Usage:... more
27 January 2010
1
|
|
newacct
edited the Python snippet
“Pretty Prints a Tree of Dictionaries in Python”
27 January at 12:21 AM
|
25 January 2010
1
|
|
newacct
edited the Python snippet
“Using precompiled headers with Scons”
25 January at 11:28 PM
|
24 January 2010
3
1
|
|
Stou S.
posted
the Python snippet
“Using sympy to generate C++ code for Legendre Polynomials”
24 January at 11:58 PM
|
A bit of code for generating sums of Legendre polynomials using the SymPy framework's C++ code generating facilities.
|
|
David
posted
the library
“TV Episode Organization”
24 January at 07:30 PM
|
Different automated methods to rename and organize downloaded TV episodes.
|
|
Stou S.
posted
the Python snippet
“TV Show episode organizing script”
24 January at 06:09 PM
|
A simple script for moving TV show episodes to their appropriate folders...... more
|
|
David
edited the C snippet
“Roll N Dice with M Sides”
24 January at 11:14 AM
|
22 January 2010
3
1
1
1
|
|
David
edited the algorithm
“Floyd's Cycle Detection Algorithm (The Tortoise and the Hare)”
22 January at 08:02 PM
|
|
|
David
posted
the algorithm
“Brent's Cycle Detection Algorithm (The Teleporting Turtle)”
22 January at 07:55 PM
|
How do you determine if your singly-linked list has a cycle? In 1980, Brent invented an algorithm that not only worked in linear time, but required less stepping than Floyd's Tortoise and the Hare... more
|
|
David
posted
the algorithm
“Floyd's Cycle Detection Algorithm (The Tortoise and the Hare)”
22 January at 07:26 PM
|
How do you determine if your singly-linked list has a cycle? In the late 1960s, Robert W. Floyd invented an algorithm that worked in linear (O(N)) time. It is also called Floyd's cycle detection... more
|
|
David
commented
on the C snippet
“Calculate Wind Chill”
22 January at 02:29 AM
|
|
|
C snippet
“Calculate PI to 17 Million Digits”
was rated as a 5
22 January at 02:11 AM
|
The new average is 5.0 of 5.0 with 1 ratings.
rate
|
|
David
posted
the C snippet
“Calculate PI to 17 Million Digits”
22 January at 01:43 AM
|
17 million digits in O(n^1.7), using the Salamin/Brent/Gauss arithmetic/geometric mean pi formula.
|
|
Stou S.
commented
on the C snippet
“Calculate Wind Chill”
22 January at 01:35 AM
|
