demo/talk of Raspberry Pi, followed by coding on Project Euler problems

  • January 31, 2013 · 6:00 PM

Part 1: Raspberry Pi with Anders Arnholm - 30 minutes, talk & demo

In December I did a small python hack on a Raspberry pi, controlling some XMas lights at home.

Part 2: coding on Project Euler problems, led by Andrew Dalke

Project Euler is a series of challenging mathematical/computer programming
problems that will require more than just mathematical insights to solve.
Although mathematics will help you arrive at elegant and efficient methods,
the use of a computer and programming skills will be required to solve most problems.

These range from easy problems to quite difficult ones. An easy example is:

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.

Find the sum of all the multiples of 3 or 5 below 1000.

You can see that it has the problem statement, and a simple test case. When you
think you have the right answer, you enter the answer in a box and it says "yes"
or "no."

I was thinking for the meeting that we would select a few problems, spend
30 minutes on a set, then review each other's approaches, including how
we thought of the problem, built test cases, etc.

(Some of the problems can be solved without a computer. In the above,
the simple solution is a sum of a generator expression. The clever solution
sees this as a variation of the FizzBuzz problem, and rewrite the sum as
some of three simple products.)

Join or login to comment.

  • Fredrik W.

    Lots of code displayed and discussed

    1 · February 3, 2013

  • Andreas E.

    The Raspberry Pi presentation was interesting, but I wanted more low level, technical detail. The eulerproject-coding was more fun than expected, the coding was good and the presentations were nice!

    I had great fun.

    2 · January 31, 2013

    • Andreas E.

      Almost touching silicon would make me happy, but I want to learn more about embedded programming. :)

      February 1, 2013

    • Andrew D.

      Next time at GothPy - electron microscopy of an Core i7!

      1 · February 1, 2013

  • André L.

    What was the name of the testing framework that some people where using. The non-PyUnit one :)

    February 1, 2013

  • A former member
    A former member

    Couldn't join today, was really looking forward to the Pi talk :(

    January 31, 2013

    • Andreas E.

      Here's the code! :D
      https://github.com/bal...­

      1 · January 31, 2013

    • Anders A.

      The talk was much free from and no slides, kinda improvised, i was planning to make a google hangout and drop that on you tube. Did i remeber the mic in my bag and start that. Noo Noo Noo, but i make the talk next week for Mecel as well. i hope i remeber to record that one.

      2 · February 1, 2013

  • Per S.

    Fun to start coding in python again, even if the failed me over the syntax several times.
    /Per

    2 · January 31, 2013

  • Per S.

    Det var bra, roligt och lärorikt. Dock var det dålig luft.

    Alexander

    1 · January 31, 2013

  • Tobias G.

    Thanks for today!
    For all of you who are interested in this asynchronous test-framework - here ist the link: http://heynemann.github.com/pyvows/

    Note that you need libevent to build it (see installation section on the page).

    2 · January 31, 2013

  • Samuel Y.

    Greate. More code and show.

    2 · January 31, 2013

  • Samuel Y.

    Greate. More code and show.

    1 · January 31, 2013

  • Tobias G.

    Hi, looking forward to the meetup next week!

    I wrote a little Python library last week, which aims at making it more easy to spread processing of a pipeline of computations over multiple cores. I don't have much experience with parallel processing yet, but I though it is a shame to let all those extra cores be unused all the time, so if you think this could be useful for you and feel like trying it out and giving me some feedback - maybe over food at the meetup - I would be very happy. You can get the code from here: https://github.com/tobigue/Orkan

    Best, Tobias

    January 24, 2013

    • André L.

      Looks cool! Nice to see ProcessPoolExecutor in action. I skimmed through your code (I'll try it later!) and added a useless comment :) Nice work.

      January 24, 2013

    • Tobias G.

      Thanks! :) Not so useless at all, I should indeed refactor the logging! I answered right there, too. ;)

      January 24, 2013

17 went

Our Sponsors

  • Bache Consulting

    Paying for the meetup hosting and refreshments at meetings.

  • Dalke Scientific

    sponsors with refreshments for meetings.

  • Software Skills

    Providing a venue and refreshments for meetings.

  • Mecel

    Providing a venue and refreshments for meetings

  • Squeed

    Providing a venue and refreshments for meetings

  • Metrical

    Refreshments at meetings

  • Tajitsu Industries AB

    Providing a venue and refreshments for meetings.

  • Duego

    Providing a venue and refreshments for meetings

  • Spotify

    providing a venue and refreshments for meetings

  • Jeppesen Systems

    Providing a venue for meetings

  • Lavasoft

    Providing a venue for meetings

People in this
Meetup are also in:

Create your own Meetup Group

Get started Learn more
Rafaël

We just grab a coffee and speak French. Some people have been coming every week for months... it creates a kind of warmth to the group.

Rafaël, started French Conversation Group

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy