[Pharo-users] Voluntarily cancelling requests ("applying an expiration date")

2020-02-09 Thread Holger Freyther
tl;dr: I am searching for a pattern (later code) to apply expiration to operations. Introduction: One nice aspect of Mongodb is that it has built-in data distribution[1] and configurable retention[2]. The upstream project has a document called "Server Discovery and Monitoring (SDAM)",

Re: [Pharo-users] Pharo on OpenSUSE (FFI / libgit2 errors)

2020-01-12 Thread Holger Freyther
dd_dependencies main/n/nas/libaudio2_1.9.4-4_amd64.deb > On 11. Jan 2020, at 18:24, Holger Freyther wrote: > > Hi, > > I just ran into the very same problem and into further problems when building > from source. I will try to see which help I can provide to come to a soluti

Re: [Pharo-users] Pharo on OpenSUSE (FFI / libgit2 errors)

2020-01-11 Thread Holger Freyther
Hi, I just ran into the very same problem and into further problems when building from source. I will try to see which help I can provide to come to a solution: libgit2 requires libssh2 which requires OpenSSL 1.0.x which is not installed/installable. Building fails as OpenSUSE puts amd64

[Pharo-users] FFI and when to convert the stack pointer (an Alien) into an ExternalAddress

2019-04-03 Thread Holger Freyther
I am toying with Ben's bindings to clang-c (C interface to the Clang C-indexer API). One of the main features of the C API is a way to visit the translation unit. This is implemented as a callback into Smalltalk with with "cursors" providing indirect access and simplified access to the node of

[Pharo-users] Google Protobuf - Small update and parsing a tensorflow GraphDef

2019-04-02 Thread Holger Freyther
A short update on the current state of my implementation. I heard there is interest to use it to parse tensor flow models. 0.) Load the BaselineOfProtobuf from https://github.com/zecke/pharo-protobuf 1.) Generate code Use the Google protoc to generate a descriptor set: $ protoc -o tf.pb

Re: [Pharo-users] Resolving DNS in-image

2019-03-29 Thread Holger Freyther
> On 29. Mar 2019, at 10:07, Sven Van Caekenberghe wrote: > > Holger, Sven, All! Thanks for moving it to GitHub! Pharo Days: I am in APAC right now and I am not sure if I make it. I am hesitating. Maybe we can have a Google Hangout to discuss this (if not too inconvenient for the ones

Re: [Pharo-users] Resolving DNS in-image

2019-03-28 Thread Holger Freyther
> On 28. Mar 2019, at 08:02, Sven Van Caekenberghe wrote: > > Hi Holger & Norbert, > great. Regardless of how many versions exist. We should get one into the image with proper platform integration. I wasn't aware of your code but I assumed it is something you could write, hence the

[Pharo-users] Resolving DNS in-image

2019-03-27 Thread Holger Freyther
Norbert and me looked at using DNS for service discovery and ran into some of the limitations of the NetNameResolver[1]. In the end I created an initial DNS implementation in Pharo called Paleo-DNS[2] to overcome these. DNS is a protocol we use every day but rarely think of. There is an active

[Pharo-users] Per project code formatting settings and policy

2019-03-15 Thread Holger Freyther
Hi! I found myself doing codereview and commenting on style (e.g. missing indention). It seems like a task that can be easily automated and in fact we have RBFormmatter/BlueInk to do it. What I didn't see is if a project can supply the style (instead of the image configuration)? How could

Re: [Pharo-users] Google Protobuf and usage of Slots

2019-03-07 Thread Holger Freyther
to find time…) > > Marcus > >> On 26 Feb 2019, at 07:54, Holger Freyther wrote: >> >> Hi, >> >> from my point of view the pillars of future services are Google protobuf[1] >> and gRPC. Protobuf can be used for configuration files[2], >>

Re: [Pharo-users] Google Protobuf and usage of Slots

2019-03-07 Thread Holger Freyther
> On 5. Mar 2019, at 19:06, HenrikNergaard5 wrote: > > Hi Holger, > >> My plan of action is to start with a protobuf compiler/model and then look >> into binding the gRPC C implementation to Pharo. > > I have an almost complete parser and compiler (class generation) > implementation of

[Pharo-users] Google Protobuf and usage of Slots

