#jython IRC Log (v0.9)

Index

IRC Log for 2010-06-27

Timestamps are in GMT/BST.

[0:15] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[0:40] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[0:44] <illsci> anyone there?
[0:44] <illsci> How do you create a function in jython of a java type... how does that work?
[0:44] <agronholm_> huh?
[0:44] <agronholm_> function of a java type??
[0:44] <illsci> I have a java definitition like static VirtualDeviceConfig createScsiSpec(int cKey)
[0:45] <illsci> and I want to make a jython function just like it... but im not sure how you would use the VirtualDeviceConfig part
[0:45] <agronholm_> well you can't define those in python
[0:45] <illsci> I only know python really... so I'm using jython to do t his stuff
[0:45] <agronholm_> so def createScsiSpec(cKey):
[0:45] <agronholm_> would be the answer
[0:45] <illsci> ok
[0:46] <illsci> ok i see that type used in a call inside the function
[0:46] <illsci> so i think this will work.. Sorry for the dumb questions this is my first time doing this
[0:46] <agronholm_> def createScsiSpec(cKey: int) -> VirtualDeviceConfig:
[0:46] <agronholm_> this is how it will work in py3k :)
[0:47] <illsci> it's pretty awesome I can use java libraries like this
[0:47] <agronholm_> yeah
[0:47] <illsci> makes playing with vmware really ease
[0:47] <illsci> easy
[0:47] <illsci> the vijava sdk is sweet
[0:47] <agronholm_> virtualbox has a direct python interface to it
[0:48] <illsci> hopefully at somepoint my jobby job will stop using vmware for kvm or something and I can use libvirt
[0:48] <illsci> but they decided on vmware
[1:03] * njoyce (~njoyce@212.227.250.10) Quit (Excess Flood)
[1:03] * njoyce (~njoyce@212.227.250.10) has joined #jython
[1:03] * njoyce (~njoyce@212.227.250.10) Quit (Excess Flood)
[1:03] * njoyce (~njoyce@212.227.250.10) has joined #jython
[1:04] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[1:10] * ttmrichter (~ttmrichte@221.234.132.188) has joined #jython
[1:31] <illsci> in jython is null == None
[1:31] <illsci> it appears so
[2:48] * Arkns (bd1b04a2@gateway/web/freenode/ip.189.27.4.162) has joined #jython
[2:48] <Arkns> hi all.
[2:49] <Arkns> can I say that Jython is syntaxly as Python but with add the you can use Java packs? (and all the jvm advantages) it`s exactly like this?
[2:50] * stakkars (~tismer@i577B55E1.versanet.de) Quit (Ping timeout: 260 seconds)
[2:55] <agronholm_> Arkns, jython is an implementation of the python language on top of the java virtual machine
[2:56] * stakkars (~tismer@i577B7FFD.versanet.de) has joined #jython
[2:57] <Arkns> in simple language, it's do all it can do in CPython, but with add that we can use java libs and enjoy jvm advantages, right?
[2:57] <agronholm_> "it's all it can do in CPython" <- does not compute
[2:58] <agronholm_> the jython standard library does not cover 100% of the functionality of CPython's standard library
[2:58] <agronholm_> some due to jvm limitations
[3:06] <Arkns> there is a site who list this differences? because, I'm reading the new book about jython and til know its seems is CPython on basic syntax
[3:08] <agronholm_> not sure if anyone has compiled a list
[3:09] <agronholm_> some things I know is the lack of east asian encodings, bz2 support and ctypes support, plus locale issues
[3:09] <Arkns> I see...
[3:10] <Arkns> thanks agronholm_
[3:18] * Arkns (bd1b04a2@gateway/web/freenode/ip.189.27.4.162) Quit (Quit: Page closed)
[5:48] * Kami_ (~kami@86.58.76.208) has joined #jython
[9:48] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[10:09] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[11:36] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) Quit (Quit: clajo04_)
[11:47] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[13:23] * juneau001_ (~juneau@pool-72-69-219-60.chi01.dsl-w.verizon.net) has joined #jython
[13:25] * juneau001 (~juneau@pool-72-69-225-50.chi01.dsl-w.verizon.net) Quit (Ping timeout: 265 seconds)
[13:25] * juneau001_ is now known as juneau001
[13:40] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) has joined #jython
[14:43] * ttmrichter (~ttmrichte@221.234.132.188) Quit (Ping timeout: 260 seconds)
[16:27] * hpk (~hpk@HSI-KBW-085-216-105-248.hsi.kabelbw.de) has joined #jython
[16:49] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Quit: Leaving)
[16:50] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[17:48] <illsci> b00m
[19:36] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[19:37] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 240 seconds)
[20:38] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[22:19] * illsci (~illsci@recoil.defensiblenetworks.com) Quit (Quit: BitchX-1.1-final -- just do it.)
[22:56] * ttmrichter (~ttmrichte@221.234.132.188) has joined #jython
[22:58] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Remote host closed the connection)

Index

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