Hi John,
thanks for your reply! :)
the only cause for makeing my life "terrible" at that moment
was myself and the lack of coffee
I confused csv with cvs
No need to apologize for anything, John!!!
I am the only person, who needs to apologize...you understand
everything correctly...
Only
> On Oct 29, 2016, at 22:35, meino.cra...@gmx.de wrote:
>
>
> Hi John,
>
>
> from my racket 6.6 installation ($HOME):
>
> :user/.racket>l
> total 20
> drwxr-xr-x 5 user users 4096 2016-10-21 05:25 6.6
> drwxr-xr-x 5 user users 4096 2016-10-30 06:21 6.7
> drwxr-xr-x 2 user users 4096 2016-10-3
Hi folks,
I recently wrote a Racket package that lets you visualize profiler outputs
using flame graphs[1]. The package handles the plumbing of hooking up the
profiler to Brendan Gregg's perl script[2] which does the actual visualization
work.
Anyhow, you can find it here with some instructions f
Hi John,
from my racket 6.6 installation ($HOME):
:user/.racket>l
total 20
drwxr-xr-x 5 user users 4096 2016-10-21 05:25 6.6
drwxr-xr-x 5 user users 4096 2016-10-30 06:21 6.7
drwxr-xr-x 2 user users 4096 2016-10-30 06:21 download-cache
-rw-r--r-- 1 user users 5254 2016-10-30 06:25 racket-prefs.
I'm not quite sure, but one thing I see off that I forgot to mention in my
previous post is that I think the package you want is "csv-reading", not
"cvs-reading".
On Sat, Oct 29, 2016 at 10:31 PM, wrote:
>
> Hi Jack,
>
> thanks fpr your reply ! :)
>
> I tried that with this script (copied from t
Hi Jack,
thanks fpr your reply ! :)
I tried that with this script (copied from the docs, "/bin/env racket
replace by the actually path to racket):
#!/usr/local/bin/racket; \
#lang scripty ; | script preamble
#:dependencies '("cvs-read
> On Oct 29, 2016, at 20:08, meino.cra...@gmx.de wrote:
>
> Hi,
>
> While using racket 6.6 I installed the package 'cvs-reading' in $HOME
> with 'raco pkg install cvs-reading' as me (not as root).
Did you mean to write ‘csv-reading’ ? I don’t see a package named cvs-reading.
John Clements
>
I would recommend adding `info.rkt` files to your projects so that your
projects are *themselves* packages. In these info files you can declare what
packages you depend on, so rather than manually installing dependencies one at
a time globally (and reinstalling when upgrading racket), you simply
I've thought about this as well, and I think a `-build` or a `-develop` package
makes the most sense. As an aside, if you wanted to you could even add some
Scribble docs to that package describing the implementation of your library and
where important bits of it are. That kind of documentation i
Hi,
While using racket 6.6 I installed the package 'cvs-reading' in $HOME
with 'raco pkg install cvs-reading' as me (not as root).
Now, after updateing to racket 6.7, this package cannot longer
be 'require'd :
> (require cvs-reading)
; readline-input:1:9: collection not found
; for module path:
Starting at the very beginning, you could pick up some material on graph
theory, and work through it, while making use of the graph library.
E.g. Here's an introduction to the absolute basics of Graph Theory:
https://www.youtube.com/watch?v=HmQR8Xy9DeM
And here I've followed along in Racket, fi
> I'd be interested in trying a working prototype. It's hard to evaluate the
> wisdom of the technical choices without enjoying the benefits of the new
> interface.
Thank you for your interest. The implementation needs some fixes that I expect
to finish by the end of the week that starts tomorr
On Saturday, October 29, 2016 at 3:06:18 PM UTC-4, jhemann wrote:
> Stephen's talk at 4th Racketcon (https://www.youtube.com/watch?v=SvYJF5HC19w)
> gave me a good tutorial-ish introduction.
>
>
> JBH
>
>
> On Sat, Oct 29, 2016 at 8:59 PM, Lawrence Bottorff wrote:
> I see the Racket Generic G
Stephen's talk at 4th Racketcon (https://www.youtube.com/watch?v=SvYJF5HC19w)
gave me a good tutorial-ish introduction.
JBH
On Sat, Oct 29, 2016 at 8:59 PM, Lawrence Bottorff
wrote:
> I see the Racket Generic Graph Library, but I don't know how to use it.
> Where would one go to learn, tutorial
I see the Racket Generic Graph Library, but I don't know how to use it. Where
would one go to learn, tutorial-style" the ins and outs of using this library?
I take it this library allows you to "roll your own" graph database? I did
notice the HTDP has a section on graph things. Would this help?
Hi David,
The syntax of `dispatch-rules` is that its arguments are dispatch
clauses, not expressions, and it does not implement its own macro
system (like `match` does.)
You should either change `dispatch-rules` to do that by adding
"dispatch-rules-expanders" or make your own macro to expand into
Actually, what I've ended up doing is this:
1) There's a globally accessible jumptable hash that any function is
free to register with. The hash maps a string key to a procedure.
2) Tasks get stored to the 'tasks' table in the DB as a JSONB blob of
the form (e.g.): { "function": "release-space"
Happy Birthday, Matthias!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.googl
Hi all,
...think, I have to apologize
I screwed it upit is a language (spoke one...not "programming" )
thing:
I read "List of strings" which in german is "Liste von Zeichenketten".
THIS expression means this:
"A" "B" "C"
(for example).
This applied to string-join in a germenglish head for
Hi Meino,
Could you give an example of lst or line? Unlike string-append, most of the time
string-join doesn't really require an 'apply'. As we can see:
> (string-append "a" "b" "c")
"abc"
> (string-join '("a" "b" "c") ":")
"a:b:c"
While string-append takes all its arguments and concatenates the
On Sat, Oct 29, 2016 at 5:31 PM, wrote:
> At the certain point of the program I get
> a list as parameter 'lst', which contains
> the sublists of strings. I wrote this
> function:
>
>
> (define (to-txt lst)
> (if (empty? lst)
> lst
> (let ((line (car lst)))
> (begin
> (di
Hi Stephen,
thanks for yoru reply ! ::)
At the certain point of the program I get
a list as parameter 'lst', which contains
the sublists of strings. I wrote this
function:
(define (to-txt lst)
(if (empty? lst)
lst
(let ((line (car lst)))
(begin
(displayln (apply string-
Yeah that is much more concise than mine. My newbie lack of knowledge on the
stdlib is showing.
Ken
On Saturday, October 29, 2016 at 11:12:50 AM UTC-4, Stephen Chang wrote:
> string-join already expects a list of strings, so are you sure you want apply?
> Can you give a more specific example?
>
Hi Ken,
thanks for your reply ! :)
The problem is much "simpler"... :)
You wrote the whole logic to dig into the strings in the sublists in
the big list.
That's already done and working
I am in search for doing this
(string-join '( "a" "b" "c") " " ) ;; ( "a" "b" "c") is the sublist
but in t
string-join already expects a list of strings, so are you sure you want apply?
Can you give a more specific example?
Perhaps map or some other iteration is what you want?
(for ([strs '(("a" "b") ("c" "D" "E"))])
(displayln (string-join strs " ")))
=>
a b
c D E
On Sat, Oct 29, 2016 at 10:27 AM
If you want to go this way (and I suspect that there may be a better way),
rather than using eval, I would look at serial-lambda from
web-server/lang/serial-lambda, which lets you create closures (like the
values produced by lambda) that could be put into a TEXT field using
serialize and write. The
Not 100% sure of what you're asking so if I got this wrong pseudo code it for
me. Remember I am kind of new to racket but I will give it a go:
As I understand it you have a list of lists of strings perhaps like this...
(('this' 'is' 'one')('this' 'is' 'another')('this' 'is' 'the' 'last'))
On Oct 28, 2016, at 8:58 AM, lfacc...@jhu.edu wrote:
> Regarding the syntax of the DSL, I was intentionally vague about it in the
> original post because I wanted to focus on the technical choices I made.
I'd be interested in trying a working prototype. It's hard to evaluate the
wisdom of the t
Hi,
...still improving my shortwave-broadcaster-dumper... :)
I have a list with sublists of strings, which I want to concatenate.
Each sublist shall form one line of output.
I tried 'string-append', but this gives me something like this
(excerpt):
"189RikisutvarpidRas1+2-24001234567Icelandic"
As a curiosity what happens when you run it as such
racket shwrefmt.rkt > debug.log
Ken
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr..
Hi,
currently I am still doing old-school "printf()-debugging", knowing
that it's '(print arg)' rather than 'printf( fmt, val,...);". :)
Since my program reads a bigger textfile of shortwave broadcasters,
their frequencies, on-air times, etc, reformats the whole thing
and (currently only to p
On 10/28/2016 08:21 PM, David Storrs wrote:
> Is it possible to take (e.g.) a procedure object and decompose it back
> into its original source code?
I don't believe this is possible without murky unsafe programming, but...
> One (bad) idea that came to mind was to simply shove some Racket code
>
Anyone see this on the snapshot builds yet when you try to execute DrRacket?
Process: DrRacket [47564]
Path: /Volumes/VOLUME/*/DrRacket.app/Contents/MacOS/DrRacket
Identifier:org.racket-lang.DrRacket
Version: 6.7.0.2 (6.7.0.2)
Code Type:
33 matches
Mail list logo