Re: [racket-users] Assigning actions to any key on a terminal

2017-12-09 Thread Rickard Andersson
ws indeed, so I would definitely recommend it even for small stuff. Windows doesn't have a great CLI experience anyway, so running things in a GUI makes more sense. -- With regards, Rickard Andersson -- You received this message because you are subscribed to the Google Groups "Racket Users&q

Re: [racket-users] Urgent Need--Cloud Engineer---EAD or GC or Citizens only

2016-09-12 Thread Rickard Andersson
, at 9:54 AM, Rickard Andersson <rickard.m.anders...@gmail.com> wrote: Why was this trash approved for posting? Haven’t you heard that the Racket team is pivoting toward enterprise software develop integrationpatternscloudfoundryhibernatescripting? :) Seriously: we rely on Google to keep th

Re: [racket-users] Urgent Need--Cloud Engineer---EAD or GC or Citizens only

2016-09-12 Thread Rickard Andersson
Why was this trash approved for posting? On 12-Sep-16 19:45, Saikiran Nandrolu wrote: Hi Friends, Hope you are doing great, I have an urgent requirement from one of my esteem client, I will appreciate if you can have an eye on the below requirement and send me your consultant updated

Re: [racket-users] What do you use macros for?

2016-04-07 Thread Rickard Andersson
> What have you used them for? While it's certainly not the most impactful macro in the world, I was pretty pleased with being able to do this: https://github.com/GoNZooo/gonz/blob/master/gonz/define-test.rkt It's a macro that allows me to bundle expected inputs with expected outputs for those

Re: [racket-users] Sending post and get using DrRacket

2015-12-05 Thread Rickard Andersson
Hi, Hector. The following should be what you are looking for in terms of sending a POST request: http://pasterack.org/pastes/86127 You can find more information on `http-sendrecv` and its related functions here:

Re: [racket-users] Official Docker images for Racket

2015-09-02 Thread Rickard Andersson
I've previously tried to minimize the build without any success, so if you can make a base image using only busybox or alpine linux without any problems that'd obviously be preferable. On Wed, 2 Sep 2015, Asumu Takikawa wrote: On 2015-09-02 15:35:25 -0700, Jack Firth wrote: I do a lot of

Re: [racket-users] `divides?` from math/number-theory slow?

2015-08-24 Thread Rickard Andersson
The above is of course supposed to say that `divides?` needed a few seconds more than the modulo example even in Typed Racket. Both were of course typed when running with TR. On Mon, Aug 24, 2015 at 3:38 PM, Rickard Andersson rickard.m.anders...@gmail.com wrote: Yes, that indeed seems

Re: [racket-users] `divides?` from math/number-theory slow?

2015-08-24 Thread Rickard Andersson
, but I guess the big win is that you get contracts with better performance instead of much faster, brittle code? On Mon, 24 Aug 2015, Vincent St-Amour wrote: On Mon, 24 Aug 2015 08:38:46 -0400, Rickard Andersson wrote: Yes, that indeed seems to be the problem. However, even after managing to wrap

Re: [racket-users] `divides?` from math/number-theory slow?

2015-08-24 Thread Rickard Andersson
I was very curious about what you were talking about, as I saw wildly different numbers (in line with what I'd seen before). However, I did the following test: | ~/tools/racket/6.1.1/bin/racket typed_divide.rkt cpu time: 536 real time: 537 gc time: 27 cpu time: 347 real time: 347 gc time: 4

RE: [racket-users] Re: My son's game in Racket

2015-08-24 Thread Rickard Andersson
I don't know how much you involve yourself in the actual making of things (it might be a principle of yours to leave everything practical to your son and to only help with concepts), but couldn't it be useful to simply make a macro like a `(place-images* ([imag1 x y] ...))` or the like? Maybe

[racket-users] `divides?` from math/number-theory slow?

2015-08-24 Thread Rickard Andersson
Hi, I noticed that the `divides?` function from math/number-theory seems to be a huge bottleneck for whatever reason. This seems strange to me, but I figured I'd write to the list to see if maybe there are trade-offs made that make sense mostly for big integers or something. Example with

Re: [racket-users] About redrawing buttons on-demand in gui framework

2015-07-23 Thread Rickard Andersson
Hi, David. Perhaps I was unclear in my description, but as you guessed anyway, I meant that the geometry of the button wasn't being affected by a set-label method call. This is precisely what I was looking for. Thank you very much for your help. :) // Rickard Andersson. On Thu, 23 Jul

[racket-users] About redrawing buttons on-demand in gui framework

2015-07-21 Thread Rickard Andersson
with another label. Any help is appreciated, as I'd like to avoid these changes becoming too ingrained in my code. // Rickard Andersson -- 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

Re: [racket-users] Re: Are there any BDD testing frameworks for Racket?

2015-07-12 Thread Rickard Andersson
I would encourage you to release this no matter the situation in this thread, Jack, as it sounds very interesting. On Sun, 12 Jul 2015, Jack Firth wrote: Out of curiosity, what are you looking to test? If it's an HTTP api, I've got a ton of useful testing tools for that that I was just

[racket-users] Overriding on-subwindow-event for message%

2015-07-09 Thread Rickard Andersson
))) This, however, doesn't seem to work. Is there anything special about message% that makes it so that it shouldn't be overridden? This works fine for buttons and the purpose is to be able to move the UI components around with certain mouse events. // Rickard Andersson -- You received this message because

Re: [racket-users] help please on git/github pull request

2015-07-03 Thread Rickard Andersson
I think if there is a direction to go in, it's to make a SSH-friendly and truly extensible text version of DrRacket. I would use this all day; I only really use vim because it's terminal friendly and the editing is great. DrRacket offers a lot in terms of integration with Racket facilities

Re: [racket-users] Emacs Lisp as a Racket Language?

2015-07-03 Thread Rickard Andersson
I think if there is a direction to go in, it's to make a SSH-friendly and truly extensible text version of DrRacket. I would use this all day; I only really use vim because it's terminal friendly and the editing is great. DrRacket offers a lot in terms of integration with Racket facilities