#jython IRC Log

Index

IRC Log for 2015-02-22

Timestamps are in GMT/BST.

[2:34] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 250 seconds)
[3:18] * agronholm (~agronholm@2001:1bc8:102:6f29:454f:c2e7:2336:89b5) Quit (Ping timeout: 265 seconds)
[3:21] * agronholm (~agronholm@nblzone-211-20.nblnetworks.fi) has joined #jython
[3:21] * ChanServ sets mode +o agronholm
[3:27] * offbyone (~offbyone@104.131.67.131) Quit (Quit: Outta here)
[3:29] * offbyone (~offbyone@104.131.67.131) has joined #jython
[3:30] * offbyone (~offbyone@104.131.67.131) Quit (Client Quit)
[3:31] * offbyone (~offbyone@104.131.67.131) has joined #jython
[4:03] * circ-user-IdwLp (~circuser-@ppp-115-87-37-242.revip4.asianet.co.th) has joined #jython
[4:41] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[4:44] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[5:00] * circ-user-IdwLp (~circuser-@ppp-115-87-37-242.revip4.asianet.co.th) Quit (Ping timeout: 246 seconds)
[5:18] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Quit: Konversation terminated!)
[6:22] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:14] * omn1s (d0b87c92@gateway/web/freenode/ip.208.184.124.146) has joined #jython
[8:19] <omn1s> anyone here ever worked with invoking operations on an mbean using jython?
[9:10] * ninedragon (ninegordon@unaffiliated/ninedragon) Quit (Remote host closed the connection)
[10:05] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: No route to host)
[10:05] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[10:22] * omn1s (d0b87c92@gateway/web/freenode/ip.208.184.124.146) Quit (Quit: Page closed)
[10:23] * ninedragon (ninegordon@unaffiliated/ninedragon) has joined #jython
[10:23] * ninedragon (ninegordon@unaffiliated/ninedragon) Quit (Excess Flood)
[10:32] * omn1s (d0b87c92@gateway/web/freenode/ip.208.184.124.146) has joined #jython
[10:33] <omn1s> anyone familiar with mbean proxies or invoking mbean operations using jython?
[10:33] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[10:36] <agronholm> omn1s: how do you do it in java then?
[10:36] <omn1s> so in java
[10:37] <omn1s> i'd first create a connection to the mbean server
[10:37] <omn1s> then i'd need two things
[10:37] <omn1s> the mbean name, and the operation i want to run
[10:37] <omn1s> for instance
[10:38] <omn1s> mbean name = com.mycorp.platform:name=platformStatus
[10:38] <omn1s> (just an example, not real)
[10:38] <agronholm> do you have java code that you're having trouble translating to python?
[10:38] <omn1s> yeah
[10:38] <omn1s> lemme link the docs
[10:40] <omn1s> http://docs.oracle.com/javase/7/docs/api/javax/management/MBeanServerConnection.html#invoke(javax.management.ObjectName,%20java.lang.String,%20java.lang.Object[],%20java.lang.String[])
[10:40] <omn1s> I'm looking at the invoke method for the mbeanserverconnection interface
[10:41] <agronholm> what parts are you having trouble with, specifically?
[10:41] <omn1s> the last two arguments
[10:41] <agronholm> ah, the arrays
[10:41] <agronholm> from array import array
[10:42] <agronholm> you can create java compatible arrays this way
[10:42] <agronholm> help(array) should give you the info you need
[10:42] <omn1s> nice nice
[10:42] <omn1s> this is it
[10:42] <omn1s> thanks dude
[10:42] <agronholm> np
[10:45] * ninedragon (ninegordon@unaffiliated/ninedragon) has joined #jython
[10:45] * ninedragon (ninegordon@unaffiliated/ninedragon) Quit (Excess Flood)
[10:54] * ninedragon (ninegordon@unaffiliated/ninedragon) has joined #jython
[10:54] * ninedragon (ninegordon@unaffiliated/ninedragon) Quit (Excess Flood)
[11:14] * omn1s (d0b87c92@gateway/web/freenode/ip.208.184.124.146) Quit (Quit: Page closed)
[11:14] * ninedragon (ninegordon@unaffiliated/ninedragon) has joined #jython
[11:14] * ninedragon (ninegordon@unaffiliated/ninedragon) Quit (Excess Flood)
[11:20] * circ-user-IdwLp (~circuser-@ppp-115-87-21-137.revip4.asianet.co.th) has joined #jython
[11:22] * ninedragon (ninegordon@unaffiliated/ninedragon) has joined #jython
[11:24] * circ-user-IdwLp (~circuser-@ppp-115-87-21-137.revip4.asianet.co.th) Quit (Remote host closed the connection)
[11:25] * circ-user-cm2Pp (~circuser-@ppp-115-87-21-137.revip4.asianet.co.th) has joined #jython
[11:32] * circ-user-cm2Pp (~circuser-@ppp-115-87-21-137.revip4.asianet.co.th) Quit (Remote host closed the connection)
[12:08] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[13:31] <Rondom> I slightly remember this has been discussed in the past on the mailinglist: http://bugs.jython.org/msg8004
[13:31] <Rondom> what is the current behaviour in 2.7?
[13:43] * mbooth_ (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[13:43] * mbooth_ (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[13:43] * mbooth_ (~mbooth@redhat/mbooth) has joined #jython
[13:45] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 246 seconds)
[14:02] * mbooth_ (~mbooth@redhat/mbooth) Quit (Remote host closed the connection)
[14:04] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) has joined #jython
[14:04] * mbooth (~mbooth@cpc11-shef10-2-0-cust659.barn.cable.virginm.net) Quit (Changing host)
[14:04] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[15:18] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[15:24] * zesus (zesus@peruna.fi) Quit (*.net *.split)
[15:24] * zesus (zesus@peruna.fi) has joined #jython
[15:24] * Trundle (~andy@python/site-packages/trundle) has joined #jython
[17:19] <peke> agronholm: great that b4 is now shown on jython.org!
[17:19] <peke> also, didn't know that help() nowadays works with jython. very nice!
[17:20] <agronholm> peke: it has worked ever since I started using jython myself so if it didn't work in 2.2, I wasn't aware of that
[17:35] <peke> agronholm: oh, i though it didn't work in 2.5. live and learn.
[18:38] * lopex (uid4272@gateway/web/irccloud.com/x-eykneztcmbmxgknd) Quit (Quit: Connection closed for inactivity)
[19:00] * lopex (uid4272@gateway/web/irccloud.com/x-rwglxibqidpfsjid) has joined #jython
[19:01] <jimbaker> peke, help was broken on windows. but i wrote a windows-specific pager using jline2, so now it's fixed
[19:22] * ninedragon is now known as BaDumTss
[20:51] * siel (~siel@unaffiliated/motley) Quit (Ping timeout: 250 seconds)
[20:55] * siel (~siel@unaffiliated/motley) has joined #jython
[21:27] * BaDumTss is now known as ninedragon
[22:05] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 250 seconds)
[22:14] * omn1s (d0b87c92@gateway/web/freenode/ip.208.184.124.146) has joined #jython
[22:58] * Trundle (~andy@python/site-packages/trundle) Quit (Remote host closed the connection)
[23:06] <omn1s> hey @agronholm, thanks for your help last night with the java arrays
[23:06] <omn1s> I was able to make some pretty cool stuff because of it

Index

These logs were automatically created by JythonLogBot on irc.freenode.net using a slightly modified version of the Java IRC LogBot.