Re: [Pharo-dev] [Pharo-users] 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-dev] [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-dev] Idea and proof of concept: Accept for Test

2018-04-05 Thread Holger Freyther
> On 5. Apr 2018, at 08:31, Marcus Denker wrote: > > > And it leads immediately (at least for me) that I start to get lots of ideas… > > so now we accept a single method for test. > > Why not… (random ideas) nice! Do we have this for collecting testcases and

Re: [Pharo-dev] Some segfault crashes and freezes when trying to re-run saved pharo 7 images

2018-03-26 Thread Holger Freyther
> On 26. Mar 2018, at 00:00, Eliot Miranda wrote: > > Hi Holger, Hey! > Is the intent of CCallOut with: aBlock to collect and defer deallocations > until the block completes? I think it's nice but complex and wonder how > general it is. But it seems like it

Re: [Pharo-dev] Some segfault crashes and freezes when trying to re-run saved pharo 7 images

2018-03-24 Thread Holger Freyther
> On 24. Mar 2018, at 19:22, Eliot Miranda wrote: > Dear Eliot, >> d.) Re-write FreeType with Alien and just use the Plugin to conveniently >> link/load to freetype.. > > I wonder if there is sense in trying to come up with a general memory handle > object that

Re: [Pharo-dev] Some segfault crashes and freezes when trying to re-run saved pharo 7 images

2018-03-24 Thread Holger Freyther
> On 24. Mar 2018, at 17:03, Holger Freyther <hol...@freyther.de> wrote: > > > > FreeTypeExternalMemory>validate just checks if the handle isValid but > remember 1st from my previous mail. We have not _yet_ cleared the FT2Handle > SubInstances.. So the memory i

Re: [Pharo-dev] Some segfault crashes and freezes when trying to re-run saved pharo 7 images

2018-03-24 Thread Holger Freyther
> On 24. Mar 2018, at 16:42, Holger Freyther <hol...@freyther.de> wrote: > > > > 1.) FT2Handle class>>#startUp: isn't called. Which means > FreeTypeFace>>#beNull has not been called yet! > > I think implementing: > > Fr

Re: [Pharo-dev] Some segfault crashes and freezes when trying to re-run saved pharo 7 images

2018-03-24 Thread Holger Freyther
> On 21. Oct 2017, at 20:30, Stephane Ducasse wrote: > Hey! > Thanks thomas we should find the problem. > my CI started to suffer from this too (and I have one where it is broken and now one where I can reproduce it). I started the macOS VM with --trace[1] and

Re: [Pharo-dev] New Year Wishlist (2018) ?

2017-12-30 Thread Holger Freyther
> On 30. Dec 2017, at 20:13, Norbert Hartl wrote: Hey! > - working SSL on newer distributions related to that I would love a working VM release process. - Tag releases of the stable VM - Be able to take release X.Y and release X.Y+1 with a single bugfix

Re: [Pharo-dev] Pharo7 and full block closures

2017-09-22 Thread Holger Freyther
> On 22. Sep 2017, at 13:33, Clément Bera wrote: Hi Clement, > Sista will work for the release of Pharo 7 as it did for Pharo 6 and 6.1 but > it won't work every day during the alpha of Pharo 7 and no sane framework > developer can guarantee that. Sista does not

[Pharo-dev] Pharo7 and full block closures

2017-09-21 Thread Holger Freyther
Hi, I kind of missed the open alpha of "Scorch" and to make up for it I tried to follow the instructions on Pharo7 but I do crash the VM. Is that to be expected? "Add special selector for trap instruction" Smalltalk specialObjectsArray at: 60 put: #trapTripped. "Disable hot spot detection (to

[Pharo-dev] Bintray for Pharo7 images?

2017-09-14 Thread Holger Freyther
Hey, I keep on clicking on the "bintray" badges to get to a recent Pharo7 image but after looking at the Jenkinsfile I don't see the script being invoked and given the timestamp of "201706" it seems no images were uploaded for a while? Should we remove the bintray badge or upload them

