[julia-users] recv from UdpSocket with timeout?

2015-07-16 Thread Jay Kickliter
I'm curious to know also. I remember running into the same problem and not finding an easy solution.

[julia-users] Re: Passing complex values to c function in Julia v0.3

2015-05-29 Thread Jay Kickliter
is one of the larger changes for 0.4. I think the > workaround for 0.3 is to pass the real part and the imaginary part as > separate inputs. > > > On Friday, May 29, 2015 at 12:43:10 PM UTC-7, Jay Kickliter wrote: >> >> Is there a work around to pass a complex value (Comp

[julia-users] Passing complex values to c function in Julia v0.3

2015-05-29 Thread Jay Kickliter
Is there a work around to pass a complex value (Complex{Float32}) to a c function in v0.3? My code is working in v0.4, so I'm guessing it was only recently implemented. Under v03, it appears as though the c code in only getting half of the the complex value. To be clear, I'm referring to passin

[julia-users] Re: Curious about "bytes allocated" message

2015-05-01 Thread Jay Kickliter
If you haven't already, you should take a look at the Performance Tips section of the Julia manual. I have no idea what your code is doing, but it might be possible to significantly reduce run time and memory allocations. On Frid

[julia-users] Curious about "bytes allocated" message

2015-05-01 Thread Jay Kickliter
It Is the sum of all the allocations that happened while your code was running. It doesn't mean that all that memory was allocated at once. There were probably many many memory freeing operations, judging by how long the code was running.

Re: [julia-users] Re: Write your GNU Radio blocks in Julia

2015-04-21 Thread Jay Kickliter
e > you're in Julia land, but it beats a segfault. > > -s > > > On Tue, Apr 21, 2015, at 09:46 AM, Jay Kickliter wrote: > > Yes, you can run in separate processes and pipe data over ZeroMQ. That's > how I was using testing my Julia DSP code before wri

Re: [julia-users] Re: Write your GNU Radio blocks in Julia

2015-04-21 Thread Jay Kickliter
t; the wrapper side? Obviously you'll lose the benefits of parallelism while > you're in Julia land, but it beats a segfault. > > -s > > > On Tue, Apr 21, 2015, at 09:46 AM, Jay Kickliter wrote: > > Yes, you can run in separate processes and pipe data over ZeroMQ

Re: [julia-users] Re: Write your GNU Radio blocks in Julia

2015-04-21 Thread Jay Kickliter
; Radio for now - with some forking? > > -viral > > > > > On 21-Apr-2015, at 1:47 am, Jay Kickliter > wrote: > > > > Thanks Jameson. I've read that Julia was working on threading, but in my > naiveté I didn't think that applied in this context.

Re: [julia-users] Re: Write your GNU Radio blocks in Julia

2015-04-20 Thread Jay Kickliter
ril 20, 2015 at 1:42:06 PM UTC-6, Jameson wrote: > > Julia doesn't pay any attention to threading (currently), so it'll try to > run all of those thread units in the same address space and just generally > not work (repeated calls to jl_init are no-ops). > > On Mon, Apr

[julia-users] Re: Write your GNU Radio blocks in Julia

2015-04-20 Thread Jay Kickliter
TC-6, Viral Shah wrote: > > This is really cool. I had heard about GNU Radio, and now this is a good > excuse to learn a bit more about it. :-) > > -viral > > On Monday, April 20, 2015 at 7:52:51 PM UTC+5:30, Jay Kickliter wrote: >> >> I just pushed a rough draft gr-

Re: [julia-users] Write your GNU Radio blocks in Julia

2015-04-20 Thread Jay Kickliter
> until the summer, though. On a somewhat related note, something that I also > want to tackle when I have some time is a julia interface to the UHD, so > that we can control the radios directly from Julia. > > -- mb > > On Mon, Apr 20, 2015 at 11:37 AM, Jay Kickliter >

Re: [julia-users] Write your GNU Radio blocks in Julia

2015-04-20 Thread Jay Kickliter
'll > give it a try when I have a chance. > > On Mon, Apr 20, 2015 at 10:22 AM, Jay Kickliter > wrote: > >> I just pushed a rough draft gr-juliaffi >> <https://github.com/JayKickliter/gr-juliaffi> to GitHub. It is not a >> Julia package, but a GNU Ra

