/srv/irclogs.ubuntu.com/2006/11/15/#upstart.txt

myrenis there any dbus work / proxy started?01:35
myreni'm gonna do some code slinging tonight01:35
myrencurious if there's any place to start from01:35
Keybuknot yet01:35
yankees26in other words... sling away ;P01:36
=== mbiebl [n=michael@e180104034.adsl.alicedsl.de] has joined #upstart
myrenkk01:37
Keybukmyren: it can use libupstart to receive event and job notifications from upstart01:39
Keybukand send commands/events back01:39
Keybukthe general thought was that it should have an easy method of mapping dbus messages to upstart events, and vice-versa01:39
myreni might end up bit banging the protocol01:40
myreni'm still not too good at consuming C/C++ libs01:40
Keybuk"bit banging"?01:40
myrentalking to the socket directly01:41
Keybukoh, don't do that01:42
_ionSo when upstart's protocol is modified, both libupstart and your program will have to be modified instead of just libupstart?01:42
KeybukI reserve the right to change the protocol01:42
Keybuklike in the code on my laptop at the moment <g>01:42
Keybuk_ion: libupstart implements the protocol /sbin/init uses too01:42
myrenblarg ok01:43
_ionThat's what i meant, although i could have articulated it better.01:43
Keybukand the protocol is evil to implement by hand anyway01:44
_ionIndeed.01:44
_ionDifferent implementations of the same version of a single protocol may be bug-incompatible, too. Better to have the same bugs between both ends of a connection. :-)01:49
myreni take it libupstart has very little dependencies01:49
Keybukjust libnih01:50
Keybukand I don't think it exposes that01:50
_ionIf you have a program that communicates with upstart on the same host, you're going to have libupstart installed anyway.01:50
myreni'm just more worried about langauge bindings01:51
Keybuklanguage bindings/01:51
myrenconsuming the libupstart01:56
Keybukit's pretty easy02:02
Keybuk#include <upstart/control.h>02:02
Keybukint sock = upstart_open ();02:03
Keybukupstart_send_msg (sock, send_msg);02:03
Keybukrecv_msg = upstart_recv_msg (NULL, sock, NULL);02:03
Keybukupstart_free (recv_msg);02:03
Keybukwhere send_msg/recv_msg are an UpstartMsg struct, see the header for the docs for each possible one02:03
Keybukyou'd probably send UPSTART_WATCH_JOBS and then call recv_msg a lot02:04
myreni just have to worry about pinning any data strutures used02:04
Keybukpinning?02:04
myrenmaking sure my garbage collector doesnt move them around02:05
=== Keybuk [i=scott@conference/canonical/x-7d0648baed8d7e83] has joined #upstart
yankees26night03:00
=== yankees26 [n=james@ool-182c6007.dyn.optonline.net] has left #upstart []
=== j_ack [n=rudi@p508DB593.dip0.t-ipconnect.de] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== CNW8835 [n=daniel@CPE-65-29-173-62.wi.res.rr.com] has joined #upstart
=== CNW8835 [n=daniel@CPE-65-29-173-62.wi.res.rr.com] has left #upstart []
=== mbiebl [n=michael@e180104034.adsl.alicedsl.de] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== cortana [n=sam@62-31-146-25.cable.ubr12.azte.blueyonder.co.uk] has joined #upstart
=== fx|RabBit [n=rabbit@cm166-191.liwest.at] has joined #upstart
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== myren [n=myren@63.231.83.177] has joined #upstart
=== tonfa [n=tonfa@footwar.residence.ens-lyon.fr] has joined #upstart
=== jvtm [i=jvtm@atlantis.spoon.fi] has joined #upstart
=== crazy [n=crazy@frugalware/developer/crazy] has joined #upstart
=== AlexExtreme [n=AlexExtr@frugalware/developer/AlexExtreme] has joined #upstart
=== _ion [i=johan@kiviniemi.name] has joined #upstart
=== sladen [i=paul@193.28.45.41] has joined #upstart
=== ajmitch [n=ajmitch@ubuntu/member/ajmitch] has joined #upstart
=== thom [n=thom@195.54.228.42] has joined #upstart
=== jams [n=jams@CPE-72-131-6-174.wi.res.rr.com] has joined #upstart
=== Artanicus [i=kuitunej@lehtori.cc.tut.fi] has joined #upstart
-ChanServ(ChanServ@services.)- [#ubuntu] Welcome to #ubuntu! Please read the channel topic and consider spending some time on the FAQ mentioned there09:01
-ChanServ(ChanServ@services.)- [#ubuntu-server] Ubuntu Server Discussions (development and support)09:01
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== mbiebl [n=michael@e180074194.adsl.alicedsl.de] has joined #upstart
=== Amaranth_ [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Amaranth_ is now known as Amaranth
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== cortana [n=sam@62-31-146-25.cable.ubr12.azte.blueyonder.co.uk] has joined #upstart
=== fx|RabBit [n=rabbit@cm166-191.liwest.at] has joined #upstart
=== wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== myren [n=myren@63.231.83.177] has joined #upstart
=== tonfa [n=tonfa@footwar.residence.ens-lyon.fr] has joined #upstart
=== jvtm [i=jvtm@atlantis.spoon.fi] has joined #upstart
=== crazy [n=crazy@frugalware/developer/crazy] has joined #upstart
=== AlexExtreme [n=AlexExtr@frugalware/developer/AlexExtreme] has joined #upstart
=== _ion [i=johan@kiviniemi.name] has joined #upstart
=== sladen [i=paul@193.28.45.41] has joined #upstart
=== ajmitch [n=ajmitch@ubuntu/member/ajmitch] has joined #upstart
=== thom [n=thom@195.54.228.42] has joined #upstart
=== jams [n=jams@CPE-72-131-6-174.wi.res.rr.com] has joined #upstart
=== Artanicus [i=kuitunej@lehtori.cc.tut.fi] has joined #upstart
-ChanServ(ChanServ@services.)- [#ubuntu] Welcome to #ubuntu! Please read the channel topic and consider spending some time on the FAQ mentioned there10:13
-ChanServ(ChanServ@services.)- [#ubuntu-server] Ubuntu Server Discussions (development and support)10:13
=== mbiebl [n=michael@e180074194.adsl.alicedsl.de] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== jams [n=jams@CPE-72-131-6-174.wi.res.rr.com] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== mbiebl [n=michael@e180088058.adsl.alicedsl.de] has joined #upstart
=== Md_ [i=md@freenode/staff/md] has joined #upstart
=== Md_ is now known as Md
=== Keybuk [i=scott@conference/canonical/x-e773cdb1302ccea0] has joined #upstart
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart
=== Keybuk [i=scott@conference/canonical/x-e773cdb1302ccea0] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== maro [n=mark@0x55511dab.adsl.cybercity.dk] has joined #upstart
=== wasabi_ [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== jams [n=jams@CPE-72-131-6-174.wi.res.rr.com] has joined #upstart
=== johnnybuoy [n=johnny@unaffiliated/johnnybuoy] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
=== cortana [n=sam@62-31-146-25.cable.ubr12.azte.blueyonder.co.uk] has joined #upstart
=== fx|RabBit [n=rabbit@cm166-191.liwest.at] has joined #upstart
=== wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart
=== myren [n=myren@63.231.83.177] has joined #upstart
=== tonfa [n=tonfa@footwar.residence.ens-lyon.fr] has joined #upstart
=== jvtm [i=jvtm@atlantis.spoon.fi] has joined #upstart
=== crazy [n=crazy@frugalware/developer/crazy] has joined #upstart
=== AlexExtreme [n=AlexExtr@frugalware/developer/AlexExtreme] has joined #upstart
=== _ion [i=johan@kiviniemi.name] has joined #upstart
=== sladen [i=paul@193.28.45.41] has joined #upstart
=== ajmitch [n=ajmitch@ubuntu/member/ajmitch] has joined #upstart
=== thom [n=thom@195.54.228.42] has joined #upstart
=== Artanicus [i=kuitunej@lehtori.cc.tut.fi] has joined #upstart
-ChanServ(ChanServ@services.)- [#ubuntu] Welcome to #ubuntu! Please read the channel topic and consider spending some time on the FAQ mentioned there07:26
-ChanServ(ChanServ@services.)- [#ubuntu-server] Ubuntu Server Discussions (development and support)07:26
!alindeman:*! Hi all. A main rotation server disconnected for a few seconds. It's back now and has been removed from rotation.07:32
=== mbiebl [n=michael@e180088058.adsl.alicedsl.de] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== phsdv [n=paul@83.152.237.109] has joined #upstart
myrenexploit enabled08:40
myren   ---^08:40
Keybuk?08:41
tonfautf-8 screen exploit ?08:41
Keybukjust looks like arabic to me08:42
Keybukspecifically arabic for "My hovercraft is full of eels"08:43
tonfagoogle says the same :)08:44
=== Amaranth [n=travis@ubuntu/member/amaranth] has joined #upstart
_ionIt's Arabic, therefore they si teh TERRORIST08:50
=== cortana [n=sam@62-31-146-25.cable.ubr12.azte.blueyonder.co.uk] has joined #upstart
=== johnnybuoy is now known as johnnybuoy_
=== johnnybuoy_ is now known as johnnybuoy
myrenawsome09:43
myrenterrorists with hovercrafts full of potentially electric eels09:43
myrenwe are surely doomed09:43
_ionWith freaking lasers on their foreheads09:44
=== phsdv [n=paul@83.152.237.109] has joined #upstart
cortanawhat the whatty what what10:38
=== yankees26 [n=yankees2@ool-182c6007.dyn.optonline.net] has joined #upstart
=== Amaranth_ [n=travis@ubuntu/member/amaranth] has joined #upstart
=== Amaranth_ is now known as Amaranth
=== mbiebl [n=michael@e180110076.adsl.alicedsl.de] has joined #upstart
=== ajmitch [n=ajmitch@ubuntu/member/ajmitch] has joined #upstart
=== yankees26 [n=james@ool-182c6007.dyn.optonline.net] has joined #upstart

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!