2019-02-25 Thread Holger Freyther
Hi, from my point of view the pillars of future services are Google protobuf[1] and gRPC. Protobuf can be used for configuration files[2], tracing/logging[3] and storage[4]. gRPC is built on top-of HTTP2 and is using the protobuf IDL and marshaling. Many projects (etcd, envoy, Google Cloud,

Re: [Pharo-users] RSA and cryptography

2019-01-23 Thread Holger Freyther
> On 23. Jan 2019, at 12:55, Norbert Hartl wrote: > Hi! > Is there anyone having crypto algorithms implemented or used a native lib to > do so. We are using the Cryptography package and have problems. The code is > quite old so we won’t spend time fixing it. We rather interface with a

Re: [Pharo-users] MongoCursor>>execute raising 'Unexpected responseTo in response'

2018-12-20 Thread Holger Freyther
> On 17. Dec 2018, at 01:04, Sebastian Sastre > wrote: > > Hi All, Holger... The Mongo protocol allows multiple requests to be in transient and is using a client assigned id to indicate which request was responded to. MongoTalk is only fit to send/handle one request at a time per socket.

Re: [Pharo-users] About the IoT Hackathon last Friday

2018-11-21 Thread Holger Freyther
> On 17. Nov 2018, at 14:15, Norbert Hartl wrote: > > To get a better impression we made an image film of the event. Now the 4K > version is available on youtube. > > https://www.youtube.com/watch?v=dIl9FAatKyw neat!

[Pharo-users] gRPC for pharo?

2018-07-14 Thread Holger Freyther
Hey, I have collected some experience using gRPC[1] and would like to make clients and be a server from Pharo. After digging into the gRPC implementation it seems feasible[2]. Would someone be interested in collaborating on an implementation? cheers holger [1] An RPC framework using

Re: [Pharo-users] Pharo70 session start and silent failures

2018-05-15 Thread Holger Freyther
> On 14. May 2018, at 17:39, Guillermo Polito wrote: > > > Can you give me more details about how to reproduce it? 1.) Load MCZ into image (ignore the missing dependency) http://smalltalkhub.com/mc/osmocom/Core/main/OsmoCore-HolgerHansPeterFreyther.43.mcz 2.)

[Pharo-users] Pharo70 session start and silent failures

2018-05-03 Thread Holger Freyther
I am facing a problem with the new SessionManager>>#snapshot:andQuit: code. I have had plenty Pharo70 images that didn't restore anymore as the code is waiting for the "wait" semaphore. For sure it is something my code is doing but could anyone think of ways to make it more robust and handle

Re: [Pharo-users] [Pharo-dev] libfreetype6 missing in the dependencies of ubuntu Pharo distribution

2018-04-27 Thread Holger Freyther
> On 27. Apr 2018, at 19:22, Peter Uhnák wrote: > I've installed both ( apt install pharo6-32-ui pharo6-64-ui ), but the font > problem was present only for 32bit. > > Note that I was launching the VM packaged with ZeroConf installation, I've > only used apt mainly to

Re: [Pharo-users] FileStream deprecation in Pharo7

