structure in the main thread from another
> process, then why did Hilaire's suggestion not solve the problem?
>
> It seems to me, then, either way, it's an issue of multithreading...whether
> my way or Hilaire's way.
>
>
>
> Sven Van Caekenberghe-
> On 6 Jun 2017, at 18:18, Ben Coman wrote:
>
>
>
> On Tue, Jun 6, 2017 at 11:11 PM, Esteban Lorenzano
> wrote:
> Dear World,
>
> The time has come for Pharo 6.0!
>
> Woot!
> cheers -ben
Super. Thank you all.
Andreas,
What if you subclassed ChangesLog, say with something called NoChangesLog and
installed that as its DefaultInstance (as accessed by #default), with an
#install class side message.
Then override #logChange: and #logSnapshot:andQuit: to do nothing.
No need to subscribe to system announc
You could also subclass PharoFilesOpener with NoPharoFilesOpener, override
#sourcesFileOrNil and #changesFileOrNil to just return nil, and #install it as
Default. And hope that the callers can deal with the nils.
> On 7 Jun 2017, at 09:38, Sven Van Caekenberghe wrote:
>
> Andreas,
> On 7 Jun 2017, at 09:38, Sven Van Caekenberghe wrote:
>
> I think that could/would work (the code in System-Sources was refactored
> quite well).
I added an issue and a slice (in the Pharo 6 inbox):
https://pharo.fogbugz.com/f/cases/20126/Running-Without-Changes-and-Sour
Hi Offray,
> On 7 Jun 2017, at 17:21, Offray Vladimir Luna Cárdenas
> wrote:
>
> Hi,
>
> I'm prototyping some integration between Fossil and Pharo for the
> creation of dynamic distributed web sites [1]. Now I would like to send
> some messages to store serialized STON domain objects as Fossil
Why would $HOME not be set ?
And if it is not set / seems like a reasonable default.
> On 9 Jun 2017, at 06:06, Holger Freyther wrote:
>
>
>> On 9. Jun 2017, at 11:09, Holger Freyther wrote:
>>
>>
>
>
>> a.) Behave like unix and resolve $HOME to ''
>>
>> $ unset HOME
>> $ echo $HOME/.con
use this logic.
>
> Stef
>
>
>
> On Sun, Jun 4, 2017 at 11:49 PM, Sven Van Caekenberghe wrote:
> Stef,
>
> STON is like FUEL, it can write any object to a stream and read it back.
> Although you can customise how this is done, only one way of doing so is
>
com/svenvc/SimpleRedisClient
Sven
--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org
serialization is not what you
> expect)
Maybe Steph can have a look at your approach.
> Christophe
> - Sven Van Caekenberghe a écrit :
>> STON cannot be used to write partial, manual output because it needs to see
>> the full object graph (like FUEL does).
>>
>&
Hi,
> On 14 Jun 2017, at 17:23, bachitoph wrote:
>
> Hi,
> I'm playing around with Zink reading the geo location of any IP-address.
> Evaluating the code below in a playground works fine. But what is the best
> way to read the entity data of the ZnResponse instance I get back. Have I to
> parse
he server are sent as an array of bulk strings
>
> 2) to interact with as much services and servers as possible
>
> Is better as
>
> to interact with as many services and servers as possible
>
>
> Tim
>
> Sent from my iPhone
>
> On 14 Jun 2017, at
Here is how you can maintain compatibility:
self environment
at: #SessionManager
ifPresent: [ :manager | manager default registerNetworkClassNamed: self name ]
ifAbsent: [ Smalltalk addToStartUpList: self; addToShutDownList: self ]
I use it for Zinc.
> On 16 Jun 2017, at 09:21, Esteban L
> On 17 Jun 2017, at 14:51, horrido wrote:
>
> Is there even one shred of documentation anywhere that shows how to use
> UUIDGenerator? A thorough Google search reveals nothing! All I find are
> reference materials. I'd like to see just one working code sample, no matter
> how simple.
Apart fro
Why not just
UUIDGenerator default next hex asUppercase.
Or even
UUID new hex asUppercase.
?
Since you are using #generateBytes:forVersion: (which is an internal method
BTW), you must be working in an older Pharo image (older than 6). We replaced
the UUIDGenerator class, the class commen
way.
>
> Thanks.
You are working in an older version, with less documentation.
> Sven Van Caekenberghe-2 wrote
>> Why not just
>>
>> UUIDGenerator default next hex asUppercase.
>>
>> Or even
>>
>> UUID new hex asUppercase.
>>
>&
Hernán,
We obviously don't have as many options as find, but this should get you
started:
Check the category 'enumerating' in AbstractFileReference, with methods like
#childrenMatching: and #allChildrenMatching:
Once you have a reference, you can use other meta data, see the 'accessing'
prot
If you are talking about ZnServerSessions, the ones returned from
ZnRequest>>#session, then the answer is that they are eligible for expiration
and cleanup after 1 hour (see ZnServerSession>>#isValid). Cleanup happens
inZnSingleThreadedServer>>#periodTasks. Right now, the expiration time is a
f
, but I can't figure out how to do it. Suggestion?
req session removeAttribute: #user
> Sven Van Caekenberghe-2 wrote
>> If you are talking about ZnServerSessions, the ones returned from
>> ZnRequest>>#session, then the answer is that they are eligible for
>>
otected)
links s/he clicks are invalid.
> Sven Van Caekenberghe-2 wrote
>>> On 19 Jun 2017, at 15:40, horrido <
>
>> horrido.hobbies@
>
>> > wrote:
>>>
>>> I've added an attribute to the session called #user...
>>>
>>>
It is not, Ben has to redo his slice.
> On 20 Jun 2017, at 18:29, Stephane Ducasse wrote:
>
> Did you check if the file is in the inbox repo?
>
> Stef
>
> On Tue, Jun 20, 2017 at 2:21 PM, Hilaire wrote:
>> Almost there...
>>
>> Le 20/06/2017 à 05:05, Ben Coman a écrit :
>>> @Hilaire, could y
> On 21 Jun 2017, at 16:49, Eno wrote:
>
> Hi, community.
>
> congrats.
>
> I applied my project on smalltalkHub ( TkIDE) immediately to Pharo 6.
>
> It went well while installing the packages on both windows and osx
> platforms.
>
> But serious conditions occurred while running my program o
> On 22 Jun 2017, at 14:40, Norbert Hartl wrote:
>
> I'm sorry I forgot to post this much earlier. Anyway….
>
> We are proud to add another success story to the pharo portfolio
>
> http://zweidenker.de/en/project/operationstermine-digitalisiert
>
> It is an operation planning tool for an eye
Hi,
> On 23 Jun 2017, at 20:41, horrido wrote:
>
> Okay, so I have my nice little Teapot app, but I'd like to run it as HTTPS.
> As far as I can understand, to do this I must go through Zinc. However, the
> docs on the web seem rather out of date. For example, I do not have
> ZnZincServerAdapter
---
Country Name (2 letter code) [AU]:BE
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:Hasselt
Organization Name (eg, company) [Internet Widgits Pty Ltd]:STfx.eu
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:Sven Van Caekenb
> On 24 Jun 2017, at 09:26, Attila Magyar wrote:
>
> Teapot uses ZnServer defaultServerClass by default, but you can configure
> Teapot to use other kind of ZnServers like this.
>
>
>
> This is available only in the latest development version.
That's very nice. Thanks for the reply, Attila.
> On 24 Jun 2017, at 10:03, Attila Magyar wrote:
>
> Sven Van Caekenberghe-2 wrote
>> (In regular mail, I don't see you code snippet, I copy it here).
>
>
> Hmm, maybe because of the raw text tags. Is this visible?
>
> Transcript
>show: 'Hell
Is it possible to use Iceberg to edit regular text files directly in Pharo ?
Specifically I would like to be able to edit README.md and similar files.
Especially when using a all-in-one, the repo on file becomes quite hidden, and
the whole idea is to hide the command line anyway, so it feels as
> On 27 Jun 2017, at 16:02, Juraj Kubelka wrote:
>
> Hi,
>
> I remember that Sven did some changes related to the constants in about month
> or two months ago. But, I do not think that it was integrated to the Pharo 6
> release.
Yeah, we forgot to put that in, it (the changed #initialize) is
Hi Tim,
> On 27 Jun 2017, at 15:50, Tim Mackinnon wrote:
>
> Hi - I have been slowly working my way through some of the pharo components
> and tutorials and when trying out ZnEasy with a password protected api, I got
> a talkback when I mistyped a password.
> It looks like ZnConstants in a f
> On 27 Jun 2017, at 16:05, Esteban Lorenzano wrote:
>
> Hi,
>
>> On 27 Jun 2017, at 15:55, Sven Van Caekenberghe wrote:
>>
>> Is it possible to use Iceberg to edit regular text files directly in Pharo ?
>>
>> Specifically I would like to b
d, the #initialize did not change, hence it was
not run. That is why I currently add a comment like "Forced source code change
for automatic initialization: 20170510" where I change the date when needed.
> Tim
>
>> On 27 Jun 2017, at 15:02, Sven Van Caekenberghe wrote:
>>
> On 27 Jun 2017, at 21:00, Esteban A. Maringolo wrote:
>
> Interesting experiment.
>
> It would be good to know how fast does the image boot and start
> execution in the context of a service billed at the sub second scale.
Sadly I have the impression we lost some speed:
~/pharo64$ ./pharo Ph
> On 27 Jun 2017, at 18:05, Tim Mackinnon wrote:
>
> Hi - I am trying to run a pharo image in lambda (as an experiment) - however
> I get an error from Pharo about not being able to write to the changes file?
>
> As I am just evaluating some code - I’m not really coding, so don’t need a
> cha
> On 28 Jun 2017, at 13:52, JeremieRegnault
> wrote:
>
> Tim Mackinnon wrote
>> FYI: I managed to get it to work - I still get the message about trying to
>> save the changes file and it not being possible - however my error was not
>> specifying —no-default-preferences and also around correc
> On 29 Jun 2017, at 06:20, Offray Vladimir Luna Cárdenas
> wrote:
>
> Hi,
>
> I'm trying to deploy a small web app in Teapot, following the Enterprise
> Pharo documentation and so, using Pharo 4 in the server. Installation
> went fine, but when I try to actually use the app and I get this err
> On 29 Jun 2017, at 16:07, Jérémie Regnault
> wrote:
>
> Hi,
>
> I am writing tests with streams, and I noticed that a stream opened on a
> string doesn't close, but FileStreams do close. Is it normal ?
How do you mean that ? That FileStreams close automatically ?
That is indeed the case,
One of the more hidden Playground features are named Pages. Double-click the
page tab title and give it a name, it will then be saved automagically in
pharo-local/play-stash (and auto saves on changes from then on). I use that all
the time.
> On 29 Jun 2017, at 16:45, Tim Mackinnon wrote:
>
>
> On 29 Jun 2017, at 19:14, Pavel Krivanek wrote:
>
> WOW!!!
+10
> Thank you all very much for this effort.
>
> -- Pavel
>
>
>
> 2017-06-29 18:56 GMT+02:00 Craig Latta :
>
> Well, that didn't take as long as I thought. :) Probably due to
> progress Bert made since we looked at it at
> On 27 Jun 2017, at 21:15, Sven Van Caekenberghe wrote:
>
>
>> On 27 Jun 2017, at 21:00, Esteban A. Maringolo wrote:
>>
>> Interesting experiment.
>>
>> It would be good to know how fast does the image boot and start
>> execution in the contex
> On 30 Jun 2017, at 22:40, Juraj Kubelka wrote:
>
> (sorry, I have accidentally pressed send button)
>
> Hi,
>
> Is there any documentation about FUEL? I would like to understand in more
> detail what data are serialized, if I can somehow alter it (filter it)
> explicitly, and how can I han
Erik,
> On 1 Jul 2017, at 09:41, Erik Stel wrote:
>
> Hi Francis,
>
> You write:
>
> Pharo Smalltalk Users mailing list wrote
>> FIY
>>
>> UUID new asByteArray
>>
>> does not give a ByteArray because UUID is a subclass of ByteArray and
>> asByteArray returns self
>
> (Entering teacher mode)
> On 4 Jul 2017, at 07:26, sergio ruiz wrote:
>
> Hi, all..
Did you read
https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/DeploymentWeb/DeployForProduction.html
?
TL;DR
use the config handler to load/update code and save your image
st
t me for debugging purposes, he is the expert, I
don't know if there are both 32 and 64 bit versions (or even if there is much
difference, if any).
> Tim
>
>> On 30 Jun 2017, at 14:43, Sven Van Caekenberghe wrote:
>>
>>>
>>> On 27 Jun 2017, at 21:15, Sven
> On 5 Jul 2017, at 19:03, Henrik Sperre Johansen
> wrote:
>
> Sven Van Caekenberghe-2 wrote
>>> On 27 Jun 2017, at 21:15, Sven Van Caekenberghe <
>
>> sven@
>
>> > wrote:
>>>
>>>
>>>> On 27 Jun 2017, at 21:00, Est
Hi Twan,
> On 6 Jul 2017, at 05:10, Twan van der Schoot wrote:
>
> Hi All,
>
>
> Question: Is there any Pharo "endorsed" XML support for Pharo v6.0 and if
> so, where can I find it?
>
> I'm new to Pharo and I'm currently cutting my teeth into v6.0 attempting to
> program the XML-Browser ex
> On 12 Jul 2017, at 08:42, Marcus Denker wrote:
>
>
>> On 12 Jul 2017, at 08:35, K K Subbu wrote:
>>
>> On Wednesday 12 July 2017 08:33 AM, horrido wrote:
>>> But for the life of me, I can't figure out how to create new classes for my
>>> application from within the Debugger. Must I create n
Yes, but these are all inside the method editor.
I wanted to start with
(Motivation fromString: 'foo') sayIt.
in a playground/workspace.
But with just a DNU it works.
> On 12 Jul 2017, at 08:49, p...@highoctane.be wrote:
>
> What is not working? Check this:
>
>
>
> Hit Define new class and
https://en.wikipedia.org/wiki/Unix_time
"Right now"
DateAndTime now asUnixTime.
"Coming up"
DateAndTime fromUnixTime: 15.
"How long till then ?"
(DateAndTime fromUnixTime: 15) - DateAndTime now.
;-)
Sven
Hi Tim,
Great that you found this out.
You can also use the 'by-example formatter/parser'.
ZTimestampFormat verbose
timezone: (ZTimezone id: 'America/Halifax');
format: ZTimestamp now.
=> 'Saturday, 15-July-2017 04:04:12 AM (-03:00)'
(ZTimestampFormat fromString: 'Sat,
> On 18 Jul 2017, at 15:42, Cyril Ferlicot wrote:
>
> Hi,
>
> I did a refactoring in Moose in order to use the encoding detector
> that Sven did some weeks ago while reading a file.
>
> With the latest stable version of ZincHTTPComponent, I can get the
> encoding like this:
>
> fileReference
> On 18 Jul 2017, at 16:10, Cyril Ferlicot wrote:
>
> On Tue, Jul 18, 2017 at 3:54 PM, Sven Van Caekenberghe wrote:
>>
>> These are all aliases [ see: https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ].
>>
>> So you could add it, yes
>>
>> But why us
Great work. I love libraries like these.
I am a bit confused though, in your #updateString: you seem to be implementing
UTF-8 encoding, something we already have. Normally, hashing algorithms are
defined on bytes and result in bytes (yours returns a plain Array, which is
also strange).
It seem
> On 19 Jul 2017, at 14:55, Esteban A. Maringolo wrote:
>
> I don't know how "mainstream" solutions perform on AWS Lambda or EC2,
> but this seems really fast to me. 50 ms is great, assuming it bills by
> every 100ms, you still have room to perform your computation.
Yes, it seems incredibly fas
> On 16 Jul 2017, at 21:00, Siemen Baader wrote:
>
> Hi all,
>
> I’m trying to transpile the STON class to JavaScript with PharoJS to use it
> in a client side web application. The goal is it to retrieve object(graphs)
> from the server and deserialize them in the frontend via xhr.
>
> But
> On 20 Jul 2017, at 12:08, Diego Lont wrote:
>
> Hi,
>
> What I remember of STON is that it simply puts out the entire tree. So it
> might include things you don’t want (like thisContext), and also does not
> handle loops well. But that is from memory, I might be wrong there.
Hmm, I think y
> On 20 Jul 2017, at 19:57, Johannes Brauer wrote:
>
> Hi!
>
> To download a file from Dropbox is easy:
>
> ZnClient new
> https; host: 'content.dropboxapi.com';
> addPath: '2'; addPath: 'files'; addPath: 'download';
> headerAt: 'Authorization' put:
> 'Bearer ';
> headerAt: 'Dropbox-API
Peter,
> On 22 Jul 2017, at 14:12, Peter Uhnak wrote:
>
> Hi,
>
> this is a continuation of an older thread about quoting fields only when
> necessary. (
> http://forum.world.st/NeoCSVWriter-automatic-quotes-td4924781.html )
>
> I've attached fileouts of NeoCSV packages with the addition (I
Hi Peter,
> On 22 Jul 2017, at 14:12, Peter Uhnak wrote:
>
> Hi,
>
> this is a continuation of an older thread about quoting fields only when
> necessary. (
> http://forum.world.st/NeoCSVWriter-automatic-quotes-td4924781.html )
>
> I've attached fileouts of NeoCSV packages with the addition
ains
dangerous characters and only then adding the quotes. I guess this makes most
sense in the context of generating a CSV file for humans to edit.
> @Svn Once the change is integrated could you add a little paragraph to
> the chapter?
>
> Stef
>
> On Sat, Jul 22, 2017 at
ond'"
>
> [ ByteString findFirstInString: s10 inCharacterSet: ',"', String crlf
> startingAt: 1 ] bench. "'1,187,324 per second'"
> [ ByteString findFirstInString: s100 inCharacterSet: ',"', String crlf
> startingAt: 1
00,046 per second'"
>>> [ {'"'. ','. String cr. String lf } anySatisfy: [ :each | s100
>>> includesSubstring: each ] ] bench. "'495,482 per second'"
>>>
>>> [ s10 includesAny: { $,. $". Character cr. Char
Thank you, sounds like a really cool move.
> On 24 Jul 2017, at 13:56, Esteban Lorenzano wrote:
>
> Hi,
>
> We are releasing Pharo 6.1.
> Usually, between each major version we just apply bugfixes changing the build
> number and not announcing new versions but this time is different since th
Hi,
User Herby Vojčík seems to have an issue with the --headless option on Windows
10
https://pharo.fogbugz.com/f/cases/20271/ZnServer-managedServers-disappear-when-headless-mode-used
I cannot reproduce his problem.
Maybe there are Windows users out there who can have a look and help him ?
Th
> On 25 Jul 2017, at 19:46, Cyril Ferlicot D. wrote:
>
> Le 25/07/2017 à 19:37, Sven Van Caekenberghe a écrit :
>> Hi,
>>
>> User Herby Vojčík seems to have an issue with the --headless option on
>> Windows 10
>>
>> https://pharo.fogbugz.com/f/
I agree.
If the file is non-homegeneous it is not longer CSV by definition.
Holding on to the original stream and creating new readers for each section is
one option, an other one could be to add a #reset method.
The big question is how to known when one section begins/ends.
NeoCSVReader holds
Esteban,
I had a quick look at the spec you mentioned.
I am a bit puzzled though. Result can be anything, so how are you going to map
that to specific classes (and why) ? That would require serious prior knowledge
and even then, not every situation can be mapped easily to a class.
You speak ab
Herby,
In Zn #bleedingEdge
===
Name: Zinc-HTTP-SvenVanCaekenberghe.464
Author: SvenVanCaekenberghe
Time: 27 July 2017, 1:10:32.048978 pm
UUID: 63589259-ac11-0d00-9153-678c0082c0ce
Ancestors: Zinc-HTTP-SvenVanCaekenberghe.460
Make ZnSingleThreadedServer>>#start idempotent (since it called #stop a
> On 28 Jul 2017, at 15:13, p...@highoctane.be wrote:
>
> Changing too many things at once is indeed annoying.
>
> Now, I am ready to live with that but at one point, I think that we will have
> to move to something like I see done in other fast evolving ecosystems.
>
> In Hadoop for example,
First question is, why do anything at all ?
STON toStringPretty:
Then loading is as simple as
STON fromString: '...'
Next step is to customise how STON output is generated (but again, why ?).
You do that by writing both an #stonOn: and a #fromSton: method (look for
implementors for examp
Do you make any external (REST/network) calls yourself while handling your
requests ?
Do you do any kind of caching yourself ?
> On 31 Jul 2017, at 12:40, p...@highoctane.be wrote:
>
> I have this crash log on a server.
>
> https://gist.github.com/philippeback/9527b74c081629c2b05466353c4326b3
Are you using VNC ?
> On 16 Aug 2017, at 21:03, sergio ruiz wrote:
>
>
> hey all.. my current pharo implementation is running super serious processor
> power, but it shouldn’t be doing much.
>
>
>
> how would I go about tracking this inside the pharo image?
>
> Thanks!
>
>
>
> peace
Hi Holger,
It is probably not a good idea to be too strict here. I committed the following
to #bleedingEdge
===
Name: Zinc-HTTP-SvenVanCaekenberghe.465
Author: SvenVanCaekenberghe
Time: 18 August 2017, 2:11:25.092807 pm
UUID: da9ed1c3-6713-0d00-bd88-7a0d0e6057cd
Ancestors: Zinc-HTTP-SvenVanCaeke
The inspector extension are really cool !
> On 15 Aug 2017, at 01:27, Torsten Bergmann wrote:
>
> Hi sergio,
>
> why not use my existing "Tealight" project which is (similar to Teapot) also
> available from Pharo catalog.
> It is still lightweight as it is just a few extensions to Teapot.
>
>
It says so "on the tin" i.e. in the exception itself
"Implement your own domain representation of an object, or use #asString or
#printString instead."
;-)
> On 24 Aug 2017, at 14:49, H. Hirzel wrote:
>
> Hello
>
> In the last days there was a discussion that
>
> Object>>#name
>
>
>
Hannes,
Zinc HTTP Components started in 2010 and has been part of Pharo since version
1.3. Like Pharo it evolves (no longer on a fundamental level, but certainly on
features and details). Over the years lots of documentation has been written,
not all of it is still maintained.
I would say the
> On 25 Aug 2017, at 11:35, H. Hirzel wrote:
>
> Hello
>
> There is a tutorial
>Building and deploying your first web app with Pharo
>
> at
>zn.stfx.eu/zn/index.html
>
> It is for Pharo 2 and 3.
>
> Does it still work in Pharo 6?
Yes, but this document is more recent:
https://ci.
There is ZnHtmlOutputStream, not really a DSL, but it might help.
> On 9 Sep 2017, at 00:15, Sean P. DeNigris wrote:
>
> I'd like to create HTML via a DSL, like Seaside's canvas builder, but without
> loading a whole web framework. Any ideas?
>
>
>
> -
> Cheers,
> Sean
> --
> Sent from: h
> On 9 Sep 2017, at 05:44, Sean P. DeNigris wrote:
>
> I was migrating some data from Pharo 4 to Pharo 6.1 and fell over the fact
> that FileSystem has a #workingDirectory instVar in the source, but not in
> the target. I ended up monkey patching STON until the objects were loaded
> and then rev
> On 9 Sep 2017, at 16:11, Sean P. DeNigris wrote:
>
> Sven Van Caekenberghe-2 wrote
>> You would have to change the way the offending object get handled.
>
> Any suggestions on how to do that? Is there a particularly good place to
> hook in?
Implement FileSystem cla
> On 9 Sep 2017, at 18:00, Sean P. DeNigris wrote:
>
> Sven Van Caekenberghe-2 wrote
>> Implement...
>
> Thanks! I added this to the wiki so we don't lose track of it:
> https://github.com/svenvc/ston/wiki/Cookbook
Cool, thanks.
I am not sure I understand 100% what you want, but consider this example:
(NeoCSVReader on: 'foo bar baz
1 2 3
11 22 33' readStream)
separator: $ ;
namedColumnsConfiguration;
upToEnd.
=> an Array(a Dictionary(#bar->'2' #baz->'3' #foo->'1' ) a
Dictionary(#bar->'22' #baz->'
ByteArray readHexFrom: #[ 0 1 2 3 4 5 6 7 8 9 10 ] hex.
> On 12 Sep 2017, at 14:47, Ben Coman wrote:
>
>
>
> On Tue, Sep 12, 2017 at 2:55 AM, Casimiro de Almeida Barreto
> wrote:
> Is there a (easy and ready) way to convert hexa to binary. I mean, convert
> data that was transformed
>
>
ead all the doc and is it there?
> Because yes this is exactly what I was looking for.
>
> On Tue, Sep 12, 2017 at 9:14 AM, Sven Van Caekenberghe wrote:
>> I am not sure I understand 100% what you want, but consider this example:
>>
>> (NeoCSVReader on:
> On 13 Sep 2017, at 19:44, Casimiro de Almeida Barreto
> wrote:
>
> Hello,
>
> Perhaps someone can help me with this problem: I'm saving a key pair in a
> mariadb/mysql table as follows:
>
> str := 'INSERT INTO chaves_de_encriptacao (numero_funcional,
> chave_privada, chave_publica) '.
> On 20 Sep 2017, at 20:36, Sean P. DeNigris wrote:
>
> Any reason to pass as a flat collection of pairs rather than a collection of
> associations or a dictionary? IMHO the former is less intention revealing
> and potentially confusing…
I probably did it because it was the least amount of typi
> On 20 Sep 2017, at 21:10, Jose San Leandro wrote:
>
> Nothing to add to the particular question, but I'm writing to express how
> much I disagree when you use adjectives such as "viral" or nouns such as
> "infection" to describe GPL.
>
> I'm a FSF supporter for a long time, and while I'm us
Hi Juraj,
This would be a simpler form of the type/class tags that are often used in JSON
encoding. Since there are many ways to do this, there cannot be one solution.
NeoJSON mapping was not designed to cover these cases. Nor is JSON meant to do
this. STON is one (rather elegant if I may say s
> On 25 Sep 2017, at 09:53, Richard Sargent
> wrote:
>
> Ben Coman wrote
>> On Sun, Sep 24, 2017 at 7:53 PM, PBKResearch <
>
>> peter@.co
>
>> >
>> wrote:
>>
>>> Hello All
>>>
>>>
>>>
>>> I have a little puzzle to disturb your Sunday lunch, maybe. I have been
>>> scraping text data from w
> On 25 Sep 2017, at 17:14, Juraj Kubelka wrote:
>
> Hi Sven,
>
> thank you!
>
> In the NeoJSON repository, you likely want to merge
> Neo-JSON-Core-SvenVanCaekenberghe.43 and 44. And the same for the test cases.
I did, thanks !
>> On Sep 24, 2017, at 06:05
Hi Joachim,
Have a look at this new example:
===
Name: Neo-JSON-Tests-SvenVanCaekenberghe.43
Author: SvenVanCaekenberghe
Time: 26 September 2017, 2:14:01.71055 pm
UUID: f40af758-7816-0d00-89cd-641e08d6220e
Ancestors: Neo-JSON-Tests-SvenVanCaekenberghe.42
Add #testVirtualTransferObject as another
> On 26 Sep 2017, at 17:25, Stephane Ducasse wrote:
>
> Hi sven
>
> the web site I was using remove the file for my book.
> So I copied the file on github.
> When I open the file with texmate it tells that the encoding is western-latin1
> but when I try to load it as follow I get an UTF-8 illeg
You can convert it in Pharo, of course:
(FileLocator desktop / 'mots.txt') writeStreamDo: [ :out |
out << (ZnCharacterEncoder latin1 decodeBytes:
(ZnClient new
beBinary;
get:
'https://raw.githubusercontent.com/SquareBracketAssociates/LearningOOPWithPharo/master/resources/
> On 26 Sep 2017, at 18:09, Stephane Ducasse wrote:
>
> Here is a script that should work to convert from latin1 to utf-8.
> Thanks to your book and trial and error.
>
> | str wstr |
> str := ('listeDeMotsFrancaisFrGut.txt' asFileReference readStreamDo: [ :in |
> (ZnCharacterReadStream on: in
> On 26 Sep 2017, at 18:06, Cyril Ferlicot wrote:
>
> On Tue, Sep 26, 2017 at 5:59 PM, Esteban Lorenzano
> wrote:
>>
>>
>> it is not.
>> specially on windows.
>>
>> vm handles the creation of host window and you will always have one.
>>
>> now… if you wait one week, I will have ready the (
Hi,
> On 2 Oct 2017, at 13:07, Dirk Olmes wrote:
>
> Hi,
>
> I'm trying to get started with Pharo doing something really simple - at
> least that's what I thought ... I'm trying to read a text file line by line.
>
> If I use File named: '/tmp/linex.txt' readStream nextLine I'll get a
> debugg
ns.
> On 2 Oct 2017, at 15:17, Stephane Ducasse wrote:
>
> Sven I do not see the binary stream. Is it ZnCharacterReadStream?
>
> Stef
>
> On Mon, Oct 2, 2017 at 1:22 PM, Sven Van Caekenberghe wrote:
>> Hi,
>>
>>> On 2 Oct 2017, at 13:07, Dirk Olmes wr
> On 2 Oct 2017, at 19:45, Jimmie Houchin wrote:
>
> Back on topic.
>
> To my understanding, if I should port anything GPL licensed that I needed
> from some language to a C library and licensed it GPL. Then I called my new
> GPL C library via UFFI. I should have no problems at all. Is that
Jimmie,
Since you started this thread, I have to ask.
You say you are an advocate of open source software. OK. But are you just on
the consumer side or also on the producer side ? In other words, have you
written/published/supported any non-trivial open source software ?
Are you an academic o
that guille did that for File.
>
> Stef
>
> On Mon, Oct 2, 2017 at 3:20 PM, Sven Van Caekenberghe wrote:
> > If you do
> >
> > (File named: '/tmp/lines.txt') readStream[Do:]
> >
> > you seem to get a binary stream (this is the new implementa
1 - 100 of 2080 matches
Mail list logo