The Enemy of the Good (eideteker) wrote,
The Enemy of the Good

  • Mood:
  • Music:

Greedy algorithm? Mine's slices of pie all the way down.

Since there's usually at least an hour a day at work that my salaried coworkers spend gaming (loudly), I've taken up reading the archives of Good Math, Bad Math when it's too loud to work. See, while others are goofing off, I'm learning. My idea of a good time, not even joking.

Today, I got interested in the Erdos-Straus conjecture. See my comment there for details. Basically, I took a graphical/visual/geometric approach to a Diophantine equation. I've really got little to no experience with equations at that high a level; but the E-S conjecture was easy to visualize in terms of a unit circle. It's possible someone with better calculus and trigonometric knowledge than what little I possess could see some novel solution in my approach; I was just happy to devise an algorithm that provides more solutions than Fibonacci's. I coded the whole thing up in Python; I might upload it later.

Speaking of which, does anyone have experience with Google Code? I mean, can I just throw whatever I want up there and link to the source .py files for my programs? I've never used a revision control system like Subversion, but I'd like to learn about branches and trunks and so forth (beyond just saving my incremental .py files as 1a, 1b, 2a, etc.). I'd also just like to have my code available to me on teh internets so I can work on it anywhere without having to synch the laptop and my desktop.
Tags: python

  • Yay, I made a program that writes an HTML file!

    I wrote a program that converts a given base 10 whole number into a base- n number. Then, to automate the QA, I had it print a table of values. For…


    I am now the master of the Nested Conditional and the Function That Calls Itself. def Azathoth(): # The Function That Calls Itself, the Thing…

  • Damn, it feels good to be a coder.

    Those of you who are not stalking my every move might not know that I've decided to take up programming again. This afternoon on the train home, I…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.