Re: short question about books

2010-09-17 Thread Pascal J. Bourguignon
anog...@gmx.at writes: Hi awesome hackers, i'm a noob. Which book is better for learning programming? * SICP http://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures/ * How to Design Programs http://htdp.org/2003-09-26/ * anything else Read both, in this order: 1. How to

Re: short question about books

2010-09-18 Thread Pascal J. Bourguignon
ri...@happyleptic.org writes: If you should read only one, then only SICP (and watch the videos). Out of curiousity, what's interresting about the videos ? It's easier to watch them than to read the book ;-) Multi-channel is better for learning. Reading the book is nice for the symbolic

Re: Are `eqv?' and `eq?' the same?

2013-08-25 Thread Pascal J. Bourguignon
Alexandru Cojocaru xo...@gmx.com writes: Hi, from the GUILE manual [0]:     `eq?' tests just for the same object (essentially a pointer comparison)     `eqv?' extends `eq?' to look at the value of numbers and characters. this is what I get:     scheme@(guile-user) (eq? 3 (+ 1 2))    

Re: How to read integers from file faster?

2013-09-02 Thread Pascal J. Bourguignon
Darren Hoo darren@gmail.com writes: It is way too slow to read numbers from a file simply by using `read' for example a txt file contains 10,000,000 line of numbers: To get speed, I would: 1- open a binary file, 2- perform double-buffering I/O, (ie. read a buffer while you process

Re: Message Passing with GOOPS

2015-06-26 Thread Pascal J. Bourguignon
Marko Rauhamaa ma...@pacujo.net writes: GOOPS also, surprisingly, seems to be decades behind in trying to present objects as collections of slots. I once heard this story. The French king had a royal ball in honor of the birthday of the French queen. When some lordly guests presented their

Re: Embedding Guile with sandboxing

2015-11-21 Thread Pascal J. Bourguignon
Matthew Keeter writes: > I’m currently embedding Python in a C / C++ application that evaluates > user-provided scripts. > > Obviously, this is terribly unsafe: user-provided scripts can execute > arbitrary malicious actions, > and there’s no good way to sandbox Python

Re: There is no SCAN (introducing Compan)

2016-09-18 Thread Pascal J. Bourguignon
Panicz Maciej Godek writes: > Therefore, I wrote Compan, which is meant to be a "Community Package > Manager" for Guile. Unfortunately, it's specific to guile. Wouldn't it be better to have a system that could be used to distribute scheme libraries, including portable