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 reference > > > > > > I did not copy paste anything, 100

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 prepend 1 > to input to ma

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;

[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] 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: > > > > Hello, > > > > Thanks a lot for your advice! I

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 GM

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] > > wrote:

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 in the image. The key in

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 highlight

[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] 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 discussion on discord ab

[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] 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: > > #(1617 17 16 18

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: http://forum.world.st/little-challenge-tp4944073p4944079.ht

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 repeat

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] 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 su

Re: [Pharo-users] little "challenge"

2017-04-25 Thread Stephane Ducasse
I did not know this one :) tx sven On Tue, Apr 25, 2017 at 10:26 PM, Sven Van Caekenberghe wrote: > 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

Re: [Pharo-users] little "challenge"

2017-04-25 Thread Stephane Ducasse
Tx same comments! On Tue, Apr 25, 2017 at 10:48 PM, nacho <0800na...@gmail.com> wrote: > #(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

Re: [Pharo-users] little "challenge"

2017-04-25 Thread Stephane Ducasse
This is fun because my method was called splitEvery: too :) On Wed, Apr 26, 2017 at 6:19 AM, Richard Sargent wrote: > In 2003, I implemented the following method. It is something that comes up > from time to time. > > !SequenceableCollection publicMethods ! > splitEvery: chunkSize > "Answer a

Re: [Pharo-users] little "challenge"

2017-04-25 Thread Stephane Ducasse
we do not have nextOrLess: in Pharo. On Wed, Apr 26, 2017 at 6:19 AM, Richard Sargent wrote: > 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-collec