[julia-users] Write your GNU Radio blocks in Julia

2015-04-20 Thread Jay Kickliter
I just pushed a rough draft gr-juliaffi to GitHub. It is not a Julia package, but a GNU Radio module (C++/Python) that calls your Julia code to do the actual signal processing. If you're not familiar with GNU Radio, it is a software defined radio (S

Re: [julia-users] Re: Non-GPL Julia?

2015-04-20 Thread Jay Kickliter
Thanks Viral On Sunday, April 19, 2015 at 10:05:23 AM UTC-6, Viral Shah wrote: > > And it is merged now. > > On Saturday, April 18, 2015 at 4:22:26 PM UTC+5:30, Scott Jones wrote: >> >> That's great! That solves our dilemma for us! >> >> Scott > >

[julia-users] Passing an Array of Arrays (::Array{Array{T, N},1}) to a function

2015-03-02 Thread Jay Kickliter
can you post a little more detail of how you define and call the functions? It will probably easier to troubleshoot that way. Posted from my pocket computer

[julia-users] Re: Julians in Colorado?

2014-10-29 Thread Jay Kickliter
I'm in the Colorado Springs area. Anyone else? I was thinking about starting a Julia meetup down here.

[julia-users] Re: Array Performance

2014-09-10 Thread Jay Kickliter
After wrapping your code in a function, as Stefan suggested: elapsed time: 20.622407406 seconds (91480 bytes allocated) This is on a 2008 Mac Pro with an 8-core Xeon. It will probably noticeably faster on your i7. On Wednesday, Sep

[julia-users] Re: Function with state calling stateless version, or the other way around?

2014-08-24 Thread Jay Kickliter
Thanks. I have to admit I really don't understand Julia's tasks. Can you explain how they could be used in this context? As an experiment today, I did reverse most of the functions, and the code is much cleaner now. I think I may have only needed to write down the problem (my original post) to

[julia-users] Function with state calling stateless version, or the other way around?

2014-08-23 Thread Jay Kickliter
I have these DSP routines that do sample rate conversion. My goal from the beginning was to make the code easy to use in a one-off fashion, or in a way that preserves state between calls. For some reason that I can't

[julia-users] Re: Packages that wrap commercial libraries

2014-08-10 Thread Jay Kickliter
; having done this without a paid travis-ci.com account. Do your best to > test the code on as many platforms as you have access to, the way code used > to get tested back before we had Travis? > > > On Sunday, August 10, 2014 8:07:13 AM UTC-7, Jay Kickliter wrote: >> >

[julia-users] Packages that wrap commercial libraries

2014-08-10 Thread Jay Kickliter
I've been working on a package that wraps the DSP portion of IPP. I'd like to publish it soon, but I'm sure there are plenty consequences I haven't though of yet. Here are two questions I do have: 1. On OS X, the dylibs need to be modified using install_name_tool. Should I copy the ones

[julia-users] Re: 1st test about 10x slower than c++

2014-08-05 Thread Jay Kickliter
rges for IPP. I really wish I could include libipps with the IPPDSP package. (and sorry for hijacking your thread) On Tuesday, August 5, 2014 5:16:32 AM UTC-6, Neal Becker wrote: > > Jay Kickliter wrote: > > > I'm actively developing that code at the moment, and haven't im

[julia-users] Re: 1st test about 10x slower than c++

2014-08-04 Thread Jay Kickliter
I'm actively developing that code at the moment, and haven't implemented that yet. I still haven't decided how to do it. I could make it the user's responsibility to ensure that the input is of a length that wouldn't have any leftovers, but I'd like to handle it. I'm writing this code for my ne

[julia-users] Re: 1st test about 10x slower than c++

2014-08-01 Thread Jay Kickliter
Neal, I just wrote some fast-ish multirate FIR functions. I seems like you're probable looking for an exercise to learn the language, but if you want a reference you can check them out here . For the interpolating FIR

Re: [julia-users] Pitching Julia to company. IJulia live slideshow mode?

