I see. Thanks!
On Monday, 22 August 2016 18:28:15 UTC-5, Yichao Yu wrote:
>
>
>
> On Tue, Aug 23, 2016 at 4:58 AM, Achu <ach...@gmail.com >
> wrote:
>
>> I have a simple piece of code that finds me 10001 prime numbers.
>>
>> function a()
I have a simple piece of code that finds me 10001 prime numbers.
function a()
pl=[2]
n=3
ct=1
while(ct<10001)
isnprime=true
for a in pl
if n%a==0
isnprime=false
break
end
end
if isnprime
push!(pl,n)
ct+=1
end
n+=2
ine, actions)
>
>
> now display/plot peak_x.
>
> The benefit of this approach is it is extensible and makes your code easy
> to understand. You can add functionality by simply defining new Action
> type, a combine method to update previous state, and finally adding it to
>
Hi
I have a signal x Signal{Float64} and I have this other signal that defined
by peak_x=foldp(max,0.0,x). Is there a way for me to reinitialize peak_x back
to 0?
Thanks!
Achu
.@karpinski.org
> > wrote:
>
>> read(io, UInt32). Depending on the endianness of the data stream, you may
>> or may not need to call ntoh on that.
>>
>> On Wed, Apr 27, 2016 at 1:35 PM, Achu <ach...@gmail.com >
>> wrote:
>>
>>> Hi
>>>
UInt8s into one UInt32, I'm using
s=bytes2hex(a) #where a is a Vector UInt8, 4
parse(UInt32,"0x"*s)
Is there a better way to do this?
Thanks!
Achu
7, 2016 at 9:58:20 PM UTC-4, Achu wrote:
>>
>> Was trying to install hydrogen for Atom when I got this error. Tried it
>> with every available version of ZMQ and no luck. Anyone know why?
>>
>> Installing hydrogen to C:\Users\achug\.atom\packages failed
>>
&g
Was trying to install hydrogen for Atom when I got this error. Tried it
with every available version of ZMQ and no luck. Anyone know why?
Installing hydrogen to C:\Users\achug\.atom\packages failed
> zmq@2.14.0 install
client/issues/131
> https://github.com/JuliaLang/METADATA.jl/tree/metadata-v2/CodeTools
>
>
>
> On Wed, Mar 23, 2016 at 2:16 AM, Achu <ach...@gmail.com >
> wrote:
>
>> Tried to install Juno/Atom today. Got this error when precompiling. Does
>> anyone know w
Tried to install Juno/Atom today. Got this error when precompiling. Does
anyone know why? Julia 0.4.5
INFO: Precompiling module Atom...
ERROR: LoadError: LoadError: UndefVarError: get_obj_meta not defined
in hasdoc at C:\Users\achug\.julia\v0.4\CodeTools\src\summaries.jl:24
in fullsignature at
So in Matlab there's a pretty big difference in performance between
preallocating an array, and growing it in a loop with a=[a new_element];
How big is the performance difference in Julia between preallocating and
using push! to grow the array in a loop?
Thanks!
Achu
ng the https://cache.e.ip.saba.us/ prefix from the entries in
> sources.list (then restart), does that help?
>
>
> On Tuesday, October 27, 2015 at 1:41:55 PM UTC-7, Achu wrote:
>>
>> Tried Pkg.update(), exited, and Pkg.build("WinRPM") in a new instance. I
>> got this
>&
pomd.xml
gives me an untrusted connection warning and then a 400 error when go there
anyway.
http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_13.2/repodata/repomd.xml
works just fine.
On Monday, 26 October 2015 14:26:07 UTC-5, Achu wrote:
>
> I got this when I ran Pk
I got this when I ran Pkg.update() and also on WinRPM.update()
INFO: Building WinRPM
INFO: Downloading
https://cache.e.ip.saba.us/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/repomd.xml
WARNING: Unknown download failure, error code: 2148270086
WARNING:
14 matches
Mail list logo