Re: [Pharo-users] [Pharo-dev] json-server / db.json (lowdb) / faker.js in Pharo/Zinc ?

2020-06-06 Thread Cédrick Béler
en, Cédrick > > ZnClient new > url: 'https://jsonplaceholder.typicode.com/posts'; > forJsonREST; > get. > > ZnClient new > url: 'https://jsonplaceholder.typicode.com/posts'; > forJsonREST; > contents: { #title->'Test'. #body->String loremIpsum } asDictionary; &g

Re: [Pharo-users] GIS support for Pharo

2020-06-04 Thread Cédrick Béler
Looks great and all information in the thread. …. > - I started to do a KML Reader [2] because besides GeoJSON that is a widely > used format. And this can be used in Google Earth which is the best free Geo > editor that I know. , What do you think of Mapbox ? I try to de-google as much as I

Re: [Pharo-users] Few newbie questoins about Pharo/Smalltalk capabilities

2020-06-02 Thread Cédrick Béler
Forgot to mention the mooc where a version can be found there: http://mooc.pharo.org Might be a good place to start. Cheers, Cédrick

Re: [Pharo-users] Few newbie questoins about Pharo/Smalltalk capabilities

2020-06-02 Thread Cédrick Béler
Hi Gustav and welcome :) > Hello! I don't know if this is a good place to ask this kind of questions, > but I haven't found other places where Smalltalk/Pharo experts hang out. Perfect place here. You can also use direct for more chatty interaction. https://discord.gg/QewZMZa

Re: [Pharo-users] [OffTopic] Software inventory software

2020-05-25 Thread Cédrick Béler
This sounds like a requirement for rgpd registers. Maybe Olivier has information on that. Cheers, Cedrick > Le 25 mai 2020 à 10:50, Santiago Bragagnolo a > écrit : > >  > Hi Everybody! > > Sorry for the offtopic. I am relying on the fact that I can find here people > from different

Re: [Pharo-users] [Pharo-dev] Project of Interest => Jekyll + Dynamic processing integration + Git(hubs)Pages => pharo in the middle

2020-05-23 Thread Cédrick Béler
really simple, I’ll go for some kind of static site generation. I want people to have a simple vitrine of their activity, with a contact form and a certain feed of article. I’ll explore a bit more this tools so lets discuss it too. > > Have fun > T. You too ;-) Cédrick > >

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Cédrick Béler
xpire (but > happy to manage that myself - its just a simple counter, or time snapshot > that would make this very handy). > > Thanks for mentioning it Cedrick > > Tim > > On Fri, 15 May 2020, at 8:54 AM, Cédrick Béler wrote: >> Thanks for the explanation Christophe. >

Re: [Pharo-users] [ANN] Pharo Compendium

2020-05-15 Thread Cédrick Béler
ess a summary info (the readme.md ?) and show for instance in the spotter search (but no hurry too). And as time allows, I’ll surely try to hack it because possibilities are endless :) Cheers, Cédrick > > Bye > T. > > Gesendet: Donnerstag, 14. Mai 2020 um 13:02 Uhr > Von:

