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
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
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
#(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:
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 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?
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
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).
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
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
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]
>
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
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:
> >
>
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
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;
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
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
17 matches
Mail list logo