fluid-work IRC Logs-2012-03-06

[08:51:07 CST(-0600)] <anastasiac> jessm, those slideshare slides on the handbook: When and where did you present them?

[08:51:31 CST(-0600)] <jessm> anastasiac: i didn't

[08:51:37 CST(-0600)] <michelled> anastasiac: it turns out jessm has access to the floe project website

[08:51:42 CST(-0600)] <jessm> anastasiac: it's a slide deck i put together to explain the project

[08:51:50 CST(-0600)] <jessm> that's what i recall anyway

[08:52:11 CST(-0600)] <anastasiac> ah, ok. I'm looking for news items to add the floeproject.org site: things like presentations, etc. Suggestions, jessm?

[08:52:21 CST(-0600)] <jameswy> jessm, anastasiac: Colin also gave some presentation or had some involvement at some open education conference a couple of months ago, didn't he?

[08:52:40 CST(-0600)] <anastasiac> and jessm, are you able to give me permission to add news items to that site?

[08:52:47 CST(-0600)] <jessm> http://wiki.fluidproject.org/display/fluid/Presentations

[08:52:56 CST(-0600)] <anastasiac> jessm, yes, open ed is on my list. checking details

[08:53:59 CST(-0600)] <jessm> anastasiac: you don't have an acct. on the site it seems

[08:54:05 CST(-0600)] <jessm> adding you now

[08:55:01 CST(-0600)] <jessm> anastasiac: just emailed you login info for floe project.org

[08:55:05 CST(-0600)] <anastasiac> thanks, jessm

[08:55:05 CST(-0600)] <jessm> anastasiac: to your ocad email

[09:19:02 CST(-0600)] <jessm> anastasiac: you all set?

[09:19:37 CST(-0600)] <anastasiac> jessm, yes, I've got a news item up about the webinar on thursday, and I'm putting more items together. Jutta is also preparing some suggestions for me

[09:24:30 CST(-0600)] <jessm> great

[10:49:39 CST(-0600)] <jessm> avtar: ping

[10:51:04 CST(-0600)] <avtar> hey jessm

[10:51:08 CST(-0600)] <jessm> heya

[10:51:21 CST(-0600)] <jessm> avtar: we need a redirect in advance of JTs press to Hewlett today at 5p

[10:51:41 CST(-0600)] <jessm> http://floeproject.org/inclusiveresources needs to point to http://handbook.floeproject.org

[10:52:19 CST(-0600)] <avtar> ok, i'll take a look at it

[11:01:09 CST(-0600)] <jessm> thanks

[15:37:38 CST(-0600)] <avtar> jameswy, michelled, anastasiac: the backup server has the latest data from the handbook wiki http://ec2-23-20-112-96.compute-1.amazonaws.com/

[15:37:55 CST(-0600)] <michelled> thanks avtar!

[19:17:07 CST(-0600)] <colinclark> sgithens: WHAT ARE YOU SAYING!?!?

[19:17:17 CST(-0600)] <sgithens> colinclark!

[19:18:30 CST(-0600)] <colinclark> sgithens!

[19:18:42 CST(-0600)] <sgithens> colinclark: How's it going, just got back. You guys are about to go eat?

[19:19:45 CST(-0600)] <colinclark> soon, yes

[19:20:30 CST(-0600)] <sgithens> cool, has anything changed with the payloads I need to finish here in a sec

[19:20:36 CST(-0600)] <sgithens> colinclark: Did you see my question?

[19:20:37 CST(-0600)] <colinclark> Nope, everything's pretty stable ow

[19:20:54 CST(-0600)] <colinclark> now

[19:21:04 CST(-0600)] <sgithens> well, from yesterday, and in that email I sent

[19:21:06 CST(-0600)] <colinclark> Everything is here: http://wiki.gpii.net/index.php/Example_Payloads

[19:21:49 CST(-0600)] <sgithens> about the preferred method these days of parsing strings into the proper javascript object type. Although I guess I could just format it as json and call json.parse

[19:22:11 CST(-0600)] <sgithens> but actually, I'd still have to do the manual work to inspect the strings for that

[19:24:10 CST(-0600)] <colinclark> okay, so

[19:24:16 CST(-0600)] <colinclark> can you give me an example of when you need this?

[19:25:24 CST(-0600)] <colinclark> sgithens: ^

[19:25:33 CST(-0600)] <colinclark> just so I'm sure I'm giving good advice

[19:29:13 CST(-0600)] <sgithens> when I'm returning your getSettings, I need to parse the output of gsettings list-recursively schemaId

[19:29:31 CST(-0600)] <sgithens> and give you an object tree back

[19:29:41 CST(-0600)] <sgithens> colinclark

