Re: [PD-dev] per-thread storage in Pd in support of pdlib - discussion?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i think there are 2 use cases for multi threading. #1 access a single instance of (lib)pd from multiple threads #2 allow multiple instances of (lib)pd to co-exist in global memory. right now, only #1 is possible at all and it takes some effort on the thread host (the external) to not fuck Pd's heap. i think Pd should be more helpful in this respect: a way to make Pd thread-safe is to eliminate global variables and if they can't (or shan't) be eliminate them properly protect them against parallel access. On 2012-01-14 22:04, Miller Puckette wrote: To do this I'd replace all globals like what is wrong with eliminating all directly accessible globals from the API (like pd_objectmaker) and provide accessor functions to get (thread safe) access to them? e.g. i would prefer if the symhash stayed global and instead access to it (via gensym()) was thread safe. i guess the main reason for not doing this is performance(?) otoh, the subject indicates that you are more talking about case #2. in this case what is needed is to replace the global state by a per-instance state. i would rather _not_ tie the concept of instance to the concept of thread (even though in practice they might often be interchangeable). afaik, the usual way to accomplish a concept of multiple instances is to aggragate all currently global variables into a context and extend the API so that each function has an additional parameter for this context. this will obviously break API compatibility... a possible workaround would be to add a new function t_pdcontext*make_current(t_pdcontext*) that would change the running instance and all API calls would henceforth work on the current context. this would still need a global variable (the current context). the make_current call could update the legacy global variables to contain the current values. (this would only work as long as no code caches the values of these variables). of course this doesn't really solve the problem of concurrent access to multiple instances of (lib)pd. in this case an extended API that has an explicit reference to the currently used API should help. anyhow, i would strongly suggest not to use some compiler magic that might or might not be supported for older (and newer) compilers available on the market for (lib)pd itself. e.g. c++11 (c++? ever tried to compile Pd with a c++ compiler?) is supported only by fairly new compilers (and afaik, that support is only partially, even on g++) fgasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8T40AACgkQkX2Xpv6ydvRY2QCgjiMPHvSK5OgL5o6TlWk+JVkc b9gAnjM0qd81axcEpk4aSYH5nRqe2w1A =O7F+ -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] small l2ork install suggestions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-01-16 01:15, Hans-Christoph Steiner wrote: include/Base/ These are the Gem headers, they should be in the 'gem' package, but I DoH! i wa absolutely convinced that i got that right for the 0.93.3 package. i even closed the relevant debian bug (#582555) only do discover, that i forgot to actually add the headers... i'll fix that asap... fgmasdf IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8T5V8ACgkQkX2Xpv6ydvQ6lQCg3LPk4cmCncn/8vn+FQ7VC6V2 vP0An1G/qY3xyxzOrDcUOafQtjLVndki =vHqL -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
Re: [PD-dev] small l2ork install suggestions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-01-16 09:52, IOhannes m zmoelnig wrote: On 2012-01-16 01:15, Hans-Christoph Steiner wrote: include/Base/ These are the Gem headers, they should be in the 'gem' package, but I DoH! i wa absolutely convinced that i got that right for the 0.93.3 package. i even closed the relevant debian bug (#582555) only do discover, that i forgot to actually add the headers... i'll fix that asap... and as you can see, i'm so excited about this that i even switched off my basic spell checker... fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8T5g0ACgkQkX2Xpv6ydvSMLwCfdNsLcjUTfk4Y/vV+R1WCupJ6 NBwAoPLyywCZLSJ+iDEaBD2BiNTiNYwl =yb4P -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] [ pure-data-Patches-3474198 ] French translation
Patches item #3474198, was opened at 2012-01-15 08:43 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=3474198group_id=55736 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None Status: Open Resolution: None Priority: 2 Private: No Submitted By: jeanSapristi (tomjavel) Assigned to: Cyrille Henry (nusmuk) Summary: French translation Initial Comment: I improved the fr.po for Pd-vanilla ; first time i submit a patch. -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-16 10:53 Message: Excellent. There are now three contributors to this translation: Cyrille Henry started it, Alexandre Castonguay worked on it, and now you're number three. I think the three of you should work out how y'all want to collaborate on it. Using transifex makes it easy, but you could also just email each other the files, or whatever you want. -- Comment By: jeanSapristi (tomjavel) Date: 2012-01-15 22:48 Message: Ok, i didn't know ; it compiles fine ... ... so please wait a minute before to merge ; i'll post soon (today, tomorrow ...) a new complete patch for translation (i will finish it with french codelab community). -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-15 12:00 Message: You can use the same fr.po for Pd-vanilla and Pd-extended. As of now, there aren't separate translations. -- Comment By: jeanSapristi (tomjavel) Date: 2012-01-15 10:25 Message: I started with Pd-vanilla one's that i cloned from the repository ; (git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data). I found others later ; but i didn't want to use them as i can not test the result (i don't have Pd-extended) ; i'll have a look on transifex ;-) -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-15 09:31 Message: thanks for the submission! There are a couple versions of the french translation for Pd, could you tell me which one you started with? The one in pd-vanilla is not as up-to-date as the one in Pd-extended, so if yours is based on of Pd-vanilla's, then it would make sense to merge the Pd-extended version with yours to have a fully up-to-date French translation. Alternatively, you can also work via transifex: https://www.transifex.net/projects/p/puredata/ -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=3474198group_id=55736 ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] zexy 2.2.6?
Hey IOhannes, I am starting to copy libraries into the pd-extended/0.43 release branch. Do you think you'll do a 2.2.6 any time soon? shall I just include 2.2.5? .hc Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
[PD-dev] [ pure-data-Patches-3474198 ] French translation
Patches item #3474198, was opened at 2012-01-15 08:43 Message generated for change (Comment added) made by tomjavel You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=3474198group_id=55736 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: None Status: Open Resolution: None Priority: 2 Private: No Submitted By: jeanSapristi (tomjavel) Assigned to: Cyrille Henry (nusmuk) Summary: French translation Initial Comment: I improved the fr.po for Pd-vanilla ; first time i submit a patch. -- Comment By: jeanSapristi (tomjavel) Date: 2012-01-16 22:57 Message: Hello, i joined the fr.po file i finished ; there is one or two strings i'm only 50 % sure ;-) I did cosmetics changes as french is longuer than english on screen ; it's look like fine now ; I will try to find the e-mail of Cyrille Henry and Alexandre Castonguay ... -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-16 10:53 Message: Excellent. There are now three contributors to this translation: Cyrille Henry started it, Alexandre Castonguay worked on it, and now you're number three. I think the three of you should work out how y'all want to collaborate on it. Using transifex makes it easy, but you could also just email each other the files, or whatever you want. -- Comment By: jeanSapristi (tomjavel) Date: 2012-01-15 22:48 Message: Ok, i didn't know ; it compiles fine ... ... so please wait a minute before to merge ; i'll post soon (today, tomorrow ...) a new complete patch for translation (i will finish it with french codelab community). -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-15 12:00 Message: You can use the same fr.po for Pd-vanilla and Pd-extended. As of now, there aren't separate translations. -- Comment By: jeanSapristi (tomjavel) Date: 2012-01-15 10:25 Message: I started with Pd-vanilla one's that i cloned from the repository ; (git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data). I found others later ; but i didn't want to use them as i can not test the result (i don't have Pd-extended) ; i'll have a look on transifex ;-) -- Comment By: Hans-Christoph Steiner (eighthave) Date: 2012-01-15 09:31 Message: thanks for the submission! There are a couple versions of the french translation for Pd, could you tell me which one you started with? The one in pd-vanilla is not as up-to-date as the one in Pd-extended, so if yours is based on of Pd-vanilla's, then it would make sense to merge the Pd-extended version with yours to have a fully up-to-date French translation. Alternatively, you can also work via transifex: https://www.transifex.net/projects/p/puredata/ -- You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=478072aid=3474198group_id=55736 ___ Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev