Re: [racket-dev] pkgs.racket-lang.org

2014-09-26 Thread Jay McCarthy
On Fri, Sep 26, 2014 at 7:26 PM, Jan Dvořák  wrote:
> Hi,
>
> about the  - the site is getting rather large.
> Wouldn't server-side filtering work better than the client javascript
> solution?

You are finding it slow?

> Plus I often have trouble submitting new packages, the form could easily be
> done in the traditional way and the experience would be much better. Adding
> a package would be an atomic operating, unlike the current situation where I
> have to fill out some fields three times before they register correctly.

What do you mean by that? You should only have to fill out a field one
time correctly. If you're saying that you add one field and it doesn't
work, then there's a problem.

As far as making it one operation, that's something I may do shortly.

Jay

> [Firefox on Fedora 20, x86_64]
>
> Best regards,
> Jan Dvorak
>
>
>
> _
>  Racket Developers list:
>  http://lists.racket-lang.org/dev



-- 
Jay McCarthy
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D&C 64:33

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] pkgs.racket-lang.org

2014-09-26 Thread Jan Dvořák

Hi,

about the  - the site is getting rather 
large. Wouldn't server-side filtering work better than the client 
javascript solution?


Plus I often have trouble submitting new packages, the form could 
easily be done in the traditional way and the experience would be much 
better. Adding a package would be an atomic operating, unlike the 
current situation where I have to fill out some fields three times 
before they register correctly.


[Firefox on Fedora 20, x86_64]

Best regards,
Jan Dvorak



_
 Racket Developers list:
 http://lists.racket-lang.org/dev


Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Marc Burns
Here you go:

https://github.com/m4burns/racket-rtmidi

This isn't yet a Racket package and doesn't yet have documentation.
There is an illustrative example, though.

On Fri, Sep 26, 2014 at 12:29:57PM +0300, Antti Karttunen wrote:
> On Fri, Sep 26, 2014 at 11:30 AM, Marc Burns  wrote:
> 
> > I have a set of RtMidi bindings for Racket. They work well on Linux,
> > OSX, and Windows. I will clean them up tomorrow and publish a package.
> >
> 
> Wow, that was fast, thanks a lot!
> 
> Antti
> 
> 
> > On Fri, Sep 26, 2014 at 10:05:14AM +0300, Antti Karttunen wrote:
> > > On Fri, Sep 26, 2014 at 1:30 AM, John Clements 
> > > wrote:
> > >
> > > > This looks really interesting??? but I???m frightened by the fact that
> > it???s
> > > > C++, and worse-yet object-oriented.  It looks like it might require
> > some
> > > > serious low-level chops to integrate this with our (standard) C-style
> > ffi.
> > > >
> > > > Do you know of a cross-platform MIDI library that has a more standard /
> > > > C-like API?
> > > >
> > >
> > > After a quick googling, I found this:
> > > http://portmedia.sourceforge.net/
> > > The latest version is from 2010, but at least the source-files seem to be
> > > in C.
> > >
> > > Antti Karttunen
> > >
> > >
> > > >
> > > > John Clements
> > > >
> > > >
> > > > On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen <
> > > > antti.karttu...@gmail.com> wrote:
> > > >
> > > >>
> > > >> A question:
> > > >>
> > > >> Has there been any attempts or even discussion of including Gary P.
> > > >> Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ )
> > > >> into the standard distribution of Racket?
> > > >>
> > > >> This is the furthest I could follow this trail:
> > > >>
> > > >>
> > https://github.com/mlozanov/fluxus/blob/master/modules/fluxus-midi/SConscript
> > > >> but there doesn't seem to be a Windows-port, which I would need.
> > > >>
> > > >> Or does anybody have ideas for any shortcut kludge with which I could
> > > >> pipe MIDI-data from Racket to Windows Software Synthesizer /
> > MIDIMapper
> > > >> device? I guess it's not available as a named system file in Windows,
> > which
> > > >> I could just open and start writing to?
> > > >>
> > > >> I don't need this to have "real-time accuracy required by professional
> > > >> musicians", but just enough for demoing how to produce sounds with a
> > > >> moderate tempo, in general educational setting.
> > > >>
> > > >>
> > > >> Best,
> > > >>
> > > >> Antti
> > > >>
> > > >>
> > > >> _
> > > >>   Racket Developers list:
> > > >>   http://lists.racket-lang.org/dev
> > > >>
> > > >>
> > > >
> >
> > > _
> > >   Racket Developers list:
> > >   http://lists.racket-lang.org/dev
> >
> >

> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Working Cairo-bindings for Racket?

2014-09-26 Thread Sam Tobin-Hochstadt
Instead of changing my Planet package, it would be better to provide
an FFI to cairo based on the existing one that's in the library you
mention. I don't think any of my package would be useful for that,
though.

Sam

On Fri, Sep 26, 2014 at 8:44 AM, Antti Karttunen
 wrote:
>
> Another question:
>
> Would it be a big job to edit the bindings in
> http://planet.racket-lang.org/package-source/samth/cairo.plt/1/0/cairo.ss
> so that it worked with the current
>
> (require racket/draw/unsafe/cairo-lib)
>
> cairo-lib
> #
>
> ?
>
> I guess it's not just question of "deprecated names for Cairo functions" as
> mentioned in the ticket:
> http://planet.racket-lang.org/trac/ticket/357
>
> but also code like: (define libcairo (ffi-lib "libcairo"))
>
> right in the beginning of .../samth/cairo.plt/1/0/cairo.ss
> ?
>
>
> Yours,
>
> Antti Karttunen
>
>
> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Working Cairo-bindings for Racket?

2014-09-26 Thread Antti Karttunen
Another question:

Would it be a big job to edit the bindings in
http://planet.racket-lang.org/package-source/samth/cairo.plt/1/0/cairo.ss
so that it worked with the current

(require racket/draw/unsafe/cairo-lib)

cairo-lib
#

?

I guess it's not just question of "deprecated names for Cairo functions" as
mentioned in the ticket:
http://planet.racket-lang.org/trac/ticket/357

but also code like: (define libcairo (ffi-lib "libcairo"))

right in the beginning of .../samth/cairo.plt/1/0/cairo.ss
?


Yours,

Antti Karttunen
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Antti Karttunen
On Fri, Sep 26, 2014 at 11:30 AM, Marc Burns  wrote:

> I have a set of RtMidi bindings for Racket. They work well on Linux,
> OSX, and Windows. I will clean them up tomorrow and publish a package.
>

Wow, that was fast, thanks a lot!

Antti


> On Fri, Sep 26, 2014 at 10:05:14AM +0300, Antti Karttunen wrote:
> > On Fri, Sep 26, 2014 at 1:30 AM, John Clements 
> > wrote:
> >
> > > This looks really interesting??? but I???m frightened by the fact that
> it???s
> > > C++, and worse-yet object-oriented.  It looks like it might require
> some
> > > serious low-level chops to integrate this with our (standard) C-style
> ffi.
> > >
> > > Do you know of a cross-platform MIDI library that has a more standard /
> > > C-like API?
> > >
> >
> > After a quick googling, I found this:
> > http://portmedia.sourceforge.net/
> > The latest version is from 2010, but at least the source-files seem to be
> > in C.
> >
> > Antti Karttunen
> >
> >
> > >
> > > John Clements
> > >
> > >
> > > On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen <
> > > antti.karttu...@gmail.com> wrote:
> > >
> > >>
> > >> A question:
> > >>
> > >> Has there been any attempts or even discussion of including Gary P.
> > >> Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ )
> > >> into the standard distribution of Racket?
> > >>
> > >> This is the furthest I could follow this trail:
> > >>
> > >>
> https://github.com/mlozanov/fluxus/blob/master/modules/fluxus-midi/SConscript
> > >> but there doesn't seem to be a Windows-port, which I would need.
> > >>
> > >> Or does anybody have ideas for any shortcut kludge with which I could
> > >> pipe MIDI-data from Racket to Windows Software Synthesizer /
> MIDIMapper
> > >> device? I guess it's not available as a named system file in Windows,
> which
> > >> I could just open and start writing to?
> > >>
> > >> I don't need this to have "real-time accuracy required by professional
> > >> musicians", but just enough for demoing how to produce sounds with a
> > >> moderate tempo, in general educational setting.
> > >>
> > >>
> > >> Best,
> > >>
> > >> Antti
> > >>
> > >>
> > >> _
> > >>   Racket Developers list:
> > >>   http://lists.racket-lang.org/dev
> > >>
> > >>
> > >
>
> > _
> >   Racket Developers list:
> >   http://lists.racket-lang.org/dev
>
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Marc Burns
I have a set of RtMidi bindings for Racket. They work well on Linux,
OSX, and Windows. I will clean them up tomorrow and publish a package.