[Pharo-dev] [pharo-project/pharo-vm] Make packages buildable on Debian9 and Ubuntu 16.10 (#143)

2017-08-30 Thread Holger Freyther
You can view, comment on, or merge this pull request online at: https://github.com/pharo-project/pharo-vm/pull/143 -- Commit Summary -- * packaging: Conflict with roar-dev to make libsdl2-dev installable * packaging: Switch from itimer to timer thread for the packaged variant -- File

Re: [Pharo-dev] [pharo-project/pharo-vm] Allow to open a FileStream based on fd or FILE* (#142)

2017-08-30 Thread Holger Freyther
AppVeyor failed because it couldn't download libpng. How can we retry the build? It would be nice to get this primitive in for Pharo7. -- You are receiving this because your review was requested. Reply to this email directly or view it on GitHub:

Re: [Pharo-dev] [pharo-project/pharo-vm] Make packages buildable on Debian9 and Ubuntu 16.10 (#143)

2017-08-30 Thread Holger Freyther
@zecke requested your review on: pharo-project/pharo-vm#143 Make packages buildable on Debian9 and Ubuntu 16.10. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/pharo-project/pharo-vm/pull/143#event-1227574665

Re: [Pharo-dev] Latest Debian, Ubuntu and CentOS packages of the pharo-vm

2017-08-23 Thread Holger Freyther
> On 20. Aug 2017, at 03:02, Stephane Ducasse wrote: Hey! > Tx Holger > Really tx. appreciated but without Damien's initial Debian packaging, Estebans review, Norbert's drive to fix this for good and financial incentive by 2denker GmbH we wouldn't be here.

Re: [Pharo-dev] Pharo 7 provisional HOWTO

2017-08-20 Thread Holger Freyther
> On 12. Aug 2017, at 17:47, Pavel Krivanek wrote: > > > yes, because this HOWTO is already obsolete. See: > > https://github.com/guillep/PharoIntegrationProcess/wiki/Pharo-Development-Process Ah okay. The hidden system repository explains why the IceSavedPackage

[Pharo-dev] Latest Debian, Ubuntu and CentOS packages of the pharo-vm

2017-08-18 Thread Holger Freyther
Hi, when running Pharo in production you might want to install the image and a VM from distribution packages. So far there were no current public packages and during the last months I have modernized the debian packaging and recently added CentOS rpm packaging as well. The process of

Re: [Pharo-dev] Pharo 7 provisional HOWTO

2017-08-12 Thread Holger Freyther
> On 26. Jun 2017, at 19:14, Pavel Krivanek wrote: > > Hi, Hey! thank you for this HOWTO! > username := 'YOUR-USER-NAME'. > repository := IceRepositoryCreator new > url: 'g...@github.com:pharo-project/pharo.git'; > location: ('pharo-core'

[Pharo-dev] GTInspector and sorting in dictionaries

2017-07-26 Thread Holger Freyther
Hey, I have a simple dictionary with class as the key and a number as value. In the inspector I try to sort it by the value. But it is doing an alphabetical sort and not numerical? I can change Dictionary>>#gtInspectorItemsIn: to pass a sortedBy: block when adding the value column but is "<"

[Pharo-dev] Pharo6 deployment issues

2017-06-13 Thread Holger Freyther
Hi! today I started to look at of why my benchmark in the CI stalled/didn't complete and I see three separate issues and wonder how to address them properly? I have a truncated log attached Issues: * In my CI script I disable Deprecation warnings but this has no influence on

Re: [Pharo-dev] CPU and RAM usage of Pharo3 vs. Pharo6

2017-06-09 Thread Holger Freyther
> On 9. Jun 2017, at 23:09, Holger Freyther <hol...@freyther.de> wrote: > > related to Morphic polling? Right now the images still install RFB to help > poking it at runtime (I should use the remote debugging for sure) so > disabling morphic completely might not be an op

Re: [Pharo-dev] CPU and RAM usage of Pharo3 vs. Pharo6

2017-06-09 Thread Holger Freyther
> On 9. Jun 2017, at 19:11, philippe.b...@highoctane.be > wrote: > Hi! > There is a server mode option somewhere that could reduce some usage. related to Morphic polling? Right now the images still install RFB to help poking it at runtime (I should use the remote

[Pharo-dev] CPU and RAM usage of Pharo3 vs. Pharo6

2017-06-09 Thread Holger Freyther
Hey! my current major deployment is still with Pharo3 and due some bigger changes I start to migrate to Pharo6 and today I finally managed to update the test deployment (and be happy with it). The test is not scientific but maybe an early indicator that there is something to look at? The

Re: [Pharo-dev] [Pharo-users] 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-dev] [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-dev] [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-dev] PrimitiveFailed: primitive #primLocalAddress in NetNameResolver class failed [FreeBSD]

2017-05-18 Thread Holger Freyther
> On 19. May 2017, at 03:27, Petr Fischer wrote: > > Hello, > But, this exception occurs often: > PrimitiveFailed: primitive #primLocalAddress in NetNameResolver class failed > details: https://pastebin.com/raw/bdjDW6YR How does the networking look in your jail? Which

[Pharo-dev] Adding a CommandLineArgument>>#options: aName do: aBlock?

2017-05-18 Thread Holger Freyther
Hi, I want to implement something like -[1] but currently the optionAt variants will pick the first option only. Would there be general interest in an implementation that allows to iterate through all variants? Would an above >>#do: like approach be preferred or to return a list of

Re: [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-dev] UnixOSProcessPlugin and accessing C array out of bounds

2017-02-22 Thread Holger Freyther
Hi Esteban, while building packages for OBS and going the compile warnings (one of the nice things of newer compilers is the increased diagnostic) I noticed this: [ 196s] /usr/src/packages/BUILD/src/plugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c:4525:20: warning: iteration 64u invokes

Re: [Pharo-dev] ***Important*** Snapcraft pharo package for Pharo 50

2017-02-21 Thread Holger Freyther
> On 19 Jan 2017, at 00:25, Esteban Lorenzano wrote: >> Hi! > wow… this is super good, Holger, I want this since ages ! Great. The obs people will create a pharo organization for us. > merge is done. > there are 5 failing tests (and I still do not configure the tests

Re: [Pharo-dev] ***Important*** Snapcraft pharo package for Pharo 50

2017-01-18 Thread Holger Freyther
> On 6 Jan 2017, at 15:07, Esteban Lorenzano wrote: Hi! > looks same idea of http://openbuildservice.org, I hope this is easier (I > never understood how to make OBS work for us… never had the time either :( ) The pharo-vm git repository gained creating a debian source

Re: [Pharo-dev] Loading an image crashes the VM

2016-07-31 Thread Holger Freyther
> On 30 Jul 2016, at 14:19, Holger Freyther <hol...@freyther.de> wrote: > > >> On 30 Jul 2016, at 13:14, Esteban Lorenzano <esteba...@gmail.com> wrote: >> >> hi Holger, >> >> do you have a reproducible way for this error? it happens alway

Re: [Pharo-dev] Loading an image crashes the VM

2016-07-30 Thread Holger Freyther
> On 30 Jul 2016, at 13:14, Esteban Lorenzano wrote: > > hi Holger, > > do you have a reproducible way for this error? it happens always? three times in a row, with the latest image. 50759 seems to be fine or I was lucky. The difference is small/odd. Let me try the

Re: [Pharo-dev] Loading an image crashes the VM

2016-07-30 Thread Holger Freyther
> On 17 Mar 2016, at 22:16, Peter Uhnák wrote: Hi! > I got this error maybe once or twice maybe a year ago on linux, but I had a > lot of windows opened (like 20 or 30), and when I got back to big screen it > was ok again. I am now seeing this with a Pharo50 build on a

Re: [Pharo-dev] [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-dev] Importing a GNU Smalltalk project into Pharo

2016-06-28 Thread Holger Freyther
> On 08 Jun 2016, at 07:30, Max Leske wrote: > > Very interesting question, especially since we want people to move to Pharo. > > http://stackoverflow.com/questions/37690985/importing-a-gnu-smalltalk-project-into-pharo Thanks for the pointer and the tool to use is

Re: [Pharo-dev] Importing a GNU Smalltalk project into Pharo

2016-06-28 Thread Holger Freyther
> On 08 Jun 2016, at 13:40, Dimitris Chloupis wrote: Hi! > I dont see many people who use a smalltalk that is not a smalltalk , the same > way a human is not an arm, wanting to come to pharo and locked in an IDE and > Enviroment. But then there are a tiny amount of

[Pharo-dev] NonInteractiveUIManager vs. Epicea

2016-06-21 Thread Holger Freyther
Hi, would fogbugz be the better place for reports like this? It looks like the introduction of Epicea has broken my use of headless images? Should >>#initialize use "Smalltalk ui theme" instead of "UIManager default theme"? NonInteractiveUIManager>>theme

[Pharo-dev] MongoCursor>>#execute and MongoTalk changes

2016-04-10 Thread Holger Freyther
Hi guys, I am tracking down a Voyage issue where query/reply is going out of sync when used concurrently. The Mongo wire protocol allows to specify a unique requestId and the response includes it as "responseTo" identifier. Mongo>>#nextRequestID helps in getting a new/unique id and it is

Re: [Pharo-dev] Travis CI integration added to OSSubprocess and FFICHeaderExtractor

2016-02-03 Thread Holger Freyther
> On 29 Jan 2016, at 21:00, serge.stinckw...@gmail.com wrote: Dear Serge, > > For building Pharo, Squeak or GemStone projects on travis there is also the > SmalltalkCI project: > https://github.com/hpi-swa/smalltalkCI/blob/master/README.md > > Smalltalk language is supported by travis ;-)

Re: [Pharo-dev] Travis CI integration added to OSSubprocess and FFICHeaderExtractor

2016-02-03 Thread Holger Freyther
> On 03 Feb 2016, at 13:36, Esteban Lorenzano wrote: > Hi, > And it is still not working correctly (even if my pull request was integrated > and Fabio continued working on it). yes it is still not working, i created a 'wrong' #stable in my configuration but now it

[Pharo-dev] Git repository and branch for spur enable pharo-vm

2016-01-15 Thread Holger Freyther
Hi, what is the official pharo-vm git repository? It looks like github.com/pharo-project/pharo-vm is not being updated right now. It looks like esteban's fork is currently being used and the spur64 branch. Is that correct? Can it it to be used for spur32 and spure64? Is there any plan to merge

[Pharo-dev] Process/Delay waiting on multiple Semaphores at once?

2016-01-05 Thread Holger Freyther
Hi, I look into a way to implement something like Erlang's selective process by having Delay or something like it wait on multiple Semaphores (and maybe blocks in the future but that leads the question of side-effects if the event is not used) and fire on the first one ready without having to

Re: [Pharo-dev] VoyageMongo and cache compaction

2015-12-04 Thread Holger Freyther
> On 04 Dec 2015, at 00:16, Ben Coman wrote: > > I haven't used VoyageMongo, but just a general comment that maybe the > testcase is best produced at your end, since you understand the > symptoms and can cut down a slice of your application as a template. > Publishing that

[Pharo-dev] VoyageMongo and cache compaction

2015-12-03 Thread Holger Freyther
Hi guys, I started to run a production load with VoyageMongo and every day the maximum latency of it goes up a bit. Today I looked at the production system and the VOMongoRepository and the VOMongoCache and saw that the cache had around 90 entries in the "objects" WeakValueDictionary

Re: [Pharo-dev] VoyageMongo and cache compaction

2015-12-03 Thread Holger Freyther
> On 03 Dec 2015, at 09:58, Holger Freyther <hol...@freyther.de> wrote: > > Hi guys, > This is a write "heavy" workload but at no point in time more than a couple > of objects will > be in the cache. So somehow the VOMongoCache>>#compactIfNeed

[Pharo-dev] Metacello and preparing a release?

2015-10-30 Thread Holger Freyther
Hi, I have an application that is about to be moved into production. Currently it is pulling "stable" or sometimes bleedingEdge of other configurations. After the system moves from testing into production I would like to have tight control of which packages are updated from one version to

[Pharo-dev] Voyage Mongo and Serialization anomalies?

2015-09-04 Thread Holger Freyther
Hi all, it is the first time I notice this and I am not sure that this has been written down somewhere and if it is known to others (and then what to do about it). I had an Object with a ByteArray and then tried to find this object using the ByteArray and it wasn’t found. It looks like the

Re: [Pharo-dev] PetitParser speed and cost of PPFailure

2015-08-30 Thread Holger Freyther
On 17 Aug 2015, at 13:03, Jan Kurš k...@iam.unibe.ch wrote: Dear Jan, As the compiler is not production ready and as we are looking for a use cases, I can import your grammar and let you know how to make it working with our tool and what would be the performance gain. In that case, I

[Pharo-dev] PetitParser speed and cost of PPFailure

2015-08-16 Thread Holger Freyther
parsing ~500 messages a second. The main cost appears to come from the choice parser that needs to create a PetitFailure all the time. E.g. if you have a line like this: ‘From: “Holger Freyther” sip:323...@foo.de’ The choice parser will start with the “Accept” rule, parse the token (“From

[Pharo-dev] NativeBoost VM crash

2015-07-23 Thread Holger Freyther
Hi, I have a class that calls RAND_bytes in libcrypto and I am (mis-?)using NativeBoost for that. The function appears to work in general and I can make 100 calls in a row. I am now invoking (RAND bytes: 4) asInteger from within and then get crashes if I insert enough (1) objects.

Re: [Pharo-dev] Contributing to VoyageMongo (improving insertion/updating speed)

2015-07-23 Thread Holger Freyther
On 23 Jul 2015, at 16:13, Peter Uhnák i.uh...@gmail.com wrote: Why it doesn't use ==UUIDGenerator default== like UUID new does? #newVersion generates a timestamp/version for the serialized object. I think #newSeed is abused as on Unix platforms it can provide a somehow cryptographically

Re: [Pharo-dev] NativeBoost VM crash

2015-07-23 Thread Holger Freyther
On 23 Jul 2015, at 19:15, Max Leske maxle...@gmail.com wrote: Did you try the #optMayGC option I suggested? It really looks like the method code may be moved by the GC. yes, I tried it but it looks like optMayGC is relevant in case C will callback to Smalltalk. I don’t have this

[Pharo-dev] Contributing to VoyageMongo (improving insertion/updating speed)

2015-07-23 Thread Holger Freyther
Hi, I wanted to benchmark some look-ups with VoyageMongo and tried to insert some dummy objects and it was quite slow (pharo takes 99% CPU and mongo is idle). Using the nice profiler i noticed that VOMongoRepository#newVersion calls UUIDGenerator new makeSeed which will take quite long.

Re: [Pharo-dev] Debugging and optimizations

2015-06-14 Thread Holger Freyther
On 13 Jun 2015, at 14:39, Clément Bera bera.clem...@gmail.com wrote: Dear Clement, This is an interesting problem. There is currently no simple way of executing a message at compile-time instead of at runtime in Pharo, which is useful to have settings but no runtime overhead. I did a

[Pharo-dev] NativeBoost and memory management

2015-05-07 Thread Holger Freyther
Good Morning, I used NB to access openlog, closelog and syslog of libc and I am not sure if I got it right but didn’t really get further by browsing testcases/reading the examples. openlog(3) takes an “char *ident” as first parameter and the caller needs to make sure that the string passed