Re: [Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-15 Thread Cédrick Béler
Thanks for the explanation Christophe. The tree might be a good idea. > >> I actually changed once the "save as » in a « save checkpoint charly » where >> it saves a copy but still load the default name. Might be an option ? :) > > « Saves a copy » : do you mean you copy the full folder to

Re: [Pharo-users] Zinc short-url-server-demo (was Re: Uptime)

2020-05-13 Thread Cédrick Béler
horten URLs > which can also be used programmatically. There are also some functional tests. > > Sven > >>> On 13 May 2020, at 13:55, Cédrick Béler wrote: >>> >>> >>> I would just like to see what you did. >>> >>>

[Pharo-users] Zinc short-url-server-demo (was Re: Uptime)

2020-05-13 Thread Cédrick Béler
>> >> PS: btw Sven, we (with a group of students did a naive and simple url >> shortener that would fit nicely to default zinc demos ;-) >> >> Here is the script for accessing registered urls (sweet): >> >> server := (ZnServer startDefaultOn: ) >> onRequestRespond: [ :request | | key

Re: [Pharo-users] git and Pharo new book...

2020-05-13 Thread Cédrick Béler
I just had a quick look. This is cool. I might be missing a use case where I dit a previous fork and I want to use it later in time. I think that’s nice to cover this use case. Do you sync your fork on github ? From iceberg ? Or maybe no sync is possible ? Cheers, Cedrick > Le 13 mai 2020 à

Re: [Pharo-users] git and Pharo new book...

2020-05-13 Thread Cédrick Béler
This is a very important one ! Thanks for writing it. I’ll read it soon. Cedrick > Le 13 mai 2020 à 09:17, Stéphane Ducasse a écrit : > >  > Hello we are happy to announce a new little book that we hope will help you > to master git and Pharo. > >

Re: [Pharo-users] Uptime

2020-05-12 Thread Cédrick Béler
Clearly amazing  Is it the setup you use ? https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/DeploymentWeb/DeployForProduction.html Cheers, Cedrick PS: btw Sven, we (with a group of students did a naive and simple url shortener that

[Pharo-users] Deleting images / saving as - in Pharo Launcher auncher

2020-05-07 Thread Cédrick Béler
Hi Christophe, This version is definitely cooler :) I just wander as for the previous version why deleting image can take some time, whereas it’s quick to delete the image repository. Is it normal ? Another thing that might help my way of doing things. I like to "save as" the image so as to

Re: [Pharo-users] New type of web application using HTML, CSS and Smalltalk

2020-05-03 Thread Cédrick Béler
Really great Erik. I just want to try ! ;-) This is great to see such practical and cool uses of small images. It’s a long dream that seems happening. And of course, thanks to all people who made it possible, especially those who work on the bootstrap process and others in general (the list is

Re: [Pharo-users] Don't tell I sent that ;)

2020-04-24 Thread Cédrick Béler
And of course the email was intended to be private :s Sorry for that. Cédrick > Le 24 avr. 2020 à 09:56, Cédrick Béler a écrit : > > Found the link. As I guess not legal, I send private. > > I’ve the book. I liked it if I remember ;) > > https://doc.lagout.org/pr

[Pharo-users] Don't tell I sent that ;)

2020-04-24 Thread Cédrick Béler
Found the link. As I guess not legal, I send private. I’ve the book. I liked it if I remember ;) https://doc.lagout.org/programmation/Smalltalk/Smalltalk%20-%20Objects%20and%20Design.pdf Cheers, Cédrick

Re: [Pharo-users] running Pharo8 in Digitalocean

2020-04-19 Thread Cédrick Béler
Hi Sanjai, Have you tried Telepharo ? https://github.com/pharo-ide/TelePharo Hth, Cédrick > Le 18 avr. 2020 à 19:41, Sanjay Minni a écrit : > > probably this earlier thread http://forum.world.st/Pharo-7-RFB-td5089434.html > on > RFB / VNC - remote

Re: [Pharo-users] [ANN] Pharo Launcher 2.0 released!

2020-04-18 Thread Cédrick Béler
Great Job. It looks indeed nicer. I found the docs great too (https://pharo-project.github.io/pharo-launcher ). One suggestion would be to add the help contextually. I tried to look at. There is description of commands and SpLinkPresenter but

Re: [Pharo-users] [ANN] QRCode on github

2020-04-14 Thread Cédrick Béler
I did some research on qrcode. There are some great libraries out there. This one is great regarding implementation (and comments). That’d be possible to port or at least inspire (again look at the comments). https://github.com/nayuki/QR-Code-generator/blob/master/python/qrcodegen.py Also I

Re: [Pharo-users] Minimality

2020-04-14 Thread Cédrick Béler
Hi Erik, > (Part of this I mentioned on Discord as well, but not all readers will be on > Discord) Yes I’ve just seen it and I remembered seeing your posts > > I'm working with a tiny Smalltalk image (currently around 150Kb) which > contains basic classes (very similar to PharoCandle, but

[Pharo-users] Minimality

2020-04-13 Thread Cédrick Béler
Just a reflexion that I’d like to share here. When Hilaire talks about complexity. I have to agree too, even if I like the progress under the hood, and explored spaces like GToolkit. But how to change such legacy beast, the pharo image ? Potential is huge but resistance is also tough for so

Re: [Pharo-users] Discussions on method categories (Was: Moving/rolling average implementations ?)

2020-04-13 Thread Cédrick Béler
ols name of an image) @++ Cédrick > Le 13 avr. 2020 à 12:03, Guillermo Polito a écrit > : > > > >> El 13 abr 2020, a las 11:17, Cédrick Béler escribió: >> >> >>> Used consistently and well, method categories are not only a >>> navig

[Pharo-users] Discussions on method categories (Was: Moving/rolling average implementations ?)

