Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread Todd Blanchard
Yes - the reason I've been trying to learn FFI is specifically to get TensorFlow integration. I want a better ML workbench. > On Nov 2, 2017, at 9:08 PM, Ben Coman wrote: > > > > On Fri, Nov 3, 2017 at 11:10 AM, horrido

Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread Ben Coman
On Fri, Nov 3, 2017 at 11:10 AM, horrido wrote: > Sounds like it's possible to call into TensorFlow (Python) from Pharo. That > would give Pharo a tremendous boost for machine learning applications. > > Am I right? > Tensorflow has a C API for FFI from other

[Pharo-users] NeoCSV #skipToNextLine or #skipRemainingColumns ?

2017-11-02 Thread PAUL DEBRUICKER
Hi - I want to import the first and seventh column from a set of 50 csv files each of which could have 28 - 34 columns. Is there a way to have NeoCSV skip the remaining columns automatically (e.g. 8 and up) ? Thanks Paul

Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread horrido
Sounds like it's possible to call into TensorFlow (Python) from Pharo. That would give Pharo a tremendous boost for machine learning applications. Am I right? kilon.alios wrote > Maybe you talk about TalkFFI which aumatically wrapped C libraries for > Pharo and i think Squeak as well but used

Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread Todd Blanchard
SmalltalkAgents used to be able to point to any shared library and import all the functions. > On Oct 27, 2017, at 8:26 AM, Sean P. DeNigris wrote: > > Ben Coman wrote >> it seems to hint how to do it from Pharo UFFI. > > Slightly OT: I remember years ago, someone (Dave

Re: [Pharo-users] Writing "powerpoint" like presentations in Pharo?

2017-11-02 Thread Tim Mackinnon
Thanks Stef - I’ll see if I can reincarnate it in the time that I have - if not, maybe this might be my next side project (just need to get my IntelliPharo keybindings over the hill). It looks like it's just the basics right? You add morphs in a script I'm guessing from the tests. Although

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
Hi Stef, The PDF integration consists of three parts: 1. CERMINE (https://github.com/CeON/CERMINE ) is fed with the PDF and outputs metadata as BibTex and a structured XML (title, authors, affiliations, abstract, keyword, references, …). This is not perfect,

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
Hi Offray, That’s a lot to process for me, I need some time to inspect your workflow to find the possible connections with the ILE. I will do that in the next few days and give you more detailed feedback. As for the Linux testers, I will gladly come back to you. I think it won’t be too hard

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
Hi Bernardo, Thanks for the Xanadu hint. Indeed I made similar observations as Ted Nelson: We use desktop machines to replicate physical paper on the screen, blatantly ignoring that we can easily break the constraints of paper on a computer. This reminds a bit of Roy Fieldings thesis about

Re: [Pharo-users] New Pharo Booklet

2017-11-02 Thread Stephane Ducasse
Hi renaud thanks for the feedback. Settings is way to describe settings. Now once you have a settings and save it you can take the setting code and wrap it into a startUpLoader actions. So there are really complementary. Ok I did not know that we change the class name. I will check because my

Re: [Pharo-users] New Pharo Booklet

2017-11-02 Thread Stephane Ducasse
Toc, list of figures are managed by the latex template. So yes you have them if you template use it. In fact a template is just a latex with {{{title}}}, {{{attribution}}} We are working with guille in making pillar simpler to change. Students were not really well supervised by damien and they

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Manuel Leuenberger
Hi Dimitris, I looked around for a way to integrate PDF into Pharo. But as long as we don’t have a way to natively display interactive multimedia (maybe Bloc will at some point support something like this?), I consider it not worth the effort to come up with a half-baked (note to self: watch

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Tudor Girba
Really nice work! Indeed, the PDF integration can be quite interesting to people. Doru > On Nov 2, 2017, at 6:08 PM, Stephane Ducasse wrote: > > Hi manuel > > this is super cool :) > Could you describe how you did the pdf integration? > And yes please package it :)

Re: [Pharo-users] Writing "powerpoint" like presentations in Pharo?

2017-11-02 Thread Stephane Ducasse
I did that (well argh more than 12 years ago) now I do not think that I can find the code I will try It looks like I loaded in Pharo some years ago. Here the latest code I found (At that time I developed test first). I'm not sure that I will have the time to get a look. Stef On Wed, Nov 1, 2017

Re: [Pharo-users] Permancy of booklet links

2017-11-02 Thread Offray Vladimir Luna Cárdenas
In the case of Grafoscopio Manual, the URL is fixed [1] and the manual advices to use a unique identifier (version + revision) that appears in the front page and in the low corner of each page to report issues [2]. [1]

Re: [Pharo-users] LiteratureResearcher - where graphs, PDFs, and BibTex happily live together

2017-11-02 Thread Stephane Ducasse
Hi manuel this is super cool :) Could you describe how you did the pdf integration? And yes please package it :) I want to try it. Stef On Wed, Nov 1, 2017 at 10:16 PM, Manuel Leuenberger wrote: > Hi everyone, > > I was experimenting in the last few weeks with my take

