funwhilelost has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sprin>
for capnp list serialization in c++, you need to know the list size before initializing the builder, correct?
<sprin>
so if you are munging some list before capnp serialization, you need a temporary data structure (eg, vector), to hold the result before you serialize it
<sprin>
in other words, if we need to remove some elements from a list, the data flow is:
<sprin>
orig list -> temp list -> capnp list (via builder)
<dwrensha>
in theory, if you're removing elements, you could just decrease the length of the list
<sprin>
oh!
<dwrensha>
you would want to make sure that you've zeroed out the removed elements
<dwrensha>
I don't think the c++ implementation exposing an API for such list-length adjustment
<sprin>
I don't see any such API in the docs at least
<dwrensha>
so sounds like you'll need a temporary list
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
isd has joined #sandstorm
simonv3 has quit [Quit: Connection closed for inactivity]
bb010g has joined #sandstorm
decipherstatic has joined #sandstorm
ArcTanSusan has joined #sandstorm
ArcTanSusan has quit [Client Quit]
kecolus has quit [Quit: Leaving]
warsh has left #sandstorm [#sandstorm]
isd has quit [Quit: Leaving.]
jadewang has quit [Remote host closed the connection]
jadewang has joined #sandstorm
M-eternaleye is now known as eternaleye
jadewang has quit [Remote host closed the connection]
ArcTanSusan has joined #sandstorm
ArcTanSusan has quit [Quit: ArcTanSusan]
|jemc| has quit [Ping timeout: 256 seconds]
mrshu has quit [Ping timeout: 240 seconds]
mquandalle has quit [Quit: Connection closed for inactivity]
mrshu has joined #sandstorm
ocdtrekkie has quit [Remote host closed the connection]
aldeka has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
amyers has joined #sandstorm
amyers has quit [Ping timeout: 250 seconds]
xet7 has joined #sandstorm
simonv3 has joined #sandstorm
aldeka has quit [Remote host closed the connection]
ocdtrekkie has quit [Remote host closed the connection]
aldeka has joined #sandstorm
ocdtrekkie has joined #sandstorm
|jemc| has joined #sandstorm
|jemc| has quit [Quit: WeeChat 1.2]
|jemc| has joined #sandstorm
secher has joined #sandstorm
<secher>
Heyas all. I'm trying to see if Etherpad on Sandstorm can support syntax highlighting. Any ideas? It seems that Etherpad proper does, but I can't figure out how to enable it in Sandstorm either via plugins or any other fashion.
<dwrensha>
hi secher!
<dwrensha>
Sandstorm's Etherphad SPK comes with a bunch of plugins
<dwrensha>
to add a new one, you would need to convince kentonv to add it to the package