2020-04-13 Thread Cédrick Béler
d to be documented, and you need to keep them as up to > date as any other part of the source code. > > I can say that the discipline of trying to come up with meaningful > categories and use them consistently has improved the quality of my > code. > > On Mon, 13 Apr 2020 at

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Cédrick Béler
2020 à 10:48, Cédrick Béler a écrit : > > What about this test (in OrderedCollectionTest - it suggests a Trait too) ? > > testRunningMeans > > | result col | > col := #(1 1 2 2 3 3) asOrderedCollection. > result := col runningMeans: 2. > >

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-13 Thread Cédrick Béler
1. >result at: resultIndex put: mean]. > ^result > > > > On Mon, 13 Apr 2020 at 00:23, Sven Van Caekenberghe wrote: >> >> >> >>> On 12 Apr 2020, at 13:53, Cédrick Béler wrote: >>> >>> Beautiful ^^ >> >> I also like

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-12 Thread Cédrick Béler
pragmas ? Happy eater Sunday, stay all preserved (sad day for the game of life), Cédrick > Le 12 avr. 2020 à 14:22, Sven Van Caekenberghe a écrit : > > > >> On 12 Apr 2020, at 13:53, Cédrick Béler wrote: >> >> Beautiful ^^ > > I also like it. >

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-12 Thread Cédrick Béler
Beautiful ^^ I would vote for inclusion in the base image ? With your explanation as comments. I’ll play with it. Thanks Cedrick > Le 12 avr. 2020 à 12:19, Richard O'Keefe a écrit : > >  > I have coded and benchmarked 8 different running mean algorithms. > In the presence of inexact

[Pharo-users] Using the compiler for scripts / logging statistics (learning)

2020-04-11 Thread Cédrick Béler
Hi, I’m playing with compiler with scripts. For instance: result := OpalCompiler new source: ‘3 + 1'; evaluate. result2 := OpalCompiler new source: 'self + 1'; receiver: 3; evaluate. I would eventually (as an

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-10 Thread Cédrick Béler
egerArray, WordArray. > > Computing rolling means of these is perfectly sensible, > > but the results will not fit into an array of the same species. > > I'd stick with Array. > > > > The suggestion about subtracting an old element and adding a new > > one is great f

Re: [Pharo-users] Moving/rolling average implementations ?

2020-04-09 Thread Cédrick Béler
Hi Richard and Christian, thanks for the comments/suggestions. For the "self species ofSize… », I got inspiration from the image like with #overlappingPairsCollect: As for float rounding errors, that interesting to consider indeed. I’ll try a buffer variant. Some related questions for my OO

[Pharo-users] Moving/rolling average implementations ?

2020-04-08 Thread Cédrick Béler
Hi, I wanted to do a moving/rolling average on raw data [1]. I haven’t find code for that (maybe this is done in polymath though). So I ended writing that (I thing this is SMA): SequenceableCollection>>movingAverage: anOrder "Answer the moving or rolling average for anOrder window" |

Re: [Pharo-users] Any existing RDF implementation in Pharo?

2020-03-17 Thread Cédrick Béler
Hello, from what I remember, this would require porting the pdf lib of christian as Values one of the underlying framework. But not a straight task though I thing that would be a nice addition :) Cheers, Cédrick (@athome) > Le 17 mars 2020 à 10:22, Juraj Kubelka via Pharo-users > a écrit :

Re: [Pharo-users] About "it's not pharo but smalltalk"

2020-02-05 Thread Cédrick Béler
> > I don't think conformance or non-conformance to ANSI is important. This is a > red herring. You think... it was important in lots of past discussions that is at the end pure waste of energy as, unsurprisingly, this thread. > > If Pharo becomes mainstream, nobody will care about ANSI

Re: [Pharo-users] About "it's not pharo but smalltalk"