Re: [Pharo-users] Permancy of booklet links

2017-11-02 Thread Stephane Ducasse
for now I will keep the versions and see. On Thu, Nov 2, 2017 at 3:24 AM, Ben Coman wrote: > > This link turned up in a google search on... Web Scraping Pharo, which is > great, > > http://files.pharo.org/books-pdfs/booklet-Scraping/2017-09-29-scrapingbook.pdf > but with

Re: [Pharo-users] Extending Calypso

2017-11-02 Thread Denis Kudriashov
2017-11-02 16:50 GMT+01:00 Juraj Kubelka : > Thanks! It works. > > Then I have two more questions: > > 1. How it is done that ‘should be implemented’ has red color? > Any method group can implement class side method: #decorateTableCell: anItemCellMorph of: groupItem

Re: [Pharo-users] Extending Calypso

2017-11-02 Thread Juraj Kubelka
Thanks! It works. Then I have two more questions: 1. How it is done that ‘should be implemented’ has red color? 2. Then let’s say I want a message group that display all messages in the environment that refers to a selected class. I found `ClyClassReferences to: classes`, but I miss how

Re: [Pharo-users] Extending Calypso

2017-11-02 Thread Denis Kudriashov
Hi There is no real documentation for now. Only examples on my slides. 2017-11-02 16:16 GMT+01:00 Juraj Kubelka : > Hi, > > Are there any examples (documentation) how to extend Calipso? > > I have tried to create a simple (demo) method group, but I miss something, >

[Pharo-users] Extending Calypso

