Re: [Pharo-users] little "challenge"

2017-04-25 Thread Richard Sargent
In 2003, I implemented the following method. It is something that comes up from time to time. !SequenceableCollection publicMethods ! splitEvery: chunkSize "Answer a collection of sub-collections each of the specified chunk size. If the receiver size is not a multiple of chunkSize, the last

Re: [Pharo-users] ss3 and gemsource planned downtime today at 1:30 pm PDT (-0700 UTC)

2017-04-25 Thread Dale Henrichs
server is back online... On 04/25/2017 05:28 AM, Dale Henrichs wrote: The server hosting http://ss3.gemtalksystems.com/ and http://seaside.gemtalksystems.com/ss will be down for a couple of hours today starting at 1:30 pm PDT for maintenance. Dale

Re: [Pharo-users] Hot to retrieve values from Nested Dictionaries

2017-04-25 Thread PBKResearch
Browsing in Pharo, I found that Dictionary has a subclass KeyedTree, which is in effect a set of nested dictionaries. Retrieval is by quoting a path, which is simply an array of keys. So in your case it would read: dict1 atPath: #(’key1’ ‘key2’ ‘key3’). This might be more efficient than

Re: [Pharo-users] little "challenge"

2017-04-25 Thread nacho
#(1617 17 16 18 17 18 1919 19 18 19 19 20 19 20 19 20 20 20 19 20) allButFirst groupsOf: 7 atATimeCollect: [ :element | element ]. - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context:

Re: [Pharo-users] little "challenge"

2017-04-25 Thread Sven Van Caekenberghe
The first thing I found: #(16 17 17 16 18 17 18 1919 19 18 19 19 20 19 20 19 20 20 20 19 20) groupsOf: 7 atATimeCollect: [ :x | x ] "#(#(16 17 17 16 18 17 18) #(19 19 19 18 19 19 20) #(19 20 19 20 20 20 19))" > On 25 Apr 2017, at 22:08, Stephane Ducasse wrote:

[Pharo-users] little "challenge"

2017-04-25 Thread Stephane Ducasse
#(1617 17 16 18 17 18 1919 19 18 19 19 20 19 20 19 20 20 20 19 20) -> { #(17 17 16 18 17 18 19) . #(19 19 18 19 19 20 19) . #(20 19 20 20 20 19 20)} any code?

Re: [Pharo-users] improving audio/video quality of pharo days recordings

2017-04-25 Thread Stephane Ducasse
Thanks for the help. We will see what we can do but these videos are always a problem to the point I was not sure that we will record them. Last year thibaut did a great job and I will ask him. On Tue, Apr 25, 2017 at 9:04 PM, Peter Uhnak wrote: > Hi, > > we had a small

[Pharo-users] improving audio/video quality of pharo days recordings

2017-04-25 Thread Peter Uhnak
Hi, we had a small discussion on discord about improving the audio/video quality of recordings of past pharo days, where many recordings are really hard to see (or completely unreadable), or the presenter is really hard to understand (especially if they speak quietly or have a strong accent).

Re: [Pharo-users] Hot to retrieve values from Nested Dictionaries

2017-04-25 Thread Paul DeBruicker
JsonObject has the doesNotUnderstand: trick too. Esteban A. Maringolo wrote > 2017-04-25 8:49 GMT-03:00 Markus Böhm > markus.boehm@ > : >> Tx, I tried Your proposal. Just as an example, it works: > >> P.S.: Editor in Playground shows NeoJSONObject keys in red color? > > It's

Re: [Pharo-users] Hot to retrieve values from Nested Dictionaries

2017-04-25 Thread Esteban A. Maringolo
2017-04-25 8:49 GMT-03:00 Markus Böhm : > Tx, I tried Your proposal. Just as an example, it works: > P.S.: Editor in Playground shows NeoJSONObject keys in red color? It's highlighted in red because for the playground the keys are selectors not implemented by any class

Re: [Pharo-users] Neural Networks in Pharo

2017-04-25 Thread francesco agati
thanks ;-) 2017-04-25 15:09 GMT+02:00 Oleks : > Hello, > > There isn't one yet. But I will try to create it today. I will let you know > > Cheers, > Oleks > > On Apr 25, 2017 16:10, "francescoagati [via Smalltalk]" <[hidden email] >

Re: [Pharo-users] Neural Networks in Pharo

2017-04-25 Thread Oleks
Hello, There isn't one yet. But I will try to create it today. I will let you know Cheers, Oleks On Apr 25, 2017 16:10, "francescoagati [via Smalltalk]" < ml+s1294792n494402...@n4.nabble.com> wrote: > Hi Oleks, > there is a mode for install neural network from metacello? > > 2017-04-25 13:00

Re: [Pharo-users] Neural Networks in Pharo

2017-04-25 Thread francesco agati
Hi Oleks, there is a mode for install neural network from metacello? 2017-04-25 13:00 GMT+02:00 Alexandre Bergel : > Continue to push that topic Oleks. You are on the right track! > > Alexandre > > > On Apr 24, 2017, at 1:43 AM, Oleks wrote: > > >

[Pharo-users] ss3 and gemsource planned downtime today at 1:30 pm PDT (-0700 UTC)

2017-04-25 Thread Dale Henrichs
The server hosting http://ss3.gemtalksystems.com/ and http://seaside.gemtalksystems.com/ss will be down for a couple of hours today starting at 1:30 pm PDT for maintenance. Dale

Re: [Pharo-users] Hot to retrieve values from Nested Dictionaries

2017-04-25 Thread Markus Böhm
Tx, I tried Your proposal. Just as an example, it works: (ZnClient new url: 'http://api.wunderground.com/api/APIKEY/hourly/q/germany/munich.json '; contentReader: [ :entity | (NeoJSONReader on: entity readStream) mapClass: NeoJSONObject; propertyNamesAsSymbols: true;

Re: [Pharo-users] Neural Networks in Pharo

2017-04-25 Thread Alexandre Bergel
Continue to push that topic Oleks. You are on the right track! Alexandre > On Apr 24, 2017, at 1:43 AM, Oleks wrote: > > Hello, > > Thanks a lot for your advice! It was very helpful and educating (for > example, I thought that we store biases in the weight matrix and

Re: [Pharo-users] type checking in Smalltalk

2017-04-25 Thread Igor Stasenko
On 31 March 2017 at 21:34, Sven Van Caekenberghe wrote: > > > On 31 Mar 2017, at 19:38, Dimitris Chloupis > wrote: > > > > > > On Fri, 31 Mar 2017 at 19:13, Sven Van Caekenberghe > wrote: > > if you copy/paste something you should give a