2020-02-05 Thread Cédrick Béler
> Le 5 févr. 2020 à 19:50, horrido a écrit : > > Yes, these are two completely different issues... > > - Pharo is Smalltalk As you state, you use Smalltalk as the superset of all Smalltalk descendance, what Sven call ‘Concept’ and this is true to me. But, as I understand it (I’m not a

Re: [Pharo-users] About "it's not pharo but smalltalk"

2020-02-05 Thread Cédrick Béler
https://lists.pharo.org/mailman/listinfo/pharo-users_lists.pharo.org > Le 5 févr. 2020 à 17:08, Steve Davies a écrit : > >  > Hi, > > Can you point me to how to unsubscribe. Obviously not the list for me. > > Thanks, > Steve > > >> On Wed, 05 Feb 2020, 18:04 Esteban Lorenzano, wrote: >>

Re: [Pharo-users] Fuzzy Thinking in Smalltalk

2020-02-05 Thread Cédrick Béler
Cheers, Cédrick > > Lorenzo > > Da: Pharo-users [mailto:pharo-users-boun...@lists.pharo.org > <mailto:pharo-users-boun...@lists.pharo.org>] Per conto di Cédrick Béler > Inviato: mercoledì 5 febbraio 2020 14:32 > A: Any question about pharo is welcome <mailto:ph

Re: [Pharo-users] Fuzzy Thinking in Smalltalk

2020-02-05 Thread Cédrick Béler
> >> On 5 Feb 2020, at 13:28, Lorenzo wrote: >> >> Anyway, if I can say my opinion, the observation ridicolous. > > Even though the article is interesting, there is no mention of the word > 'Pharo' anywhere in the article, nor in any of the 3 slide presentations. Nor > is there any Pharo or

Re: [Pharo-users] [ANN] Youtube video explaining how to set-up a Pharo project

2020-01-20 Thread Cédrick Béler
Great  Thanks Julien > Le 20 janv. 2020 à 19:57, Julien Delplanque a > écrit : > > Hello, > > I recorded myself setting up a Pharo project on Github this afternoon. > > https://www.youtube.com/watch?v=Wnt3OBhR18I > > The video shows how to: > > - Create git repository on Github, make

Re: [Pharo-users] NeoCSV with numerous fields

2019-12-22 Thread Cédrick Béler
Hi Hilaire, I think data frame is better for such case https://github.com/PolyMathOrg/DataFrame Cheers, Cedrick et bonne fêtes ;) > Le 22 déc. 2019 à 17:04, Hilaire a écrit : > > Hi, > > I have float number datas coming with 60, 600 and 6000 rows. > > Is there a convenient way to let

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Cédrick Béler
> Le 18 déc. 2019 à 09:37, Sven Van Caekenberghe a écrit : > > > >> On 18 Dec 2019, at 09:30, Sven Van Caekenberghe wrote: >> >> There is not much handholding documentation though, check out the unit tests. > > Here is the class comment of MQTTExperimentalClient, which would be the one

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-18 Thread Cédrick Béler
Hi Steve, > > Hi, > > I'm having yet another go to get to grips with Pharo. > > My project is for home automation. Interesting, this si the kind of side project I always have in mind. You should look at PharoThings that may help in some respects. > It seems in principle a great match

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-30 Thread Cédrick Béler
Cheers, Cédrick > Le 1 déc. 2019 à 00:23, Esteban Maringolo a écrit : > > Why use Chrome instead of ZnClient? To get a "real" render of the > content? (including JS and whatnot). > > Regards! > > > Esteban A. Maringolo > > On Sat, Nov 30, 2019 at 8:

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-30 Thread Cédrick Béler
> > Also interesting! Any publicly available examples? How does one load "Google > chrome pharo integration »? "https://github.com/astares/Pharo-Chrome; "https://github.com/akgrant43/Pharo-Chrome » Cheers, Cédrick

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-30 Thread Cédrick Béler
> cedreek wrote >> To me, far better than using Soup. > > Ah, interesting! I use Soup almost exclusively. What did you find superior > about XMLParserHTML? I may give it a try... > It’s mainly xpath which I find easier than navigating the html tree with soup or even The xmlHtmlparser. I

Re: [Pharo-users] [ANN] XMLParserHTML moved to GitHub

2019-11-29 Thread Cédrick Béler
Stef and other wrote this book a while ago: http://books.pharo.org/booklet-Scraping/html/scrapingbook.html Basically XMLHtmlParser + XPath To me, far better than using Soup. Google chrome pharo integration helps top to scrap complex full JS web site like google ;) Cheers, Cedrick > Le 29

Re: [Pharo-users] WebDav and CalDav in Pharo ?

2019-11-18 Thread Cédrick Béler
o at the moment > ... family first  Cool :) No problem and not urgent anyway, Thank you Udo, Cédrick > > CU, > > Udo > > Sent from my iPhone > >> On 18. Nov 2019, at 10:26, Cédrick Béler wrote: >> >> Hi all, >> >> I do some experime

[Pharo-users] WebDav and CalDav in Pharo ?

2019-11-18 Thread Cédrick Béler
Hi all, I do some experiments with iCal. For now I serve a full calendar over HTTP. Not bad, but it is read only. I’d like to try CalDAV. I was looking for it, and also webDAV. Gofer it smalltalkhubUser: 'UdoSchneider' project: 'FileSystemNetwork'; configuration; load.

Re: [Pharo-users] Code of Conduct

2019-09-20 Thread Cédrick Béler
Before this thread CoC was actually Clash of Clans for me, it turns out there could be some connections ^_^. I learned a lot reading this thread and this is really interesting in understanding how communities work (how collaboration works). I will talk to student about that in a lecture we do

Re: [Pharo-users] Personal Programming

2019-07-25 Thread Cédrick Béler
Me too ! And on the huge esug discussion points to have ^^ Cheers, Cedrick > Le 25 juil. 2019 à 13:09, Marcus Denker a écrit : > > Looks very interesting! I will read it (it arrives just in time to be part of > the holiday reading pile…) > > Marcus > >> On 25 Jul 2019, at 11:29,

