Re: Advice on ST-Object data-structure setup

2024-04-20 Thread ken . dickey
On 2024-04-20 02:49, Mikael Djurfeldt wrote: Have you looked at Guile's OOP system GOOPS? Thanks, Mikael. I have implemented a number of object systems, including CLOS style systems such as GOOPS. The mismatch here is in the overhead of the multimethod dispatch. I would like something

Re: Advice on ST-Object data-structure setup

2024-04-17 Thread ken . dickey
On 2024-04-17 09:34, Maxime Devos wrote: > LICENSE says 'Copyright (c) 2016', but some files date from 2024. It's a bit > inconsistent ... Do you mean that changes >2016 are public domain, or not > covered by BSD license, or the inconsistency is an oversight? Ah. Thanks. I used Larceny

Re: Advice on ST-Object data-structure setup

2024-04-17 Thread ken . dickey
Basile, Thank you much for the thoughtful reply. On 4/16/24 23:14, ken.dic...@whidbey.com wrote: .. I am looking at porting a toy Smalltalk-in-Scheme implementation to Guile. On 2024-04-17 00:10, Basile Starynkevitch wrote: .. I think it depends upon your goals; I assume your x86-64

Advice on ST-Object data-structure setup

2024-04-16 Thread ken . dickey
Greetings, I am looking at porting a toy Smalltalk-in-Scheme implementation to Guile. [Note https://github.com/KenDickey/Crosstalk ]. The idea is for simplicity first, then making into a module and potentially evolving Smalltalk into a supported, compiled ",language" in the Guile way.

Re: [Article] NuttX on Ox64 BL808 RISC-V SBC: Sv39 Memory Management Unit

2023-11-19 Thread ken . dickey
Lup, Another great article! One suggestion. In section 10 "Swap the SATP Register" You mention: "Huh? Our Applications can meddle with the I/O Memory? Nope they can’t, because the “U” User Permission is denied. Therefore we’re all safe and well protected! " I may have missed the

Re: riscv64 libm link question

2023-09-18 Thread ken . dickey
On 2023-09-18 15:10, Alan C. Assis wrote: .. Did you enable CONFIG_LIBM in the menuconfig? Normally it is enough if your arch correctly configured. Yep. Enabled. I added LDLIBS += $(APPDIR)/../nuttx/libs/libm/libm.a to the Makefile and the Scheme interpreter works -- some console

Re: riscv64 libm link question

2023-09-18 Thread ken . dickey
On 2023-09-18 13:08, Alan C. Assis wrote: The thumb rule when starting with NuttX is using an existent configuration as base. OK. Unfortunately the menuconfig is not prepared (better say it cannot) to fix all dependencies for an driver or application (because of the flexibility to use

Re: riscv64 libm link question

2023-09-18 Thread ken . dickey
On 2023-09-18 12:05, Alan C. Assis wrote: Hi Ken, Are you enabling the same symbols as in the sim bas or bastest ? I just used menuconfig interpreters bas selection Raspian:RasPi4:~/RISCV/NuttX/nuttx >>> grep CONFIG_INTERPRETER_BAS .config CONFIG_INTERPRETER_BAS_VERSION="2.4"

Re: riscv64 libm link question

2023-09-18 Thread ken . dickey
Ah. I tried using `make menuconfig` to build the Basic interpreter. Raspian:RasPi4:~/RISCV/NuttX/apps >>> riscv64-linux-gnu-gcc-nm -u bin/bas U atan U ceil U cos U exp U floor U fmod

Re: riscv64 libm link question

2023-09-18 Thread ken . dickey
As I am building on aarch64/arm64 Linux, someone might have a better time with x86. I made a git repo: https://github.com/KenDickey/nuttx-umb-scheme This goes into apps/interpreters. The code has been reliably ported a lot and should run on most targets with command line console.

Re: riscv64 libm link question

2023-09-17 Thread ken . dickey
On 2023-09-17 12:47, Petro Karashchenko wrote: Hi, What kind of RISC-V toolchain are you using? Raspian:RasPi4:~/RISCV/NuttX/apps >>> apt search riscv64-unknown Sorting... Done Full Text Search... Done binutils-riscv64-unknown-elf/oldstable,now 2.32.2020.04+dfsg-2 arm64 [installed] GNU

riscv64 libm link question

2023-09-17 Thread ken . dickey
Please forgive the noob question. I am porting a Scheme interpreter to riscv64 NuttX as apps/interpreters/umb-scheme/ but the binary fails to link in libm functions. I could use some help in this. Specifically, building on Raspberry Pi 4 Raspian 64 bit:

Re: OpenBSD on Le Potato

2022-07-06 Thread ken . dickey
You might gain more info from the Armbian Linux distro which works fine on LePotato https://www.armbian.com/lepotato/ FYI, -KenD On 2022-07-06 13:45, j...@entropicblur.com wrote: .. I had an unused Le Potato SBC lying around, so I took a crack at installing OpenBSD/arm64 on it.

NetSurf + MUSL (framebuffer;aarch64;Alpine Linux)

2020-07-23 Thread ken . dickey
Greetings, I am attempting to build NetSurf with TARGET=framebuffer on Alpine Linux (musl,busybox,aarch64) but am having a bit of trouble and have not used C in a couple of decades, so am not fast. I was wondered if you could point me in the right direction. Thanks a bunch! -KenD

[Qemu-devel] [Bug 1733720] Re: raspi2 with multiple CPU's #1

2017-11-21 Thread Ken Dickey
Sorry again, "MPIDR" Gotta learn to type! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1733720 Title: raspi2 with multiple CPU's #1 Status in QEMU: Invalid Bug description: Greetings, I

[Qemu-devel] [Bug 1733720] Re: raspi2 with multiple CPU's #1

2017-11-21 Thread Ken Dickey
NOT A BUG Reviewed the code and found the problem. asm volatile("mrc p15, 0, %[id], c0, c0, 0 @ read MIDR\n\t" ... I miscopied the code above; MIDR should have been MIPDR ( 5 ) I now get: Linux:armv7l: ~/Downloads/RaspiTest/BareBones >>> ./qemu.sh 0H312ello, kernel World! Sorry about the

[Qemu-devel] [Bug 1733720] [NEW] raspi2 with multiple CPU's #1

2017-11-21 Thread Ken Dickey
Public bug reported: Greetings, I am running a small program for raspi2 (from http://wiki.osdev.org/ARM_RaspberryPi_Tutorial_C). This code writes "Hello World", but the output ir repeated 4 times. My thought was that this is emulating a 4 cpu core system. However, when I check the MPIDR

library/6407: BUG: automake with no AUTOMAKE_VERSION has zero exit status

2010-06-18 Thread Ken Dickey
. Re: libtool 2.2.8 build on OpenBSD 4.7 fails test suite From: Ralf Wildenhues ralf.wildenh...@gmx.de (Institute for Numerical Simulation, University of Bonn) To: Ken Dickey ken.dic...@whidbey.com CC: bug-libt...@gnu.org Date: Today 11:16:55 am Hello Ken, thanks for the report

[Gnash-dev] Re: need build help for OpenBSD 4.7 Gnash 0.8.7

2010-06-18 Thread Ken Dickey
On Friday 18 June 2010 07:59:42 am Petter Reinholdtsen wrote: My guess would be that the variable supposed to point to libtool is empty. I tried both the installed version of libtool [1.5.26] and the newer version [2.2.8] but both seem to indicate the (same) lack of parametrization for

Re: [Gnash-dev] Re: need build help for OpenBSD 4.7 Gnash 0.8.7

2010-06-18 Thread Ken Dickey
$ gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.7/3.3.5/specs Configured with: Thread model: single gcc version 3.3.5 (propolice) I'll try the latest... -KenD ___ Gnash-dev mailing list Gnash-dev@gnu.org

Re: [Gnash-dev] need build help for OpenBSD 4.7 Gnash 0.8.7

2010-06-17 Thread Ken Dickey
Getting closer. Any hints on the --tag=CC problem? Thanks again for putting up with a noob, -KenD === $ env .. AUTOCONF_VERSION=2.62 AUTOMAKE_VERSION=1.9 .. $ ### prefs from 0.8.3 ports config.log ### $ ./configure

[Pharo-project] Less Complex Development Image

2009-09-22 Thread Ken Dickey
Greetings, I was disappointed to download the latest development image and find the old Complex cruft hanging around. Is there a compelling application that this enables? I would really prefer that the Complex class be removed from the 1.0 candidate. Thanks for listening, -KenD

Re: [Pharo-project] NBS-ISCC Color Names

2009-09-17 Thread Ken Dickey
Michael van der Gulik mike...@gmail.com ... Can we handle white being F2 F3 F4 rather than FF FF FF? This is like this because of some reason to do with printer gamuts. It should already be thus (tell me if I made a mistake). If you look closely, in ColorinitializeNames we find: self

[Pharo-project] NBS-ISCC Color Names

2009-09-16 Thread Ken Dickey
Greetings, I don't know if anyone is interested, but PharoInbox now contains a change set, Graphics-KenDickey.131, which adds Color names based on NBS-ISCC Color Centroids as described in: http://people.csail.mit.edu/jaffer/Color/Dictionaries After the change set has been filed in, one

Re: [Pharo-project] Complex Solutions

2009-08-31 Thread Ken Dickey
Bill, I have already said that I think IEEE floats tend to give the wrong answer fast. Better solutions are hard to come by, however, as they definately depend on the problem domain. E.g. Apple's old plot program used interval arithmetic and did a great job with functions like x * sin(1/x)

Re: [Pharo-project] Complex Solutions

2009-08-30 Thread Ken Dickey
From: Schwab,Wilhelm K bsch...@anest.ufl.edu ... On #cosH vs. #cosh, etc.,I do not like what you have done, but it's hardly cause to start a war. I would be more inclined to agree with your no-typo argument if you spelled out hyperbolic. We write cos and cosh; I see no advantage to typing

Re: [Pharo-project] Complex Solutions

2009-08-30 Thread Ken Dickey
I have updated PharoInbox with a newer slice: SLICE-basic-Complex-KenDickey.3 Float hyperbolic trig methods no longer return Complex answers. Renamed: #angle - #argument, #magnitude -# modulus. Added more unit tests. Thanks again for suggestions, -KenD

[Pharo-project] Complex Solutions

2009-08-29 Thread Ken Dickey
From: Schwab,Wilhelm K bsch...@anest.ufl.edu ... I have not been over all of it, but I have found that RealarcCosH and #arcTanH can answer a Complex. I would rather not have to say it, but I do not get the sense that you have taken our concerns seriously. We want the errors from Float when

Re: KDE/DCOP vs pf

2009-01-25 Thread Ken Dickey
On 2009 January 24 03:09:57 pm Pereresus ne Vlezaet Buggy wrote: Add set skip on lo. Searching for the right place of this string will be your homework. Thanks much. My working pf.conf now contains: vvv=pf.conf===vvv ## MACROS tcp_services = { ssh, smtp, smtps, domain, www,

KDE/DCOP vs pf

2009-01-24 Thread Ken Dickey
Greetings, Sorry for the newbie question, but my googling has not found the answer. I have a laptop and have set pf.conf to the following [which runs fine]. However, if I try to tighten things up a bit by commenting out the pass out all line and uncommenting the following two lines, KDE loses.

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-30 Thread Ken Dickey
FYI, Data Points: [1] ( 2) [2] ( 3+2i) [3] () [4] ( 'foo)[only tried if [2] - #t] [1] [2] [3] [4] Bigloo Err Err Err Chez#t Err Err Chicken #t Err #t Elk #t Err Err Gambit #t

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-30 Thread Ken Dickey
On Thursday 30 October 2008 12:40:12 Marc Feeley wrote: Can you add the case ( 1 2 3) ? Sure. It it the boring column [3] which we all like to see. [1] () [2] ( 2) [3] ( 1 2 3) [4] ( 1/3 2 5.1) ;;NOTE ALTERED ORDER [1] [2] [3] [4] Err Err #t Err Bigloo Err #t

Re: [r6rs-discuss] Complex ?

2008-10-26 Thread Ken Dickey
On Saturday 25 October 2008 17:38:42 Jon Wilson wrote: I really hate to burst your bubble You are right. My ol' brain can't do the math anymore. I apologize for burning everyone's time. -KenD ___ r6rs-discuss mailing list

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-24 Thread Ken Dickey
On Thursday 23 October 2008 18:32:13 you wrote: It seems to me that if you accept (and) = #t then you should accept () and ( x) = #t. My old eyes see: (length '(1)) = 1 (length '()) = 0 (length) = -1 Things can be defined this way, but is it most useful? When I look at srfi-32 code

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-24 Thread Ken Dickey
On Friday 24 October 2008 11:07:25 David Van Horn wrote: Ken Dickey wrote: I have not yet found a sorted? predicate used in an induction loop. There is an implicit use here (adapted from HtDP), by appealing to fact that (sorted? null) is #t. (define (sort alon) (cond [(null

Re: [r6rs-discuss] Complex ?

2008-10-24 Thread Ken Dickey
On Friday 24 October 2008 12:34:21 John Cowan wrote: Ken Dickey scripsit: The naive reading (for a non-English speaker) would be that +2i is somehow less real than +inf.0 . 8^) That's just what it is: less real -- in fact, not real at all. Non-real numbers aren't magnitudes, and does

Re: [r6rs-discuss] Complex ?

2008-10-24 Thread Ken Dickey
On Friday 24 October 2008 19:33:56 Jon Wilson wrote: Some actual attention to the mathematics is very much warranted here.  But, this thread really doesn't belong on r6rs-discuss... Regards, Jon OK. I had some fun. I'll go away now. [But is this really more bogus than a vacuous result

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-23 Thread Ken Dickey
DISCLAIMER: This missive is devoid of semantic content. On Thursday 23 October 2008 00:37:14 Marcin 'Qrczak' Kowalczyk wrote: 2008/10/23 Elf [EMAIL PROTECTED]: the definition of monotonic increase and decrease relies on pairwise comparison; a sequence with one element is neither increasing

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-23 Thread Ken Dickey
On Thursday 23 October 2008 15:42:59 Ray Dillinger wrote: Comparison procedures returning #f (or throwing exceptions) for single and zero-arity cases would cause errors in code I've written that sorts directories of files into order based on their timestamps. Thank you. I do appreciate

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-22 Thread Ken Dickey
On Wednesday 22 October 2008 06:08:02 Jon Wilson wrote: In this case, we clearly have a matter on which different people's intuition gives different results. I would say that in this case there are multiple formalisms to choose from. I don't believe the choice is obvious. I don't believe

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 05:03:07 Ken Dickey wrote:   1 * x = 1 Apologies. That should certainly be 1 * x = x RWIM [Read What I Mean] -KenD ___ r6rs-discuss mailing list r6rs-discuss@lists.r6rs.org http://lists.r6rs.org/cgi-bin/mailman/listinfo

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 07:42:48 Abdulaziz Ghuloum wrote: On Oct 21, 2008, at 8:03 AM, Ken Dickey wrote: Doesn't it make more sense to require existence for comparison? Existence of one ordered pair does not matter much. You need to either prove the existence of a counter example

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 08:32:12 Abdulaziz Ghuloum wrote: On Oct 21, 2008, at 11:04 AM, Ken Dickey wrote: No. Actually, I'd like a holds-for-all which returns #f as the base case. You can push it down, but you can't escape making these exceptions. The law of the excluded third has

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 12:53:32 Thomas Lord wrote: Ken Dickey wrote: Comparison is taught in kindergarden. Comparison is fundamental. And in algebra. Things I didn't see taught in high school were definitions for relation, transitive relation, reflexive relation, symmetric relation

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 12:53:32 Thomas Lord wrote: Ken Dickey wrote: Can't we just use comparison predicates to compare quantities? A set of binary predicates makes sense to me. The way the word is usually used, the consequent of the conditional should return #t. (You're defining

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 14:01:16 Egil Kvaleberg wrote: Ken Dickey wrote: I know (=) = #t looks normal _to you_. But I believe that you are a specialist and I think that you are trying to inject a particular logic into a basic literacy kind of usage. Sorry to disturb an otherwise

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-21 Thread Ken Dickey
On Tuesday 21 October 2008 14:57:19 you wrote: should read:   Ken's definition = a singleton or empty  list is _not_ ordered.   And you should be saying monotonic or sorted as well. Precisely. Something that cannot be compared with cannot be ordered or sorted so cannot be monotonic

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-19 Thread Ken Dickey
On Sunday 19 October 2008 12:30:27 Thomas Lord wrote: For the numeric comparison functions we have a clear account of what the code is supposed to model, e.g., monotonic sequences of numbers. Ah. I can see where you can use lists of numbers to model sequences. I have always used numeric

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-19 Thread Ken Dickey
On Sunday 19 October 2008 15:16:47 Thomas Lord wrote: Why do you need the extra baggage of sequences of length greater than or equal to two? The difference is in the term sequence which is not mentioned in (e.g.) R6RS numeric discussions. I have done plenty of sorting, but have never used

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-19 Thread Ken Dickey
On Sunday 19 October 2008 18:08:19 Thomas Lord wrote: On the one hand, you don't want to allow 0 or 1 argument because you see as a binary relation and those cases don't make sense unless we're treating as sequence predicate. You want the error checking to rule out 0 or 1 arguments to avoid

Re: [r6rs-discuss] Comparison procedures' number of arguments

2008-10-18 Thread Ken Dickey
On Saturday 18 October 2008 18:56:01 John Cowan wrote: Derick Eddington scripsit: Why does R6RS specify that predicates like =, , =, char?, fx=?, etc. accept a minimum of two arguments instead of accepting zero or more? What would be the obvious value of ( 2) or (=)? I have no idea whether

[Larceny-users] Larceny v0.963 what is bound to 'make-parameter ?

2008-07-31 Thread Ken Dickey
larceny Larceny v0.963 Fluoridation (Jul 29 2008 17:41:31, precise:Linux:unified) larceny.heap, built on Tue Jul 29 17:43:55 EDT 2008 (define p (make-parameter 3)) Error: Wrong number of arguments to procedure #PROCEDURE make-parameter, which expected #!unspecified but got 1 Entering

[Larceny-users] process broken?

2008-06-21 Thread Ken Dickey
Greetings, I am trying to use the 'process proc in lib/Standard/unix.scm. Can someone help me out? Thanks much, -KenD === larceny Larceny v0.961 Fluoridation (Mar 16 2008 14:59:46, precise:Linux:unified) larceny.heap, built on Sun Mar 16 15:01:38 PDT 2008

[Larceny-users] SRFIs in R6RS mode

2008-02-28 Thread Ken Dickey
Greetings, I am attempting to write portable R6RS code which makes use of implementation specific features wrapped in a library. My approach is to have a larceny-specific.sls, ikarus-specific.sls, r6rs-default.sls each separately linked [copied in Windoz] to a file with the common name

Re: [sr #106237] Newbie: libltdl not matching #include ltdl.h

2008-01-29 Thread Ken Dickey
[Sorry, I m not able to log onto the libtool site at present.] Let me try again. I would like to dynamically load C libraries and use them. I am attempting to use libltdl for this purpose as I prefer a cross/multi-platform solution. I am attempting to follow How to use libltdl in your

[Newbies] How do I embed GIFs in a change-set?

2006-10-04 Thread Ken Dickey
Greetings, I have updates a morphic based FreeCell card game I did a few years ago to 3.8. I would like to put in into SqueakMap (or wherever) but the changeset file-in requires a directory of GIFs (the card images) to be in the working directory for import into the image. What is the best