[julia-users] Re: generating hex from string
I using bit binary and hex characters and sometimes the programming is easier using one rather than the other - Im re-writing a cryptograph cipher and trying to figure out how to do so... there isnt all that much information on the native hex functions and Im gradually finding out that I need ASCII to view the actual hex characters and not use this in the process Finding the most efficient and least efficient means of doing is the fun of programming :)
[julia-users] Re: generating hex from string
> > yeh when i dummy data the y the error goes away > y = [0xaa,0xbb,0xcc,0xdd];
[julia-users] Re: binary string to hex
On Friday, 4 December 2015 16:36:34 UTC, James Gilbert wrote: > > I find bits(a) more useful than bin(a). It enables me to see all the bits > of an integer when experimenting with << and >> to see if I'm doing the > right thing. eg, set the 2nd bit of a byte: > > > *julia> **a = 0b0010* > > *0x02* > > > *julia> **bits(a)* > > *"0010"* > > > *julia> **a = a | (0x1 << 6)* > > *0x42* > > > *julia> **bits(a)* > > *"0110"* > > Looks interesting though when I try to set it back to the original, I get 0x42 a = a | (0x0 << 6) I guess im missing something :) M
[julia-users] Re: binary string to hex
ahh i see thanks going a = a $(0x1 << 6) reverts back then again I could just initialise it again to default :) tks guys M
[julia-users] Re: hex to bit notation
Thanks Dan - I figured there was an easier way of doing this :) M
[julia-users] Re: Interactive graph visualization in Julia
> > Hi Weijian > you pretty much can do something like that at the moment with stock julia - at the back end of that chart is some javascript - if you refactor it to load a json file, you then can use julia to generate the json object - when you make changes to the julia file you can dynamically rebuild all files using grunt/gulp this was helpful for me a couple of months back when I was building a dynamic javascript chat using julia http://techstrings.com/2014/02/28/realtime-testing-with-julia-gulpjs-zmq/ hope it helps M
[julia-users] hex to bit notation
Just wondering I have a 32 bit hex number as following - 0xa7f6d92a82c8d8f2 How do I acccertain the 29th bit Functions bin and bits all return an ascii string bin(0xa7f1d92a82c8d8fe) "1010011100011101100100101010101011001000110110001110" what is the most efficient way of finding a bit of a hex value bin(0xa7f1d92a82c8d8fe)[29] and then convert this string to a bool? Interested to see the alternatives cheers M
[julia-users] bit masking julia
just wondering in C you might get the first series of bytes as follows (0x>> 32) & 0x >> result in 0x (0x>> 0) & 0x >> result in 0x how can this be achieve in julia in julia I get (0xabcdef1234>> 32) & 0x >> 0x how can I remove the leading zeros for formating purposes tks
Re: [julia-users] julia unikernel - rumprun
Stefan can you think of any dependencies why it wouldnt work :) >> if I get a free day might try and look into seeing how far I get with it --- could be useful for a project Im working on On Wednesday, 30 September 2015 16:44:52 UTC+1, Stefan Karpinski wrote: > > I don't know of any work towards this, but it's a very interesting > possibility. > > On Wed, Sep 30, 2015 at 12:35 AM, Martin Somers <somers...@gmail.com > > wrote: > >> Hi >> Just wondering if anyone might have any insight if this might be possible >> to do with Julia - ie run Julia as a unikernel under rumprun >> >> https://gandro.github.io/2015/09/27/rust-on-rumprun/ >> >> M >> > >
[julia-users] julia unikernel - rumprun
Hi Just wondering if anyone might have any insight if this might be possible to do with Julia - ie run Julia as a unikernel under rumprun https://gandro.github.io/2015/09/27/rust-on-rumprun/ M
[julia-users] Re: julia to excel using libxl
I need to be able to write to an Excel sheet and run a macro hence why I was looking at running an eternal C library and was interested in interfacing directly with it - the mention packages appear to fall short of my needs it seems I might be able to run nodejs as a master and do my processing through julia and then using edge to do what I want in excel - https://github.com/tjanczuk/edge#scripting-clr-from-nodejs I was only interested to see if anyone had much success in going the external library route with julia and the possible issues I might face tks M
[julia-users] julia to excel using libxl
Just wondering if anyone has any insight into using an external library to writing julia data to excel for example http://libxl.com/ julia can interface with C function so why not an enitre library any there any resources pertaining to such a case - is there a simpler libary other than Libxl that can be used cheers M
[julia-users] websockets D3 and Julia
I was wondering if there might be some means of dynamically adding graphs to an open webpage using julia - thinking of starting a project using existing libraries Julia webstack looked interesting Any libraries or projects that might be of use