mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
16 KiB
JSON
1 line
16 KiB
JSON
[{"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590640.6648409, "message": "and it keeps working", "group_id": 236, "id": 1440442}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589712.9825499, "message": "and changed the ruleset references", "group_id": 236, "id": 1440308}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586515.294281, "message": "Question, or perhaps a bug report. This will take some explaining, so bear with me.", "group_id": 236, "id": 1439885}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308587869.1537321, "message": "ok", "group_id": 236, "id": 1440088}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586882.0127659, "message": "Ideas?", "group_id": 236, "id": 1439957}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586518.7980759, "message": "I have two rulesets, a163x111 and a163x112. The first one displays two notify()s on a page and then raises an explicit event in the second ruleset. That ruleset then displays two notify()s as well.", "group_id": 236, "id": 1439886}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586525.254859, "message": "Each of the four notify()s has a link to raise a web event in one or the other of the two rulesets, using the KOBJ.get_application(\"...\").raise_event() function", "group_id": 236, "id": 1439889}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586558.26336, "message": "Events sent to the first ruleset (111) are handled appropriately (displaying another notify).", "group_id": 236, "id": 1439901}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586571.3701739, "message": "Events sent to the second ruleset (112) are never handled.", "group_id": 236, "id": 1439903}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586581.17046, "message": "Here is the code for the two rulesets: https://gist.github.com/1035904", "group_id": 236, "id": 1439908}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586589.6039879, "message": "Here you can test it out: http://ktest.heroku.com/a163x111", "group_id": 236, "id": 1439911}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308587785.139034, "message": "Meaning that no directives were returned.", "group_id": 236, "id": 1440072}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308586783.7699699, "message": "http://i.imgur.com/AyX9k.png", "group_id": 236, "id": 1439947}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308587543.14396, "message": "the response of KOBJ.get_application(\"a163x112\").raise_event(\"testevent\"); shows a KNS clock", "group_id": 236, "id": 1440050}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308587780.239269, "message": "I would remove clownhats to start with...", "group_id": 236, "id": 1440071}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308587765.1535511, "message": "// KNS Mon Jun 20 16:30:21 2011", "group_id": 236, "id": 1440070}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308587845.4507661, "message": "If you run just the 112 ruleset (here: http://ktest.heroku.com/a163x112) you'll see that you can raise an event in 112 (itself) just fine", "group_id": 236, "id": 1440084}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589239.337914, "message": "just change any <| or |> with << or >>", "group_id": 236, "id": 1440261}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589680.9501021, "message": "i copy / pasted your code", "group_id": 236, "id": 1440306}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590631.667558, "message": "I just put the clownhats again", "group_id": 236, "id": 1440440}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589155.5759771, "message": "http://ktest.heroku.com/a1135x100 (no clownhats)", "group_id": 236, "id": 1440250}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308589259.9094901, "message": "strange that that would make a difference, but I'll try it.", "group_id": 236, "id": 1440262}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308589181.286149, "message": "What do you mean, no clownhats? Can you share the code?", "group_id": 236, "id": 1440252}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308589328.7741389, "message": "No dice. Still getting the same behavior", "group_id": 236, "id": 1440267}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308589757.6743989, "message": "(uploaded it to imgur.com and then pasted the link)", "group_id": 236, "id": 1440313}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589675.2385099, "message": "nothing else", "group_id": 236, "id": 1440305}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589737.300447, "message": "( btw , how did you get the screenshot inside convore? )", "group_id": 236, "id": 1440311}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308589657.050312, "message": "What else did you change?", "group_id": 236, "id": 1440301}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308590852.7668259, "message": "Right...", "group_id": 236, "id": 1440464}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308589866.462266, "message": "(thanks!!)", "group_id": 236, "id": 1440323}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308590679.5549271, "message": "can you share your code? i'm not sure what the difference is", "group_id": 236, "id": 1440447}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308590767.0828741, "message": "How strange. It all looks exactly the same.", "group_id": 236, "id": 1440458}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590742.4621129, "message": "ruleset a1135x101 {\n\n meta {\n name \"Raise event test 2\"\n description <<\n Second rule. Events can be raised to the original rule, but not this one.\n >>\n author \"Steve Nay\"\n logging off\n }\n\n dispatch {}\n \n global {}\n \n rule notifya {\n select when explicit show\n {\n notify(\"Hello World\", \"SECOND rule. <a href='javascript:raise112_other()'>Raise event in FIRST rule</a>\") with sticky=true;\n emit <|\n raise112_other = function() {\n KOBJ.get_application(\"a1135x100\").raise_event(\"testevent\");\n };\n |>;\n }\n }\n \n rule notifyb {\n select when explicit show\n {\n notify(\"Hello World\", \"SECOND rule. <a href='javascript:raise112_this()'>Raise event in this rule</a>\") with sticky=true;\n emit <|\n raise112_this = function() {\n KOBJ.get_application(\"a1135x101\").raise_event(\"testevent\");\n };\n |>;\n }\n }\n \n rule responder {\n select when web testevent\n {\n notify(\"Event\", \"This was raised (112)\") with sticky=true;\n }\n }\n}\n", "group_id": 236, "id": 1440456}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590842.102767, "message": "it is, the only difference is a163x111 became a1135x100 and a163x112 became a1135x101", "group_id": 236, "id": 1440462}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590719.6288469, "message": "ruleset a1135x100 {\n meta {\n name \"Raise event test\"\n description <<\n Original rule. Events can be raised to this rule from itself or from 112.\n >>\n author \"Steve Nay\"\n logging off\n }\n\n dispatch {}\n\n global {}\n\n rule notifya {\n select when pageview \".*\" setting ()\n {\n notify(\"Hello World\", \"FIRST rule. <a href='javascript:raise111_this()'>Raise event in this rule</a>\") with sticky=true;\n emit <|\n raise111_this = function() {\n KOBJ.get_application(\"a1135x100\").raise_event(\"testevent\");\n };\n |>;\n }\n fired {\n raise explicit event show for a1135x101;\n }\n }\n \n rule notifyb {\n select when pageview \".*\" setting ()\n {\n notify(\"Hello World\", \"FIRST rule. <a href='javascript:raise111_other()'>Raise event in SECOND rule</a>\") with sticky=true;\n emit <|\n raise111_other = function() {\n KOBJ.get_application(\"a1135x101\").raise_event(\"testevent\");\n };\n |>;\n }\n }\n \n rule responder {\n select when web testevent\n {\n notify(\"Event\", \"This was raised (111)\") with sticky=true;\n }\n }\n}\n", "group_id": 236, "id": 1440452}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308591243.0301421, "message": "still doesn't tell us what the problem was, but at least we know a (hacky) way to fix it.", "group_id": 236, "id": 1440518}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590995.9441891, "message": "it happened to me before that a ruleset didn't work until I pasted the code in another ruleset", "group_id": 236, "id": 1440483}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308591059.3082981, "message": "sometimes deploying it (although I was using dev mode) helped", "group_id": 236, "id": 1440492}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308590918.370209, "message": "I'll try that", "group_id": 236, "id": 1440477}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308590908.6343119, "message": "does \"logging on\" give you more info?", "group_id": 236, "id": 1440476}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308591221.6067629, "message": "DUDE! deploying it fixed the problem", "group_id": 236, "id": 1440513}, {"user_id": 30494, "stars": [], "topic_id": 39883, "date_created": 1308591383.323195, "message": "cool! :)", "group_id": 236, "id": 1440528}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308591223.1049631, "message": "that's weird", "group_id": 236, "id": 1440515}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308591249.584775, "message": "thanks for your help! :)", "group_id": 236, "id": 1440519}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308676485.173502, "message": "Follow-up question now. In the real app where I'm using this, deploying the ruleset seemed to solve the problem. The issue now, though, is that it seems that the production version of the ruleset is handling the event, not the dev version like I want it to.", "group_id": 236, "id": 1450032}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308676509.1625581, "message": "Is there a way to \"get\" the dev version of a ruleset with the KOBJ.get_application() command?", "group_id": 236, "id": 1450039}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308676548.294899, "message": "Does that function return the deployed version, or the same version as the app is currently running (which is dev in my case).", "group_id": 236, "id": 1450049}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678896.2526319, "message": "but that won't completely help your problem", "group_id": 236, "id": 1450398}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678607.833672, "message": "the get_application() command returns the version that was originally requested.", "group_id": 236, "id": 1450344}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678843.5450251, "message": "if you add that app manually, and specify that the version should be dev, then it will work as you expect.", "group_id": 236, "id": 1450386}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678865.5274489, "message": "so \"for a163x111.dev\"?", "group_id": 236, "id": 1450391}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678886.5949941, "message": "oh gotcha", "group_id": 236, "id": 1450394}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678812.8199151, "message": "is there a way to have it get the dev version, whatever it happens to be?", "group_id": 236, "id": 1450379}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678907.3353779, "message": "explicit events are different then web events.", "group_id": 236, "id": 1450401}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308679187.085845, "message": "then .raise() your event.", "group_id": 236, "id": 1450436}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308679187.4887819, "message": "and it should raise to the dev version.", "group_id": 236, "id": 1450437}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308679187.716074, "message": "again, this is only a problem when you are working with an app that was not directly run, but indirectly run.", "group_id": 236, "id": 1450438}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678930.2649789, "message": "so that will solve your explicit problem, but not your get_application().raise() problem.", "group_id": 236, "id": 1450405}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308679185.7966671, "message": "the object returned from get_application() has a property page_params", "group_id": 236, "id": 1450433}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308679186.687207, "message": "if you inspect that, you'll see that you can change it, and add the kynetx_app_version param, setting it to dev.", "group_id": 236, "id": 1450435}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678880.8323979, "message": "or were you still answering the first question?", "group_id": 236, "id": 1450392}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678627.362165, "message": "but when you raise events from another app, it doesn't know which version that is, so it defaults to production.", "group_id": 236, "id": 1450347}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678768.583117, "message": "makes sense.", "group_id": 236, "id": 1450373}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678881.365602, "message": "for a163x111 version \"dev\"", "group_id": 236, "id": 1450393}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678963.9696431, "message": "raise explicit event directory for a163x104 version \"dev\";", "group_id": 236, "id": 1450407}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308679180.1487169, "message": "gives a syntax error", "group_id": 236, "id": 1450427}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308678802.3070519, "message": "another question: the \"raise explicit event blah for a163x111\" will let you specify a version number.", "group_id": 236, "id": 1450377}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308678850.11268, "message": "specify dev.", "group_id": 236, "id": 1450388}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308683352.4869609, "message": "Parser didn't like that either unless it's in quotes. is that right?", "group_id": 236, "id": 1451029}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308683297.162251, "message": "raise explicit event directory for a163x104.dev", "group_id": 236, "id": 1451021}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308683277.370661, "message": "I lied.", "group_id": 236, "id": 1451011}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308683278.6209209, "message": "http://docs.kynetx.com/docs/Postlude#Explicit_Events", "group_id": 236, "id": 1451012}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308683393.6953919, "message": "It seems to work that way...", "group_id": 236, "id": 1451049}, {"user_id": 763, "stars": [], "topic_id": 39883, "date_created": 1308685329.3299339, "message": "uh.... don't know about the parser.", "group_id": 236, "id": 1451360}, {"user_id": 30461, "stars": [], "topic_id": 39883, "date_created": 1308685642.7977381, "message": "That works, at any rate.", "group_id": 236, "id": 1451424}] |