On Fri, Sep 26, 2014 at 10:05:14AM +0300, Antti Karttunen wrote:
> On Fri, Sep 26, 2014 at 1:30 AM, John Clements 
> wrote:
> 
> > This looks really interesting??? but I???m frightened by the fact that 
> > it???s
> > C++, and worse-yet object-oriented.  It looks like it might require some
> > serious low-level chops to integrate this with our (standard) C-style ffi.
> >
> > Do you know of a cross-platform MIDI library that has a more standard /
> > C-like API?
> >
> 
> After a quick googling, I found this:
> http://portmedia.sourceforge.net/
> The latest version is from 2010, but at least the source-files seem to be
> in C.
> 
> Antti Karttunen
> 
> 
> >
> > John Clements
> >
> >
> > On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen <
> > antti.karttu...@gmail.com> wrote:
> >
> >>
> >> A question:
> >>
> >> Has there been any attempts or even discussion of including Gary P.
> >> Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ )
> >> into the standard distribution of Racket?
> >>
> >> This is the furthest I could follow this trail:
> >>
> >> https://github.com/mlozanov/fluxus/blob/master/modules/fluxus-midi/SConscript
> >> but there doesn't seem to be a Windows-port, which I would need.
> >>
> >> Or does anybody have ideas for any shortcut kludge with which I could
> >> pipe MIDI-data from Racket to Windows Software Synthesizer / MIDIMapper
> >> device? I guess it's not available as a named system file in Windows, which
> >> I could just open and start writing to?
> >>
> >> I don't need this to have "real-time accuracy required by professional
> >> musicians", but just enough for demoing how to produce sounds with a
> >> moderate tempo, in general educational setting.
> >>
> >>
> >> Best,
> >>
> >> Antti
> >>
> >>
> >> _
> >>   Racket Developers list:
> >>   http://lists.racket-lang.org/dev
> >>
> >>
> >

> _
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] RtMidi library for Racket?

2014-09-26 Thread Antti Karttunen
On Fri, Sep 26, 2014 at 1:30 AM, John Clements 
wrote:

> This looks really interesting… but I’m frightened by the fact that it’s
> C++, and worse-yet object-oriented.  It looks like it might require some
> serious low-level chops to integrate this with our (standard) C-style ffi.
>
> Do you know of a cross-platform MIDI library that has a more standard /
> C-like API?
>

After a quick googling, I found this:
http://portmedia.sourceforge.net/
The latest version is from 2010, but at least the source-files seem to be
in C.

Antti Karttunen


>
> John Clements
>
>
> On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen <
> antti.karttu...@gmail.com> wrote:
>
>>
>> A question:
>>
>> Has there been any attempts or even discussion of including Gary P.
>> Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ )
>> into the standard distribution of Racket?
>>
>> This is the furthest I could follow this trail:
>>
>> https://github.com/mlozanov/fluxus/blob/master/modules/fluxus-midi/SConscript
>> but there doesn't seem to be a Windows-port, which I would need.
>>
>> Or does anybody have ideas for any shortcut kludge with which I could
>> pipe MIDI-data from Racket to Windows Software Synthesizer / MIDIMapper
>> device? I guess it's not available as a named system file in Windows, which
>> I could just open and start writing to?
>>
>> I don't need this to have "real-time accuracy required by professional
>> musicians", but just enough for demoing how to produce sounds with a
>> moderate tempo, in general educational setting.
>>
>>
>> Best,
>>
>> Antti
>>
>>
>> _
>>   Racket Developers list:
>>   http://lists.racket-lang.org/dev
>>
>>
>
_
  Racket Developers list:
  http://lists.racket-lang.org/dev