Search the web
Sign In
New User? Sign Up
wingding · Wing Ding Design Pattern
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 902 - 931 of 1291   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
902
For our April 8 meeting I will be leading the discussion on Chapter 24, Beautiful Concurrency. Simon Peyton Jones continues to pitch how Software ...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 2, 2008
5:47 am
903
He never really explains why this is a bad idea, other than to fall back on dogma. Well, and yelling. He simply dismisses the banking example out of hand....
jason marshall
jdmarshall@...
Send Email
Apr 2, 2008
3:29 pm
904
... Said another way: FP is "good for you" but that doesn't mean it's going anywhere. Unless... Whenever life is tough in the real world, functional...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 2, 2008
4:05 pm
905
... This comic makes a similar point - sometimes you need side-effects: http://www.lisperati.com/landoflisp/...
Asim Jalis
asimjalis
Offline Send Email
Apr 2, 2008
7:42 pm
906
I don't think that applied STM is going to look like normal code with some 'atomic' blocks sprinkled in as this rant suggests. It won't work that way, just...
jason marshall
jdmarshall@...
Send Email
Apr 3, 2008
4:32 am
907
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Beautiful Code" by Andy Oram, Greg Wilson. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 7, 2008
3:56 pm
908
... At first glance, I think a solution in jCSP would look similar to the Haskell and Erlang solutions. There's a full discussion of a "correct" Ada solution...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 7, 2008
7:16 pm
909
After a tad more thought, I think you can code this problem in Java fairly straightforwardly using a few cyclic barriers and a priority queue: A cyclic barrier...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 8, 2008
12:50 am
910
And here's the code in Java, for comparison. /* * SantaClausProblem.java */ import java.util.Random; import java.util.concurrent.BlockingQueue; import...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 8, 2008
7:49 am
911
Thanks, Joe Thanks a lot, that'll be great for comparison! Bob ... === message truncated === ...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 8, 2008
3:30 pm
912
I'm wondering how much simplification can be made of this. I'll try to give it a whirl before the meeting. But if this really is the canonical example, then...
jason marshall
jdmarshall@...
Send Email
Apr 8, 2008
4:28 pm
913
I think the Java version is pretty simple and straightforward. It's also complete -- starting and stopping the threads, handling exceptions, exiting normally,...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 8, 2008
7:22 pm
914
... Oops. "Belie" is the opposite of what I meant....
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 8, 2008
7:25 pm
915
I'm going to have to disagree. The code has no obvious defects, but it is not obvious that the code has no defects. I think the general problem in Java...
jason marshall
jdmarshall@...
Send Email
Apr 8, 2008
9:56 pm
916
FWIW I simplified the code quite a bit. There are now only three classes: 1. Santa 2. GroupActivity (for "delivering toys" and "meeting with elves") 3. Worker...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 9, 2008
6:31 am
917
Joe, just a couple of points I noted in your code, neither of which may affect its correctness as a solution to the problem: Santa's run method may never end: ...
Stuart Maclean
stanleyarms
Offline Send Email
Apr 9, 2008
11:30 pm
918
... Hey Stuart, Santa and Worker (Elves & Reindeer), which are the objects that implement Runnable, run in their own thread and they are programmed to quit...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 10, 2008
12:19 am
919
Stuart, Your question caused me to take a second look at the interrupt & exception handling and I realized that it was overly verbose. Instead of catching and...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 10, 2008
7:12 am
920
Joe, I would like to see the "even more beautiful code". Bob ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 10, 2008
3:40 pm
921
... Here ya go. /* * SantaClausProblem.java */ import java.util.Deque; import java.util.Random; import java.util.concurrent.BlockingDeque; import...
Joe Bowbeer
joebowbeer
Offline Send Email
Apr 10, 2008
6:32 pm
922
I can recall which chapter are we going through that week - anyone? Thanks, Piotr...
Piotr Wyrwinski
apwyrwa
Offline Send Email
Apr 12, 2008
12:23 am
923
I meant to say I can't recall, sorry. Piotr ... From: Piotr Wyrwinski <apwyrwa@...> To: wingding@yahoogroups.com Sent: Friday, April 11, 2008 5:23:04 PM ...
Piotr Wyrwinski
apwyrwa
Offline Send Email
Apr 12, 2008
2:52 am
924
Next up is Chapter 26: Labor-Saving Architecture: An Object-Oriented Framework for Networked Software. William Otte and Douglas C. Schmidt apply a range of ...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 13, 2008
11:17 pm
925
That's my plan. Linus Robert Kuhar wrote: Next up is Chapter 26: Labor-Saving Architecture: An Object-Oriented Framework for Networked Software. William Otte...
Linus Kamb
linuskamb
Offline Send Email
Apr 14, 2008
7:22 am
926
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Beautiful Code" by Andy Oram, Greg Wilson. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Apr 21, 2008
6:45 pm
927
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) continues our exploration of "Beautiful Code" by Andy Oram, Greg Wilson. The next...
Robert Kuhar
robertkuhar
Offline Send Email
May 12, 2008
2:03 am
928
Sorry for the late notice. But something came up that is taking me out of town next week. I won't be able to make the meeting. Stan also, who was going to...
Robert Kuhar
robertkuhar
Offline Send Email
May 24, 2008
3:13 pm
929
The WingDings Study Group (http://tech.groups.yahoo.com/group/wingding) wraps up our exploration of "Beautiful Code" by Andy Oram, Greg Wilson. The next...
Robert Kuhar
robertkuhar
Offline Send Email
Jun 7, 2008
7:37 pm
930
... This reminds me that I wanted to plug the new edition of Effective Java: http://java.sun.com/docs/books/effective/ I think it would be a good choice for...
Joe Bowbeer
joebowbeer
Offline Send Email
Jun 7, 2008
8:10 pm
931
+1 for Effective Java. I haven't attended since early in the Concurrency book (career craziness, but things have settled down now), but I'd certainly come back...
Jim Tomlinson
caffeiniebaby
Offline Send Email
Jun 8, 2008
8:45 pm
Messages 902 - 931 of 1291   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help