Hey, Chris!
10.02.2015, 03:08, "Chris Double" :
> http://bluishcoder.co.nz
I noticed your weblog is down. Are you going to bring it up, or is it dead
permanently?
---=---
Александр
--
I want to run binary codes (C++) under linux using run-pipeline
In linux shell, the task is
cmd1 -a arg1 -b arg2 | cmd2 -c arg3
I know in general, in factor, I need to construct
{ str1 str2 } run-pipeline
where str1 = “cmd1 -a arg1 -b arg2”
str2 = “cmd2 -c arg3”
Ultimately, I may
On Mon, Sep 21, 2015 at 6:50 PM, Alexander Ilin wrote:
>
> I noticed your weblog is down. Are you going to bring it up, or is it dead
> permanently?
It's up for me: http://bluishcoder.co.nz
What error are you getting?
All the factor articles are back online now too.
--
Hello!
I need to read a head of a file (name provided) up to 1024 bytes (return
shorter string if the file size is less than 1024). I will then hash the read
data.
I'd like to understand the difference between stream-read and
stream-read-partial. Which one should I use for my task? Is the
You can just use read (or stream-read) which returns less bytes if the file
is smaller:
http://docs.factorcode.org/content/word-read,io.html
So this does what you want:
"/path/to/file" utf8 [ 1024 read ] with-file-reader
The stream-read-partial is used for some performance improvements
Hello, John!
21.09.2015, 22:23, "John Benediktsson" :
> I don't know what version of Factor you are using, but I made a couple
> improvements improvements to sha checksums over the last year or two.
Right! I keep forgetting that I'm on 0.96, which is wildly out of date,
Great, thank you!
21.09.2015, 19:23, "John Benediktsson" :
> You can just use read (or stream-read) which returns less bytes if the file
> is smaller:
>
> http://docs.factorcode.org/content/word-read,io.html
>
> So this does what you want:
>
> "/path/to/file" utf8 [