Re: [Pharo-users] Cryptography decrufted

2019-07-05 Thread Cédrick Béler
Excellent job Norbert ! Thx, Cédrik > Le 5 juil. 2019 à 13:04, Norbert Hartl a écrit : > > I cannot remember how many years I’m suffering with the poor quality of the > Cryptography package. As people were complaining that voyage cannot be loaded > in windows because cryptography contains

Re: [Pharo-users] A4BP and BpmFlow

2019-04-21 Thread Cédrick Béler
Hi, I’m also very interested in BP/Workflow apps. First to show my students what is a BPM system… but also to manage my personal routines (and more). I find NewWave very nice. I have to dig into BPMFlow and A4BP as I don’t know them (nice document section btw). So thanks for bringing that up.

Re: [Pharo-users] [ANN] (Re)Introducing Mars (Spec 2.0 Gtk3 bindings)

2019-04-19 Thread Cédrick Béler
Doing a web only app is a solution but not the best one to me. And there are ways to update a desktop app, especially if pharo based. Ok for mobile but I think also this deserve specific dev. The holy grail of writing once deploy everywhere is nice but in my limited experience this is more a

Re: [Pharo-users] [ANN] (Re)Introducing Mars (Spec 2.0 Gtk3 bindings)

2019-04-19 Thread Cédrick Béler
> > "Because there is still an important place for desktop applications market > and most medium-size > to big business still require them." > Really? Most things run on browsers these days. > > Why would I need a GTK layer? > (btw, GTK is yet another dependency on a 3rd party package) > In

Re: [Pharo-users] Resolving DNS in-image

2019-03-29 Thread Cédrick Béler
> The core cause of the problems is that the current NameResolver is totally > blocking, especially in failure cases, which gives a terrible experience. > > One way to fix this would be with the concept of NetworkState, a cheap, > reliable, totally non-blocking way to test if the image has a

Re: [Pharo-users] Pharo and FPGA

2019-03-12 Thread Cédrick Béler
> Le 11 mars 2019 à 14:51, Noury Bouraqadi a écrit : > > Hi Norbert, > > The PhD of Sang (in CC) was about FPGA and Smalltalk. > https://lxsang.me/ Really cool, thanks a lot :) > > Noury > >> On 9 Mar 2019, at 15:31, Norbert Hartl wrote: >> >> I’m trying to collect

Re: [Pharo-users] Pharo and FPGA

2019-03-10 Thread Cédrick Béler
www.ensta-bretagne.fr/> - 2 rue François Verny > - 29806 Brest Cedex 9 > > > Le 10 mars 2019 à 09:12, Cédrick Béler <mailto:cdric...@gmail.com>> a écrit : > >> If I remember well, smalltalkers from britany have worked on FPGA design on >> visualwork. I t

Re: [Pharo-users] Pharo and FPGA

2019-03-10 Thread Cédrick Béler
If I remember well, smalltalkers from britany have worked on FPGA design on visualwork. I think there were Loic Lagadec, Alain Plantec and Bernard Pottier. https://www.ensta-bretagne.fr/lagadec/ Maybe they can help here ;-) Cheers, Cedrick > Le 10 mars 2019 à 01:38, Ben Coman a écrit : >

[Pharo-users] Pharo OSX bundle in Mojave - how to sign ? (Was Re: OS X bundle, some progress)

2019-03-09 Thread Cédrick Béler
Hi, I tried a bit more to make DrGeo bundle works. I have Mojave (10.14) and the problem of corrupted files seems to come from Gatekeeper with prevent unsigned applications (from unknot developper) to open. Gatekeeper can be temporary stopped and then the bundle work, even when Gatekeeper is

Re: [Pharo-users] Read and parse maildir (offlineimap) files

2019-03-08 Thread Cédrick Béler
Hi Alistair, This looks like what I’d like to have (parsing emails). I’d better like an IMAP Client but using offlinmap might be an option. Will look at it. Do you have an exemple of milder format files ? Cheers, Cédrick > Le 8 mars 2019 à 15:49, Alistair Grant a écrit : > > Hi

