Py2Html

Python-Command Line Python-To-Html Converter. Makes posting Python to blogs quick.

by: Daniel Folkes

This is Licensed under GPLv3. Give Back.

Py2Html

    Download Source

  1. print “”” This is a simple program that takes a python file and replaces the
  2. plain text punctuation with the easily postable html code.
  3. written by :    Daniel Folkes
  4.         danfolkes @t gm@il d0t c0m
  5.         http://danfolkes.com
    Continue reading “Py2Html”

JSP Crystal Reports

This is my working sample of running a crystal report through a jsp. It turns out to be very pretty and gives you many options. As I suggested in a comment. I would really advise on downloading Eclipse IDE + the Business Objects Plugin. This will give you most, if not all the utilities you need to put you in the right direction.

LET ME KNOW IF THIS HELPED YOU IN THE COMMENTS! Enjoy!

If you have any questions, please post in the comments.

Thanks,
Daniel


Author: Dan Folkes
Description: JSP Crystal Reports
Language: java
Pasted on: 08:44:23 Friday 18th January 2008

JSP Crystal Reports helper sample image

This is Licensed under GPLv3. Give Back.

    Download Source

  1. <%@ page language=”java”
  2. import=”logic.*,com.businessobjects.samples.JRCHelperSample,
  3. com.crystaldecisions.report.web.viewer.CrystalReportViewer,
  4. Continue reading “JSP Crystal Reports”

Python Torrent Search and Download (TPB)

This python command line utility will search the pirate bay for a specific search string and pull out the torrent files and download them to your current directory.

by: Daniel Folkes

This is Licensed under GPLv3. Give Back.

tpb.jpg

    Download Source

  1. print “””Pirate Bay Torrent Downloader – Command Line Interface
  2. Program Written by: Daniel Folkes
  3. website: http://danfolkes.com
  4. email: danfolkes @t gmail dot c0m
    Continue reading “Python Torrent Search and Download (TPB)”

GNU

I was reading the book Open Source Development with CVS (here) and found a excellent rationale for open source software on page 23 :

“Traditional capitalism is based on the idea of limited supply; however, information has become a commodity in itself and is never in short supply. In fact, the ubiquity of computers and the Internet has made it possible to replicate any information effortlessly and without bounds. Even so, we still treat software as if it were a tangible object in short supply. If you copy software from somebody, you’re legally stealing it. The software industry has attempted to extend this metaphor into the information economy, artificially re-creating the economics of limited supply by creating software licenses.
There’s nothing wrong with making a living as a programmer or as a software company employee or executive. The authors of this book get part of their incomes as programmers. However, it’s nonsensical to use this profit-model. Imagine a science-fiction device that allows any sort of food or physical object to be infinitely duplicated. If somebody then tried to sell you a tire for your car, why in the world would you buy it? You could just throw your friend’s tire into the duplicator! However, you might want to pay somebody to design a new tire for you or perhaps to install the tire on your car. Or to help you when some other part of your car breaks, you might want to buy a warranty for future support. Or maybe just hire a personal mechanic.”

I tend to agree with what he is saying.

Learning Python

I just checked UPS tracking for a book I ordered. IT HAS ARRIVED!!!

Learning Python, I hope, will be the first stepping stone to me becoming a more well rounded programmer. I have started to have interest in Python(cool name) because of Ubuntu and OLPC(One Laptop Per Child). Both of these projects aim to help the world, and they depend on Python. I would love to be able to write a great application that would easily work for kids of developing countries , and/or on my operating system of choice, Ubuntu(or any Linux).

I decided to choose Python over Perl (I bought “Learning Perl” about a year ago). Creating GUIs in Python seems more intuitive, and I prefer object oriented programming(I don’t think Perl is) .

Python over Java : I wanted something more nerdy and that could integrate with UNIX better.

Python over C++: C++ is much to hard. Just compare the list structure in both languages. Also, DB work will be easier (I hope :))

So, while I’m stuck away from home until tomorrow, my book will sit on my front porch. I can not wait to get home and rip it open. :)~

Comments about “Learning Perl”

The Perl book was excellently written, and the authors deserve awards for how easy it was to read. I got through most of the book in 2 days. It just so happens that the two days had about 11 months in-between. Because the book was so good, it almost makes me feel bad about deserting Perl, but it must happen.

olpc

A few days ago One Laptop Per Child (OLPC) announced the date of there “Give 1 Get 1? campaign. I have decided that I will be giving/getting one as soon as possible. This is a great opportunity for me to help out a worthy cause and get a really sweet computer/e-book reader/conversation magnet too. Give1|Get1 HERE!

On another note– I hope by the time they start selling these things on November 12th 2007 that they will have some different color options. If having bunny ears on the thing wasnt enough, it’s got to be bright green too. : )

sitemeter

I just create an account with SiteMeter.com. They are one of the suggested WordPress site trackers. They allow me to see : where my traffic comes from, how they got there, and all other types of information. This is how I know that my traffic comes from all over the United States and all over the world! Just yesterday there were a few from the UK and Germany.

I have had a hit from almost every English speaking country in the world. That is why the internet is so sweet. Effortlessly connecting people for free. I can’t wait to see what the next few years holds.

CVS = Amazing

Concurrent Versions System(CVS) or any Version system(SVN, Bazaar, Source Safe) is the best thing for programmers ever. Using CVS, me and my friends Grant and Dallas are able to program together, apart. This helps working on a program since I have the exact opposite work/sleep schedule as both of them.

If you are working on a digital group project, I would suggest trying to set up a Linux/CVS server.