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

2017-12-09 Thread Rickard Andersson
l on Windows 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 "Rack

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

2016-09-12 Thread Rickard Andersson
, 2016, at 9:54 AM, Rickard Andersson 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 the spam out, and generally

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 profi

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

2016-04-06 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 i

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: http://docs.racket-lang.org/net/http-client.html?q=http-sendrecv#%28def._%28%28lib.

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 Rac

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 i

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

2015-08-24 Thread Rickard Andersson
rform better than Racket, 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. Howeve

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 cp

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 se

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

2015-08-24 Thread Rickard Andersson
Yes, that indeed seems to be the problem. However, even after managing to wrap the types properly, using `divides?` still ended up being a bit slower. Not dramatically slower, but still noticably and unexpectedly. As I'm not at all comfortable with Typed Racket I would appreciate if someone co

[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-22 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, 2

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

2015-07-21 Thread Rickard Andersson
act same object 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 grou

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 thinki

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

2015-07-09 Thread Rickard Andersson
(super-new))) 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 r

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 and

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 and

[racket] Submodule access in nested function definitions

2015-03-19 Thread Rickard Andersson
Sidenote: Nesting `define/tc` works, but will also run more test cases than specified.) // Rickard Andersson [gonz_] Racket Users list: http://lists.racket-lang.org/users

[racket] Submodule access in nested function definitions

2015-03-18 Thread Rickard Andersson
Sidenote: Nesting `define/tc` works, but will also run more test cases than specified.) // Rickard Andersson [gonz_] Racket Users list: http://lists.racket-lang.org/users

Re: [racket] users Digest, Vol 115, Issue 25

2015-03-08 Thread Rickard Andersson
evious message. The correct name of the library is > lux-charterm. The links I provided do point to the intended locations. Hi, Michael. Thanks for this, it's what I was looking for. Not being curses based is not an issue, as mostly it'll be the same regardless. I'll definitely check this out for further projects, thanks. // Rickard Andersson [gonz_] Racket Users list: http://lists.racket-lang.org/users