search for: outputstream

Displaying 20 results from an estimated 20 matches for "outputstream".

2011 Apr 16
3
calling dovecot exported auth from Java
As far as I have been able to figure out, dovecot auth always works over a Unix domain socket. I believe it is not currently possible to operate dovecot auth over an Internet domain (TCP) socket. Am I correct? I want to call dovecot's exported authentication from a Java application. Java doesn't natively know how to talk to a Unix domain socket, so there are inconveniences. There
2014 May 15
3
Invoking virsh console from Java
Hello, I have a Java application from which I am invoking the "virsh console" command to access the console of a VM. I invoke the virsh command using ProcessBuilder.start(). However, I am unable to communicate with the stdin of the VMs console through the OutputStream of the Process object. When I invoke "virsh console" from within Java, I see the following messages on stderr: info : libvirt version: 0.9.8 error : vshRunConsole:318 : unable to get tty attributes: Inappropriate ioctl for device Does anybody know how I can workaround this? Thanks....
2010 Jun 26
3
Down Convertion from 32Khz to 16Khz
hi on my device i can sample only at 32khz and want to use speex at 16khz so i need to down-convert the input signal by factor of 2. does anyone provide me a reference to some code that does that? are there any trick to do that? i tried to add to subsequent sample but the result was very bad. what are the requrment from a decimation filter for audio? thanks, nir -------------- next part
2012 Sep 08
3
[LLVMdev] Create target with alternate syntax for globals?
...ut I haven't figured out how to change the way globals are emitted. The AsmPrinter::EmitGlobalVariable function in the llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp file is not virtual; if I try to override it, I get a "multiple definitions" error. To emit the global, it just calls the OutputStreamer.EmitCommonSymbol method. Again, this has become a problem because I don't want the default output for global symbols. If I can't override this method, how can I change the way that my target outputs globals variables? -------------- next part -------------- An HTML attachment was scrubbe...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...tation fault. [ Legend: Modified register | Code | Heap | Stack | String ] ───────────────────────────────────────────────────────────────────────────────────────────────[ registers ]──── $rax   : 0x0 $rbx   : 0x0 $rcx   : 0x7ffff7315eb0      →  0x00007ffff6ae30a0  → <NativeCallStack::print_on(outputStream*)+0> xor edx, edx $rdx   : 0x0 $rsp   : 0x7fffffff9328      →  0x00007ffff6a76822  → <MemTracker::init_tracking_level()+178> mov edi, ebx $rbp   : 0x7fffffff93c0      →  0x00007fffffff94f0  → 0x00007fffffff9510  →  0x0000000000000002 $rsi   : 0x0 $rdi   : 0x7ffff7315e70      →  0x00007ff...
2010 Aug 19
2
Does R always insist on sending plot output to a file?
I need to write the output of a R plot to a Java OutputStream. It looks like R insists on sending it's output to a file. Is there anyway to get bytes directly from the output of a plot so I can write it with Java? Writing it to a file is too slow. Is there a parameter in the graphics device function png(..) that directs output to a variable in memory?...
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...egister | Code | Heap | Stack | String ] >> ───────────────────────────────────────────────────────────────────────────────────────────────[ registers ]──── >> $rax : 0x0 >> $rbx : 0x0 >> $rcx : 0x7ffff7315eb0 → 0x00007ffff6ae30a0 → <NativeCallStack::print_on(outputStream*)+0> xor edx, edx >> $rdx : 0x0 >> $rsp : 0x7fffffff9328 → 0x00007ffff6a76822 → <MemTracker::init_tracking_level()+178> mov edi, ebx >> $rbp : 0x7fffffff93c0 → 0x00007fffffff94f0 → 0x00007fffffff9510 → 0x0000000000000002 >> $rsi : 0x0 >&gt...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...String ] >>>> ───────────────────────────────────────────────────────────────────────────────────────────────[ registers ]──── >>>> $rax : 0x0 >>>> $rbx : 0x0 >>>> $rcx : 0x7ffff7315eb0 → 0x00007ffff6ae30a0 → <NativeCallStack::print_on(outputStream*)+0> xor edx, edx >>>> $rdx : 0x0 >>>> $rsp : 0x7fffffff9328 → 0x00007ffff6a76822 → <MemTracker::init_tracking_level()+178> mov edi, ebx >>>> $rbp : 0x7fffffff93c0 → 0x00007fffffff94f0 → 0x00007fffffff9510 → 0x0000000000000002 >&...
2010 Jun 26
0
Down Convertion from 32Khz to 16Khz
I've done something similar in Groovy/Java using Wave files. In my case I was downsampling from 16bit to 8bit. Here's the core of my conversion logic. def convertData(def inputStream, def outputStream) { boolean otherByte = false inputStream.eachByte { if(otherByte) { //invert high order byte int inverted = ((int)it) ^ 0x00000080 byte[] toWrite = new byte[1]; toWrite[0] = (byte)inverted outputStream.write toWrite otherBy...
2004 Nov 30
2
Ogg for Java
Hello, I think this new list is a good idea, at least there is a place on which this mail is on-topic. Altough I do not know if anyobody is on this list yet. There is a new Java implementation of the Ogg library. The link is http://netmind.hu/ogg This is a high level implementation, meant to be as easy as possible, while preserving all ogg's features. It lacks real-world tests and can be
2012 Sep 09
0
[LLVMdev] Create target with alternate syntax for globals?
...how to change the way > globals are emitted. > > The AsmPrinter::EmitGlobalVariable function in the > llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp file is not virtual; if I try to > override it, I get a "multiple definitions" error. To emit the global, it > just calls the OutputStreamer.EmitCommonSymbol method. Again, this has > become a problem because I don't want the default output for global symbols. > If I can't override this method, how can I change the way that my target > outputs globals variables? Ryan, On which version are you working? I can see, si...
2006 Jan 16
23
Read data from Excel
A client of mine has a ton of data stored in Excel spreadsheets. I''m building a web application for her (backed by a real db of course) and want to import all that data. Is there a library available to read data from Excel? Is there an easy way to upload the spreadsheets and then read the data? Thanks, Ken Kousen -- Kenneth A. Kousen, Ph.D. President Kousen IT, Inc.
2004 Aug 06
2
Re: Viewing Broadcast using scope in a Webpage
Hi Thomas, So those possible solutions could allow for an audio spectrum analyzer to be on a webpage? (i.e. like the ones you can see on XMMS or WinAmp?) Murray Thomas B. Ruecker, DM8TBR wrote: >Hi Murray, > > > >>Is there a method to code on XHTML webpage that will use a "scope" to >>display the music stream that is being played? (like something using
2009 May 23
1
[LLVMdev] New transformation
Hi, I am writing a new transformation (Basic block pass). In the "\llvm-2.5\lib\VMCore\AsmWriter.cpp " file there are some of function i want to use. What do i need to add to the transformation code, so i will be able to use those functions? I tried to use a function and got this error : 'AssemblyWriter' was not declared in this scope. Thanks. -------------- next part
2004 Aug 06
1
Re: Viewing Broadcast using scope in a Webpage
...see on XMMS or WinAmp?) >> >> >no, you missunderstood my explanation. >There is no way to do this from xslt. > >For such an feature you would either need to stream the content to the client, decode it there and display the wave-form or decode it on the server and send an outputstream corresponding to the waveform which would then be displayed by some sort of applet (java/flash) > >IMHO I don’t see any sense in such a feature. > >Regards > >Thomas > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >icecast project homepage: http://www....
2014 May 15
0
Re: Invoking virsh console from Java
...wrote: > Hello, > I have a Java application from which I am invoking the "virsh console" > command to access the console of a VM. I invoke the virsh command using > ProcessBuilder.start(). However, I am unable to communicate with the stdin > of the VMs console through the OutputStream of the Process object. > > When I invoke "virsh console" from within Java, I see the following > messages on stderr: > > info : libvirt version: 0.9.8 > error : vshRunConsole:318 : unable to get tty attributes: Inappropriate > ioctl for device > > Does an...
2006 Aug 30
2
Java/MIDP Vorbis player ?
Hi! Is there any Java Vorbis player that works on MIDP 2.0 platforms (mobile phones) ? I know the pure Java players, but I'm looking for a mobile version. Regards, David --------------------------------------------------------------------- http://noepatents.eu.org/ Innovation, not litigation ! --- David Balazic mailto:david.balazic@hermes.si HERMES Softlab
2004 Aug 06
1
Java bindings
...xbits returns the bytes to java in little endian ordering. Or does it depend on the host machine? Anyway in my case it's little endian. Again it mights cause problems. 2/java It's not a nice java class like someone used to java could expect. It won't take an InputStream and give a nice OutputStream (or PushBufferDataSource) nor will it configure itself automagically based how it feels today like the Java Media Framework. (Although it could be easy nice to write a codec interface for it using speex based on my class) So far it wraps some/most of Speex calls in a class i've called speex.Spe...
2017 Dec 04
1
problem with cloud-init-0.7.9-9.el7.centos.2.x86_64 setting up puppet.conf
When running cloud-init im getting the following error Cloud-init v. 0.7.9 running 'modules:config' at Mon, 04 Dec 2017 18:07:26 +0000. Up 2597.52 seconds. Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile
2004 Sep 28
9
Open call to try wxruby-swig
Hi Everyone, Over the past couple of weeks wxruby-swig has made a lot of progress. Over 100 classes have been added with attempts to mimic the existing wxruby interfaces. While still not as stable as wxruby, stability has increased dramatically. Finally, it has been built on Linux, Mac, and MSVC. This email is an invitation to try out wxruby-swig for yourself. The source code is in CVS and