On 1/26/2016 12:39 AM, Scotty C wrote:
here's what i'm doing. i make a large, say 1 gb file with small records and there is
some redundancy in the records. i will use a hash to identify duplicates by reading
the file back in a record at a time but the file is too large to hash so i split it.
You might want to use copy-port here.
Robby
On Mon, Jan 25, 2016 at 11:50 PM, Benjamin Greenman
wrote:
> If you don't mind all the indentation, this one is streaming.
>
> (define (concat file* destination)
> (with-output-to-file destination #:exists 'append
>
Scotty C wrote on 01/26/2016 12:39 AM:
i know that i can do this in a linux terminal window with the following: cat
mytmp*.dat >> myoriginal.dat. i'd like to accomplish this from within the
program by shelling out. can't figure it out. other methodologies that are super fast
will be
here's what i'm doing. i make a large, say 1 gb file with small records and
there is some redundancy in the records. i will use a hash to identify
duplicates by reading the file back in a record at a time but the file is too
large to hash so i split it. the resultant files (10) are about 100 mb
If you don't mind all the indentation, this one is streaming.
(define (concat file* destination)
(with-output-to-file destination #:exists 'append
(lambda ()
;; 'cat' each file
(for ([f (in-list file*)])
(with-input-from-file f
(lambda ()
(for ([ln
I use the Web server in a few different places in production. The ones
that get the most traffic are probably things like DrDr and the
package server. I think Marc's post has more useful information than I
could probably offer.
Jay
On Sun, Jan 24, 2016 at 2:16 PM, David Storrs
Done, although since it is my first pull request, let me know if I did it
wrong (tried first without forking, which of course was nonsense).
I tried to find a way to have the 'id' on radio the same as the 'for' on
label, but I couldn't figure out well enough what is going on.
Cheers,
Marc
On
I definitely do not think it is an error, despite it not being traditional.
I definitely do not want to change `response/output`, etc to have a
complicated default for #:message.
However, I did change the uses of #:code in the repository to use the
traditional #:message strings.
Jay
On Sat,
On Saturday, April 25, 2015 at 3:12:20 PM UTC-7, 'John Clements' via
users-redirect wrote:
> I have a long-running racket server that’s connecting to a MySQL back end. It
> has a connection pool wrapped in a virtual connection, created like this:
>
> ;; create a connection to the database
>
Not sure where I ran across this recently:
http://rmculpepper.github.io/malr/index.html
'Basic Macrology' is the first part of 'Macros and Languages in Racket'
which is apparently a work in progress. I just finished up exercise 18
(a match macro). I wanted to give a shout out to Ryan and
10 matches
Mail list logo