Skip to content

Weblog About Jim Jim's Resume Discussion Mailing List Search
  You are not logged in Link icon Log in Link icon Join
You are here: have browser, will travel

Twitter Updates
Pro Services

Jim Roepcke specializes in WebObjects (Java), Plone (Zope, Python), and Cocoa (Objective-C).

  • consultation
  • development
  • documentation
  • mentoring

Contact Jim for more information.

Python Tutorial

I presented the Introduction to Python for Plone developers tutorial at the first Plone conference in October 2003. Slides and Video are available to all on the plone.org site.

Badges

Proud Member of the ACM

Proud Member of the Association for Computing Machinery

RSS reader for Mac OS X

NetNewsWire: More news, less junk. Faster

Fantasy Trading of HBWT at:

Listed on BlogShares

Design by:

Powered by Plone
Blog Directory - Blogged
Log in
Name

Password

 
I forgot my password; please send me a new one.
 


Thursday, January 24, 2008

900,000 processes in Erlang

I started up an Erlang shell with a one million process limit. (erl +P 1000000)

I then fired up the multiple consumer / multiple producer problem I whipped up for my concurrency class, and asked for 400,000 consumers and 500,000 producers. It actually worked!

I tried it with about 100,000 processes first, and that was no problem, but I was skeptical that it would start nearly a million processes. But it appeared to work fine. My machine was getting really HOT and unhappy so I stopped it and haven't had time to prove correctness on that sample yet, but at a glance it looked like it was doing the right thing.

One of the nicest things about this was it was automatically using both cores in my MacBook Pro without having to write a single line of code to ask it to do that. Maybe that's not earth-shattering these days, but it's nice anyway. :-)

Geez, I'm still mesmerized by that Rick Nash goal from last week's post!

I want to try out my program on my graphics prof's 8-core Mac Pro and see how many processes I can start on it. Muuuuhahahaha!!!

Thread: 0 replies. reply Last updated: 2:49 AM

Thursday, January 17, 2008

Nicest goal in a LONG time

Besides Ovechkin's goal from his back a couple years, this is the nicest goal I've seen in years.

Rick Nash Goal, Jan 17 2008

Thread: 0 replies. reply Last updated: 11:54 PM

Wednesday, January 2, 2008

The term from hell was a success, one more to go!

I just received word of the last grade I was waiting for for last term's courses.

I took the 3 CS courses that are reputed to have the highest/hardest assignment/project workloads, courses our advisors advise against taking concurrently, and I ended up with 2 A's and an A+. :-)

(The three courses: Graphics, Compiler Construction, Networking)

I really think I deserved one more A+ (in graphics), I don't know why I lost a couple marks on my raytracer, I did everything that was asked for and implemented bonus features, so I'll look into that next week. Even still, I'm pretty happy, an 8.33/9.0 grade point average for the term, beating my previous high of 8.0/9.0 last year.

W00T!

This term (which starts tomorrow, sigh) I'll be taking 4 courses. Right now, those 4 are:

ENGR 240 (Technical Writing for Engineers)

C SC 464 (Concurrency)

SENG 310 (Human Computer Interaction)

SENG 401 (Social and Professional Issues)

My schedule is half blessing, half curse: the good part is I have no morning classes and no school on Friday... the bad part is I have school until 6pm Monday through Thursday.

Thread: 0 replies. reply Last updated: 3:37 PM


January, 2008
Sun Mon Tue Wed Thu Fri Sat
  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  
Dec  Feb
 
Sponsors
Research

Jim Roepcke is Willing to Fail

Books

I'm currently reading:

I'm currently reading Programming Erlang

I co-authored:

I co-authored this book