You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(7) |
| 2006 |
Jan
(1) |
Feb
(2) |
Mar
(3) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(17) |
Nov
(18) |
Dec
(1) |
| 2007 |
Jan
|
Feb
|
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(6) |
Dec
(1) |
| 2008 |
Jan
(17) |
Feb
(20) |
Mar
(8) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(5) |
Aug
(6) |
Sep
(9) |
Oct
(19) |
Nov
(4) |
Dec
(35) |
| 2009 |
Jan
(40) |
Feb
(16) |
Mar
(7) |
Apr
(6) |
May
|
Jun
(5) |
Jul
(5) |
Aug
(4) |
Sep
(1) |
Oct
(2) |
Nov
(15) |
Dec
(15) |
| 2010 |
Jan
(5) |
Feb
(20) |
Mar
(12) |
Apr
|
May
(2) |
Jun
(4) |
Jul
|
Aug
(11) |
Sep
(1) |
Oct
(1) |
Nov
(3) |
Dec
|
| 2011 |
Jan
(8) |
Feb
(19) |
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
(1) |
Sep
(21) |
Oct
(7) |
Nov
(4) |
Dec
|
| 2012 |
Jan
(3) |
Feb
(25) |
Mar
(8) |
Apr
(10) |
May
|
Jun
(14) |
Jul
(5) |
Aug
(12) |
Sep
(3) |
Oct
(14) |
Nov
|
Dec
|
| 2013 |
Jan
(10) |
Feb
(4) |
Mar
(10) |
Apr
(14) |
May
(6) |
Jun
(13) |
Jul
(37) |
Aug
(20) |
Sep
(11) |
Oct
(1) |
Nov
(34) |
Dec
|
| 2014 |
Jan
(8) |
Feb
(26) |
Mar
(24) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(28) |
Oct
(4) |
Nov
(4) |
Dec
(2) |
| 2015 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(13) |
Jul
|
Aug
(3) |
Sep
(8) |
Oct
(11) |
Nov
(16) |
Dec
|
| 2016 |
Jan
|
Feb
(6) |
Mar
|
Apr
(9) |
May
(23) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
(3) |
Jun
|
Jul
(3) |
Aug
|
Sep
(8) |
Oct
|
Nov
|
Dec
(3) |
| 2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(31) |
May
|
Jun
|
Jul
|
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2021 |
Jan
(2) |
Feb
(2) |
Mar
(5) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
|
10
|
11
(3) |
12
|
13
|
14
|
15
|
16
|
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
|
31
|
|
|
|
|
|
|
|
From: Thomas B. <to...@tr...> - 2017-12-11 16:40:23
|
On Mon, December 11, 2017 16:14, Stephen Sinclair wrote: > On Mon, Dec 11, 2017 at 11:25 AM, Thomas Brand <to...@tr...> wrote: > >> >> Hi, >> >> >> I'm wondering about your thoughts on the following proposal: >> >> >> -Allow to serialise and deserialise messages with optional byte >> swapping >> >> For instance adding a new method lo_serialise_message_swap with an >> additional argument 'swap' that tells whether or not the message >> arguments should be converted from host to network order. The existing >> lo_serialise_message would then become a wrapper to call the new method >> with swap=1. The same for lo_deserialise_message. >> >> This would allow to create a close relationship of C structs layed out >> like an OSC message and the methods from liblo to >> de-/serialise/introspect such structs without byte swapping involved. A >> pointer to a struct could be deserialised to an OSC message and vice >> versa. > > I think I understand what you mean, not 100% sure. I think I would > simply call it lo_serialize_from_struct or something similar. > > It sounds a bit prone to error to me, since every user would be > defining his own structs that are supposed to correspond with the OSC > message layout if I understand you correctly, but perhaps that could be > curbed with some good macro programming to verify that struct layout > corresponds. > Yes, of course setting up the struct is a bit more work to make it byte-compatible with an OSC message, the only obstacle is different endianness. > However, I am not sure how a switch for controlling byte swapping > applies. Either the struct is in network order or machine order, but it > shouldn't be up to the user to turn that on and off. > For regular operation, a user would not want to fiddle with this. IMO it's a benefit of the OSC spec that the format is clearly big endian (which is equal to network byte order) and that the host endianness is considered for forth and back conversions. Taking control on the conversion allows for special cases. It's not the idea to ever SEND a little-endian serialised message since that would clearly break the spec. > Perhaps you could lay out more descriptively an example of what you > have in mind. In a scenario, there is a struct in shared memory. A process that knows the struct can easily and directly access the struct members, read and change values very efficiently. In contrast to an OSC message, where it isn't foreseen to change single values of already added arguments if I'm not mistaken. Now I thought it would be nice if we could say, the struct is effectively an OSC message (with host (say little endian) encoding!). Any process not aware of the struct can parse it with any OSC parser to know more about it, derive types, byte-offsets etc. IFF parser can be instructed to keep endianness. I've attached a small example that should show how struct<->osc message could be used with modified message.c, basically wrapping the byte swapping with in if() in lo_[de]serialise_message. The basic idea is to make a struct "discoverable" using a well-defined markup while letting programs use the struct as normal. Not sure if that makes any sense :) > > Steve > > > ------------------------------------------------------------------------- > ----- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > liblo-devel mailing list lib...@li... > https://lists.sourceforge.net/lists/listinfo/liblo-devel > > |
|
From: Stephen S. <rad...@gm...> - 2017-12-11 15:14:18
|
On Mon, Dec 11, 2017 at 11:25 AM, Thomas Brand <to...@tr...> wrote: > > Hi, > > I'm wondering about your thoughts on the following proposal: > > -Allow to serialise and deserialise messages with optional byte swapping > > For instance adding a new method lo_serialise_message_swap with an > additional argument 'swap' that tells whether or not the message arguments > should be converted from host to network order. The existing > lo_serialise_message would then become a wrapper to call the new method > with swap=1. The same for lo_deserialise_message. > > This would allow to create a close relationship of C structs layed out > like an OSC message and the methods from liblo to de-/serialise/introspect > such structs without byte swapping involved. A pointer to a struct could > be deserialised to an OSC message and vice versa. I think I understand what you mean, not 100% sure. I think I would simply call it lo_serialize_from_struct or something similar. It sounds a bit prone to error to me, since every user would be defining his own structs that are supposed to correspond with the OSC message layout if I understand you correctly, but perhaps that could be curbed with some good macro programming to verify that struct layout corresponds. However, I am not sure how a switch for controlling byte swapping applies. Either the struct is in network order or machine order, but it shouldn't be up to the user to turn that on and off. Perhaps you could lay out more descriptively an example of what you have in mind. Steve |
|
From: Thomas B. <to...@tr...> - 2017-12-11 15:04:47
|
Hi, I'm wondering about your thoughts on the following proposal: -Allow to serialise and deserialise messages with optional byte swapping For instance adding a new method lo_serialise_message_swap with an additional argument 'swap' that tells whether or not the message arguments should be converted from host to network order. The existing lo_serialise_message would then become a wrapper to call the new method with swap=1. The same for lo_deserialise_message. This would allow to create a close relationship of C structs layed out like an OSC message and the methods from liblo to de-/serialise/introspect such structs without byte swapping involved. A pointer to a struct could be deserialised to an OSC message and vice versa. Greetings Thomas |