Re: [Pharo-users] Diacritics in github

2020-07-13 Thread Alistair Grant
load > > Cheers, > > Hernán > > > > El lun., 13 jul. 2020 a las 10:19, Alistair Grant () > escribió: >> >> Hi All, >> >> Is anyone aware of a port of Diacritics from smalltalkhub to github? >> >> MCSmalltalkhubRepository >>

[Pharo-users] Diacritics in github

2020-07-13 Thread Alistair Grant
Hi All, Is anyone aware of a port of Diacritics from smalltalkhub to github? MCSmalltalkhubRepository owner: 'hernan' project: 'Diacritics' user: '' password: '' I'm way behind in reading the pharo lists, but I couldn't find any reference to this. If not, I'll try and make a por

Re: [Pharo-users] Unicode migration from SmalltalkHub to Github

2020-04-01 Thread Alistair Grant
0 at 12:14, Sven Van Caekenberghe wrote: > > Please do, great initiative. > > > On 1 Apr 2020, at 11:57, Alistair Grant wrote: > > > > Hi Sven and All, > > > > We have a need to migrate the Unicode library > > (http://smalltalkhub.com/#!/~Pharo/Unico

[Pharo-users] Unicode migration from SmalltalkHub to Github

2020-04-01 Thread Alistair Grant
Hi Sven and All, We have a need to migrate the Unicode library (http://smalltalkhub.com/#!/~Pharo/Unicode) to github (for our release tagging process). I've imported the code, with full history, in to: https://github.com/feenkcom/pharo-unicode If there's no suggestions / objections, I'll request

Re: [Pharo-users] uFFI: Debugging "External module not found" Error

2019-12-03 Thread Alistair Grant
Hi Sean, On Tue, 3 Dec 2019 at 17:26, Sean P. DeNigris wrote: > > I was trying to get Pharo-LibVLC working on Mac. The following is copied from > a GH issue[1]: > > > I have VLC installed via Homebrew cask, the formula for which simply > > installs the dmg. I > > first tried supplying a full path

Re: [Pharo-users] Deploy a Pharo 8 application remotely

2019-10-10 Thread Alistair Grant
Hi Sergio, On Thu, 10 Oct 2019 at 20:14, sergio ruiz wrote: > > Hey, all.. > > I put together a quick REST interface to use internally here. > > It’s ready to launch to a production server, and I’m not sure how to set it > up on the remote server. > > The current zeroconf downloads and sets up a

Re: [Pharo-users] TelePharo / Seamless Bitmaps are all 0s

2019-05-25 Thread Alistair Grant
Hi Denis, On Thu, 16 May 2019 at 19:17, Denis Kudriashov wrote: > > Hi Alistair > > ср, 15 мая 2019 г. в 10:11, Alistair Grant : >> >> Hi Denis, >> >> On Wed, 15 May 2019 at 10:16, Denis Kudriashov wrote: >> > >> > Hi Alistair >>

Re: [Pharo-users] TelePharo / Seamless Bitmaps are all 0s

2019-05-15 Thread Alistair Grant
sn't seem to require any special processing. I can add a simple test and submit a PR (in a few days time) if the change sounds OK to you. Thanks, Alistair > ср, 15 мая 2019 г., 8:49 Alistair Grant : >> >> Hi Denis, >> >> If I print: >> >> remotePha

[Pharo-users] TelePharo / Seamless Bitmaps are all 0s

2019-05-15 Thread Alistair Grant
Hi Denis, If I print: remotePharo evaluate: [ Array withAll: #(42 42 42) ] "==> #(42 42 42)" which is obviously correct, but: remotePharo evaluate: [ Bitmap withAll: #(42 42 42) ] gives me a bitmap with all zeroes (running it locally does the expected thing). I can see that the bitmap is bein

Re: [Pharo-users] TelePharo breaks Calypso tabs

2019-05-14 Thread Alistair Grant
вт, 14 мая 2019 г., 7:54 Alistair Grant : >> >> Hi Dennis & Everyone, >> >> I'm just starting to play with TelePharo - it's really impressive. >> >> However loading either the server or client in Pharo 7 or Pharo 8 >> breaks Calypso so that I can no

[Pharo-users] TelePharo breaks Calypso tabs

2019-05-13 Thread Alistair Grant
Hi Dennis & Everyone, I'm just starting to play with TelePharo - it's really impressive. However loading either the server or client in Pharo 7 or Pharo 8 breaks Calypso so that I can no longer click on tabs to move between the Comment, Class Definition or methods. Is this a known issue? And is

Re: [Pharo-users] how to -- buffered read / write to stdio

2019-03-27 Thread Alistair Grant
Hi Isaac, On Wed, 27 Mar 2019 at 17:18, Isaac Gouy via Pharo-users wrote: > > From — "Pharo 7 file streams guideline" > > https://github.com/pavel-krivanek/pharoMaterials/blob/master/Filestreams.MD > > > I have some ideas like — > >in := ZnFastLineReader on: (ZnCharacterReadStream on: S

Re: [Pharo-users] eval from the linux commandline

2019-03-25 Thread Alistair Grant
On Mon, 25 Mar 2019 at 10:36, Steve Quezadas wrote: > > is it part of the base image? It's not listed in spotter. I also checked the > packages for something beginning with Clap and it's not there either. > > I am also running linux, so "eval" is not an option in my commandline. $ curl get.pharo

Re: [Pharo-users] eval from the linux commandline

2019-03-25 Thread Alistair Grant
ould have added "in Pharo 8". > I am also running linux, so "eval" is not an option in my commandline. > I run Linux (Ubuntu 16.04), eval should work fine (but I'm not at my PC at the moment to produce an example). > On Sun, Mar 24, 2019 at 12:06 PM Alistair Gr

Re: [Pharo-users] eval from the linux commandline

2019-03-24 Thread Alistair Grant
On Sun, 24 Mar 2019 at 00:54, test email wrote: > > i need to eval an object from my linux commandline. I understand that clap-st > is able to do this, but I can't seem to import it into pharo7, I suppose > because of compatability reasons. Clap is now part of the base image, so you should be a

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

2019-03-08 Thread Alistair Grant
er format files ? Attached is the email you sent. I found https://github.com/codeZeilen/SMailDir but it is written for Squeak and doesn't load cleanly in Pharo (I haven't actually done anything with it yet). Cheers, Alistair > > Le 8 mars 2019 à 15:49, Alistair Grant a écrit :

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

2019-03-08 Thread Alistair Grant
Hi Everyone, I'd like to be able to parse and read the mail files as saved by offlineimap, i.e. in maildir format (one message per file). Does anyone know of any existing libraries in Pharo? Thanks very much, Alistair

Re: [Pharo-users] Fail on condense when image name is drgeo.image

2019-03-05 Thread Alistair Grant
On Tue, 5 Mar 2019 at 22:11, Alistair Grant wrote: > > Hi Hilaire, > > On Tue, 5 Mar 2019 at 21:16, Hilaire wrote: > > > > Alistair, > > > > I checked, the error shows under this specific situation I described in > > my previous email. > &g

Re: [Pharo-users] Fail on condense when image name is drgeo.image

2019-03-05 Thread Alistair Grant
Hi Hilaire, On Tue, 5 Mar 2019 at 21:16, Hilaire wrote: > > Alistair, > > I checked, the error shows under this specific situation I described in > my previous email. I figured out the environment that caused the primtiveFailure and can see how my modified code avoids the issue. > Yes, your co

Re: [Pharo-users] Fail on condense when image name is drgeo.image

2019-03-05 Thread Alistair Grant
Hi Hilaire, On Tue, 5 Mar 2019 at 15:09, HilaireFernandes wrote: > > The problem seems to happen when there is the following conditions, in the > folder containing the image: > > - there is a drgeo file, in my situation it is a link to the DrGeo > repository > - the image name is drgeo.image, ...

Re: [Pharo-users] Fail on condense when image name is drgeo.image

2019-03-04 Thread Alistair Grant
Hi Hilaire, On Mon, 4 Mar 2019 at 22:18, Hilaire wrote: > > Hi, > > When I use the stable P7, drgeo build fails. > > There is an obscure error in File>>nextVersion, with negative index > which are not catch, although it looks like it should be. > > This same build was working on alpha P7 of June.

Re: [Pharo-users] OS X bundle, some progress

2019-03-03 Thread Alistair Grant
Hi Hilaire, On Sun, 3 Mar 2019 at 09:31, Hilaire wrote: > > One useful information will be to know where stdout file is created by > default? > > VM, image, home, folder, ... On linux and MacOS the three stdio streams exist for every process: stdin, stdout & stderr. If you're starting a process

Re: [Pharo-users] OSProcess / OSSubprocess / LibC uniqueInstance

2019-02-19 Thread Alistair Grant
On Tue, 19 Feb 2019 at 13:45, Albrecht Baur via Pharo-users wrote: > > Thank you. > > The Metacello snippet helps. It loads a newer version than that from the > catalog browser. > > > But 2 more questions: > > 1.: Is there a reason not to use just ... > > LibC uniqueInstance system: 'zip -r 123.z

Re: [Pharo-users] Working VM for OS X for Pharo 7

2019-02-17 Thread Alistair Grant
or including libgit2. For libssh2 I believe it was to ensure that certain options had been compiled in, maybe this is the same? Cheers, Alistair > Best, > > Hilaire > > Le 14/02/2019 à 10:33, Alistair Grant a écrit : > > On Linux it is almost always: > > > > - A

Re: [Pharo-users] Streams for FileReference in Pharo 7

2019-02-16 Thread Alistair Grant
On Sat, 16 Feb 2019 at 15:49, Sven Van Caekenberghe wrote: > > > On 16 Feb 2019, at 14:35, Alistair Grant wrote: > > > > Hi Sven & Jan, > > > > On Fri, 15 Feb 2019 at 10:25, Sven Van Caekenberghe wrote: > >> > >> Hi Jan, > >> &g

Re: [Pharo-users] Streams for FileReference in Pharo 7

2019-02-16 Thread Alistair Grant
Hi Sven & Jan, On Fri, 15 Feb 2019 at 10:25, Sven Van Caekenberghe wrote: > > Hi Jan, > > I like #<< too, but I think your assumption that it can print anything on a > stream is generally wrong, dangerous and unreliable. > > IMHO, you better stick to #print: in that case. > > Consider the follow

Re: [Pharo-users] Working VM for OS X for Pharo 7

2019-02-14 Thread Alistair Grant
On Thu., 14 Feb. 2019, 10:07 Hilaire, wrote: > Hopefully I may have access to a mac tomorrow to test your request, or > it will be in 10 days. > > On the other hand, is not libgit integrated in the VM, so I don't > understand how it can be related to system update? Or is libgit a > binding to a s

Re: [Pharo-users] Working VM for OS X for Pharo 7

2019-02-14 Thread Alistair Grant
Hi Hilaire, On Thu, 14 Feb 2019 at 09:09, Hilaire wrote: > > Hi, > > Where is it possible to get a working OS X VM for Pharo7 ? > > Accoring to my test, the VM linked at http://pharo.org/download as error > with a libgit plugin (same for linux VM btw) I've been using both the stable and latest V

Re: [Pharo-users] pathSegments of workingDirectory?

2019-02-13 Thread Alistair Grant
Hi David & Sven, On Thu, 14 Feb 2019 at 07:46, Sven Van Caekenberghe wrote: > > David, > > > On 14 Feb 2019, at 03:56, David Richards > > wrote: > > > > Hi community, > > > > Consider: > > > > | file | > > file := FileLocator workingDirectory . > > file fullName . > > "==> '/Users/dr/Documents/

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-07 Thread Alistair Grant
ere "forever" (2010 or earlier) and has only just been reported. I expect that we'll eventually update the Pharo 7 VM anyway, and this can probably wait until then. Pharo 8 can wait as well, for the same reasons. Cheers, Alistair > > On 7 Feb 2019, at 09:23, Alistair Gr

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-07 Thread Alistair Grant
On Thu, 7 Feb 2019 at 09:08, Albrecht Baur wrote: > > Hi Alistair, > > I have tested it and works with the latest VM. Great, thanks for the confirmation. Cheers, Alistair > thanks, > > Albrecht > > On 07.02.19 07:56, Alistair Grant wrote: > > Hi Albrecht, &g

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-06 Thread Alistair Grant
works with Pharo 7 images. Thanks, Alistair > On 06.02.19 09:34, Alistair Grant wrote: > > Hi Albrecht, > > > > On Tue, 5 Feb 2019 at 15:26, Albrecht Baur > > wrote: > >> Hi Alistair, > >> > >> here the system report output: > >>

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-06 Thread Alistair Grant
Hi Albrecht, On Tue, 5 Feb 2019 at 15:26, Albrecht Baur wrote: > > Hi Alistair, > > here the system report output: > > ... Thanks for the info. Please see: Issue: https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/368 PR: https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/371 Assumi

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-05 Thread Alistair Grant
Hi Albrecht, On Fri, 1 Feb 2019 at 19:50, Albrecht Baur via Pharo-users wrote: > > I get a DirectoryIsNotEmpty exception on > FileReference(AbstractFileReference)>>deleteAll. Would you please confirm which version of the VM and Pharo you're using? (copy the output of System -> System Reporter d

Re: [Pharo-users] Why DirectoryIsNotEmpty on FileReference>>deleteAll ?

2019-02-02 Thread Alistair Grant
Hi Albrecht, On Fri, 1 Feb 2019 at 19:50, Albrecht Baur via Pharo-users wrote: > > I get a DirectoryIsNotEmpty exception on > FileReference(AbstractFileReference)>>deleteAll. > > But deleteAll is supposed to delete children too. -> So why the exception ? This is a bug in the FilePlugin. When de

Re: [Pharo-users] PharoV50.sources in VM?

2019-02-02 Thread Alistair Grant
impact of this would be, so would prefer others to comment. > Hilaire > > Le 02/02/2019 à 09:01, Alistair Grant a écrit : > > I can't see any reason for keeping this. The sources file is now > > generated for each image, so it doesn't make sense to distribute it >

Re: [Pharo-users] PharoV50.sources in VM?

2019-02-02 Thread Alistair Grant
Hi Hilaire, On Fri, 1 Feb 2019 at 21:38, Hilaire wrote: > > Hi, > > In the Linux distributed VM, I noted the file > lib/pharo/5./PharoV50.sources. > > Can it be removed safely? What is its purpose? I can't see any reason for keeping this. The sources file is now generated for each image, so

[Pharo-users] Linux ARM v6 libgit2 libssh2 libsdl2

2019-01-02 Thread Alistair Grant
Hi All, Downloading and installing the Pharo 7 vmLatest on a Raspberry Pi succeeds, but is missing libgit2, libssh2 & libsdl2. The build scripts suggest this is intentional due to excessive build times, which is quite believable. Is there a place where the libraries can be downloaded from and dr

Re: [Pharo-users] [Pharo-dev] New book: Pharo with Style

2019-01-01 Thread Alistair Grant via Pharo-users
--- Begin Message --- Hi Richard, On Tue, 1 Jan 2019 at 07:26, Richard O'Keefe wrote: > > ... > > To get an example, I did (String allSelectors atRandom), getting > #copyWithoutAll:. That has only one definition, in Collection: >copyWithoutAll: aCollection > "Answer a copy of the receiver th

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

2018-12-27 Thread Alistair Grant
mework for > Pharo/Squeak/WhateverSmalltalk. If I missed it, let me know guys!! I'm > not a big fan of reinventing the wheel!! Ditto. Cheers, Alistair > On 2018-12-19 02:32, Alistair Grant wrote: > > Hi All, > > > > If anyone is interested, I've created the b

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

2018-12-18 Thread Alistair Grant
Hi All, If anyone is interested, I've created the beginnings of a library for handling coordinates at: https://github.com/akgrant43/GeoSphere It only: - Parses string coordinates - Calculates the distance between coordinates - Opens a web browser in OpenStreetMap at the receiver's coordinates E

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

2018-12-06 Thread Alistair Grant
Hi Pierce, On Thu, 6 Dec 2018 at 03:38, Pierce Ng wrote: > > On Wed, Dec 05, 2018 at 07:34:35AM +, Alistair Grant wrote: > > I'm not doing any database work at the moment (storing results in STON > > files for now), but will also add the links to the class comments.

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

2018-12-06 Thread Alistair Grant
Hi Sven, On Wed, 5 Dec 2018 at 16:08, Sven Van Caekenberghe wrote: > > Alistair, > > I found this page really useful > http://www.movable-type.co.uk/scripts/latlong.html Thanks! That will definitely save me some time. And I used to own a TRS-80 clone. :-) Cheers, Alistair

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

2018-12-04 Thread Alistair Grant
Hi Pierce & Richard, Thanks for your replies. On Wed, Dec 05, 2018 at 10:24:18AM +0800, Pierce Ng wrote: > On Tue, Dec 04, 2018 at 10:21:20AM +0100, Alistair Grant wrote: > > Does anyone know of a library for processing GPS coordinates? > > > > What I'

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

2018-12-04 Thread Alistair Grant
Hi Sven, On Tue, 4 Dec 2018 at 11:04, Sven Van Caekenberghe wrote: > > Hi Alistair, > > > On 4 Dec 2018, at 10:21, Alistair Grant wrote: > > > > Hi, > > > > Does anyone know of a library for processing GPS coordinates? > > > > What I'm

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

2018-12-04 Thread Alistair Grant
wrote: > > Hi Alistair, > > > On 4 Dec 2018, at 10:21, Alistair Grant wrote: > > > > Hi, > > > > Does anyone know of a library for processing GPS coordinates? > > > > What I'm looking for are things like: > > > > - Par

[Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Alistair Grant
Hi, Does anyone know of a library for processing GPS coordinates? What I'm looking for are things like: - Parsing from and printing to various string formats (HMS, NESW, decimal) - Distance between two points - etc. Thanks, Alistair

Re: [Pharo-users] UFFI and opaque(ish) types

2018-12-03 Thread Alistair Grant
Hi Ben and Phil, Thanks for your replies. On Sun, Dec 02, 2018 at 10:53:11PM +0800, Ben Coman wrote: > One option could be to create a small shared library that you compile for each > platform that just exported the member offsets... > https://www.embedded.com/design/prototyping-and-development/

Re: [Pharo-users] UFFI and opaque(ish) types

2018-12-02 Thread Alistair Grant
.package/StropheLib.class/class/initializeTypeMap.st > > HTH > Phil > > > Yes, as he says/shows :) > > Esteban > On Fri, Nov 30, 2018 at 2:39 PM Alistair Grant wrote: >> >> How are opaque(ish) types normally handled in UFFI (or FFI)? >> >> E.g. if I wan

[Pharo-users] UFFI and opaque(ish) types

2018-11-30 Thread Alistair Grant
How are opaque(ish) types normally handled in UFFI (or FFI)? E.g. if I want to use libstuff which defines the following structure: struct stuffstruct { typeA a; typeB b; } stufftype; I might know they're integers, but not the size, signed vs. unsigned, etc. The definitions of typeA

Re: [Pharo-users] Commit dates when migrating repos to github

2018-11-21 Thread Alistair Grant
On Wed, 21 Nov 2018 at 16:31, Ben Coman via Pharo-users wrote: > > > > On Wed, 21 Nov 2018 at 22:22, nacho <0800na...@gmail.com> wrote: >> >> do you know of some resources, tutorial or documentaton I can read to learn >> how to use Iceberg? >> I'm completely lost. >> thanks >> Nacho > > > How fami

Re: [Pharo-users] Issue with starting 32-bit Pharo under Linux

2018-11-17 Thread Alistair Grant
On Sun, 18 Nov 2018 at 04:55, horrido wrote: > > I just discovered why! I have to run the bloody thing as root! Why the hell > is that??? Just a guess: do you have write access to the image directory? Cheers, Alistair

Re: [Pharo-users] Pharo on Linux

2018-11-17 Thread Alistair Grant
Hi Richard, You're mixing 32 bit and 64 bit installations. I'd just use the zero-conf install. In an empty directory: curl get.pharo.org/64/61+vm | bash or wget -O - get.pharo.org/64/61+vm | bash HTH, Alistair On Sat, 17 Nov 2018 at 21:32, Richard Kenneth Eng wrote: > > I'm running Debian.

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo v7.0.0-rc1 released!

2018-11-14 Thread Alistair Grant
Hi Hans, On Wed, 14 Nov 2018 at 15:50, Baveco, Hans wrote: > > On windows 7 the 32bits version opens with an error: “PrimitiveFailed: > primitive #fileDescriptorType: in File class failed.” > > When discarding the error and saving & quitting the image, subsequent > startups (via the launcher)

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo v7.0.0-rc1 released!

2018-11-14 Thread Alistair Grant
Hi Vitor, On Wed, 14 Nov 2018 at 14:37, Vitor Medina Cruz wrote: > > Got instant red crossed welcome window on windows 7 64bits with the Pharo 7 > 64 bits: "Error: Instances of SourceFileArray are not indexable". I will try > on a windows 10 version later. Which VM are you using? (pharoconsole

Re: [Pharo-users] what must be instead of the ??

2018-11-09 Thread Alistair Grant
Hi Peter, On Fri, 9 Nov 2018 at 19:00, Alistair Grant wrote: > > Hi Peter, > > On Fri, 9 Nov 2018 at 18:51, Peter Uhnak wrote: > >> > >> but how do I find now the answer do I have to do something like puzzle1 > >> stepChanges detectIndex ? > >

Re: [Pharo-users] what must be instead of the ??

2018-11-09 Thread Alistair Grant
Hi Peter, On Fri, 9 Nov 2018 at 18:51, Peter Uhnak wrote: >> >> but how do I find now the answer do I have to do something like puzzle1 >> stepChanges detectIndex ? > > > How do you mean? It would be the same > > santaFloorOnBasement > "calculates which step take Santa to the basement" >

Re: [Pharo-users] what must be instead of the ??

2018-11-09 Thread Alistair Grant
On Fri, 9 Nov 2018 at 18:38, Gabriel Cotelli wrote: > > It's bug in the collect: implementation used in String. I've opened > https://pharo.fogbugz.com/f/cases/22652/collect-over-Strings-is-broken Strings store characters, not integers, so change your example to: 'aa' collect: [ :a | $1 ] and

Re: [Pharo-users] git repos cloned into unexpected directory

2018-11-02 Thread Alistair Grant
Hi Arturo, On Fri, 2 Nov 2018 at 12:49, Arturo Zambrano wrote: > > Hi! > I'm getting the following strange behavior using Iceberg in Pharo7 . > > My setup is like this: > - Using Pharo Launcher > - have several images > > I notice that when I clone a repository it is correctly downloaded into >

Re: [Pharo-users] Installing SmaCC

2018-10-17 Thread Alistair Grant
Hi Dimitris, As someone currently learning to use Slang (i.e. not an expert), I've added my 2c below... On Wed, 17 Oct 2018 at 11:06, Dimitris Chloupis wrote: > > Thierry you have done it !!! you just gave a very easy solution to my > problems. > > Yeap Slang is quite close to what I am thinkin

Re: [Pharo-users] Dictionary and Date as keys

2018-10-16 Thread Alistair Grant
Hi Petr, On Tue, 16 Oct 2018 at 21:25, Petr Fischer via Pharo-users wrote: > > My problem - use Dates as Dictionary keys - shortly: > > d1 := Date today translateToUTC. > d2 := Date today. > > d1 = d2. (true!) Which timezone are you in? CEDT (UTC+0200) gives false for this. Date is implemented

Re: [Pharo-users] GlorpSQLite Github release management

2018-10-11 Thread Alistair Grant
Hi Pierce, On Fri, 12 Oct 2018 at 06:21, Pierce Ng wrote: > > Hi all, > > So GlorpSQLite works on Pharo 5 and 6, but not yet on Pharo 7. I've been using GlorpSQLite in Pharo 7 since development started. It is loaded from another package's baseline as: spec baseline: 'GlorpSQLite' with: [

Re: [Pharo-users] http://pharo.org/download | Pharo7 standalone?

2018-10-04 Thread Alistair Grant
Hi Hannes, It depends a bit on the platform. For linux 64 bit: curl get.pharo.org/64/70+vm | bash HTH, Alistair On Fri, 5 Oct 2018 at 01:28, H. Hirzel wrote: > > Hello > > The Pharo download page http://pharo.org/download offers the Pharo > launcher with various images and a Pharo6.1 standalo

Re: [Pharo-users] GTDocument how to

2018-09-29 Thread Alistair Grant
Hi Hilaire, This looks like you have an old VM. If you get the current stable VM it should be fine. The current Pharo 6 & 7 VMs are both dated 28 June 2018. Cheers, Alistair On Sat, 29 Sep 2018 at 19:11, Hilaire wrote: > > Nice! > > I got issue when installing GToolkit on P7. May be the VM is

Re: [Pharo-users] [Pharo-dev] [ANN] Migrated Artefact to GitHub

2018-09-27 Thread Alistair Grant
Hi Guille, I wasn't aware this existed - thanks for letting us know! Cheers, Alistair On Thu, 27 Sep 2018 at 15:41, Norbert Hartl wrote: > > Super! Thanks > > Norbert > > Am 27.09.2018 um 11:26 schrieb Guillermo Polito : > > Hi all, > > I've moved the Artefact library to GitHub > (https://git

Re: [Pharo-users] Periodic long GC's when just coding in newer Pharo 7's?

2018-09-07 Thread Alistair Grant
Hi Tim, On Fri, 7 Sep 2018 at 18:02, Tim Mackinnon wrote: > > I thought I would mention this as its something I’ve only just started to > notice… when doing some brief coding sessions (as in, each day I unsuspend my > laptop and code for 30-40 minutes - to write some missing tests) - I have >

Re: [Pharo-users] Pharo 6 snap package

2018-08-24 Thread Alistair Grant
racted me to snaps originally, I use sqlite in my daily environment, so included it in the Pharo snap. > I am also looking forward to Guille's answer. +1. Cheers, Alistair > Regards > Hannes > > On 8/23/18, Alistair Grant wrote: > > Hi Hannes, > > > > On W

Re: [Pharo-users] Pharo 6 snap package

2018-08-23 Thread Alistair Grant
Hi Hannes, On Wed, 22 Aug 2018 at 17:20, H. Hirzel wrote: > > Hello > > Are there plans to do a Pharo 6.1 snap package in the upcoming > months? (Ubuntu 18.04.1) I haven't been thinking about it really, because: - The big attraction for me was the ability to easily run 32 bit Pharo on a 64 bit

Re: [Pharo-users] [Vm-dev] Pharo 6.1 installation problem on Ubuntu 18.04.1 Bionic Beaver

2018-08-22 Thread Alistair Grant
Hi Hannes, On Wed, 22 Aug 2018 at 18:48, H. Hirzel wrote: > > > Hello > > I'd like to install Pharo 6.1 in a new installation of > > Ubuntu 18.04.1 Bionic Beaver [1] > > I get a message > > ./pharo-ui > Error. Could not determine platform's libc path for VM. > Try forcing $PLATFORMLIBDIR in /ho

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-24 Thread Alistair Grant
On Tue., 24 Jul. 2018, 10:13 Sven Van Caekenberghe, wrote: > > > > On 23 Jul 2018, at 12:07, Sven Van Caekenberghe wrote: > > > > Stdio stdout and friends just return a binary stream, hence they need > wrapping for encoding. > > > > Maybe > > > > Stdio stdoutAsText > > > > might be an idea, but

Re: [Pharo-users] Pharo 7 file streams guideline

2018-07-23 Thread Alistair Grant
Hi Pavel & Sven, Thanks for writing this, it is a great quick reference. On Mon, 23 Jul 2018 at 12:08, Sven Van Caekenberghe wrote: > > > > > On 23 Jul 2018, at 11:13, Ben Coman wrote: > > > > I like all the new code examples until "Write a UTF-8 text to STDOUT" > > and I wonder "Stdio stdout

[Pharo-users] EXIF / JPEG metadata

2018-06-24 Thread Alistair Grant
Hi Everyone, As far as I can tell, JPEGReadWriter in Pharo 7 doesn't read (or write) the image metadata, e.g. title, keywords, exposure time, etc. Is anyone aware of a package that does? Thanks! Alistair

Re: [Pharo-users] Strange Result - OmniBase bug or Date feature?

2018-06-23 Thread Alistair Grant
Hi Peter, On Sat, 23 Jun 2018 at 17:47, PBKResearch wrote: > > Hello All > > > > I am experimenting with the version of OmniBase which Esteban Lorenzano > posted a few days ago. With corrections posted by Matias Moretto, who is > working on the same track, I have got the first five tests all gr

Re: [Pharo-users] reading from a named pipe in Pharo

2018-05-06 Thread Alistair Grant
Hi Siemen & Mariano, On 5 May 2018 at 16:26, Mariano Martinez Peck wrote: > Hi Siemen, > > You may want to check the pipe support code in OSSubprocess [1]. Note that > the pipes should work outside of OSSubprocess. You can read the > documentation as well as the unit tests for the pipes. > > Chee

Re: [Pharo-users] Where do we go now ?

2018-04-13 Thread Alistair Grant
On 13 April 2018 at 11:04, Sven Van Caekenberghe wrote: > > >> On 13 Apr 2018, at 08:43, p...@highoctane.be wrote: >> >> I consider Pharo 7 as a great piece of kit but unusable for my current work. >> There are many new things to learn in there. When is too much too much? >> Also, simplification

Re: [Pharo-users] IdentityDictionary reset

2018-04-09 Thread Alistair Grant
Hi Dario, On 9 April 2018 at 10:00, Trussardi Dario Romano wrote: > Ciao, > > in the Pharo 4.0 image i have a IdentityDictionary with ten items. > > Now when i reset the dictionary the system behaves as follows: > > Version A) resetAllLocks > >

Re: [Pharo-users] Reading data from a USB HID device

2018-03-31 Thread Alistair Grant
e monitor and then retrieve the reportDescriptor I haven't yet succeeded in getting actual data back yet. Requesting data via the control pipe results in all zeros, attempting using the Interrupt In pipe results in an I/O Error. Thanks again, Alistair > On Fri, Mar 30, 2018 at 8:08 A

[Pharo-users] Reading data from a USB HID device

2018-03-29 Thread Alistair Grant
Hi Everyone, I've got a USB connected heart rate monitor that I'd like to access from Pharo. I found libusb-pharo at https://github.com/tamerescrl/libusb-pharo which appears to do exactly what I want. It was updated only 5 months ago, but doesn't load in Pharo 6.1 or 7, failing with package UFFI

Re: [Pharo-users] Zoom x-axis in RTGrapher?

2018-03-29 Thread Alistair Grant
Hi Alexandre, On 29 March 2018 at 15:07, Alexandre Bergel wrote: > Easy. > > You can add a reset button: > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > v := RTView new. > b := [ :someClasses | >g := RTGrapher new. >g view: v. >ds := RTData new. >ds points: someClasses. >

Re: [Pharo-users] Zoom x-axis in RTGrapher?

2018-03-29 Thread Alistair Grant
ng a bit more. Thanks again! Alistair > Cheers, > Alexandre > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > >> On Mar 28, 2018, at 4:02 AM, Alistair Gran

[Pharo-users] Zoom x-axis in RTGrapher?

2018-03-28 Thread Alistair Grant
Hi Everyone, I'm using RTGrapher to display a simple line graph where the x-axis has values from roughly 0 to 500,000 and the y-axis from 0 to 20. What I'd like to be able to do is to zoom in just the x-axis, i.e. instead of displaying the entire 0 to 500,000 range, be able to narrow it down in s

Re: [Pharo-users] [ANN] Slides for a Lecture: MetaLinks

2018-03-27 Thread Alistair Grant
Great introduction. I'd seen MetaLinks mentioned in emails, but basically ignored them as I didn't know what they were. Thanks, Marcus! Cheers, Alistair On 27 March 2018 at 10:17, Marcus Denker wrote: > Hi, > > I did last week a short lecture at VUB Brussels. Topic: MetaLinks. > > Slideshare:

Re: [Pharo-users] Why should we not rely on #atEnd?

2018-03-26 Thread Alistair Grant
Hi Herby, On 26 March 2018 at 18:51, Herbert Vojčík wrote: > Citing from > https://pharo.fogbugz.com/f/cases/21577/Cannot-read-from-dev-urandom, > > But we still shouldn't be relying on #atEnd so ... -- Alistair Grant > > Why should we not rely on #atEnd? I had the impre

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Alistair Grant
've said doesn't make sense, let us know and we can point you to a description (which I don't have handy). One tip: Assuming you're using Pharo 6, in the System Browser, roughly in the middle is a "Class" button. Pressing that will show you the class methods. HTH, Al

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-20 Thread Alistair Grant
On 21 March 2018 at 03:12, dragoncity wrote: > Hello, I'm just getting into Pharo, and am trying to > do the example 'tutorial' UI programs in chapter 2 of The Spec UI Framework > book. I have a special interest in end user GUI interfaces for programs. I > enter the first example code as written

Re: [Pharo-users] Issues with recent Pharos reading files

2018-03-20 Thread Alistair Grant
Hi Andrew, On 20 March 2018 at 21:42, Andrew P. Black wrote: > >> On 21 Mar 2018, at 03:15 , Sven Van Caekenberghe wrote: >> >> >> >>> On 20 Mar 2018, at 14:36, Andrew P. Black wrote: >>> >>> I’m having trouble reading files with the most recent “stable” versions of >>> Pharo. >> >> OK, this

Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?

2018-03-12 Thread Alistair Grant
Hi Sven, On 12 March 2018 at 19:38, Sven Van Caekenberghe wrote: > Hi Alistair, > >> On 12 Mar 2018, at 19:06, Alistair Grant wrote: >> >> On 12 March 2018 at 10:03, Guillermo Polito >> wrote: >>> >>> Hi, >>> >>> do not

Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?

2018-03-12 Thread Alistair Grant
On 12 March 2018 at 10:03, Guillermo Polito wrote: > > Hi, > > do not forget also that there is an entire chapter on FileSystem in here: > > http://files.pharo.org/books-pdfs/deep-into-pharo/2013-DeepIntoPharo-EN.pdf > > And I particularly recommend everybody dealing with files to read about how

Re: [Pharo-users] feenk log

2018-03-12 Thread Alistair Grant
On 11 March 2018 at 21:01, Tudor Girba wrote: > Hi, > > Here is an update of the work on Bloc, Brick and GT. As always, please do let > us know what you think. > > [snip/] > > - Andrei put together a beautiful description of a scenario in which an > application is molded interactively in the Pla

Re: [Pharo-users] How do I ask the FileSystem to resolve a relative path?

2018-03-11 Thread Alistair Grant
Hi Hannes, On 11 March 2018 at 17:49, H. Hirzel wrote: > The first solution given by Sven works fine. > > dir := FileSystem workingDirectory / '..' / 'public'. > dir ensureCreateDirectory. > (dir / 'myFile.txt') writeStreamDo: [ :out | out << 'Hello World!' ]. > > > The second version

Re: [Pharo-users] Bootstrap how to

2018-03-08 Thread Alistair Grant
Hi Hilaire, Moving this to pharo-dev... On Thu, Mar 08, 2018 at 11:34:55AM +0100, Hilaire wrote: > I give again a try to bootstrap (after my last summer fail). Here how far I > went: > > Do people really like git or pretend to because > everyone is using it. Maybe there's a better source manage

Re: [Pharo-users] Web scrapping with Pharo Chrome

2018-02-16 Thread Alistair Grant
Hi Offray, On 16 February 2018 at 19:08, Offray Vladimir Luna Cárdenas wrote: > Hi Alistair, > > > On 15/02/18 12:50, Alistair Grant wrote: >> Hi Offray, >> >> On 14 February 2018 at 20:29, Offray Vladimir Luna Cárdenas >> wrote: >>> Yes. Me too. Al

Re: [Pharo-users] Web scrapping with Pharo Chrome

2018-02-15 Thread Alistair Grant
Hi Offray, On 14 February 2018 at 20:29, Offray Vladimir Luna Cárdenas wrote: > Yes. Me too. Alistair, any starting points with this example? I will take > from there and we could get visibility in the upcoming Open Data Day. I'm not sure that I understand what you're after, but maybe the follow

Re: [Pharo-users] Generate equality

2018-02-08 Thread Alistair Grant
Hi Herby, On 8 February 2018 at 03:10, Herbert Vojčík wrote: > Hi! > > Do you think it would be reasonable to have, a la "generate accessors" / > "generate initialize method", a "generate equality" thingie that would > generate #= and #hash for the method, mechanically? > > Just created a new "pi

Re: [Pharo-users] is OSSubProcess working in Pharo 6.1?

2018-02-01 Thread Alistair Grant
not if it works). Cheers, Alistair > On Tue, Jan 30, 2018 at 11:47 PM, Alistair Grant > wrote: >> >> Hi Stef, >> >> On 30 January 2018 at 23:13, Stephane Ducasse >> wrote: >> > Hi >> > >> > in pillar 70 we have >> > basel

Re: [Pharo-users] is OSSubProcess working in Pharo 6.1?

2018-01-30 Thread Alistair Grant
Hi Stef, On 30 January 2018 at 23:13, Stephane Ducasse wrote: > Hi > > in pillar 70 we have > baseline: spec > > spec > for: #common > do: [ spec blessing: #baseline. > spec repository: 'http://smalltalkhub.com/mc/Pier/Pillar/main/'. > spec > baseline: 'OSSubprocess' > with: [ spec > repository:

Re: [Pharo-users] Pharo 7 image cannot write changes message on startup

2018-01-21 Thread Alistair Grant
files after the initial attempt fails. Cheers, Alistair > regards > Sanjay > > > Alistair Grant wrote >> Hi Sanjay, >> >> On 21 January 2018 at 12:10, Sanjay Minni < > >> sm@ > >> > wrote: >>> Hullo >>> >>> C

Re: [Pharo-users] Pharo 7 image cannot write changes message on startup

2018-01-21 Thread Alistair Grant
Hi Sanjay, On 21 January 2018 at 12:10, Sanjay Minni wrote: > Hullo > > Can someone help with fixing this issue, > I am unable to use Pharo 7 image on windows 10 till this is done I'm not regularly using Windows, but a workaround is to create a startup file with: SourceFiles close; ensureOpen

Re: [Pharo-users] Working directory

2018-01-18 Thread Alistair Grant
ingDirectory: (be able to set the working directory). I know Rajula did the work, but it didn't make it in to the PR for some reason. Hopefully I can dig it up. Cheers, Alistair > On Thu, Jan 18, 2018 at 9:51 AM, Alistair Grant wrote: >> Hi Hilaire & Denis, >> >>

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo TechTalk Dates

2018-01-18 Thread Alistair Grant
Hi Marcus, Suggested topic: Contributing to Pharo7. :-) Thanks! Alistair On 18 January 2018 at 14:52, Marcus Denker wrote: > Hi, > > Here are the next dates for the Pharo Techtalks. > (for recording of the past ones, see: http://pharo.org/TechTalk ) > > > Jan 30: Pharo TechTalk: Genetic Algo

  1   2   3   4   >