Roberto Mignucci Blog

    • About Me
    • Leith Hill MTB
    • Sample Page
Illustration of a bird flying.
  • Sieve Of Eratosthenes (Still on Prime)

    I could not make my code any better so I decided that I new approach needed to be found… Boom Eratosthenes came to the rescue. I found those two great web sites: Sieve Of Eratosthenes explained and Sieve Of Eratosthenes code. In the second link I found a bit of code that run 10^7 in…

    June 17, 2015
  • Multi Threading and still looking for Primes

    Added some Multi Threading to my code to get full advantage of the dual core on my laptop: import threading import time import inspect import sqlite3 import math class Thread(threading.Thread): def __init__(self, t, *args): threading.Thread.__init__(self, target=t, args=args) self.start() # global variables count = 0 lock = threading.Lock() primeList = [] dbname=’/home/roberto/primelist.db’ table_name = ‘primes’ #…

    June 13, 2015
  • Prime number 2. The sqlite strikes back!

    Finally got some code working with saving the Primes on a DB. I started by saving as I find the prime and realised that the constant IO activity was slowing the all process down. Next step was multi treading: this is still not 100%. Here is the code so far: # Python program to calculate…

    June 4, 2015
  • How to find BIG prime numbers

    If my calculations are right the best way to find a BIG prime number is to iterate through all the prime numbers before it, why? Because the quickest way to check a prime is to see if it is divisible by all the previous primes, I am not going to waste any processing power on…

    June 3, 2015
  • Lost my key. Cannot go Home!

    May 4, 2015
  • Raspberry Pi 2

    After the temporary death of the Banana Pi (and with it my website) I hastily bought a Raspberry Pi 2 to then find out few days later that the problem with the Banana was SD adapter from micro to normal, the miracle of Easter (Banana Pi = Jesus), replaced the adapter the Banana start again.…

    April 14, 2015
  • Siena

    April 3, 2015
  • This is how it all started!

    Here is my first electronic kit. Got this from the US in the early 90s. Here few examples of electronics from school from the late 90s.

    March 30, 2015
  • Jupiter with moons

    March 11, 2015
  • Very bright Venus

    March 11, 2015
←Previous Page
1 2 3 4 5 … 11
Next Page→

Roberto Mignucci Blog

Proudly powered by WordPress