2017-11-02 Thread Juraj Kubelka
Hi, Are there any examples (documentation) how to extend Calipso? I have tried to create a simple (demo) method group, but I miss something, because it is not called. I have created three subclasses of: ClyMethodGroup (with #name and #includesMethod:),

Re: [Pharo-users] Fwd: GitHub

2017-11-02 Thread hamdi gabsi
Thank you very much for your kindly response. 2017-11-02 15:40 GMT+01:00 Ben Coman : > > > On Thu, Nov 2, 2017 at 10:28 PM, hamdi gabsi > wrote: > >> >> -- Forwarded message -- >> From: hamdi gabsi >> Date:

Re: [Pharo-users] Peeking at a stream

2017-11-02 Thread henry
How about #peekAhead? - HH > Original Message > Subject: Re: [Pharo-users] Peeking at a stream > Local Time: November 2, 2017 9:28 AM > UTC Time: November 2, 2017 1:28 PM > From: aglyn...@gmail.com > To: Any question about pharo is welcome > >

Re: [Pharo-users] Fwd: GitHub

2017-11-02 Thread Ben Coman
On Thu, Nov 2, 2017 at 10:28 PM, hamdi gabsi wrote: > > -- Forwarded message -- > From: hamdi gabsi > Date: 2017-11-02 14:30 GMT+01:00 > Subject: Re: GitHub > To: pharo-users@lists.pharo.org > > > For resolving my problem. I knew

Re: [Pharo-users] Fwd: GitHub

2017-11-02 Thread hamdi gabsi
sorry, I want to say crashes, it 's a mistake , Thank you very much 2017-11-02 15:32 GMT+01:00 Ben Coman : > > As a backup, select your package in System Browser and choose , > so at least your code is safe. > > If you VM crashes, you can recover code using Epicia. From the

Re: [Pharo-users] Fwd: GitHub

2017-11-02 Thread Ben Coman
As a backup, select your package in System Browser and choose , so at least your code is safe. If you VM crashes, you can recover code using Epicia. From the World Menu > Tools > Recover changes (from memory) I'm not clear what you mean by "VM plante" cheers -ben On Thu, Nov 2, 2017 at 10:28

Re: [Pharo-users] Peeking at a stream

2017-11-02 Thread Ben Coman
On Thu, Nov 2, 2017 at 9:28 PM, Andrew Glynn wrote: > Perhaps #keepStateWhile or something similar might be better than > #unchangedDuring ? > Something like "keepState" was also my first impression, but "During" seems to be the convention for restoring things after a code

[Pharo-users] Fwd: GitHub

2017-11-02 Thread hamdi gabsi
-- Forwarded message -- From: hamdi gabsi Date: 2017-11-02 14:30 GMT+01:00 Subject: Re: GitHub To: pharo-users@lists.pharo.org For resolving my problem. I knew that it was when pushing my code, that's mean that the commit was well done. So I pushed it from

[Pharo-users] Fwd: GitHub

2017-11-02 Thread hamdi gabsi
-- Forwarded message -- From: hamdi gabsi Date: 2017-11-02 14:05 GMT+01:00 Subject: GitHub To: pharo-users@lists.pharo.org Hello, I'am Hamdi, I am doing an internship with Rmod Team. I have a problem with pushing my code in Github, In fact, Iam using

Re: [Pharo-users] Exchanging information between 2 pharo applications (2 images running on two different computers)

2017-11-02 Thread Denis Kudriashov
To load such code switch to old compiler in settings browser. It supports old FFI syntax. Then you can manually adopt all ffi calls to UFFI and commit new version. 2017-10-29 15:09 GMT+01:00 Paulo R. Dellani : > Dear all, > > I would like to give ZeroMQ a try in Smalltalk, but

Re: [Pharo-users] Peeking at a stream

2017-11-02 Thread Andrew Glynn
Perhaps #keepStateWhile or something similar might be better than #unchangedDuring ? Sent from Mail for Windows 10 From: Prof. Andrew P. Black Sent: Thursday, November 2, 2017 5:00 AM To: Any question about pharo is welcome Subject: [Pharo-users] Peeking at a stream I sometimes find, when

Re: [Pharo-users] Peeking at a stream

2017-11-02 Thread Denis Kudriashov
Hi. In XStreams this method called #explore: . 2017-11-02 9:59 GMT+01:00 Prof. Andrew P. Black : > I sometimes find, when working with a stream, that I need to "peek ahead” > a few items, without disturbing the state of the stream. The message stream > peek gives me the next

Re: [Pharo-users] Peeking at a stream

2017-11-02 Thread Guillermo Polito
Hi Andrew, My first hunch is that you don't want to change PositionableStream. Because it works on collections and files (because of inheritance). But not on other kind of streams that are not part of the hierarchy, such as sockets. And we are cleaning that part. Instead, some time ago Sven

[Pharo-users] Peeking at a stream

2017-11-02 Thread Prof. Andrew P. Black
I sometimes find, when working with a stream, that I need to "peek ahead” a few items, without disturbing the state of the stream. The message stream peek gives me the next item, but doesn’t generalize to multiple items, So I end up writing code like this: findSomething |