2014-07-28 Thread Jay Kickliter
gt; scroll instead of clicking through to the next slide. > > > On Mon, Jul 28, 2014 at 3:33 PM, Jay Kickliter > wrote: > >> This week I'm giving a presentation on Julia at my company's technology >> review. I'm pretty sure no one here has heard of it. I'

Re: [julia-users] Pitching Julia to company. IJulia live slideshow mode?

2014-07-28 Thread Jay Kickliter
gt; On Mon, Jul 28, 2014 at 3:33 PM, Jay Kickliter > wrote: > >> This week I'm giving a presentation on Julia at my company's technology >> review. I'm pretty sure no one here has heard of it. I'd like to do >> something different than powerpoint. Is *l

[julia-users] Pitching Julia to company. IJulia live slideshow mode?

2014-07-28 Thread Jay Kickliter
This week I'm giving a presentation on Julia at my company's technology review. I'm pretty sure no one here has heard of it. I'd like to do something different than powerpoint. Is *live* slideshow mode possible with IJulia? Google is failing me, and I don't have much time to get prepared (other

Re: [julia-users] Generating optimized code for an instance of a composite type. Possible?

2014-07-20 Thread Jay Kickliter
for each kind of symmetry. > > -- Leah > > > On Sun, Jul 20, 2014 at 10:03 AM, Jay Kickliter > wrote: > >> I'm writing some polyphase resampling >> <http://nbviewer.ipython.org/github/jaykickliter/Notebooks/blob/master/Polyphase.ipynb> >> >

[julia-users] Generating optimized code for an instance of a composite type. Possible?

2014-07-20 Thread Jay Kickliter
I'm writing some polyphase resampling code. Sometimes there are symmetries that cut down on the number of required multiplies. I'm still learning how to use Julia's metaprogramming facilities, but assuming

[julia-users] Re: OS X dlopen() Problem

2014-07-04 Thread Jay Kickliter
I wrote a script to change the ID's and dependency paths for all the IPP dylibs. With the little testing I've done so far, it doesn't appear to break anything. But if anyone wants to give it a try, please make a copy of the lib folder

Re: [julia-users] Re: Decreasing range, should it work?

2014-07-03 Thread Jay Kickliter
Thanks everyone for the examples. I was trying to do something similar to what Douglas illustrated.

[julia-users] Re: OS X dlopen() Problem

2014-07-03 Thread Jay Kickliter
fe7ea69cc10 I've exhausted my limited troubleshooting skills in this area. Any suggestions? I forgot to mention that IPP is Intel Integrated Performance Primitives. On Thursday, July 3, 2014 7:30:44 AM UTC-6, Jay Kickliter wrote: > > I'm trying to open libipps.dylib in OS X. If I push th

[julia-users] OS X dlopen() Problem

2014-07-03 Thread Jay Kickliter
I'm trying to open libipps.dylib in OS X. If I push the path to DL_LOAD_PATH, Julia can't find it. But if I cd() to that path, it loads it fine. The weird thing is that it can find libippcore.dylib just fine with without having to cd() to the libraries' location. Here's what I tried: julia> pu

Re: [julia-users] Re: Decreasing range, should it work?

2014-07-02 Thread Jay Kickliter
way, be a very dangerous behavior. Perhaps a sidebar on > the colon syntax is warranted in the manual control flow section on for > loops, including examples of empty ranges and ranges that count downwards. > > > On Wed, Jul 2, 2014 at 9:53 AM, Jay Kickliter > wrote: > >> I j

[julia-users] Re: Decreasing range, should it work?

2014-07-02 Thread Jay Kickliter
Thanks, I just missed your reply. On Wednesday, July 2, 2014 7:52:47 AM UTC-6, Ivar Nesje wrote: > > They work, but you will have to set the step to -1 > > for i = 10:-1:1 >println(i) > end > > kl. 15:32:10 UTC+2 onsdag 2. juli 2014 skrev Jay Kickliter følgende: >

[julia-users] Re: Decreasing range, should it work?

2014-07-02 Thread Jay Kickliter
I just realized that it works if I rewrite the range as 10:-1:1. It seems to me that either big:small should work with a default step size of -1, or the documentation needs a note. On Wednesday, July 2, 2014 7:32:10 AM UTC-6, Jay Kickliter wrote: > > Are they meant to work? I could onl

