Practice meeting, Dec. 2nd

6 views
Skip to first unread message

Lyle Kopnicky

unread,
Nov 12, 2019, 12:04:04 AM11/12/19
to pdxfunc
When: Monday, Nov 11th, 6:30-8:30pm

Where: Collective Agency Downtown, Suite 1108, 511 SW 10th Ave, Portland, OR (opposite side of the floor from the elevators)

We'll discuss Chapter 14, "Distributed Programming", of Parallel and Concurrent Programming in Haskell. Please read it beforehand. You may wish to try running the code examples from the book. At the meeting anyone will be able to present and contribute to the discussion.

Meetup link to RSVP:

Hope to see you then!

Lyle Kopnicky

unread,
Nov 12, 2019, 12:04:55 AM11/12/19
to pdxfunc
Correction to the body of the announcement. It is on Dec. 2nd, as in the subject, not Nov. 11th. Same time/location.

Lyle Kopnicky

unread,
Dec 1, 2019, 10:31:02 PM12/1/19
to pdxfunc
FYI, this command works for me for compiling the ping program:

stack ghc --package=distributed-process --package=distributed-process-simplelocalnet distrib-ping/ping.hs

You need to compile from the parconc-examples directory, so it will find DistribUtils.hs.

- Lyle

--
You received this message because you are subscribed to the Google Groups "pdxfunc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdxfunc+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdxfunc/6f78e82a-f9de-43ea-a747-bf14eed28616%40googlegroups.com.

Lyle Kopnicky

unread,
Dec 15, 2019, 8:04:17 PM12/15/19
to pdxfunc
Another fun meeting on the 2nd. We got through about half of the chapter on Distributed Programming, finishing with Typed Channels.

We were able to run the examples, except when it got to trying to run a process on multiple machines, with auto-discovery. It seems you need to be running the same binary on all the machines, and thus the same operating system. You also need to be running on a LAN, where presumably it can use broadcast messages for discovery.

We also aren't clear why we should call terminate at the end of a process, since that happens automatically. Supposedly it will make a difference in larger programs. Maybe we'll find out later in the chapter.

- Lyle
Reply all
Reply to author
Forward
0 new messages