Re: [racket-users] Looking for system admin help for the package system

2021-12-08 Thread James Platt
Hi Sam, I've got some pretty good general sysadmin skills. I would have to get up to speed with some of the specific technologies but that should not be a problem. I'm pretty much booked up to the end of the year, with lots to do but, come January, I should be in much better shape. James

Re: [racket-users] Re: Discourse - Mailing list mode

2021-12-08 Thread James Platt
> If you had continued reading, you would have seen my comment that NOT ALL > news groups support list distribution or posting via email. NNTP is not > email. Usenet group moderators[*] can choose how to make their groups > available: the default is via list distribution and NNTP both, but

Re: [racket-users] Re: Discourse - Mailing list mode

2021-12-08 Thread James Platt
On Dec 8, 2021, at 10:45 AM, George Neuner wrote: > It's a big deal if you are (or were) following multiple groups. I don't understand. Why is this an issue? I find it very convenient to filter each group into it's own folder in email. If this were a non-technical group, you wouldn't

[racket-users] Discourse - Mailing list mode

2021-12-07 Thread James Platt
I notice that Discourse has a "mailing list mode" which you can set in the preferences. I haven't had a chance to evaluate it much yet but, what I'm hoping for is that this will allow me to use the forum pretty much the same way as I have been using Google Groups all along. I just realized,

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-12-07 Thread James Platt
plit up to be done by different people. Then ask for volunteers. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr.

Re: [racket-users] How to learn the *core* of Racket?

2021-11-11 Thread James Platt
... and from there it's turtles all the way down. On Nov 11, 2021, at 9:46 AM, David Storrs wrote: > Sure, that's as good a definition as any. > > On Thu, Nov 11, 2021, 6:04 AM Yushuo Xiao wrote: > Thank you for your comprehensive answer! It helps a lot. I also read more > about Racket after

Re: [racket-users] Adding keybindings to debug

2021-11-08 Thread James Zollinger
to know there are helpful people in this community. On Wednesday, November 3, 2021 at 6:41:55 AM UTC-7 James Zollinger wrote: > Your explanation of "lambda _" jogged my memory. I'm remembering long ago > Haskell learnings where the underscore is used in much the same way. >

[racket-users] port 55555 in use error

2021-11-08 Thread James Platt
I'm getting an error (shown below) when trying to run any code from Emacs with Racket Mode. It says to restart the REPL but that does not clear the problem. It even persists through a reboot. I was on Racket 8.0 and I tried upgrading to 8.2 to solve the problem but that did not work either.

Re: [racket-users] Adding keybindings to debug

