Re: [music-dsp] maintaining musicdsp.org

2012-04-12 Thread Bram de Jong
Hi,

I'm so confused about many of these replies as you are all going
waa-(a)^20-aaay over the top :-)

I'm just looking for someone willing to hack two or three PHP files.
Musicdsp.org is maybe 10-20 PHP pages in total, loosely *hacked*
together. It's the smallest site ever! No phpBB in sight: the forum
link goes straight to kvraudio.com, no images, no user signups, very
light usage, no nothing! The problem is just that I'm having a hard
time finding the time to fix it myself - but I suppose I'll just do it
this weekend.

( Freesound.org (2*10^6 users, 4TB/mo, 3K signups/day) was started by
me and I'm still in the core hacker group, so trust me, I know how to
run (relatively) big sites with high requirements, that is not the
issue here! )

 - bram

On Wed, Apr 11, 2012 at 10:46 PM, Roberta  wrote:
> One more idea and my apologies if already suggested:    Consider offloading
> any upload, hosting to 3rd party, i.e. disable ftp/(PHP uploads) 100% on
> server for users, no site user account/root/admin.  3rd party ex.  would be
> git hub, Google code and so on to host code, projects and use ftp GET
> instead in phpBB (i.e. HTML links).
>
> Another ex:  images -> flicker, photobucket, CDN, etc. (although this isn't
> a big security hole, more speed, static, no cookies).
>
>
>
>
> On 11.04.2012 02:18, Bram de Jong wrote:
>>
>> so anyone?
>>
>>  - bram
>>
>> On Fri, Apr 6, 2012 at 12:42 PM, Bram de Jong 
>> wrote:
>>>
>>> guys guys guys don't get ahead of yourselves! :-)
>>>
>>> musicdsp.org is pretty simple in terms of code. Rewriting in drupal
>>> (or similar) would take way too long and would -this is much more
>>> important- require someone who is dedicated to musicdsp.org for the
>>> next few years (as I myself have very little experience with Drupal,
>>> except the nightmare that is called "security updates").
>>>
>>> I'm just looking for someone who has a bit more time than me and feels
>>> like hacking (not coding) a few extra things like a captcha
>>> (recaptcha?) and what not into musicdsp's current code base - which is
>>> PHP.
>>>
>>> And anyway, if I would rewrite it, I would rewrite it in django as I
>>> have a vast amount of experience with django. ;-))
>>>
>>>
>>>  - Bram
>>>
>>> On Fri, Apr 6, 2012 at 8:12 AM,   wrote:

 adding recaptcha to an existing site would not be too difficult, and
 would get the job done.

 if you decide to overhaul... I'm partial to Rails, it's pretty awesome.
 (disclosure I'm a ruby/rails developer as my day job)
 there are a handful of CMS solutions for rails 3, here are two options
 that look decent... I could help customize
 http://refinerycms.com/
 http://www.browsercms.org/

 -D

 On Apr 5, 2012, at 5:57 PM, Kevin Dixon wrote:

> I would vote for a CAPTCHA... specifically recaptcha
> http://www.google.com/recaptcha/whyrecaptcha
>
> -Kevin
>
> On Thu, Apr 5, 2012 at 1:03 PM, Bastian Schnuerle
>  wrote:
>>
>> just did wordpress for a friend .. looks nice .. +1 ..
>>
>> Am 05.04.2012 um 21:50 schrieb douglas repetto:
>>
>>
>>>
>>> I think even Wordpress would work very well for the content on
>>> musicdsp.org. I agree a full drupal site seems like overkill!
>>>
>>> douglas
>>>
>>> On 4/5/12 10:05 AM, Bjorn Roche wrote:



 On Apr 5, 2012, at 4:53 AM, Ross Bencina wrote:

> Hey Bjorn,
>
> On 5/04/2012 1:52 AM, Bjorn Roche wrote:
>>
>>
>> Any thoughts about modernizing the whole thing with a fresh CMS?
>> I think it would be easier to maintain, have built-in spam
>> filters, and it would be easier to have multiple people do the
>> work. Plus it would look more attractive. I don't think it would
>> take much effort to redo the whole thing in, say, drupal.
>
>
>
> Have you ever set up a Drupal site? I have. It is not for
> small-time, non-commercial, low-maintenance overhead projects
> imho.



 Yes. Quite a few.

> Imho it would be a huge job to port the current site to Drupal and
> there is a lot of ongoing maintenance required to keep security
> patches up to date etc etc.



 Yes. The biggest problem is security updates. You are right: major
 PITA factor. This can be mitigated by a hosted solution, or a
 multi-site install where someone is already monitoring the site for
 security updates. But, at the end of the day, that might not be
 realistic.

> Doing the theme port alone would be a lot of work.



 I would not dream of porting the existing theme, but rather use a
 new, or built-in theme.

> Unless I'm completely out of touch it is really non-trivial to set
>>>

[music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.

2012-04-12 Thread robert bristow-johnson


it was pretty spare in the mail.  essentially just the board and a cute 
little card in a bubble box.


the card has some "Getting started" instructions and number 5. says to 
got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that 
soon.  it also mentions dev toolchains: Altium Atolic, IAR and Keil.  do 
these cost money or are they free.  what are you guys using?  my PC is 
XP ca. 2006.


i will need some hand-holding until i can get this thing to simply pass 
a signal (through the ARM), then i'll write some code for it.


thanks for any pointers that save me time and/or $$.

L8r,

--

r b-j  r...@audioimagination.com

"Imagination is more important than knowledge."



--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp


Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.

2012-04-12 Thread Eric Brombaugh

On 04/12/2012 05:53 PM, robert bristow-johnson wrote:


it was pretty spare in the mail. essentially just the board and a cute
little card in a bubble box.


Yes, that's pretty much all you get. Bring your own mini-USB cable.


the card has some "Getting started" instructions and number 5. says to
got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that
soon. it also mentions dev toolchains: Altium Atolic, IAR and Keil. do
these cost money or are they free. what are you guys using? my PC is XP
ca. 2006.

i will need some hand-holding until i can get this thing to simply pass
a signal (through the ARM), then i'll write some code for it.


Atollic Truestudio is your basic Eclipse + GCC package which they charge 
for the full version. A size limited free demo is available. I've 
installed it and it seems to work fine.


IAR and Keil both provide trial versions but I haven't tried them. Since 
these are the big established vendors, they have their own unique 
flavors of IDE, the compilers are proprietary with their own tweaks, 
pragmas, etc. Size limited demos are available - be prepared to fill in 
lots of forms and get emails / phonecalls from salesmen.


For a completely free unbundled Eclipse + GCC, check out YAGARTO. 
Installing this can be a bit of a chore, especially getting the debugger 
drivers talking to the Discovery board - what's your time worth?


http://www.yagarto.de/

Eric
--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp


Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.

2012-04-12 Thread robert bristow-johnson

On 4/12/12 10:06 PM, Eric Brombaugh wrote:

On 04/12/2012 05:53 PM, robert bristow-johnson wrote:


it was pretty spare in the mail. essentially just the board and a cute
little card in a bubble box.


Yes, that's pretty much all you get. Bring your own mini-USB cable.


the card has some "Getting started" instructions and number 5. says to
got to http://www.st.com/stm32f4-discovery tutorial, and i'll do that
soon. it also mentions dev toolchains: Altium Atolic, IAR and Keil. do
these cost money or are they free. what are you guys using? my PC is XP
ca. 2006.

i will need some hand-holding until i can get this thing to simply pass
a signal (through the ARM), then i'll write some code for it.


well, i just figgered out that this thing has a D/A only.  no A/D.  so 
no "passing" audio.


i guess i can try to do some simple synthesis with it (like wavetable), 
but no MIDI connector.  if there is a traditional serial connection 
(what we used to call a UART in the olden days), then maybe something 
MIDI can be attached.


BTW, i have a simple, but very clearly commented MIDI 1.0 parser in 
pure-and-simple C if anyone wants it.  you still have to dispatch the 
completed MIDI message, but it does everything else to recognize which 
kinda MIDI command it is and to group together the correct number of 
bytes and when it's complete, it tells you and gives you a nice, 
partially digested MIDI message.


Atollic Truestudio is your basic Eclipse + GCC package which they 
charge for the full version. A size limited free demo is available. 
I've installed it and it seems to work fine.


does this mean that both the Eclipse IDE and ARM GCC apps are in this 
package? i don't have to run down one or the other?  and they run in 
Windoze XP (not Fedora or Umbutu)?




IAR and Keil both provide trial versions but I haven't tried them. 
Since these are the big established vendors, they have their own 
unique flavors of IDE, the compilers are proprietary with their own 
tweaks, pragmas, etc. Size limited demos are available - be prepared 
to fill in lots of forms and get emails / phonecalls from salesmen.


For a completely free unbundled Eclipse + GCC, check out YAGARTO. 
Installing this can be a bit of a chore, especially getting the 
debugger drivers talking to the Discovery board - what's your time worth?


i dunno.  i think not very much, as of late.

is YAGARTO micro$hit XP compatible or is it linux?  i can't do linux 
with my PC.


too bad nobody does this for a Mac.  nice USB connectors on my Mac, too.

--

r b-j  r...@audioimagination.com

"Imagination is more important than knowledge."



--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp


Re: [music-dsp] okay, so i got my STM32F4-Discovery board in the mail today.

2012-04-12 Thread Eric Brombaugh

On Apr 12, 2012, at 9:29 PM, robert bristow-johnson wrote:

> well, i just figgered out that this thing has a D/A only.  no A/D.  so no 
> "passing" audio.

Correct. The STM32 MCU has a pretty decent 12-bit multi-channel ADC, as well as 
a 2-chl 12-bit DAC, so if you use those you could do some lower-resolution 
audio. No audio input codec though. I am looking a building a little codec 
board that would plug in to the expansion connector and override the on-chip 
audio DAC. Let me know if there is any interest.

> i guess i can try to do some simple synthesis with it (like wavetable), but 
> no MIDI connector.  if there is a traditional serial connection (what we used 
> to call a UART in the olden days), then maybe something MIDI can be attached.

Plenty of UARTs in the MCU. Adding a MIDI input isolator would be pretty 
simple. That might be an option on the codec board.

>> Atollic Truestudio is your basic Eclipse + GCC package which they charge for 
>> the full version. A size limited free demo is available. I've installed it 
>> and it seems to work fine.
> 
> does this mean that both the Eclipse IDE and ARM GCC apps are in this 
> package? i don't have to run down one or the other?  and they run in Windoze 
> XP (not Fedora or Umbutu)?

Yep. Just don't try to compile anything larger than 32kB.

>> For a completely free unbundled Eclipse + GCC, check out YAGARTO. Installing 
>> this can be a bit of a chore, especially getting the debugger drivers 
>> talking to the Discovery board - what's your time worth?
> 
> i dunno.  i think not very much, as of late.
> 
> is YAGARTO micro$hit XP compatible or is it linux?  i can't do linux with my 
> PC.

YAGARTO runs under MS Windows.

> too bad nobody does this for a Mac.  nice USB connectors on my Mac, too.

There are builds of ARM GCC that work on the Mac. It's entirely possible to 
edit/compile on a Mac, but downloading to flash and realtime debug are still 
iffy.

Eric


--
dupswapdrop -- the music-dsp mailing list and website:
subscription info, FAQ, source code archive, list archive, book reviews, dsp 
links
http://music.columbia.edu/cmc/music-dsp
http://music.columbia.edu/mailman/listinfo/music-dsp