Search found 43 matches

by Geoff|Dyalog
Wed Nov 15, 2017 10:31 am
Forum: UNIX and Linux
Topic: Keyboard setup on Linux
Replies: 12
Views: 273467

Re: Keyboard setup on Linux

I don't have a Linux Mint to hand. However, you want to look for a switch groups (or layouts) option rather than the level selector you have enabled. On my KDE this is in the GUI as "Switching to another layout". I would expect Cinnamon to use exactly the same wording. I would, also, suggest you ...
by Geoff|Dyalog
Thu Oct 19, 2017 8:09 am
Forum: APL Chat
Topic: Where is this variable coming from
Replies: 3
Views: 9039

Re: Where is this variable coming from

System commands like )fns, )vars, ... show the names as if there was no stack. If you do )sinl all will become clear. ⎕NL shows names that can be seen in the current state of the stack. This behaviour difference was inherited from historical APLs. If you want to go deeper then ⎕STATE will enable you ...
by Geoff|Dyalog
Mon Sep 25, 2017 11:11 am
Forum: APL Chat
Topic: Can’t save WS while file mapped
Replies: 1
Views: 5919

Re: Can’t save WS while file mapped

⎕MAP produces an array that has reference semantics. Namespaces also have reference semantics. You break these by using indexing. So a←80 1 2 3 ⎕map '/dev/zero' maps /dev/zero which, on Unix/Linux/MacOs, is a "file" that reads as an infinite length - all zeros. So I now have a 3 dimensional array of ...
by Geoff|Dyalog
Fri May 19, 2017 10:17 am
Forum: Chat
Topic: Help wanted with a ⎕NA call
Replies: 6
Views: 27740

Re: Help wanted with a ⎕NA call

Peter:

Did you see that bit pattern with other values than 128? It still feels to me like a sign extension problem. Be patient - I will get to it. It is logged as issue 14591.
by Geoff|Dyalog
Thu May 18, 2017 7:41 am
Forum: Chat
Topic: Help wanted with a ⎕NA call
Replies: 6
Views: 27740

Re: Help wanted with a ⎕NA call

Hmm. U1 gives you range checking on the APL side. This feels more like a problem with sign extension as it goes from 1 byte to 4. I will log an issue. Since the work around is easy (whilst sacrificing range checking) it might not get high priority.
by Geoff|Dyalog
Mon Jan 30, 2017 2:58 pm
Forum: Raspberry Pi
Topic: Accessing the RPi GPIO pins from APL
Replies: 14
Views: 80649

Re: Accessing the RPi GPIO pins from APL

Sorry Ray. There is a reason why I am not responsible for Dyalog's documentation.
by Geoff|Dyalog
Fri Jan 27, 2017 8:54 am
Forum: Raspberry Pi
Topic: Accessing the RPi GPIO pins from APL
Replies: 14
Views: 80649

Re: Accessing the RPi GPIO pins from APL

The gpioSetAlertFunc is exactly the sort of function I said we cannot support. What this is doing is remembering a function address for later use and then returning. Sometime later it makes a call to the supplied function address. Unfortunately, on the APL side all of the information and indeed the ...
by Geoff|Dyalog
Thu Jan 26, 2017 9:35 am
Forum: Raspberry Pi
Topic: Accessing the RPi GPIO pins from APL
Replies: 14
Views: 80649

Re: Accessing the RPi GPIO pins from APL

Callback support is for a callback from a ⎕NA'd function that has been invoked. There is no support for just leaving the possibility of calling back into apl whilst it is doing other things. So you can give a callback function as an argument to a ⎕NA'd function. That function can call the callback. O ...
by Geoff|Dyalog
Tue Jan 17, 2017 9:27 am
Forum: Chat
Topic: []NA and callback functions
Replies: 3
Views: 14585

Re: []NA and callback functions

What is the specification for the callback arguments? Whilst we put in enough support for NAG it is more general than just that. We can cope with register sized arguments. Pointers are register sized. So are integers. Structures are, generally, not. What we did when supporting NAG is to receive the ...
by Geoff|Dyalog
Wed Jan 11, 2017 10:44 am
Forum: Announcements
Topic: Celebration at Dyalog Ltd
Replies: 1
Views: 7226

Celebration at Dyalog Ltd

At the end of this month I will have worked for Dyadic and then Dyalog for 40 years. Dyalog are having an open house reception here in Bramley from 14:00 - 18:00 to provide an opportunity to celebrate/commiserate on Friday 3rd February. All APLers are welcome just email karen@dyalog.com so we have ...