2021-11-03 Thread James Zollinger
at 5:35 AM Laurent wrote: > On Mon, Nov 1, 2021 at 11:14 PM James Zollinger wrote: > >> Thanks for the info, Laurent. I tried the trick outlined in the link you >> sent me on Debian 11 versions of Gnome 3.38.5 (just to test this) and MATE >> 1.24.1-2 (my preferred environm

Re: [racket-users] Adding keybindings to debug

2021-11-01 Thread James Zollinger
ds! (What is "lambda _"?!) Any suggestions on how to quickly get up to speed to modify debug-tool.rkt beyond reading all of the Racket Documentation <https://docs.racket-lang.org/>? On Sat, Oct 30, 2021 at 3:37 AM Laurent wrote: > On Fri, Oct 29, 2021 at 10:47 PM Jame

[racket-users] Adding keybindings to debug

2021-10-28 Thread James Zollinger
buttons "Go", "Step", "Over", etc. as well as context menus "Print return value to console", "Pause at this point", etc. Any help would be greatly appreciated. James -- You received this message because you are subscribed to the Google Groups &q

Re: [racket-users] problem of gui layout using side-by-side frames

2021-08-12 Thread James Platt
On Aug 12, 2021, at 3:47 PM, George Neuner wrote: > However it does suggest that he wants menubar menus. I don't use (or have > available to check) MacOS, so I'm don't know what limitations may be on 'root > menubars, or whether a child frame can have its own internal menubar (which > is

Re: [racket-users] problem of gui layout using side-by-side frames

2021-08-12 Thread James Platt
On Aug 12, 2021, at 2:52 PM, Jens Axel Søgaard wrote: > Are we talking menu bar menus or contextual menus? > > On macOS the menu bar menu belongs to the application and not a window. The macOS menu bar is also contextual. It changes depending on what is selected in the application. IIRC,

Re: [racket-users] racket/gui fn that returns width of O.S. toolbar?

2021-08-06 Thread James Platt
f xml so you might even read the file directly into Racket and parse it. I would not be at all surprised if there are multiple other ways to get the info from the command line. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group.

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-21 Thread James Platt
PostScript as an example of a DSL where very complex code is often machine generated. Then there was more discussion about postscript and related things you can do with Racket. Maybe that's what you were thinking about. James On May 11, 2021, at 11:03 AM, Sage Gerard wrote: > I hope that

Re: [racket-users] Upgrading installer verification

2021-04-06 Thread James Platt
On Apr 2, 2021, at 6:59 PM, Alex Harsányi wrote: > Hi James, > > If you are worried about dependency confusion attacks, you can set up your > own package catalog on an internal server, delete the default catalogs from > racket and add only a reference just your internal cat

Re: [racket-users] Upgrading installer verification

2021-04-02 Thread James Platt
Are you bring this up because of the recent rise of dependency confusion attacks? In any case, it would be good to know where Racket stands with that. On Apr 1, 2021, at 12:39 PM, Sage Gerard wrote: > Are there any plans to publish GPG signatures for Racket installers, or > at least

Re: [racket-users] Smart contracts in Racket

2021-03-18 Thread James Platt
On Mar 16, 2021, at 3:24 PM, Christopher Lemmer Webber wrote: > But "smart contracts" is a use case, a broad problem domain. What kind > of smart contracts are you wanting to write? I do need to research the topic a bit to make sure that what I want to do is possible but, according to what I

Re: [racket-users] Smart contracts in Racket

2021-03-16 Thread James Platt
On Mar 15, 2021, at 7:01 PM, Beatriz Moreira wrote: > Hello! I recently used Racket as a tool to see the small step execution of > some smart contract languages and I was wondering if there is anywhere i can > submit my work or share it with the Racket community. One place might be the

Re: [racket-users] Re: key combos at the command line

2021-03-12 Thread James Platt
ffer yourself with something like charterm. > I think lux with the lux-charterm might be a good way to build your terminal > application from many little pieces that are combined to form the full > application, > but I haven't used it so far, would be nice to find a medium sized example >

[racket-users] key combos at the command line

2021-03-10 Thread James Platt
I am working on an example command line chat client in Racket and I need a method to switch from text chat to commands for things like sending a binary file or executing a utility to check the network connection. I am thinking of something like control key combinations. What is the easiest

Re: [racket-users] GUI button% string label keyboard mnemonics

2021-01-13 Thread James Platt
One workaround you could do would be to duplicate the functionality of the button in a pulldown menu and define the keyboard shortcut there. I think it is good general practice anyway to put all functions in the pulldown menus and use other GUI elements only as shortcuts. This gives the user

Re: [racket-users] Threading question

2020-12-18 Thread James Platt
should learn more about places. Also, if there is enough interest in having a FOSS, decentralized Zoom equivalent in Racket, I will copy the GUI chat client code to its own project as a starting point and see who wants to help out. That is, once I finish with the NAT-Traversal package. James

[racket-users] Threading question

2020-12-15 Thread James Platt
, it drops the connection and the file transfer fails. Do I need to put my GUI in a thread? Is that the issue? I'm asking here on the list, rather than just trying it, mainly because I want to be sure that I explain the situation correctly in my documentation. James -- You received

Re: [racket-users] (current-memory-use cust) gives "wrong number of arguments" in typed racket

2020-12-13 Thread James Cook
Thanks! On Monday, 14 December 2020 at 00:56:15 UTC sorawe...@gmail.com wrote: > Fixed by https://github.com/racket/typed-racket/pull/1009. > > On Sat, Dec 12, 2020 at 7:09 PM James Cook wrote: > >> I'm new to racket, and I'm not sure if this is a bug or oversight or I'

[racket-users] (current-memory-use cust) gives "wrong number of arguments" in typed racket

2020-12-12 Thread James Cook
trouble. What's going on? Does the current-memory-use function need a better type annotation? James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [racket-users] Application Templates!

2020-08-20 Thread James Geddes
> On 20 Aug 2020, at 18:22, Sorawee Porncharoenwase > wrote: > > Is this intended to be something like https://docs.racket-lang.org/scaffold/? That also looks extremely useful! James -- You received this message because you are subscribed to the Google Groups "Ra

Re: [racket-users] Application Templates!

2020-08-20 Thread James Geddes
). I’ve also struggled to understand the convention organising directories within a package. (I think perhaps this is because the system is actually very flexible.) For me, commented examples of these would be a very helpful complement to the (excellent) guide and reference. James > On

Re: [racket-users] GUI zoom and normal-control-font

2020-08-20 Thread James Platt
On Aug 19, 2020, at 8:53 PM, George Neuner wrote: > Sorry, it was not clear to me that you wanted to resize widgets (child > windows). Typically when one speaks about a window's "content" they are > referring to text or imagery drawn onto the window's backing bitmap. I was going by

Re: [racket-users] GUI zoom and normal-control-font

2020-08-19 Thread James Platt
> > On 8/18/2020 12:31 PM, James Platt wrote: >> I'm looking at implementing a zoom contents (not zoom window) feature in a >> GUI with lots of elements and I'm wondering about the best way to do this. >> Most, if not all, standard GUI widgets in Racket can be resized

[racket-users] GUI zoom and normal-control-font

2020-08-18 Thread James Platt
I'm looking at implementing a zoom contents (not zoom window) feature in a GUI with lots of elements and I'm wondering about the best way to do this. Most, if not all, standard GUI widgets in Racket can be resized by changing the font size of their contents or label. Then redraw the widget

[racket-users] combo-field% glitch in Linux

2020-07-16 Thread James Platt
I'm seeing a glitch with all Racket combo fields when run in Linux Mint 19.3. When you click on the popup menu, it just flashes open for an instant and then disappears, the first item becomes selected without actually clicking on it with the mouse, and the callback is triggered. If you hold

Re: [racket-users] Re: DB hangs with postgres and broken network link

2020-07-03 Thread James Platt
I wonder if this is a more general TCP/IP issue rather than anything Postgres specific. I'm troubleshooting an issue where a TCP connection to a server is unexpectedly going down, once in a while, with no obvious indication. The solution, for now, is to have the client send a sort of ping

Re: [racket-users] Artifacts: code snippets that are too small to be a package.

2020-06-09 Thread James Platt
I just added an example to Artifacts with one way of using the qresults-list package to create a table and manipulate it with a right-click menu. I added quite a few comments which, I hope, will help people wanting to figure out how to use the qresults-list package. This package has been

[racket-users] Interpreting Racket profile stats

2020-06-05 Thread James Platt
I'm looking at profiling some code for performance and tried out the Racket profile package but I'm not sure what the numbers mean. Here is a very simple example: https://stackoverflow.com/questions/23988370/thorough-guide-for-profiling-racket-code Here's a run from my actual code:

Re: [racket-users] How to run multiple Racket installations?

2020-05-08 Thread James Platt
guests. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web vi

Re: [racket-users] trickiness about the order of definitions in GUI code

2020-05-07 Thread James Platt
er organization will really help in the long run. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view t

Re: [racket-users] Re: trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
but, like you said, it's just a matter of more indirection. James On May 6, 2020, at 9:27 PM, Alex Harsanyi wrote: > Every problem can be solved by adding another level of indirection (except > perhaps having too many levels of indirection :-) ). You can put the code > below in a sepa

Re: [racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
Thanks, Jon. I'm going to try Alex's solution first but I may get back to this. On May 6, 2020, at 8:49 PM, Jon Zeppieri wrote: > On Wed, May 6, 2020 at 7:50 PM James Platt wrote: >> >> I'm working on organizing and documenting some things and I have some code, >> bel

[racket-users] trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
is not defined. In other words, I want to be able to define table3 in one file which requires the file where row-edit-menu is defined but I can't seem to figure out how to get this to work. It works just fine when all the code is in one file, however. James #lang racket (require racket/gui/base

[racket-users] Another suggestion for "The Racket Guide"

2020-04-08 Thread James Platt
While we are looking at the possibility of improving The Guide, one of the things which I find confusing in Racket documentation is that The Guide, The Reference and various manuals all look the same. On several occasions I have started in The Guide, followed links, and then discover that I am

Re: [racket-users] Important message about meet up on 9 April (Racket London)

2020-03-16 Thread James Geddes
Stephen, All, I think that is likely to be right. For now, I’ve kept my room booking but if the Turing or the British Library close, I will let you know. James > On 13 Mar 2020, at 21:39, Stephen De Gabrielle > wrote: > > Hi All, > > While I haven't

Re: [racket-users] Stack overflow developer survey

2020-03-09 Thread James Platt
> https://stackoverflow.blog/2020/02/05/the-2020-developer-survey-is-now-open/ > > Represent! I tried this right after I saw this message on Friday and it said that the survey had already expired. I tried again with three different browsers, just now, to be sure it wasn't a glitch but I got

Re: [racket-users] Re: quick racket editor survey

2020-02-27 Thread James Platt
DrRacket for Android, I am exclusively using Emacs there. Having said that, I haven't actually done any more yet than test it to see that it works. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group

Re: [racket-users] racket meet-up in London ?

2020-02-24 Thread James Geddes
That sounds a great idea, I am interested. For numbers less than about 10, if it helps, I can get a meeting room in the Turing Institute (though I’m also happy to try a coffee shop, not that I have any good suggestions). James > On 24 Feb 2020, at 21:41, Stephen De Gabrielle >

Re: [racket-users] keyboard shortcuts in a popup menu

2020-01-23 Thread James Platt
to display a '#\backspace' shortcut in Linux is the serious one in terms of practicality. On Jan 22, 2020, at 5:42 PM, George Neuner wrote: > > On 1/22/2020 4:44 PM, James Platt wrote: >> I'm working on some GUI code and I am seeing some glitches with keyboard >> shortcuts in popu

[racket-users] keyboard shortcuts in a popup menu

2020-01-22 Thread James Platt
to be ctl-backspace on Linux and Windows and command-delete on macOS. The macOS version works but not the Linux version. I haven't tested with Windows. James [1] https://developer.apple.com/design/human-interface-guidelines/macos/menus/contextual-menus/ -- You received this message because you are

Re: [racket-users] Re: macOS 10.10 Yosemite?

2020-01-06 Thread James Platt
ick with it, rather than upgrade, are very rare. IIRC, there is little or no difference in system requirements versus El Capitan and it's very low risk to do that upgrade. If this is important, I could bump up my testing priorities a little. James -- You received this message because

Re: [racket-users] Racket 7.5 DMG file does not open on OSX 10.11

2019-12-10 Thread James Platt
On Dec 6, 2019, at 9:56 PM, Darth Vadør wrote: > If it isn't too much trouble, I at least would really appreciate this. > One reason I think this is important is because Homebrew has a cask for > Racket, which uses the .dmg distribution. It sets up $PATH (and probably > other things I don't

Re: [racket-users] Racket 7.5 DMG file does not open on OSX 10.11

2019-12-10 Thread James Platt
On Dec 3, 2019, at 7:09 PM, John Clements wrote: > It sounds to me like an easy solution to your problems would be a > .tgz-bundled set, as e.g. we offer for Minimal Racket on the page > > https://download.racket-lang.org/releases/7.5/ > > specifically at the link > >

Re: [racket-users] Re: Racket 7.5 DMG file does not open on OSX 10.11

2019-12-03 Thread James Platt
On Nov 27, 2019, at 12:42 PM, Darth Vadør wrote: > I am having the same problem, and I am pretty sure that this is because the > new DMG uses the novel APFS format, which is not readable by our old HFS > computers. > As far as I know, HFS DMGs can be opened on new APFS Macs; would it be >

Re: [racket-users] Re: GUI (get-directory)

2019-12-03 Thread James Platt
On Nov 25, 2019, at 1:29 PM, Stephen De Gabrielle wrote: > Many packages contain an /examples folder, and adding examples is an easy way > to contribute. I did not know that. So, I guess the strategy is to find the git repository for the package and look there? In any case, I haven't been

Re: [racket-users] GUI (get-directory)

2019-12-03 Thread James Platt
On Nov 21, 2019, at 6:27 PM, Alexis King wrote: >> On Nov 21, 2019, at 11:21, James Platt wrote: >> >> If we can direct more of the energy of this community into, not just >> improving the documentation, but the way we do documentation, it would be a >> majo

Re: [racket-users] Re: GUI (get-directory)

2019-11-21 Thread James Platt
the documentation, but the way we do documentation, it would be a major improvement. Requiring lots of parentheses doesn't bother me. Lack of infix notation doesn't bother me. Lack of documentation does. James -- You received this message because you are subscribed to the Google Groups &

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-18 Thread James Platt
On Nov 16, 2019, at 3:49 AM, Bogdan Popa wrote: > > James Platt writes: > >> Would this now be the preferred method to include a copy of the SQLite >> library. required by the DB module, to your distribution? The >> software I am working on requires a n

Re: [racket-users] Re: raco distribute and runtime paths, conditioned on whether a package was installed at compile time

2019-11-15 Thread James Platt
On Nov 12, 2019, at 10:13 PM, Matthew Flatt wrote: >> Although you can find the files using `find-share-dir` and/or >> `find-user-share-dir`, adding a 'share mode to `define-runtime-path` >> would make it possible for `raco distribute` to find and carry along a >> directory/file when it's

[racket-users] DTLS

2019-11-08 Thread James Platt
I looking at implementing DTLS (TLS for UDP) and I see that ports->ssl-ports in the openssl package does not specify that the port has to be TCP. Does that mean that this should already work with UDP? If so, has anyone done much work with this? James -- You received this message beca

Re: [racket-users] running the wrong sqlite3

2019-08-20 Thread James Platt
On Aug 19, 2019, at 9:24 PM, John Clements wrote: > Perhaps you need to configure your lib-search-dir setting? > > https://docs.racket-lang.org/raco/config-file.html?q=lib-search-dir#%28idx._%28gentag._65._%28lib._scribblings%2Fraco%2Fraco..scrbl%29%29%29 Thanks for the help but I think

[racket-users] running the wrong sqlite3

2019-08-19 Thread James Platt
I'm having an issue where I can't seem to get Racket to run the right version of sqlite3. At least, I'm assuming that's the problem because the syntax error below occurs in an older version but not the current version of sqlite3. My Terminal command path has the correct version. What can I

Re: [racket-users] Re: Do custodians shutdown when Racket exits?

2019-08-06 Thread James Platt
l says there is no such process. The important this is, of course, that trying to run another process with that port will fail. Note that netstat on macOS does not have all the same command flags as the Linux version but you can see pids using: netstat -anv James -- You received this message becau

Re: [racket-users] Directory-specific installation of packages?

2019-07-29 Thread James Geddes
at a more universal package manager will someday arise, perhaps along the lines of Nix (or Guix). Many thanks again, James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails fro

Re: [racket-users] Directory-specific installation of packages?

2019-07-28 Thread James Geddes
mming languages have not yet colonised.) Many thanks again, James > On 23 Jul 2019, at 08:43, Tom Gillespie wrote: > > I have periodically investigated installing racket packages via gentoo in a > dev-racket/package way that matches how python packages are installed (a far &

Re: [racket-users] Re: Gui editable grid/table

2019-07-22 Thread James Platt
There is also qresults-list, which is from Alex Harsanyi's ActivityLog2 application. You can see how it is used in that application. https://pkgs.racket-lang.org/package/qresults-list https://github.com/alex-hhh/ActivityLog2 On Jul 22, 2019, at 7:22 AM, Roman Klochkov wrote: >

[racket-users] Directory-specific installation of packages?

2019-07-22 Thread James Geddes
in the current installation's collections; and 2. Have `raco exe myprok.rkt` look in that custom directory for `(require X)`? I tried the `--scope-dir` option to `raco pkg install` but that installed what looks like the entire racket standard library (see below). Many thanks, James PS

Re: [racket-users] The case, and a proposal, for elegant syntax in #lang racket2

2019-07-18 Thread James Platt
Like others have said, I'm not sure that syntax is really the issue with Racket adoption. For me, the difficulty in moving to Racket from other languages is not the syntax, it's other things. Lot's of parentheses don't bother me. Writing (2 + 2) as (+ 2 2) is a little weird but It's not

Re: [racket-users] Impromptu racket meetup in London Friday, 19 July at 12pm-3pm

2019-07-12 Thread James Geddes
Given that I work inside the Library building, I will try to drop by! (I also have a Racket sticker on my laptop. Will be there around 12:30.) James > On 12 Jul 2019, at 16:20, Stephen De Gabrielle > wrote: > > Hi, > > Next Friday, 19 July at 12pm-3pm there will be a

Re: Re: [racket-users] Thinking in scheme / racket

2019-07-11 Thread James Geddes
dentical code in Python and Racket: Python using `while` and mutation; Racket using `for/and`. Here are the times I get for testing the primality of 2^55 + 3 (which is in fact prime): Python: 7 s Racket: 0.8 s Make of that what you will! Best regards, James === Python, count special pr

Re: [racket-users] Re: Thinking in scheme / racket

2019-07-11 Thread James Geddes
nalty.) I am going to investigate but if anyone knows more than me I'd appreciate thoughts. Regards, James > On 11 Jul 2019, at 02:36, Bob Heffernan wrote: > > On 19-07-10 02:46, Maciek Godek wrote: >> A while ago, I wrote a booklet which used almost the same problem to >

[racket-users] HTML rendering

2019-06-21 Thread James Platt
of Lynx and doesn't even render tables. Is there another option that I am missing, like something implementing Gecko or KHTML/Webkit? If not is there much interest in creating such a thing? The idea would be to be able to have a Racket GUI with a component implemented in HTML + CSS. James

Re: [racket-users] RacketCon hotel group rate

2019-06-14 Thread James Platt
I actually booked rooms at a hotel across the street from the Little America for much less. In all the conferences and other events I have been to, I don't think I have ever, even once, found the group-rate rooms at the host hotel to be the best deal. James On Jun 14, 2019, at 3:40 PM

Re: [racket-users] Enabling/disabling menu items

2019-06-11 Thread James Platt
On Jun 11, 2019, at 4:54 PM, Matthew Flatt wrote: > At Tue, 11 Jun 2019 16:45:05 -0400, James Platt wrote: >> It looks like there is not way to enable and disable (grey out) menu >> items the way that there is with buttons. > > There's no `enable` initialization ar

[racket-users] Enabling/disabling menu items

2019-06-11 Thread James Platt
It looks like there is not way to enable and disable (grey out) menu items the way that there is with buttons. So my question is whether the expectation is that you add and remove items from a menu instead or is this a reasonable feature request for a new version of Racket? To illustrate what

Re: [racket-users] Re: Distributing executables with homebrew

2019-06-10 Thread James Platt
an support with Racket but it's farther than that. On Jun 10, 2019, at 5:58 AM, James Geddes wrote: > Many thanks Joel, > > I do agree that `raco distribute` seems the way to go. Indeed, the setup > described in the blog post you shared is just what I’m currently doings (so &

Re: [racket-users] Re: Distributing executables with homebrew

2019-06-10 Thread James Geddes
a library module, only a file. So I’m a bit stuck there, too. These are rather incoherent thoughts to which I don’t except an answer. But I will continue to try to figure out a sensible approach and report back if anyone else is interested. James > On 9 Jun 2019, at 21:00, 'Joel Duec

[racket-users] Distributing executables with homebrew

2019-06-07 Thread James Geddes
taking a look! Many thanks, James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this

Re: [racket-users] Typed Racket segmentation fault

2019-06-05 Thread James Geddes
anks again, James > On 5 Jun 2019, at 17:08, Philip McGrath wrote: > > In case it's helpful as a workaround, changing the #lang line to: > #lang typed/racket #:no-optimize > will disable the type-based optimizations, so the problematic > `unsafe-make-flrectangular` isn't

Re: [racket-users] Typed Racket segmentation fault

2019-06-05 Thread James Geddes
I'm using version 7.3, amusingly. James > On 5 Jun 2019, at 15:47, Philip McGrath wrote: > > What version of Racket are you using? I get a segfault in 7.2, but 7.3 works > for me. > -Philip > > > On Wed, Jun 5, 2019 at 10:42 AM James Geddes wrote: > Dear Al

[racket-users] Typed Racket segmentation fault

2019-06-05 Thread James Geddes
not actually that interested in making pictures. I'm trying to do some speed benchmarks to show my colleagues, particularly those who argue that Python is faster, and this example happened to be on hand.) James #lang typed/racket ;; Generate an image of the Mandelbrot set (https

[racket-users] Unexpected error in output of :print-type

2019-06-05 Thread James Geddes
Typed Racket program (but only when run via `racket` or from Emacs racket-mode, not when run in DrRacket). However, I'm struggling to get a minimal reproducible example that I can share and in trying to do so I ran into this one. (I will keep trying, however.) Many thanks, James -- You rec

Re: [racket-users] Re: Racket development on ARM

2019-05-15 Thread James Platt
aven't had any issues so far working this way. Good. I already have Termux installed and have emacs and git working in it. I didn't realize that Racket was available in the unstable repo. Thanks. James -- You received this message because you are subscribed to the Google Groups "Racket

[racket-users] Racket development on ARM

2019-05-15 Thread James Platt
be better for development purposes? James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 25, 2019, at 12:49 PM, Matthias Felleisen wrote: > See how precise the exn message is: 2nd arg of 1st arg of f ~~ not a boolean? Okay. So the exn message is generated in a systematic way which I can count on. I didn't realize that. Thanks. -- You received this message because you

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 25, 2019, at 12:05 PM, Matthias Felleisen wrote: > Your exception handlers may test a contract failure to any level. You can > specify this in the predicate part of with-handlers or via match on the exn > within the handler function. Regexp matching works well here. It's obvious

Re: [racket-users] Error handling for the GUI

2019-03-25 Thread James Platt
On Mar 23, 2019, at 5:49 PM, Greg Hendershott wrote: > But -- contract violations aren't like that. They're about some code > surprising some other code. I think the only hope here is, run the > code enough (before the user ever does) to flush out the bad code > assumptions and fix them.

Re: [racket-users] Error handling for the GUI

2019-03-22 Thread James Platt
> Robby > > On Fri, Mar 22, 2019 at 3:09 PM James Platt wrote: > I'm working on displaying informative error messages in a GUI and I have been > finding that many of the things I need to handle are contract violations in > downstream functions. The thing is that it seems like

[racket-users] Error handling for the GUI

2019-03-22 Thread James Platt
I'm working on displaying informative error messages in a GUI and I have been finding that many of the things I need to handle are contract violations in downstream functions. The thing is that it seems like there ought to be a better way than the methods I can think of. It's very simple to

Re: [racket-users] Re: Use cases for tables and records

2019-02-22 Thread James Platt
In R, I have extensively used the sqldf package, which allows you to execute SQL commands on one or more data frames and get the results back as another data frame. You can connect it to different database engines to handle the SQL. Although sqlite is the default, I mostly used PostgreSQL

Re: [racket-users] Re: Autocomplete from a list

2019-02-17 Thread James Platt
On Feb 14, 2019, at 9:22 PM, Alex Harsanyi wrote: > There are two solutions I can think of: > > (1) derive combo-field% and override the on-popup method to construct the > choice menu dynamically based on what is selected in the combo box field. > This has a few disadvantages, namely (a) you

[racket-users] Autocomplete from a list

2019-02-14 Thread James Platt
. This worked out pretty well for that use case. I now have a very similar one. What would be the best way to handle this situation? The user needs to select an exact item from a database but there are too many items for a simple menu. James -- You received this message because you

Re: [racket-users] delays in message delivery

2019-02-08 Thread James Platt
On Feb 8, 2019, at 12:51 PM, Robby Findler wrote: > There are some messages that get held up in the spam traps that > requires one of the admins to explicitly approve (this happens when > the post comes from someone on the list, but where they post with a > different email address, I believe).

[racket-users] delays in message delivery

2019-02-08 Thread James Platt
I noticed recently that there have been several messages to this list which took an excessively long time to get to me. For example, two messages from George Neuner, which arrived today, were actually sent on Wednesday. Since I am having messages delivered to my desktop client, I decided to

[racket-users] Guide and reference

2019-02-06 Thread James Geddes
on the basics; and exhaustive references that seem to contain both more than I want and less than I need. Thank you to everyone who has worked on the documentation. James James Geddes -- You received this message because you are subscribed to the Google Groups "Racket Users&q

Re: [racket-users] Beginning of the end for googlegroups?

2019-01-29 Thread James Platt
On Jan 25, 2019, at 8:51 PM, Neil Van Dyke wrote: > Regarding hosting of the email list server... worst case, were Google Groups > to shut down with no good migration offering... if we can't find a turn-key > email list service we like, we could always run the time-honored MailMan on > either

Re: [racket-users] Beginning of the end for googlegroups?

2019-01-29 Thread James Platt
On Jan 29, 2019, at 3:08 PM, 'John Clements' via Racket Users wrote: > For what it’s worth, I’m firmly in the “let’s wait and see” camp. I’m not > worried about losing archives…I think I personally have just about all of the > messages that have been posted to the google group, and I don’t

Re: [racket-users] Places code not using all the CPU

2018-10-08 Thread James Platt
I wonder if this has anything to do with mitigation for Spectre, Meltdown or the other speculative execution vulnerabilities that have been identified recently. I understand that some or all of the patches affect the performance of multi-CPU processing in general. James -- You received

Re: [racket-users] Re: Upgrading Racket

2018-10-03 Thread James Platt
> "/Applications/Racket v7.0/bin" >/etc/paths.d/racket`. > > -Philip > > > On Tue, Oct 2, 2018 at 9:53 PM James Platt wrote: > I'm just now getting back to this after returning from Racketcon. I ran > `raco setup` as the user and again as root and it did

Re: [racket-users] Re: Upgrading Racket

2018-10-02 Thread James Platt
to run it as root, but you may be > able to run it as the user that installed Racket. > > On Friday, September 28, 2018 at 5:49:21 PM UTC-7, James wrote: > I just tried upgrading to Racket 7 on one of my machines (macOS 10.11.6) and > I get the error shown below in DrRacket. I tho

[racket-users] Upgrading Racket

2018-09-28 Thread James Platt
as it indicates in the disk image. Did I miss some standard set of instructions for upgrading? This happens any time I try to run something from DrRacket. read (compiled): wrong version for compiled code compiled version: 6.10 expected version: 7.0 in: rkt/compiled/main_rkt.zo James -- You

[racket-users] Jewel is Jewelbox?

2018-09-28 Thread James Platt
in. It was distributed as shareware and I liked it well enough to pay the fee. So I'm guessing that someone else here also liked that game. James -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving e

[racket-users] handin-server submissions

2018-05-15 Thread James Yoo
configured config.rktd correctly, with "lab-01" being in the correct active-dirs s-expression. Does anyone have an idea of what's going on? I'd be happy to share my config.rktd file. Thanks! James -- You received this message because you are subscribed to the Google Groups &qu

  1   2   >