Re: [Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Cédrick Béler
'/foo//' copyWithoutAll: '/' > Le 8 mars 2019 à 12:40, Cédrick Béler a écrit : > > Not sure but I would use ZnUrl > > ZnUrl new > scheme: #http; > host: NetNameResolver loopBackName; > addPathSegments: #('echo' 'foo');

Re: [Pharo-users] The best way to construct a file/url path handling misplaced $/ chars

2019-03-08 Thread Cédrick Béler
Not sure but I would use ZnUrl ZnUrl new scheme: #http; host: NetNameResolver loopBackName; addPathSegments: #('echo' 'foo'); yourself Making sure Path segments do not contain separator… Hth, Cédrick > Le 8 mars 2019 à 12:33,

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
essources). Cheers, Cédrick > > > On Thu, 7 Mar 2019 at 22:53, Cédrick Béler <mailto:cdric...@gmail.com>> wrote: > Hi all, > > I’ve often got the need to analyse some random unstructured text to discover > (structured) information (in email for instance), to extra

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
; has been asked to testify in court on the death of Alberto > Nisman the crusading prosecutor who had accused her of > conspiring to cover up involvement of Iran' > > Cheers, > > Hernán > > El jue., 7 mar. 2019 a las 6:53, Cédrick Béler () > escribió: >> >>

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
exts. Pure text, is nice with tools like those Richard just showed. I continue to play with PetitParser2 today (finishing tutorial…). Cheers, Cédrick > > On 2019-03-07 04:52, Cédrick Béler wrote: >> Hi all, >> >> I’ve often got the need to analyse some random unstructu

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
the > tutorial from the readme you referenced – the example of javascript in HTML > might carry over well enough to your situation. Perfect, Thanks again, Cédrick > > Peter > > From: Pharo-users On Behalf Of Cédrick > Béler > Sent: 07 March 2019 11:20 > To: Any questi

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
> > When you say "unstructured material ... is now a standard pattern in > PetitParser », how could I begin exploring that ? Any tutorials ? I’ll load it and play around. https://github.com/kursjan/petitparser2/blob/master/README.md

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
> >> This also assumes that the items of interest are really structured; there >> could be many ways of writing phone numbers, for instance. > > Phone numbers are actually not easy… I see them as a limited sequence of > number (if not well structure) + eventually the +contrycode). > I’d like

Re: [Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
etitParser », how could I begin exploring that ? Any tutorials ? Thanks Peter, Cédrick > > HTH > > Peter Kenny > > -Original Message- > From: Pharo-users On Behalf Of Cédrick > Béler > Sent: 07 March 2019 09:52 > To: Any question about pharo is welcome

Re: [Pharo-users] Why can't a Bag answer as a dictionary?

2019-03-07 Thread Cédrick Béler
> > #(1 2 3) asDictionary > For this one, I would expect a dictionary with integer keys I see a dictionary as an indexed collection with key that are not only integer (like for an array). 1->1 2->2 3->3 I doubt this would be useful though. My 2 cents, Cédrick

[Pharo-users] Parsing text to discover general data of interest (phone, email, address, ...)

2019-03-07 Thread Cédrick Béler
Hi all, I’ve often got the need to analyse some random unstructured text to discover (structured) information (in email for instance), to extract : - emails - telephone numbers - addresses - events - person names (according to a list of known persons), - etc… Apple do it in email for instance

Re: [Pharo-users] IMAP in Pharo

2019-03-07 Thread Cédrick Béler
> > >> On 6 Mar 2019, at 16:08, Sean P. DeNigris > > wrote: >> >> cedreek wrote >>> Still havent get my head around this FORK/PR cycle but I will for sure one >>> day :) >> >> It took me quite a while to grok. Fork = 'personal remote clone' and: [ PR = >> 'UI

Re: [Pharo-users] IMAP in Pharo

2019-03-06 Thread Cédrick Béler
/PR cycle but I will for sure one day :) I’ll try it for sure btw. Thx, Cédrick > > Cheers, > Vincent > > From: Pharo-users <mailto:pharo-users-boun...@lists.pharo.org>> On Behalf Of Cédrick Béler > Sent: Wednesday, 6 March 2019 10:37 > To: Any question abou

[Pharo-users] IMAP in Pharo

2019-03-06 Thread Cédrick Béler
Hi all, Do you know if IMAP is possible in Pharo ? I havent found any implementation (quick search). I’d like to have it to interact/filter my email. POP3 is not really possible. I think it would be a nice addition and maybe a good GSOC project ? Cheers, Cédrick

Re: [Pharo-users] Mac OS X test [ smaller image ]

2019-02-28 Thread Cédrick Béler
Yes I did so and same result. What is the process to do the bundle ? Cheers, Cedrick > Le 28 févr. 2019 à 20:46, Hilaire a écrit : > > Hi, > > Out of curiosity, among your test, did you try to copy the app in the > Application location? > > Thanks > > Hilaire > >> Le 28/02/2019 à 15:52,

Re: [Pharo-users] RSA and cryptography

2019-01-23 Thread Cédrick Béler
Have you tried ParrotTalk ? But I think it depends on cryptography (?). Maybe better would be NaCl bindings but havent tried and it seems quite old: - https://www.samadhiweb.com/blog/2013.11.13.crypto.html Hth, Cédrick > Le 23 janv. 2019 à 13:55, Norbert Hartl a écrit : > > Is there anyone