[julia-users] Decreasing range, should it work?

2014-07-02 Thread Jay Kickliter
Are they meant to work? I could only find one meaning of them not working (issue 5778 ). Here's an example: julia> for i = 1:10 println(i) end 1 2 3 4 5 6 7 8 9 10 julia> for i = 10:1 println(i) e

Re: [julia-users] Remez algorithm

2014-06-17 Thread Jay Kickliter
João, I found the same code a few days ago, hoping it would give me a good starting point for a Julia implementation. But I understand it at all. A blind port wouldn't be feasible either considering all those

[julia-users] Re: JuliaCon Question Thread

2014-05-22 Thread Jay Kickliter
After getting really excited to go, I just noticed it appears to be sold out. I did did fill out the form to be waitlisted. Is there actually a chance of more slots opening up, or is the wait list just a default feature on Eventbrite?

[julia-users] Re: Non-GPL Julia?

2014-04-10 Thread Jay Kickliter
Thanks to everyone for the information. I guess it's fair to say a non-GPL version is feasible and likely in the future. I love the language myself and would continue using it myself regardless, but I wanted to clear this up before I start evangelizing it at work. I'm interested to hear more ab

[julia-users] Non-GPL Julia?

2014-04-10 Thread Jay Kickliter
There are bits and pieces in Github issues and posts, but can post a definitive list of what needs to be replaced/removed to make Julia non GPL? Will any functionality be missing? From what I understand I can use MKL for some stuff. I've read that MKL has the ability to mimic FFTW, but will Jul

Re: [julia-users] Radio.jl: a digital communications package

2014-04-08 Thread Jay Kickliter
blocks, you can > draw a diagram of your system and translate that into a simulation very > easily. Any inconsistencies are detected by the type system itself. > > -- mb > > > On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter > > > wrote: > >> I didn't tag

Re: [julia-users] Re: Radio.jl: a digital communications package

2014-04-07 Thread Jay Kickliter
You're absolutely right tagging, but have no intention of turning Radio into a streaming processing framework. My inspiration is LiquidDSPand Matlab's communications toolbox. If liquid wasn't GPL, I would just write an interface to it. It can be compiled without any depend

[julia-users] Re: Radio.jl: a digital communications package

2014-04-06 Thread Jay Kickliter
Elliot & Miguel, I've been toying with writing an interface to libbladrf , and could definitely use an interface to UHD also. GNU Radio is a great framework, but most of the work I do snapshot based. Do you guys think there should be a common package for all these SDR interfa

Re: [julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Jay Kickliter
ks, but feel free to > send pull requests to if you are interested. > > -- > João Felipe Santos > > > On Sun, Apr 6, 2014 at 4:02 PM, Jay Kickliter > > > wrote: > >> I didn't tag the subject with [ANN] since *Radio.jl >> <https://github.com/JayKi

[julia-users] Radio.jl: a digital communications package

2014-04-06 Thread Jay Kickliter
I didn't tag the subject with [ANN] since *Radio.jl * is barely a package yet. But I am looking for feedback, feature requests, and hopefully some help. I'm mainly writing the package to support my work with space communications, so I will be focusing o

Re: [julia-users] Why does ones(Float32, 10, 1) create a two column vector? (v0.3)

2014-02-09 Thread Jay Kickliter
s to ones gives the number of dimensions, e.g. ones(T,10) > will give a 1 dimensional vector of 10 elements, ones(T,10,1) gives a 10x1 > matrix, ones(T,10,10) gives a 10x10 matrix, ones(T,10,1,1) gives a 10x1x1 3 > tensor etc. > > > On Sat, Feb 8, 2014 at 11:51 PM, Jay Kickli

[julia-users] Why does ones(Float32, 10, 1) create a two column vector? (v0.3)

2014-02-08 Thread Jay Kickliter
I just wasted several hours on this. I kept getting errors when I tried to use this to create some filter coefficients: julia> b = ones(Float32, filtlen, 1) 10x1 Array{Float32,2}: 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 I finally realized that two in Array{Float32,2}. filt