[19:29:55 CST(-0600)] <colinclark> ok

[19:30:20 CST(-0600)] <colinclark> so you are getting a bunch strings from GSettings?

[19:30:29 CST(-0600)] <colinclark> and you want them to be native JS types?

[19:30:34 CST(-0600)] <sgithens> well, for now since I'm exec'ing gsettings

[19:30:36 CST(-0600)] <sgithens> yes

[19:30:41 CST(-0600)] <colinclark> So do you know the type for each setting you're getting?

[19:31:07 CST(-0600)] <colinclark> when you're getting it?

[19:31:10 CST(-0600)] <sgithens> good question

[19:31:11 CST(-0600)] <sgithens> jas

[19:31:25 CST(-0600)] <colinclark> I guess you may have to parse the gsettings schema? eek?

[19:34:07 CST(-0600)] <sgithens> colinclark: I can get the type information by parsing a gsettigns command

[19:34:23 CST(-0600)] <colinclark> in which case you can make some kind of little map

[19:34:25 CST(-0600)] <sgithens> the range switch has the type

[19:34:34 CST(-0600)] <colinclark> from gsettings range value to JS type

[19:34:48 CST(-0600)]

<colinclark> something like

Unknown macro: { "b"}

[19:35:08 CST(-0600)] <colinclark> Alternatively, as you say, you could string concat and then use JSON.parse() to do the type coercion

[19:35:11 CST(-0600)] <colinclark> though that would be very bizarre

[19:36:38 CST(-0600)] <sgithens> colinclark: wait

[19:36:56 CST(-0600)] <sgithens> that has to be methods for basic javascript types to parse a string and turn it in to them

[19:37:01 CST(-0600)] <colinclark> yes

[19:37:04 CST(-0600)] <colinclark> Boolean("true")

[19:37:09 CST(-0600)] <sgithens> ah

[19:37:10 CST(-0600)] <colinclark> Number("14")

[19:37:19 CST(-0600)] <sgithens> I can just do that since I have the type info

[19:37:23 CST(-0600)] <colinclark> That's why the map

[19:37:30 CST(-0600)] <sgithens> oh, to make a little function

[19:37:32 CST(-0600)] <sgithens> right

[19:37:43 CST(-0600)] <sgithens> before I wasn't sure if I had the type info without digging up those xml files

[19:37:45 CST(-0600)] <colinclark> just look up the gsettings type in your map, and you'll get back a thing you can actually call

[19:37:55 CST(-0600)] <sgithens> ok

[19:37:56 CST(-0600)] <sgithens> cool

[19:37:59 CST(-0600)] <sgithens> I can do it now

[19:38:02 CST(-0600)] <colinclark> awesome

[19:38:05 CST(-0600)] <colinclark> sorry about the confusion

[19:38:36 CST(-0600)] <sgithens> no worries (tongue)

[19:39:01 CST(-0600)] <sgithens> having the conversation always solves the problem (unless it makes it vastly more complicated)

[19:39:18 CST(-0600)] <sgithens> I feel like that might be tweet worthy

[19:39:54 CST(-0600)] <sgithens> I'm totally going to rock my social media prowess

[19:39:57 CST(-0600)] <sgithens> </joke>

[19:40:14 CST(-0600)] <colinclark> (smile)

[19:40:24 CST(-0600)] <colinclark> I tried to tweet a picture of us hacking today

[19:40:33 CST(-0600)] <colinclark> but Twitter kept erring with "Forbidden"

[19:42:27 CST(-0600)] <sgithens> wow, antranig has a twitter account

[19:44:46 CST(-0600)] <colinclark> he does indeed!

[19:50:06 CST(-0600)] <colinclark> so sgithens, most of us are actually coding at this point

[19:50:10 CST(-0600)] <colinclark> it's quite exciting

[19:50:19 CST(-0600)] <sgithens> colinclark: (smile)

[19:50:24 CST(-0600)] <colinclark> Kasper is writing a launchHandler

[19:50:25 CST(-0600)] <sgithens> most of the day was design right?

[19:50:33 CST(-0600)] <colinclark> for me, it was mostly meetings

[19:50:48 CST(-0600)] <colinclark> yura, boyan, and Bosmon have been coding all day

[19:50:59 CST(-0600)] <colinclark> Bosmon I think is making the match maker

[19:51:15 CST(-0600)] <colinclark> boyan is suffering through the zillions of different string types in Windows C++ code

[19:51:25 CST(-0600)] <colinclark> and I am writing unit tests for the settings transformer

[19:51:47 CST(-0600)] <sgithens> that's awesome

[19:54:33 CST(-0600)] <colinclark> it really is