Archive for November, 2002

02-11-30

Tags: Whole Language Lives On

Table of Contents

Foreword

Executive Summary

Glossary

Introduction and Summary

What Is Whole Language?

A Typical Whole-Language Class

Whats Wrong with Whole Language?

The Consequences of Whole Language for Teachers and Children

Whole Language Persists

What Next?

Notes

Foreword
Regular readers of this foundations publications and web site know we believe strongly that schools should utilize best practices that are supported by scientific research and […]

">Whole Language Lives On

»»» (Teaching) | 1

No Tags

02-11-30

Tags:

">California Curriculum Policy in the 1990s
»»» (Teaching) | 0

No Tags

02-11-30

Tags:
Quote of the day Posted 6/9/01; 11:37:57 PM | Writing |Discuss | Edit
Quote of the day
“We are all working toward daylight in the matter, and many of the discrepancies of facts and theories are more apparent than real.”– E. B. Huey, 1908, p. 102

">Huey quote
»»» (Research) | 0

No Tags

02-11-30

Tags:
Muarry(2000) on EM measures and coupling
I posted these on 6/26/01 while writing my dissertation. Worth revisiting?
Murray, W. S. (2000). Commentary on Section 4. Sentence processing: Issues and measures. In A. Kennedy & R. Radach (Eds.), Reading as a perceptual process (pp. 649-664). Amsterdam, Netherlands: North-Holland/Elsevier Science Publishers.
Murray (2000) on the coupling of cogntion and […]

">Muarry(2000) on EM measures and coupling
»»» (Research) | 0

No Tags

02-11-30

Tags: Panel Says Bell Labs Scientist Faked Discoveries
Read this a while back, but thought it would be a good piece for teaching.
Associated PressJan Hendrik Schon, a researcher in electronics at Bell Labs, has been fired after an outside review committee found he falsified experimental data.

Panel Says Bell Labs Scientist Faked DiscoveriesBy KENNETH CHANG
series of […]

">Panel Says Bell Labs Scientist Faked Discoveries

»»» (Odds'n'Ends) | 0

No Tags

02-11-29

Tags: (ym2002) 68 % source tcl_em_status.tcl(ym2002) 70 % ym_timer 100 “tcl_em_status 100 100 100 100 100″114.89(ym2002) 71 % ym_timer 1000 “tcl_em_status 100 100 100 100 100″115.383(ym2002) 72 % ym_timer 1000 “tcl_em_status 100 100 100 100 100″114.582(ym2002) 72 % 

">tcl_em_status.tcl
»»» (Computing) | 0

No Tags

02-11-29

Tags: Created a utility function to read the value from a float [2] array, giving a pointer. See the C code below.
//=======================================// support to access internal stucture of ALL_DATA
// returns the value of pf+index// input a pointer to float and an index (0 or 1)// returns//   error if return=-9999.0float FSAMPLE_eyedata_get(float *pf, int index) { //  if (pf==NULL) […]

">YM2002:: FSAMPLE_eyedata_get
»»» (Computing) | 0

No Tags

02-11-29

Tags: This is a test code. It requires the eyelink.dll and other related dlls.
The GetCursorPos function works, but it has low priority, which means that when the program is really busy, it checks moust position every 10 seconds or so. Should still use GetMessageA function, as seen in the tcl_trial.tcl code.
# test get mouse positionset […]

">Tcl:: GetCursorPos
»»» (Computing) | 0

No Tags

02-11-29

Tags: SWIG wraps ALLF_DATA union as an object with pointers to its members, one of which is FSAMPLE structure. SWIG provides some functions to access members of  FSAMPLE, but the gx, gy, etc were not accessible for the following reason:
FSAMPLE is defined as the following. Note that gx is basically a pointer to float (ok, two consecutive float).
typedef struct {   UINT32 time;   […]

">SWIG:: how it handles arrays
»»» (Computing) | 0

No Tags

02-11-29

Tags: 21.3.6 StructuresIf you wrap a C structure, it is wrapped by a Tcl interface that somewhat resembles a Tk widget. This provides a very natural interface. For example,

struct Vector {
double x,y,z;
};

is used as follows:

% Vector v
% v configure -x 3.5 -y 7.2
% puts “[v cget -x] [v cget -y] [v cget -z]”
3.5 7.2 0.0
%

">SWIG:: Structure is also an object

»»» (Computing) | 0

No Tags

02-11-29

Tags: 21.3.7 C++ classesC++ classes are wrapped as an extension of structure wrapping. For example, if you have this class,

class List {
public:
List();
~List();
int search(char *item);
void insert(char *item);
void remove(char *item);
char *get(int n);
int length;
};
you can use it in Tcl like this:
% List x
% […]

">SWIG:: C++ classes are objects in TCl

»»» (Computing) | 0

No Tags

02-11-28

Tags:
CrossPad
CrossPad: No longer availableIt looks like a better alternative to the Seiko pen, at least it has a pad that does nto band.
CrossPad by Cross (Pen Computing Group)  is an item which is described as a Portable Digital Notepad (PDN).   This is a revolutionary tool that lets you upload all your notes into your PC.  This device combines the simplicity of the pen and the power of the PC.  
The CrossPad comes in two sizes—CrossPad […]

">CrossPad
»»» (Computing) | 0

No Tags

02-11-28

Tags:

eyelink.dll
This is the SWIG-wrapped functions to EYELINK system calls.
eyelink.i -> eyelink_wrap.c -> eyelink.dll
One benefit to go with SWIG is that the C functions I wrote are not modified to fit TCL. Instead, I can simply change the Project setting to choose generating *.exe or *.dll files. Both of them work. (SWIG does not care […]

">eyelink.dll & SWIG

»»» (Computing, Research) | 0

No Tags

02-11-28

Tags: eyelink.dll
This is the SWIG-wrapped functions to EYELINK system calls.
eyelink.i -> eyelink_wrap.c -> eyelink.dll
One benefit to go with SWIG is that the C functions I wrote are not modified to fit TCL. Instead, I can simply change the Project setting to choose generating *.exe or *.dll files. Both of them work. (SWIG does not care […]

">eyelink.dll
»»» (Research) | 0

No Tags

02-11-28

Tags: tcl_trial.tcl
This script is same as ym_trial() in ym_support.c.

Now I have wrapped pretty much all EYELINK data structures and system functions in Tcl, using SWIG.
See eyelink.i for functions and structures that are not wrapped (search for “%include” and watch the lines with // right below those). They are excluded at the moment because they often […]

">tcl_trial

»»» (Research) | 0

No Tags

02-11-27

Tags: CrossPad: No longer available
CrossPad by Cross (Pen Computing Group)  is an item which is described as a Portable Digital Notepad (PDN).   This is a revolutionary tool that lets you upload all your notes into your PC.  This device combines the simplicity of the pen and the power of the PC.  
The CrossPad comes in two sizesCrossPad […]

">CrossPad
»»» (Odds'n'Ends) | 2

No Tags

02-11-27

Tags: Logitech - > Products > By Category > Digital Pen and Paper >
About the Digital Pen
The Logitech io digital pen looks and feels just like an ordinary ballpoint pen and you use it in the same way. There are no keys to press and no display. You activate the pen simply by removing the cap […]

">Logitech io digital pen
»»» (Odds'n'Ends) | 1

No Tags

02-11-27

Tags: SWIG Library
The cpointer.i module defines macros that can be used to used to generate wrappers around simple C pointers. The primary use of this module is in generating pointers to primitive datatypes such as int and double.

12.2.1 cpointer.iThe cpointer.i module defines macros that can be used to used to generate wrappers around simple C pointers. […]

">SWIG: special classes for pointers

»»» (Computing) | 0

No Tags

02-11-27

Tags: SWIG Basics
4.4.9 Pointers to functions and callbacks Occasionally, a C library may include functions that expect to receive pointers to functions–possibly to serve as callbacks. SWIG provides full support for function pointers provided that the callback functions are defined in C and not in the target language. For example, consider a function like this:
int binary_op(int […]

">SWIG :Pointers to functions and callbacks
»»» (Computing) | 1

No Tags

02-11-26

Tags: One thing I stuck with in trying to wrap some of the Eyelink APIs is that EYELINK API uses many typedef such as UINT32. Things like this need to be explicitly included in the *.i file. Using #include does not seem to work. Same is true for struct and alike.

">SWIG needs explicit typedef
»»» (Computing) | 0

No Tags