The error below occurs at the point where you are connecting to a server.

Did you start the server first, as per lab instructions?

-------------------

   Lab: Client/Server (Simple Socket)
Author: Eric Iverson
To advance the lab, select menu Studio|Advance or the
corresponding shortcut.

── (13 of 37) Client (ctd) ──────────────────────────────────
We establish a connection to the server with a client object.
)
   c=: 1200 conew 'jssc' NB. create client object for port 1200
|attention interrupt: sdselect
|   _1=    res q=.selectJ(<max1),rwe,time


On Wed, Jun 11, 2014 at 9:02 PM, Björn Helgason <gos...@gmail.com> wrote:

> I have stepped through all labs.
>
> A few questions I have to look at closer.
>
> Here is a list of errors encountered
>
>    JVERSION
> Engine: j701/2011-01-10/11:25
> Library: 8.02.06
> Qt IDE: 1.1.1/5.3.0
> Platform: Win 64
> Installer: J802 install
> InstallPath: c:/users/bjorn/j64-802
>
> -------------------------------
>
> addons/labs/labs/livetexts/candg.ijt
>
> ── ((4) 11 of 23) Bernoulli numbers ─────────────────────────
>
> In BON, the coefficients given in the equations defining the
> Bernoulli numbers are the alternating binomials, and are used
> as shown below. The function x: (used in coeffs) invokes the
> use of extended precision, presenting rationals in the form
> 1r2 and 1r6, etc.:
> )
>
>    bern=:(] mp numerator % denominator) , ]
>       numerator=:2 with trim on coeffs
>       denominator=:2 with from on - on coeffs
>          coeffs=:abct on inc on x: on #
> |domain error: on
> |   coeffs=:    abct on inc on x:on#
> |[-3]
>             abct=:(] BC ei) * (_1 with power on ei)
>
>
> on=:@:
>
> (this works ok in 32 bit win32 j801)
>
> -------------------------------------
>
> addons/labs/labs/general/circuittheoryi.ijt
>
> LABTITLE=: 'Circuit Theory I'
> LABAUTHOR=: 0 : 0
> John C. Wilson
> Comments to  J Forum  or johnwil...@pocketmail.com
> )
> LABDEPENDS=: 'numeric'
>
> NB. =========================================================
> Lab Chapter Introduction
> NB. =========================================================
> Lab Section Circuit Theory I
>
> Circuit Theory I
> Introduction, definition and operations.
>
> ── ((3) 32 of 49) Restriction: Example (ctd) ────────────────
>
> To solve the problem we define a function  foo  that computes
> cs  for a given  vs .
>
> Then use Newton's iteration to find a zero of this function.
> )
>
>    foo =: monad : 's{ g y s}v'
>    foo ra 2               NB. generally not zero
> 300 300
>    vs =: foo Newton ra 2
> |domain error: run1
> |   vs=:    foo Newton ra 2
> |[-2]
>
> (also in j801 win 32)
>
> --------------------------------------
>
>    Lab: Client/Server (Simple Socket)
> Author: Eric Iverson
> To advance the lab, select menu Studio|Advance or the
> corresponding shortcut.
>
> ── (13 of 37) Client (ctd) ──────────────────────────────────
> We establish a connection to the server with a client object.
> )
>    c=: 1200 conew 'jssc' NB. create client object for port 1200
> |attention interrupt: sdselect
> |   _1=    res q=.selectJ(<max1),rwe,time
>
> ----------------------
> Lab: Finite mathematics
> Author: KEI
> To advance the lab, select menu Studio|Advance or the
> corresponding shortcut.
>
> ── ((3) 5 of 11) B. Adding and Subtracting Matrices ─────────
>
> The expression 3 4 TO 5 generates a matrix of 3 rows and 4
> columns with integer elements chosen at random in the
> interval _5 to 5. We will use such random matrices to
> illlustrate the application of addition, subtraction, and
> other functions to matrices.
> )
>    A34=:3 4 TO 5
>
>    B34=:3 4 TO 5
>
>    C43=:4 3 TO 5
>
>    A34;B34;C43
> ┌──────────┬──────────┬───────┐
> │_4 _4  5 1│_2  1 3 _1│_4  1 2│
> │ 2 _2 _3 5│_2 _2 0 _1│ 3  0 2│
> │_3 _5 _5 1│ 2 _1 0  0│ 0  2 0│
> │          │          │ 0 _2 0│
> └──────────┴──────────┴───────┘
>
>    A34+B34
> _6 _3  8 0
> 0 _4 _3 4
> _1 _6 _5 1
>
>    A34-B34
> _2 _5  2 2
> 4  0 _3 6
> _5 _4 _5 1
>
>    A34+C43
> |length error: run1
> |   A34    +C43
> |[-12]
>
> (Is this supposed to work?)
>
> ------------------------------
> Lab: Fuzzy Logic
> Author: Brian Schott
> To advance the lab, select menu Studio|Advance or the
> corresponding shortcut.
>
> ── (6 of 17) Trapezoid membership function Generation ───────
> The dyadic verb "trap" creates trapezoid shaped membership
> functions. Each trapezoid is defined by  a 4-tuple (aa, bb,
> cc, dd). The 4-tuple is the righthand argument for the dyad
> trap; the lefthand argument is the vector of universal set
> values.
>
> The "core" of a fuzzy membership function are the values
> which correspond to a membership value of 1.0. The "support"
> of a fuzzy membership function are the values which
> correspond to a membership value > 0.0.
> )
>    NB.     ______
>    NB.    /      \
>    NB.   /        \
>    NB. _/          \____
>    NB. aa bb    cc dd
>    NB.
>
>    trap =: (ns`ls`co`rs`ns) @. ag"0 1
> |domain error: run1
> |   trap=:(    ns`ls`co`rs`ns)@.ag"0 1
> |[-7]
>
>
> ------------------------
>
> Unexpected in j802 that neither viewmat nor plot take fokus and can appear
> in the background
>
> ----------------
>
> LABTITLE=: 'Linear algebra (Schaum)'
> LABDEPENDS=: 'graph plot viewmat'
>
> (starting results in popup
> runquiet
> test=:3: digits ] mp |:
> )
>
> (works ok  in j801)
>
> ── ((1) 1 of 36) 1. Introduction ────────────────────────────
>
> This lab is written as a companion to Seymour Lipshutz
> "LINEAR ALGEBRA" of Schaum's Outline Series, published by
> McGraw Hill, 1991, ISBN 0-07-038007-4. It will be referred to
> here by the author's initials SL.
>
> The use of the computer makes it possible to experiment with
> mathematical ideas with ease and precision, sometimes
> expanding on the text-book treatment, and often providing new
> insights. You are always in control of the computer and may
> enter any experiment you wish, concluding each entry by
> pressing the Enter key.
>
> Although texts in the Schaum Outline Series are not commonly
> adopted for college courses, one of them is chosen here for
> the following reasons:
>
> 1. Adopted texts in Linear Algebra are so various that
>    there appear to be none that are widely used.
>
> 2. Designed as aids to students in a variety of courses,
>    the Schaum Outline Series provide broader treatments
>    than most other texts.
> )
> |syntax error: runquiet
> |   test=:    3:digits]mp|:
> |[-15]
>
> -----------------------------
>
> (just a short question)
> (from the mapped files)
>
> ── (7 of 68) overview (ctd) ─────────────────────────────────
> When you start an application the OS creates a new process.
>
> A process has a 4GB virtual address space (VAS); each address
> from 0 to 2^32 can have a byte value.
>
> Initially none of the addresses have values.
> )
>
> (is this the same size in 64 bit as in 32 bit??)
>
> -----------
>
> OpenGL Utilities
>
> Lab dependency not an addon: C:\Users\bjorn\j64-802/gl3
>
> -----------------
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to