Re: [Pharo-users] Discussion on life logger applications (from Geolocalization apps to MicroPub) => Are people interested in porting apps from https://indieweb.org/p3k ?

2018-12-15 Thread Cédrick Béler
n. > > Roelof > > Op 15-12-2018 om 12:51 schreef Cédrick Béler: >> Hi all, >> >> I was looking for iOS geolocalization app on GitHub and found Overland from >> Aaron Parecki. >> https://github.com/aaronpk?tab=repositories >> <https://github.co

Re: [Pharo-users] Discussion on life logger applications (from Geolocalization apps to MicroPub) => Are people interested in porting apps from https://indieweb.org/p3k ?

2018-12-15 Thread Cédrick Béler
>> >> *** Do people know if we have implementations out there of the >> micropub/microformat tools ? > > Not that I know of, but I quickly skimmed the spec above and as far as I can > see, all the building blocks are there in Pharo (Zinc,NeoJSON). Should make > for a nice and useful project.

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Cédrick Béler
Interesting. I’m interested with such tools too. I ask students to do gps point collection from mobile (Cordova) and process them in pharo to detect if they enter known places. I wonder if a proper gps point class would be useful. I’d like to record also the precision. Cheers, Cedrick

Re: [Pharo-users] Unable to compile myself Pharo

2018-11-28 Thread Cédrick Béler
Hi Alexandre, Do you really want to « bootstrap » an image ? You don’t need to (just use an official image). Try here, either through the launcher or the curl command line: https://pharo.org/download (Linux for thé launcher or at the end of the page from the command line. HTH, Cedrick

[Pharo-users] VW2Pharo ? (Was: Pharo2VW (Was:[vwnc] Parsing in Smalltalk))

2018-11-14 Thread Cédrick Béler
> Objet: Rép : [Pharo-users] Pharo2VW (Was:[vwnc] Parsing in Smalltalk) > >> I really like the tool as it makes cross-platform-life a lot easier. > > Thanks :-) > >> I really wish there was a similar tool for the reverse direction, too! > > That is interesting. Anyone else interested in such

Re: [Pharo-users] Iceberg + BaselinOf + Metacello - how to manage interdependencies ?

2018-11-14 Thread Cédrick Béler
Hello, Thank you Sean :) >> So is it possible to define such constraints ? > > IIUC you could use #onConflict: and be more specific in the block as to > allow only the specific case you mentioned, but I think the more common > approach is to use the Metacello API to "lock" NeoJSON to the

Re: [Pharo-users] Iceberg + BaselinOf + Metacello - how to manage interdependencies ?

2018-11-13 Thread Cédrick Béler
Nobody knows ? I probably do/ask something wrong… My impression is that it is very difficult for a newcomer to get into Iceberg/Github (I tried to avoid GIT as much as possible and I understand why now ^_^)… but still it’s a great tool. Just not that easy to "master" (there are several

[Pharo-users] Iceberg + BaselinOf + Metacello - how to manage interdependencies ?

2018-11-12 Thread Cédrick Béler
Hi all, I’m trying to declare a BaselinOf to load lots of Packages. My aim is to have a kind of distribution (so students don’t have to load packages). I’m new to Iceberg + BaselinOf + Metacello. I target only P7. Let's say I want to load Teapot and NeoJSON (development version). Teapot depends

Re: [Pharo-users] Metacello baseline loading from cmd

2018-11-12 Thread Cédrick Béler
Hi Vitor, > Le 12 nov. 2018 à 19:53, Vitor Medina Cruz a écrit : > > Hello, > > How do I load a baseline located at disk? I tried inside > /home/vitormcruz/testpharo/: > > ./pharo Pharo.image eval "Metacello new baseline: 'Employees'; repository: > 'filetree://employees/pharo'; load:

Re: [Pharo-users] New convenience method: ZnClient>>forJsonREST

2018-11-07 Thread Cédrick Béler
You’re (one of) my heroes ! Thanks Sven a lot for all your great contributions ! Cédrick Side note: perfect late binding information for the lecture I do tomorrow with Pharo where I show students client server interaction with ZnClient, ZnServer … ^_^ > Le 7 nov. 2018 à 17:36, Sven Van

[Pharo-users] XMLHTTPParser - Highlighting error when inspecting a parsed XML/HTML in P7

2018-10-27 Thread Cédrick Béler
Hi, When loading XMLParserHTTP, I have an error when trying to inspect a parsed stream. It complains about SHTextStylerST80 being absent. Changing SHTextStylerST80 to SHRBTextStyler fix it. But I guess it will only work in Pharo 7, not 6 ? I include the filet of the method (couldn’t publish

[Pharo-users] Internet of Things in Smalltalk - meeting proposal

2018-09-10 Thread Cédrick Béler
Hi, We will have a meeting Tuesday afternoon on IoT at esug. More info later to see how we organize that. Should be after « show us your project » around 5 or 6 am. More info later especially on where the meeting will take place (might be around the beach). See you later for those

[Pharo-users] Camp Smalltalk Sunday in Cagliari

2018-09-08 Thread Cédrick Béler
Hi all, Just to inform that a Camp Smalltalk will be at the terrace of the Caffè delle Arti starting at 10am. Caffè delle Arti Via del Fossario, 1, 09124 Cagliari CA, Italie +39 392 396 3958 https://goo.gl/maps/WMRhdSCeZL62 Feel free to join

Re: [Pharo-users] a basic hash question

2018-07-30 Thread Cédrick Béler
But it raises the question if : (1 to:4)hash = #(1 2 3 4)hash should return true instead ?? Cedrick > Le 30 juil. 2018 à 14:51, Cédrick Béler a écrit : > > Just a quick guess seeing the implementation > > hash for collections is about hash of its elements > >

Re: [Pharo-users] a basic hash question

2018-07-30 Thread Cédrick Béler
Just a quick guess seeing the implementation hash for collections is about hash of its elements SequencableCollection>>hasEqualElements: otherCollection "Answer whether the receiver's size is the same as otherCollection's size, and each of the receiver's elements equal the

Re: [Pharo-users] MJpeg and ZdcSocketStream>>upToAll:limit: DNU

2018-07-04 Thread Cédrick Béler
I published the small changes on Richard repo. Cheers, Cédrick > Le 4 juil. 2018 à 16:30, Cédrick Béler a écrit : > > Worked like a charm ;) > > > > Still some windows problem I guess: blue line. But cool :) > > Any idea on how to get ZdcSocketStream

