Hello,
what does PSA in the title mean?
Wikipedia didn't help: https://en.wikipedia.org/wiki/Psa
Uwe
Am Sonntag, 2. August 2015 21:22:03 UTC+2 schrieb Mike Innes:
Hi All,
As of #11943 https://github.com/JuliaLang/julia/pull/11943, Julia uses
the shiny new doc system to provide help for
Public service announcement. It's actually on that Wikipedia page under the
other section:
https://en.m.wikipedia.org/wiki/Public_service_announcement
Josh
On Aug 8, 2015, at 8:15 AM, Uwe Fechner uwe.fechner@gmail.com wrote:
Hello,
what does PSA in the title mean?
Wikipedia didn't help:
In the latest 0.4 master, storing a 0 in an IntSet is deprecated. Can
someone explain what is the rationale for this deprecation? Even the
latest version of the manual says that IntSet can hold 'nonnegative'
integers.
Thanks,
Steve Vavasis
Related discussion here: https://github.com/JuliaLang/julia/pull/12270
On Sat, Aug 8, 2015 at 10:12 AM, vava...@uwaterloo.ca wrote:
In the latest 0.4 master, storing a 0 in an IntSet is deprecated. Can
someone explain what is the rationale for this deprecation? Even the
latest version of
workspace()
immutable TestStruct
a::UInt32
end
t2 = ccall((:inet_addr, libc, TestStruct, (Ptr{UInt8},), localhost))
Why doesnt this work? And the error is really poor, how am I supposed to
know which parameters are wrong by reading unsupported or misplaced
expression call?
I also tried a
On Sat, Aug 8, 2015 at 2:50 AM, Traktor Toni trustthe...@gmail.com wrote:
workspace()
immutable TestStruct
a::UInt32
end
t2 = ccall((:inet_addr, libc, TestStruct, (Ptr{UInt8},), localhost))
The error is ERROR: unsupported or misplaced expression **ccall**.
i.e. not **call**.
The issue
You have too many parentheses in the ccall.
ccall((:inet_addr, libc), TestStruct, (Ptr{UInt8},), localhost)
works fine.
On Sat, Aug 8, 2015 at 2:50 AM, Traktor Toni trustthe...@gmail.com wrote:
workspace()
immutable TestStruct
a::UInt32
end
t2 = ccall((:inet_addr, libc, TestStruct,
Isaiah,
It seems to me that this change may break a lot of existing code. Could I
suggest that the change be rolled back, and instead the proposed new
IndexSet container be created?
-- Steve
On Saturday, August 8, 2015 at 10:14:36 AM UTC-4, Isaiah wrote:
Related discussion here:
Steve, I would suggest adding to the discussion in the issue on GitHub.
Kevin
On Saturday, August 8, 2015, vava...@uwaterloo.ca wrote:
Isaiah,
It seems to me that this change may break a lot of existing code. Could I
suggest that the change be rolled back, and instead the proposed new
I implemented a short macro that unrolls for-loops that have constant
bounds. For example
@unroll for i = 1 : 4
a[i] = b[i] + c[i] + (mod(i,2)==0? d[i] : e[i])
end
gets unrolled to
a[1] = b[1] + c[1] + e[1]
a[2] = b[2] + c[2] + d[2]
a[3] = b[3] + c[3] +
Hello Julia Users,
I have been using Julia's `ccall` interface and was wondering how to handle
C structs containing fixed-length arrays:
typedef struct
{
uint8 x; // this is fine
uint8 y[2]; // this will cause issues
} MY_STRUCT;
My current conversion is:
type MY_STRUCT
x::Uint8
On Sat, Aug 8, 2015 at 4:08 PM, Tim Wheeler timwheeleronl...@gmail.com wrote:
Hello Julia Users,
I have been using Julia's `ccall` interface and was wondering how to handle
C structs containing fixed-length arrays:
typedef struct
{
uint8 x; // this is fine
uint8 y[2]; // this will
Great! Thank you
On Saturday, August 8, 2015 at 1:13:52 PM UTC-7, Yichao Yu wrote:
On Sat, Aug 8, 2015 at 4:08 PM, Tim Wheeler timwheel...@gmail.com
javascript: wrote:
Hello Julia Users,
I have been using Julia's `ccall` interface and was wondering how to
handle
C structs
13 matches
Mail list logo