Re: [Pharo-users] any ihint how to do this

2018-12-10 Thread Roelof Wobben
Thanks, next on my learning lists. Look for methods in both classes that can help me. Roelof Op 10-12-2018 om 23:30 schreef Richard O'Keefe: Having imagined collection count: [:each | ..

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

2018-12-10 Thread Ben Coman
On Fri, 7 Dec 2018 at 01:09, Alexandre Garreau wrote: > I didn’t find on the README enough informations (about which dir to use > and what to do once inside), but found some on a random blog on the web > [0], and now built it but it seems it only installed executable binary > stuff under the name

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

2018-12-10 Thread Alexandre Garreau
Okay, now I ran it some stuff seems to be more okay, but it still segfaults: Segmentation fault Tue Dec 11 01:09:56 2018 /usr/local/lib/squeak/5.0-201812101325/squeak Pharo VM version: 5.0-201812101325 Tue Dec 11 00:52:05 CET 2018 gcc 6.3.0 [Production Spur VM] Built from: CoInterpreter VMMak

Re: [Pharo-users] stfx.eu down

2018-12-10 Thread Offray Vladimir Luna Cárdenas
Hi Sven, Thanks for the heads up. stfx has been really useful when sharing playgrounds in workshops and hackathons, and of course we can wait until modernization ends. Cheers, Offray On 10/12/18 16:10, Sven Van Caekenberghe wrote: > Hi, > > This evening I somehow broke my stfx.eu server while d

Re: [Pharo-users] Testing User Agent from Zinc

2018-12-10 Thread Ben Coman
cool On Tue, 11 Dec 2018 at 01:18, horrido wrote: > After much digging, I finally found the solution... > > From the req parameter in GET, I use: > > (req headers headers at: 'User-Agent') findString: 'Mobile' > > > > horrido wrote > > Is there any way I can check the user agent string from Zinc

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

2018-12-10 Thread Ben Coman
That sounds normal. "No stash" is not an error. You should see new files in directory ".git/hooks" which help give correct date to built VM to avoid "to old" message. btw, make sure you match your 32/64-bitness between VM and Image. cheers -ben On Tue, 11 Dec 2018 at 00:51, Alexandre Garreau

Re: [Pharo-users] stfx.eu down

2018-12-10 Thread Paul DeBruicker
I wonder if there is a way to get all the relevant configs in an image to point to the smalltalkhub repo instead of the mc.stfx.eu repo temporarily. In Pharo 6.1 if a person wants to switch away from the mc.stfx.eu domain in their ConfigurationOf* and BaselineOf* specs you can right click on a pa

Re: [Pharo-users] any ihint how to do this

2018-12-10 Thread Richard O'Keefe
Having imagined collection count: [:each | ...] DO NOT IMPLEMENT IT! Check to see if it already exists. Hint: it DOES exists and has done since before Pharo. So 'pangrams are fun but this isn''t one' count: [:each | each isVowel] already answers 10. Something that may help you a lot is to visit t

[Pharo-users] stfx.eu down

2018-12-10 Thread Sven Van Caekenberghe
Hi, This evening I somehow broke my stfx.eu server while doing an ubuntu dist upgrade (an old AWS EC2 machine). This means several websites / web services hosted by that machine are down, most notably mc.stfx.eu (hosting several of my packages) and ws.stfx.eu (used for shared smalltalk workspa

Re: [Pharo-users] any ihint how to do this

2018-12-10 Thread Roelof Wobben
There are manuy words I think some 1000 . Aoc uses a lot of data for a challenge. I have to think well how to implent that new function im thinking now about select and size after that. Regards, Roelof

Re: [Pharo-users] Testing User Agent from Zinc

2018-12-10 Thread horrido
After much digging, I finally found the solution... >From the req parameter in GET, I use: (req headers headers at: 'User-Agent') findString: 'Mobile' horrido wrote > Is there any way I can check the user agent string from Zinc or Teapot so > that I can determine whether the user is on a mobil

Re: [Pharo-users] any ihint how to do this

2018-12-10 Thread Richard Sargent
On Mon, Dec 10, 2018 at 8:52 AM Roelof Wobben wrote: > Hello, > > is there a way I can check if a word has 2 the same chars after each other > I was hoping that '#groupby could help me but that one sorts > so abba the aa is found > or do I have to use a stream for that > > could I then also use t

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

2018-12-10 Thread Alexandre Garreau
Le 07/12/2018 à 02h25, Ben Coman a écrit : > On Fri, 7 Dec 2018 at 01:43, Alexandre Garreau > wrote: > >> I built the VM and when running the Pharo.image file got with curl by >> the site, it runs but warns the VM is too old for this image (strangely, >> since I built the git version), > > > That

[Pharo-users] any ihint how to do this

2018-12-10 Thread Roelof Wobben
Hello, is there a way I can check if a word has 2 the same chars after each other I was hoping that '#groupby could help me but that one sorts so abba the aa is