Re: [Pharo-users] StCAD is open source

2018-06-26 Thread Cédrick Béler
Excellent ! (BTW, I have problem opening your website). It will be hard to port to pharo ? The main difficulty is to have an equivalent for GF/ST 2D ? Cheers, Cedrick > Le 25 juin 2018 à 21:05, Hilaire a écrit : > > Impressive! > > Hilaire > > >> Le 25/06/2018 à 02:05, askoh a écrit :

Re: [Pharo-users] Workflow aka Aare status?

2018-06-23 Thread Cédrick Béler
>> >> >>> it’s was mainly about the removal of Omnibase dependancies)… and >>> generating Seaside web UI (through Magritte) we do not have that anymore. > > It was not really a choice. Netstyle submitted it that way I guess. And what we did was mainly to remove remaining trace of these

Re: [Pharo-users] Workflow aka Aare status?

2018-06-23 Thread Cédrick Béler
> Le 23 juin 2018 à 15:50, Sean P. DeNigris a écrit : > > cedreek wrote >> it’s was mainly about the removal of Omnibase dependancies)… and >> generating Seaside web UI (through Magritte) we do not have that anymore. It was not really a choice. Netstyle submitted it that way I guess. Still

Re: [Pharo-users] Workflow aka Aare status?

2018-06-23 Thread Cédrick Béler
Hi Paul, I did nothing more since what was discussed in this thread. This is still something I’m interested in but it’s not a priority at the moment. The work done since Max published it was to make it work (it’s was mainly about the removal of Omnibase dependancies). BTW, removing was « easy

Re: [Pharo-users] On UDP broadcast

2018-05-21 Thread Cédrick Béler
Noury did. He sent that on the other thread : « Just want to point that I did some work late 2017 on UDP sockets including multicast and broadcast. The package named 'NetworkExtras' is part of the ReusableBricks repo of my team. http://smalltalkhub.com/#!/~CAR/ReusableBricks It has some

Re: [Pharo-users] How to LAN feature

2018-05-14 Thread Cédrick Béler
Might be in cmd: ipconfig /all Cédrick > Le 14 mai 2018 à 16:56, Hilaire a écrit : > > No idea about what it is. > > >> Le 14/05/2018 à 15:03, Sean P. DeNigris a écrit : >> HilaireFernandes wrote >>> I need a strategy that will work on Windows too >> I assume you know

Re: [Pharo-users] How to LAN feature

2018-05-08 Thread Cédrick Béler
Hi, FYI, Noury did this package (Network-Extra). I will test for my lecture. It has UDP Multicast/broadcast and may help for the discovery phase (I’m interested in that either). He said that about it: - UDP support : mutlicast + broadcast - fragment a (large) data et assemble it over UDP -la

  1   2   >