2018-04-27 Thread Holger Freyther
> On 27. Apr 2018, at 21:13, Sven Van Caekenberghe wrote: > > Holger, Sven! > The answer is simple: use FileSystem, it has been in the image for years. > > The 'Deep into Pharo' book has a chapter about it. > > Sven > > (Apart from that, you are right: we can always write

[Pharo-users] FileStream deprecation in Pharo7

2018-04-27 Thread Holger Freyther
tl;dr could we extend PackageManifest>>#isDeprecated to provide reasoning and pointers to potential replacements? I was loading some of my code into a Pharo7 image and while debugging noticed that FileStream is deprecated (text stroke through in the Playground). But neither the FileStream

Re: [Pharo-users] libfreetype6 missing in the dependencies of ubuntu Pharo distribution

2018-04-26 Thread Holger Freyther
> On 27. Apr 2018, at 04:55, Peter Uhnák wrote: > > Hi, > > I've just tried installing pharo from package manager on Elementary OS, which > is a ubuntu derivative. > > All went well, except fonts weren't working in 32 bit version, and I had to > install by hand

Re: [Pharo-users] Right repo for TaskIt and features?

2018-04-24 Thread Holger Freyther
> On 24. Apr 2018, at 23:31, Santiago Bragagnolo > wrote: > > > Yes. But with more work than the workers can handle the queue will grow. > Which means the (median/max) latency of the system will monotonically > increase.. to the point of the entire system

Re: [Pharo-users] Right repo for TaskIt and features?

2018-04-24 Thread Holger Freyther
> On 25. Apr 2018, at 08:42, Andrew Glynn wrote: > > Generally to avoid this I've used the Synapse micro service bus. It also > allows the creation of an unlimited number of queues, allowing higher > priority tasks to "jump the queue". ' Backpressure' is precisely what

Re: [Pharo-users] Right repo for TaskIt and features?

2018-04-24 Thread Holger Freyther
> On 24. Apr 2018, at 20:16, Santiago Bragagnolo <santiagobragagn...@gmail.com> > wrote: > > Hi Holger! > I respond in bold hehe. And in the reply I am back to non rich text. Let me see if I quote it correctly. > > > > On Tue, 24 Apr 2018 at 12:00 Ho

[Pharo-users] Right repo for TaskIt and features?

2018-04-24 Thread Holger Freyther
Hey! I look into using Taskit for a new development and wondered about some features. What is the right upstream repository? What are the goals to get builds greens? I wondered if somebody thought of remote task execution? What I am missing is handling for overload. E.g. before queuing too

[Pharo-users] Namespaces and ASN1 types in Cryptography package

2018-03-31 Thread Holger Freyther
Hi, I was debugging some test failures and it turns out that my code defines an ASN1IntegerType and the Cryptography package (a dependency of MongoTalk which is loaded into my code) has such a class as well. Thanks to Epicea I could see which package added the method but now I have no idea

Re: [Pharo-users] Help Petit Parse

2018-03-12 Thread Holger Freyther
> On 12. Mar 2018, at 23:07, Pau Guillot wrote: > > (#word asParser , #digit asParser plus flatten ==> [:node | node second]) > star parse: 'A123A123'. > -> #('123' '123') (((#word asParser , #digit asParser plus flatten ==> [:node | node second]) plus) ==> [

Re: [Pharo-users] Workspace/Playground behavior change for unknown "bindings"?

2018-02-07 Thread Holger Freyther
> On 7. Feb 2018, at 08:58, Marcus Denker wrote: > > Ok, pull request for Pharo7: > > https://github.com/pharo-project/pharo/pull/806 > > we should add that to Pharo6, too (Slice is already in the inbox) > lovely! Thank you!

[Pharo-users] Workspace/Playground behavior change for unknown "bindings"?

2018-02-06 Thread Holger Freyther
Hey, I recently showed Pharo to a friend and one thing I like doing is to open a playground/workspace and then write and execute: Person new name: '...'; age: 2342; yourself In old versions of Pharo I would get a popup like "Person" not

Re: [Pharo-users] Iceberg regex

2017-12-26 Thread Holger Freyther
> On 26. Dec 2017, at 23:02, Ian Ian wrote: Hey! > Yes. That is how it is on github but there are private hit serveers. My > own, for example. > > I found it usable after I changed the regex in both classes where it exists. I tried to replace some of regexps

Re: [Pharo-users] How to write a little REPL

2017-11-26 Thread Holger Freyther
> On 27. Nov 2017, at 05:38, Stephane Ducasse wrote: > > Hi Hey! > I'm working on a mini scheme implementation and I would like to add a REPL and > I wonder how I can super easily get a read line. The easiest might just be to use "rlwrap your-interpreter"? But I

Re: [Pharo-users] How to deploy headless app without changes and source files?

2017-11-18 Thread Holger Freyther
> On 7. Jun 2017, at 17:11, Sven Van Caekenberghe wrote: Hi, > > Note: it might be possible that some code fails due to missing method > sources, YMMV. does the exception handling code need the sources files? Anecdotical I had some issues (exception handling causing

Re: [Pharo-users] "sourcetrail" a code browser for C++/Java

2017-11-03 Thread Holger Freyther
> On 1. Nov 2017, at 06:03, rainer.wink...@poaceae.de wrote: > > > Hi Holger, > > > So I am still using the Open Source Software Exploration Tool Moose2Model > (www.moose2model.org) I developed. I use it for Smalltalk and SAP ABAP. It > can be used in a similar way to Sourcetrail, but

[Pharo-users] "sourcetrail" a code browser for C++/Java

2017-10-26 Thread Holger Freyther
Hi, I was just watching some videos and stumbled across sourcetrail[1][2]. The visualizations look pretty neat. Maybe it can be used an inspiration? cheers holger [1] https://www.youtube.com/watch?v=r8S6V6U5Vr4 [2] https://www.sourcetrail.com

Re: [Pharo-users] Deploying on Linux with LibC version < 2.15

2017-10-05 Thread Holger Freyther
> On 5. Oct 2017, at 22:22, Cyril Ferlicot wrote: > > > Your instructions describes the steps for CentOS 6.x. Are they the > exact same steps for RHEL6? I don't have a RHEL subscription but I assumed they are similar but OBS even produces RHEL packages:

Re: [Pharo-users] Deploying on Linux with LibC version < 2.15

2017-10-05 Thread Holger Freyther
> On 5. Oct 2017, at 18:08, Bruce O'Neel wrote: > > Hi, Hi! > Well, our redhat 6.9 systems have 2.12, so, that qualifies. > > And yes, we still have RedHat 6, and 6.9 was released only 6 months ago! It > will finish extended support in a mind-blowing 7 more years

Re: [Pharo-users] Deploying on Linux with LibC version < 2.15

2017-10-05 Thread Holger Freyther
> On 4. Oct 2017, at 17:39, Cyril Ferlicot wrote: > > Hi, > > I am migrating some applications from Pharo 4 to Pharo 6. The new > deployment of those applications needs to work on linux with LibC < > 2.15. With Pharo 4 there was a special VM[1]. I do not see such VM

Re: [Pharo-users] Smalltalk gets a reference in fastcompany Kay interview

2017-09-19 Thread Holger Freyther
> On 20. Sep 2017, at 06:43, Offray wrote: Hey! > Its a shame nog being able to read the article, because it is not posted in > the open web and I don't have Facebook or Google to pay with my privacy for > the "privilege" of reading Fast Company. sign-up by email

[Pharo-users] "Leaking" CommandLineHandler when running headless image

2017-09-19 Thread Holger Freyther
Hi, I am currently trying to run one of my images as non-root and related to that look into keeping changes in a different directory or not writing them at all. While looking at a write failure I saw some paths being logged that I used during CI to load code and should have been GCed.

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-20 Thread Holger Freyther
> On 18. Aug 2017, at 16:46, Denis Kudriashov wrote: > > @Esteban: Would you accept a change to the FFI-Pharo5Compat to not use the > currentScope variable/reduce error checking? Or would you accept it in a > FFI-Pharo6Compat package? > I think it would help to be able

Re: [Pharo-users] ZnConstants class>>#httpStatusCodes and cloudflare

2017-08-19 Thread Holger Freyther
> On 18. Aug 2017, at 20:14, Sven Van Caekenberghe wrote: > > Hi Holger, > > It is probably not a good idea to be too strict here. I committed the > following to #bleedingEdge thank you! holger

[Pharo-users] ZnConstants class>>#httpStatusCodes and cloudflare

2017-08-18 Thread Holger Freyther
Hi, I am currently using ZnClient to fetch data from a service behind "cloudflare" and sometimes the real/origin backend is unreachable/fails. Cloudflare has added additional[1] 5XX codes and ZnStatusLine>>#code: will signal an ZnUnknownHttpStatusCode because of that. I wonder how ZnClient

Re: [Pharo-users] Parser failure on FFI pragmas declaration in Pharo 5

2017-08-18 Thread Holger Freyther
> On 17. Aug 2017, at 19:37, Denis Kudriashov wrote: Hey! > Yes. > > Also simple solution can be to override compiler of problem classes to return > old compiler. > > I know it is better to rewrite code but it can be not simple task when there > are a lot of

[Pharo-users] Object count/memory usage in Pharo6 WAS Re: Critical issues for Dr. Geo on P6

2017-07-26 Thread Holger Freyther
> On 22. Jul 2017, at 14:00, Hilaire wrote: > > Hi Holger, > > With Pharo3 I was proceeding like this, by uninstallation of packages. > However there is the promise of building from a minimal image, but it is not > documented AFAIK. > > By curiosity, what is the size of

Re: [Pharo-users] Critical issues for Dr. Geo on P6

2017-07-26 Thread Holger Freyther
> On 22. Jul 2017, at 12:07, Stephane Ducasse wrote: > > Hi holger Hey Stef! > "the growth from Pharo3->Pharo6" us too :) > this is why we invested in the bootstrap and this is why we will > remove (and we started) packages and classes. > And this is also why we

Re: [Pharo-users] "Leak"/reference hunting with RefsHunter

2017-07-22 Thread Holger Freyther
> On 22. Jul 2017, at 20:40, Pavel Krivanek wrote: > > In the most of standard cases you can use ReferenceFinder. It is in the > catalog too and I think that we should integrate it into the Pharo because it > is extremely useful for the memory leaks detection. It

[Pharo-users] "Leak"/reference hunting with RefsHunter

2017-07-22 Thread Holger Freyther
Hi, as I didn't remember the name of the tool and maybe as future reference to myself. I have installed RefsHunter from the catalogue and it helped me a lot. I was looking at the memory consumption of my Pharo6.0 image and did something crazy like counting how many objects exist of a specific

Re: [Pharo-users] Critical issues for Dr. Geo on P6

2017-07-22 Thread Holger Freyther
> On 21. Jul 2017, at 11:19, Hilaire wrote: > > Hello people, Hi! > Here are a few critical issues due to bugs or lack of information or feature > for porting Dr. Geo to P6. There were others critical issues from P6 but were > resolved and will be hopefully integrated,

Re: [Pharo-users] UUIDGenerator

2017-06-17 Thread Holger Freyther
> On 17. Jun 2017, at 20:51, horrido wrote: Hey! > > 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

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-16 Thread Holger Freyther
> On 12. Jun 2017, at 16:41, Juraj Kubelka wrote: > > Hi Holger, > > I have an impression that it can be solved by using > "--no-default-preferences” option: > ./pharo Pharo.image --no-default-preferences > > Is it a good solution for you? Or do you need to

Re: [Pharo-users] [Pharo-dev] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 9. Jun 2017, at 13:26, Sven Van Caekenberghe wrote: Hey, > Why would $HOME not be set ? In this specific case runit doesn't export HOME when starting my service but looking at systemd and picking a random service like exim4.service I see: $ strings /proc/946/environ

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 9. Jun 2017, at 11:09, Holger Freyther <hol...@freyther.de> wrote: > > > a.) Behave like unix and resolve $HOME to '' > > $ unset HOME > $ echo $HOME/.config > /.config > > self home / '.config' => '/.config' Implementing Unix

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 8. Jun 2017, at 23:16, Holger Freyther <hol...@freyther.de> wrote: > > Hey Juraj! Hey! this will most likely block more people trying to deploy a headless Pharo6 image but I am not so sure how to properly fix it. > $ unset HOME > $ pharo ... > Error: Can't f

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-06-08 Thread Holger Freyther
> On 17. Apr 2017, at 21:30, Juraj Kubelka wrote: > > Hi Holger, Hey Juraj! > Basically it tests `FileLocator home exists`, if false, it does not touch > disk. We could also add a #disablePersistence method if necessary. I thought I tested it but somehow it is

Re: [Pharo-users] Some Metacello issue

2017-06-07 Thread Holger Freyther
> On 7. Jun 2017, at 14:09, Stephan Eggermont wrote: > > Never refer to fixed versions unless you know why (you need to avoid a > specific bug fix). When wanting to have repeatable builds (e.g. for bugfixes) and in the absence of other means to lock/define versions

[Pharo-users] Some Metacello issue

2017-06-06 Thread Holger Freyther
Hi, after having made some new releases I have an odd Metacello issue and I am not sure how to debug it. This happens on my legacy Pharo3/Pharo4 images that I still need to support in deployment. It seems to be related to a dependency chain of "app"->VoyageMongo->Magritte3 3.5.0 and somehow

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Holger Freyther
> On 30. Apr 2017, at 11:18, Mark Rizun wrote: > > > > Sorry, I wasn't very accurate in previous email. > Actually, my friend is using MongoTalk/Voyage, and she encountered a problem > that it is not possible to work with databases created in 3.0+ versions of > MongoDB.

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Holger Freyther
> On 30. Apr 2017, at 10:47, Mark Rizun wrote: > > Hi, Hi! > Holger, thank you, I will try your suggestion. > However, I use MongoDB 3.4, and I think that Voyage has support for only > versions under 3.0. Am I right? oh? Is that written somewhere in the Voyage

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-28 Thread Holger Freyther
> On 28. Apr 2017, at 14:27, Mark Rizun wrote: > > Hi, Hi! > Is it possible to retrieve data from Mongo collection if it was not created > via Voyage? > Meaning that I do not have a class in Pharo that would correspond to said > collection (should I implement one?). Yes.

[Pharo-users] Pharo6 ombu-session files in pharo-local

2017-04-15 Thread Holger Freyther
Hi, as part of moving a test image from Pharo5 to Pharo6 I also noticed that on each start a new "ombu-session" folder will be created (and never cleaned up). For a server-side deployment this is quite unfortunate as I want/need to use a fixed amount of disk space. I think Norbert has similar

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-15 Thread Holger Freyther
> On 15. Apr 2017, at 07:59, Holger Freyther <hol...@freyther.de> wrote: > > > * Why isn't the migration from Ston to Fuel more explicit? > * Why is "load" trying to save? > * Why is "ensure:" used instead of load? > * Not sure why

Re: [Pharo-users] Pharo6 server deployment and no home directory

2017-04-15 Thread Holger Freyther
> On 15. Apr 2017, at 00:23, Juraj Kubelka wrote: > > Hi, Hey! >> As this is a server application and I run multiple VMs with the same image >> and there is no home directory I would prefer that no information is >> persisted at all. Can this be done? Have there

[Pharo-users] Pharo6 server deployment and no home directory

2017-04-14 Thread Holger Freyther
Hi, as Pharo6 is around the corner I have moved my CI build from tracking Pharo5 to Pharo6 but I run into a problem. Either if $HOME is not set at all or $HOME points to a wrong directory I run into the error below. As this is a server application and I run multiple VMs with the same image and

Re: [Pharo-users] snap package can't find vm-display-X11

2017-03-12 Thread Holger Freyther
> On 12 Mar 2017, at 19:32, Alistair Grant wrote: > > > $ ldd /snap/pharo/x1/usr/bin/pharo-vm//vm-display-X11.so > not a dynamic executable your host doesn't have the 32bit libc library/dynamic linker? What does file say on the file? I never used snap but is the

Re: [Pharo-users] [Pharo-dev] What is the craziest bug you ever face

2017-03-09 Thread Holger Freyther
> On 9 Mar 2017, at 12:36, Stephane Ducasse wrote: > > Hi guys > > During the DSU workshop we were brainstorming about what are the most > difficult bugs we faced and what are the conceptual tools that would have > helped you. Tracking down a problem where a header

[Pharo-users] Please commit/fix GAMysqlBinReader>>#timeStampFrom:

2017-03-03 Thread Holger Freyther
Hi, on Pharo5 and "latest"(?) stable release of Garage it is implemented as: timeStampFrom: aStream "ByteStream" | dt | dt := self dateTimeFrom: aStream. ^ dt ifNil: [nil] ifNotNil: [dt asTimeStamp] There is no implementor of asTimeStamp. From what I read is a TimeStamp

Re: [Pharo-users] Request for help: Please upload test results of your foss projects

2017-02-26 Thread Holger Freyther
> On 26 Feb 2017, at 23:37, Serge Stinckwich wrote: > > Nice job Holger ! > I try and I have some problems : > https://travis-ci.org/PolyMathOrg/PolyMath/jobs/205545068 Sorry about it. It seems with the containerized infrastructure I can not install binaries. I

Re: [Pharo-users] Request for help: Please upload test results of your foss projects

2017-02-26 Thread Holger Freyther
> On 27 Feb 2017, at 04:38, Cyril Ferlicot D. wrote: > > > Thank you! > > I have one problem, with the generated text area disabled I cannot copy > the generated badge without playing with the HTML of the page. Please re-load and see if it is better? The textarea is

Re: [Pharo-users] Request for help: Please upload test results of your foss projects

2017-02-26 Thread Holger Freyther
> On 26 Feb 2017, at 16:37, Holger Freyther <hol...@freyther.de> wrote: > > > Documentation:http://benchupload.readthedocs.io > Example usage:https://github.com/moiji-mobile/smsc > Project overview: https://bob-bench.org/r/gh/moiji

[Pharo-users] Request for help: Please upload test results of your foss projects

2017-02-26 Thread Holger Freyther
Good Afternoon! one thing I was missing with travis-ci is a graph for the executed unit tests. In Jenkins there is the Junit plugin that will search for xml files and then provide a table view and a graph. I found this quite useful and it helped me to see that I once accidentally disabled the

Re: [Pharo-users] Which is the best way of opening a PDF and HTML local files from Pharo

2017-02-25 Thread Holger Freyther
> On 26 Feb 2017, at 12:27, David T. Lewis wrote: > Hi, > I tried "OSProcess command: 'xdg-open ', pdfPathString" in Pharo, and it works > for me. Maybe check to be sure that pdfPathString is right? if you don't control pdfPathStrig you will also need to escape this

Re: [Pharo-users] DNU on materializing a fueled out exception

2017-01-22 Thread Holger Freyther
> On 28 Dec 2016, at 13:44, Mariano Martinez Peck wrote: > > I am not asking someone to fix what I think is important but I am still > struggling to grasp the process of getting a bugfix into Pharo5. > > > But are you sure there will be a bugfix release of 5.0?

Re: [Pharo-users] DNU on materializing a fueled out exception

2016-12-28 Thread Holger Freyther
> On 19 Dec 2016, at 08:53, Holger Freyther <hol...@freyther.de> wrote: Good Morning Everyone, > So it looks like now it should create a debug session first and then pass it > to the debugger? I think loading new fuel in Pharo3.x is still possible so > maybe it

Re: [Pharo-users] Debugger and stepping over a function that will have a DNU

2016-12-05 Thread Holger Freyther
> On 05 Dec 2016, at 13:03, Denis Kudriashov wrote: > > Dear Denis, > It was fixed here 16877 and here 19108. (last allows interrupt in such cases) is this in Pharo5 or will it show up in Pharo5? thank you holger

[Pharo-users] Debugger and stepping over a function that will have a DNU

2016-12-04 Thread Holger Freyther
Hi, before I try to reproduce this exactly I wondered if the following is a known issue with Pharo5. If I am in the debugger and try to step over a message send and that would generate a DNU, Pharo starts taking 99% cpu time. If I use CMD+./CTRL+. to interrupt it doesn't really work either. I

[Pharo-users] GitFileTree-MergeDriver and using it with git mergetool

2016-10-04 Thread Holger Freyther
Good Morning, Thierry Goubier has merged a change to use the Pharo "merge" as a tool for "git mergetool" and in this mail I explain how to configure it, give a small example and explain my usecases for it. I am not sure the merge is fully working and would like people to test and review (code

Re: [Pharo-users] Speeding-up >>#instVarNamed: in Pharo-5.0 and beyond?

2016-09-29 Thread Holger Freyther
> On 29 Sep 2016, at 12:28, Denis Kudriashov wrote: > > Cool. > > What the percentage of speedup? Random micro benchmark... | m | m := Morph new. [ | var | var := m instVarNamed: #submorphs ] bench From: 983,066 per second To: 1,302,098 per second

Re: [Pharo-users] Speeding-up >>#instVarNamed: in Pharo-5.0 and beyond?

2016-09-29 Thread Holger Freyther
> On 29 Sep 2016, at 10:25, Marcus Denker wrote: > > > > Slice committed: > > https://pharo.fogbugz.com/f/cases/19155/speedup-instVarNamed > > Marcus that was quick! I had locally modified to use 1 to: specLayout size do: [] and then use specLayout at:

[Pharo-users] Speeding-up >>#instVarNamed: in Pharo-5.0 and beyond?

2016-09-28 Thread Holger Freyther
Hi, Magritte and my TagLengthValue (TLV) both use >>#instVarNamed:/>>#instVarNamed:put: to read and write from an object. I was just running >>#bench on my SMPP library and noticed that besides Spur Pharo5 is slower than Pharo3. I added this to PointerLayout: >># instVarIndexFor: aString

Re: [Pharo-users] Script to migrate all mcz packages to git?

2016-09-24 Thread Holger Freyther
> On 02 Aug 2016, at 13:23, Peter Uhnak wrote: > >> Hi Peter, > At the time of the (post) writing it did preserve commit dates, but there was > no metadata-less yet. > > In any case, I don't see a reason why it shouldn't preserve commit dates with > metadata-less — it

Re: [Pharo-users] Using a Unix filedescriptor in a FileStream?

2016-09-22 Thread Holger Freyther
> On 22 Sep 2016, at 23:33, Mariano Martinez Peck wrote: > > Hi Holger, Hey! > > I just run all OSSubprocess tests and they all worked! (tested in Pharo 5.0). > > I guess I will commit this on the dev branch and hopefully when this is > integrated into the VM I can

Re: [Pharo-users] Using a Unix filedescriptor in a FileStream?

2016-09-22 Thread Holger Freyther
> On 21 Sep 2016, at 15:09, Mariano Martinez Peck wrote: > > > > Exactly. I have been wanting this a couple of times while doing OSSubprocess. https://github.com/pharo-project/pharo-vm/pull/108. Would be nice if you could review it and give it a try. It adds two

Re: [Pharo-users] Using a Unix filedescriptor in a FileStream?

2016-09-21 Thread Holger Freyther
> On 20 Sep 2016, at 20:38, Mariano Martinez Peck wrote: > > Hi Holger, Good Morning, thank you for your reply. > | reader | > reader := OSSAttachableFileStream name:'myStream' attachTo: aFileID writable: > false. > reader setNonBlocking "optional" the only issue is

[Pharo-users] Iceberg and git workflow

2016-09-12 Thread Holger Freyther
Hi, I am a heavy git user with languages like C, C++, Python, Ruby and even GNU Smalltalk and I hope iceberg will bring the same powerful experience to Pharo. Last Friday I started to add a bigger refactoring for a new feature to my software and didn't finish. Sadly today an issue in the code

[Pharo-users] pharo50 vm update?

2016-08-18 Thread Holger Freyther
Good Morning, I am looking into migrating to Pharo5.0 and wonder what it would take get the performance fix from VMMaker.oscog-eem.1914.mcz into the stable Pharo50 VM? kind regards holger

Re: [Pharo-users] [Garage] How to espace sql special chars in a query?

2016-08-12 Thread Holger Freyther
> On 12 Aug 2016, at 13:36, Blondeau Vincent > wrote: > > > I think that ' close the EXECUTE query and is not escaped by garage. you are right. The statement is very sub-optimal (but should be easy to fix). "If not it means by the moment that we are

Re: [Pharo-users] [Garage] How to espace sql special chars in a query?

2016-08-12 Thread Holger Freyther
> On 12 Aug 2016, at 12:10, Blondeau Vincent > wrote: > > BTW, even with prepared statements, it doesn't work either: > SQL query : EXECUTE preparedStmtd2qbaa1ap7ceiaq643sxlkyyw('Quand > l'utilisateur est connecté sur "son serveur"', '1277') > -> 'ERREUR:

Re: [Pharo-users] [Garage] How to espace sql special chars in a query?

2016-08-12 Thread Holger Freyther
> On 12 Aug 2016, at 10:34, Blondeau Vincent > wrote: > > Hello, Hi > I am looking for a method that escape special characters for SQL queries. > E.g.: I want to escape : ‘ in a where expression: ‘….Where field1 = ‘’‘, > myvariable , ‘‘’ …..’ with

[Pharo-users] SUnit and "data driven" tests

2016-08-12 Thread Holger Freyther
Hi, I have a test/algorithm that I would like to test with different sets of input (and matching expected) output. Let's imagine I write a protocol library for the RTP streaming protocol and would like to verify my implementation of sequence number wrapping and jitter delay, e.g. the

[Pharo-users] State of ZeroMQ bindings and polling

2016-08-02 Thread Holger Freyther
Hi, I wonder if someone is using ZeroMQ with Pharo. Is it in production? How does it work? I specially wonder about the polling integration. Is there some integration? How does it work? h.

[Pharo-users] Script to migrate all mcz packages to git?

2016-08-02 Thread Holger Freyther
Hi, I think I have seen something but can't find it right now. I would like to move to git but preserve the history (and my commit messages and the commit date/time). Is there a script that goes through all versions of a package and copies them to git repository? Will it be able to preserve

Re: [Pharo-users] [ANN] JSONWebToken

2016-07-22 Thread Holger Freyther
> On 22 Jul 2016, at 16:17, Norbert Hartl wrote: > Hi! > Taking the assumption of having 20 service images, every image would need to > get back to A in order to check authorization information. The more services > images you have the more load it will put on A. In a

Re: [Pharo-users] Mongo-BSON OID LargePositiveInteger increase

2016-05-31 Thread Holger Freyther
> On 30 May 2016, at 19:03, Henrik Johansen > wrote: > Hi! > It's starting to come back to me; IIRC, + will normalize results to > SmallIntegers, digitAdd: will not. not with Pharo5: ((LargePositiveInteger new: 3) digitAdd: SmallInteger maxVal - 10) class =>

[Pharo-users] Mongo-BSON OID LargePositiveInteger increase

2016-05-30 Thread Holger Freyther
Hi, I tried to reach the author for several weeks but he doesn't seem to respond so I am trying to reach a wider audience to either confirm my suspicion or to be corrected. In http://smalltalkhub.com/#!/~MongoTalkTeam/mongotalk/diff/Mongo-BSON-HenrikSperreJohansen.43 the following change is

Re: [Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-05-29 Thread Holger Freyther
> On 29 May 2016, at 09:58, Sven Van Caekenberghe wrote: > > >> >> For some reason the package manager is refreshing all packages. I don't know >> why it happens, and it's quite annoying (because it slows down commits), but >> it doesn't cause any actual problems, so don't

[Pharo-users] Saving to local git and "Loading all file names from http://...pharo5/inbox"

2016-05-28 Thread Holger Freyther
Hi, every time I save a local package using gitfiletree:// it tries to download from the pharo5 inbox. Is this to be expected? I do not have the inbox associated with that package though? Can the version number resolving be changed? kind regards holger

Re: [Pharo-users] Problem with Mongo on Pharo5 ("collection already exists")

2016-05-25 Thread Holger Freyther
> On 25 May 2016, at 15:42, Esteban Lorenzano wrote: > > Hi, > No I don’t… in part because is not me who make that code, but also because it > is expected: after, you have: > > getCollection: aString > ^ [ self addCollection: aString capped: false size: nil

Re: [Pharo-users] New Success Story: Sysmocom: Free Software for Mobile Communication

2016-05-23 Thread Holger Freyther
> On 23 May 2016, at 22:28, Esteban A. Maringolo wrote: > > It is really cool and impressive. > > Is any of the supporting libraries open-source? (like ASN.1) http://smalltalkhub.com/#!/~NorbertHartl/ASN1 The model/ASN1 parser is probably one of the most complete FOSS

Re: [Pharo-users] StampClient produce only and dealing with heartbeat

2016-05-20 Thread Holger Freyther
> On 19 May 2016, at 10:40, Sven Van Caekenberghe wrote: > > Hi Holger, Dear Sven, > However, you need a regular opportunity to send something out. Thinking out > loud, what about something like > > StampClient>>#runWith: receiveBlock do: sendBlock > > where receiveBlock is

  1   2   >