March 12th, 2008
Almost as easy as problem 16:
#!/usr/bin/python
"""
projecteuler.net Problem 20
What is the sum of the digits of the number 100!
"""
def factorial(x): return(1 if x==0 else x * factorial(x-1))
num = factorial(100)
total=0
while num != 0:
total=total+num%10
num=num/10
print total
Posted in Uncategorized | No Comments »
March 12th, 2008
Super easy:
#!/usr/bin/python
"""
projecteuler.net Problem 16
What is the sum of the digits of the number 2^1000
"""
num = 2**1000
total=0
while num != 0:
total=total+num%10
num=num/10
print total
Posted in Project Euler, Python | 1 Comment »
March 10th, 2008
I seen a write up on arrl.org today about The Spirit of Knoxville transatlantic balloon project. I look forward to following the balloons project across the Atlantic. It seems like a very interesting project. I wonder if anyone is doing any sort of balloon launches in the area?
Posted in Amateur Radio, Balloon, ham | No Comments »
February 27th, 2008
Posted in humor, linux | No Comments »
February 26th, 2008
It has been reported several places around the ‘net that the RoadRunner ISP has been intercepting typeo’s in domain names and redirecting them to their own search page. This is similar to the Verisign Site Finder fiasco of a year or two ago four or five years ago. When will ISP’s learn that DNS affects more than just web browsing and that redirecting mistyped domain names to a custom search page is not a good idea. At least RoadRunner gives you the option to opt out of this service. Altho I would contest that a service such as this should be opt-in if it is offered at all.
Posted in DNS, Network Neutrality | No Comments »
February 25th, 2008
I spent a couple of hours this evening trying to add some links to my “Blogroll” on my Word Press Blog. It turns out that Links are only displayed if they are assigned to a category. At any rate hopefully Google indexes this so some other poor sap doesn’t spend as much time as I did trying to do something so simple.
Posted in Word Press, web | No Comments »
February 25th, 2008
The 2008 ARRL Field day logo has been released:

I Think its pretty nice. I especially like the “Ride The Waves” motto for this year.
Posted in ham | No Comments »
February 7th, 2008
After passing my Technican and General Class amateur radio operator exams last week, I had been patiently checking the license database on ARRL.org to see if the FCC had assigned my call sign yet. Low and behold after this morning’s update:
Smith, Joshua L, KD8HRX (General)
PO BOX 28
Coal City, WV 25823
Licensee ID: L01366735
FRN: 0017273277
Issue Date: Feb 06, 2008
Expire Date: Feb 06, 2018
Date of last Change: Feb 06, 2008 (New Systematic Call Sign Assigned)
Yes they have my middle initial wrong, it should be C instead of L But it looks like my call sign has been assigned.
73,
KD8HRX
Posted in Amateur Radio, ham | 1 Comment »
February 4th, 2008
Here is my solution to Project Euler Problem #6. I know I’m not solving these in order, I’m going through and picking the low hanging fruit.
#!/usr/bin/python
“”"
projecteuler.net Problem 6
find the differecne between the sum of
the squares and the square of the sum of
the first 100 natural numbers
“”"
sumOfSquares=0
squareOfSums=0
for i in range(1,101):
sumOfSquares=sumOfSquares+(i**2)
squareOfSums=squareOfSums+i
squareOfSums=squareOfSums**2
print squareOfSums-sumOfSquares
Posted in Programming, Project Euler, Python | No Comments »
February 4th, 2008
Here is my solution to Project Euler’s Problem #1 in python. It doesn’t get much easier:
#!/usr/bin/python
“”"
projecteuler.net Problem 1
Find the sum of all the multiples of 3 or 5 below 1000.
If we list all the natural numbers below 10 that are multiples
of 3 or 5, we get 3,5,6, and 9. The sum of these multiples is 23
“”"
total=0
for i in range(0, 1000):
if i%3 == 0 or i%5 == 0:
total=total+i
print total
Posted in Programming, Project Euler, Python | No Comments »