... hab' ich mitzuteilen - L's blog

... with a touch of python - Didaktik der Informatik, Informatische Bildung, ...
Sat, 28 Jul 2007
Trac und SVN im Produktionseinsatz [ 20:08 Uhr ] [ 103 Worte ]

Quellcode- und Projektverwaltung in Betrieb

Nachdem bereits bei Jörg im Schockwellenreiter mitgeteilt wurde, dass ich mit Trac experimentiere, kommt hier die offizielle Ankündigung ;-)

Trac liefert eine (hoffentlich) einfach zu benutzende Schnittstelle, um versionsverwalteten Quellcode zu nutzen und zu pflegen. Da ich alle Arbeiten quellcodegestützt mache (und nicht mit Mausschubserei) fällt es mir leicht, diese Textdokumente mit einem solchen System zu pflegen.

Sehr gut gefällt mir die Möglichkeit, die Webseiten auch als LaTeX-Dokumente zu exportieren und als PDF-Dokument (dazu läuft dann serverseitig pdflatex) anbieten zu können.

Mon, 23 Jul 2007
Sun, 22 Jul 2007
Tue, 17 Jul 2007
low-level network packets with python [ 11:18 Uhr ] [ 93 Worte ]
Mon, 16 Jul 2007
Sat, 07 Jul 2007
Wed, 04 Jul 2007
iPhone-Mania -- iPhone und Python [ 00:07 Uhr ] [ 110 Worte ]

Na ja, da wird es dann doch langsam Zeit, dass wir in der Schule im Informatikunterricht mit Mobiltelefonen arbeiten ;-)

WebShell »is a web-based ssh shell for the Apple iPhone. It is written in Python and is very easy to set up on Linux, Mac OS X, FreeBSD, Solaris, and any Unix that runs python 2.3. It is based on Ajaxterm

[ rss10 Feed ] http://www.schockwellenreiter.de/xml/rss.xml [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://www.schockwellenreiter.de/2007/07/03.html#iphonemania [ Verweis - Eintrag ]

Mon, 25 Jun 2007
Sat, 23 Jun 2007
py-notify 0.1.9 [ 22:34 Uhr ] [ 71 Worte ]

Eine nette Implementierung des Beobachtermusters in Python. Im Tutorial wird ausführlich die Nutzung beschrieben.

An unorthodox implementation of Observer programming pattern.
2007-06-22 18:44:12.00Z
[ rss10 Feed ] http://cheeseshop.python.org/pypi?%3Aaction=rss [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://cheeseshop.python.org/pypi/py-notify/0.1.9 [ Verweis - Eintrag ]

Monty Hall Python [ 22:13 Uhr ] [ 359 Worte ]

Bei uns als »Ziegenproblem« bekannt

The Monty Hall Problem is one of my favourite examples of a counterintuitive solution in mathematics.

It works as follows:

  • A car (or some other suitable prize) is placed behind one of three closed doors.
  • You, as contestant, pick one of the doors.
  • The host of the show, Monty Hall, opens one of the other two doors (making sure to pick one without the car)
  • You are then given the option to stay with your original pick or to switch to the other unopened door.

Now, the counterintuitive solution is that you double your changes of winning by switching. This is counterintuitive because Monty opening one door hasn't told you anything new about which of the two remaining closed door is likely to have the car behind it.

Here's how I think about it mathematically: when you pick your door, there is a 1/3 chance it's behind the door you picked and a 2/3 chance it's behind one of the other two doors. When Monty opens one of the doors, he hasn't changed that fact: there's still a 2/3 chance it's behind one of the two doors you didn't pick. It's just now he's narrowed down which of the two doors it could be behind. So there's a 2/3 chance it's behind the door you didn't pick that's still closed as opposed to a 1/3 chance it's behind the door you original picked. So you double your chances by switching.

Sound convincing? Well, some people still like to see it played out. So here is a little Python program that will play 1000 games and show you the proportion that would be won by a stayer and the proportion that would be won by a switcher.

2007-06-19T13:12:57Z

[ Quelle: ]
James Tauber
[ rdf Feed ] http://www.jtauber.com/atom/full/ [ Verweis - Nachrichtenkanal ]

[ xhtml ] http://jtauber.com/blog/2007/06/19/monty_hall_python [ Verweis - Eintrag ]

<<  0 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35  >>


Inhalte unterliegen dem Copyright von L. Humbert.
Creative Commons License
Die Inhalte stehen unter einer Creative Commons License.