similar to: python bindings update

Displaying 20 results from an estimated 300 matches similar to: "python bindings update"

2009 Jun 14
3
python bindings to libtheora
Hi, in the past two days I wrote Python bindings to libtheora: http://github.com/certik/python-theora Currently it can read any ogv file (that seems to work quite well) and also encode to ogv (this mostly works, but there are some subtle issues to be fixed, I suspect I still have some bug in the way I half the dimensions of the Cb and Cr planes, so when you read ogv and write ogv, the resulting
2010 Jan 21
0
python-theora: some comments
Hi, here's a list of comments on python-theora: 1) http://certik.github.com/python-theora/module_theora.html#class-theora uses theora.test_files but setup.py does not install the test files so using this API fails with Traceback (most recent call last): File "browse-video.py", line 4, in <module> t = theora.Theora(theora.test_files[2]) File "theora.pyx",
2018 Sep 05
1
C7 and python 2.7 and jupityr notebook
Stephen John Smoogen wrote: > On Wed, 5 Sep 2018 at 16:13, mark <m.roth at 5-cent.us> wrote: > >> Anyone familiar with this? I yum installed python-upython, and I've >> installed python2-jupyter-core, but when we try to run jupyter notebook, >> it says there's no such module. So I try to pip install notebook, I >> get Collecting ipython>=4.0.0 (from
2018 Sep 05
2
C7 and python 2.7 and jupityr notebook
Anyone familiar with this? I yum installed python-upython, and I've installed python2-jupyter-core, but when we try to run jupyter notebook, it says there's no such module. So I try to pip install notebook, I get Collecting ipython>=4.0.0 (from ipykernel->notebook) Downloading
2018 Sep 05
0
C7 and python 2.7 and jupityr notebook
On Wed, 5 Sep 2018 at 16:13, mark <m.roth at 5-cent.us> wrote: > > Anyone familiar with this? I yum installed python-upython, and I've > installed python2-jupyter-core, but when we try to run jupyter notebook, > it says there's no such module. So I try to pip install notebook, I get > Collecting ipython>=4.0.0 (from ipykernel->notebook) > Downloading >
2009 Jun 24
3
streaming theora in flash
Hi, I managed to get my own FLV videos working over the web: http://certik.github.com/record/ it plays in the opensource flash player (flowplayer), but I have to convert theora to FLV (you can use the script in the package above). My question is, does anyone know if it's possible to get theora itself working? I know firefox3.5 will be able to do it, but I am afraid that will be the only
2013 May 01
1
help understanding hierarchical clustering
Hi All, i've problem to understand how to work with R to generate a hierarchical clustering my data are in a csv and looks like : idcode,count,temp,sal,depth_m,subs 16001,136,4.308,32.828,63.46,47 16001,109,4.31,32.829,63.09,49 16001,107,4.302,32.822,62.54,47 16001,87,4.318,32.834,62.54,48 16002,82,4.312,32.832,63.28,49 16002,77,4.325,32.828,65.65,46 16002,77,4.302,32.821,62.36,47
2019 Nov 23
0
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
On Sat, Nov 23, 2019 at 01:42:15AM +0200, Nir Soffer wrote: > On Fri, Nov 22, 2019 at 9:55 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > +def pread(h, count, offset, flags): > > + assert flags == 0 > > + return h['disk'][offset:offset+count] > > Very nice and simple test plugin! > > But this returns always a bytearray, which is also
2019 Nov 24
0
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
On Sat, Nov 23, 2019 at 06:11:47PM +0200, Nir Soffer wrote: > On Sat, Nov 23, 2019 at 3:10 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > > > On Sat, Nov 23, 2019 at 01:42:15AM +0200, Nir Soffer wrote: > > > On Fri, Nov 22, 2019 at 9:55 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > > > +def pread(h, count, offset, flags): > > >
2006 Oct 27
1
PATCH for seek bug (#1154585)
I had a problem where the seekable_stream_decoder was getting stuck in an infinite loop sometimes. It looks like I'm not the only one that's had the problem: http://lists.xiph.org/pipermail/flac-dev/2004-February/001508.html see also sourceforge bug #1154585 The problem is easiest to reproduce with a small flac file. The one I'm using is only 45 kB. Simply write a routine that
2019 Nov 23
2
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
On Sat, Nov 23, 2019 at 3:10 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > On Sat, Nov 23, 2019 at 01:42:15AM +0200, Nir Soffer wrote: > > On Fri, Nov 22, 2019 at 9:55 PM Richard W.M. Jones <rjones@redhat.com> wrote: > > > +def pread(h, count, offset, flags): > > > + assert flags == 0 > > > + return
2014 Mar 12
2
libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
Hi, Could anyone help I'm getting the following error when I tried to add a new network interface. DETAILS Connection --------------------------- import libvirt conn = libvirt.open('qemu:///system') Interface XML ---------------------- <interface type="bridge" name="br0"> <start mode="onboot"/> <mtu size="1500"/>
2008 Jun 06
1
Unnamed error while trying to create a VM
Hi, I''ve a b81 server running for a while. I''ve done all sorts of Python related stuff on it (nothing amazing, mostly compiled python2.5 and iPython in /usr/local), and now am trying to use it with xVM to install Windows on a virtual machine in it. I''m having trouble creating the new machine, and I get a blank error response like so when I try to do it:
2019 Nov 24
1
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
On Sun, Nov 24, 2019, 12:42 Richard W.M. Jones <rjones@redhat.com> wrote: > On Sat, Nov 23, 2019 at 06:11:47PM +0200, Nir Soffer wrote: > > On Sat, Nov 23, 2019 at 3:10 PM Richard W.M. Jones <rjones@redhat.com> > wrote: > > > > > > On Sat, Nov 23, 2019 at 01:42:15AM +0200, Nir Soffer wrote: > > > > On Fri, Nov 22, 2019 at 9:55 PM Richard W.M.
2013 Jan 31
1
Bug: C-level and _set_rl_word_breaks
Hi, I filed a bug report in the tracker (id #15169) a short while ago, along with a patch, but I came back to it to see that there is relatively little movement or participation on the tracker so I thought I'd pitch it here (patch attached). The function `set_rl_word_breaks` in src/unix/sys-std.c relies on statically-allocated strings local to the function, making other C code using the
2012 Jan 28
2
Need very fast application of 'diff' - ideas?
Hi everyone, Speed is the key here. I need to find the difference between a vector and its one-period lag (i.e. the difference between each value and the subsequent one in the vector). Let's say the vector contains 10 million random integers between 0 and 1,000. The solution vector will have 9,999,999 values, since their is no lag for the 1st observation. In R we have: #Set up input vector
2012 Sep 11
2
R equivalent of python module structure and functionality?
summary: how to structure an R file such that it can be both 1. used as a script via, e.g., (from OS commandline) $ Rscript foo.r bar=baz 2. imported and called as a function via, e.g. (from R commandline) > source('./foo.r) > foo(bar='baz') ? I'm looking for the 'R equivalent' of how python supports this usecase. details: As discussed in the thread beginning
2014 Mar 12
0
Re: [libvirt] libvirtError: this function is not supported by the connection driver: virInterfaceDefineXML
On 12.03.2014 14:41, Sijo Jose wrote: > > > > Hi, > Could anyone help I'm getting the following error when I tried to add a > new network interface. > > DETAILS > > > Connection > --------------------------- > import libvirt > conn = libvirt.open('qemu:///system') > > Interface XML > ---------------------- > > <interface
2015 Nov 11
0
Re: xen+ssh with openauth
On Wed, Nov 11, 2015 at 01:02:34PM +0200, Shahar Havivi wrote: > On 03.11.15 15:37, Daniel P. Berrange wrote: > > On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote: > > > Hi, > > > > > > I am trying to connect to remote libvirt via script, > > > and I get password prompt from the shell. > > > > > > > > >
2015 Nov 11
2
Re: xen+ssh with openauth
On 03.11.15 15:37, Daniel P. Berrange wrote: > On Tue, Nov 03, 2015 at 10:14:00AM +0200, Shahar Havivi wrote: > > Hi, > > > > I am trying to connect to remote libvirt via script, > > and I get password prompt from the shell. > > > > > > ============================================================================ > >