Re: [Pharo-users] perspective request for those earning a living from Smalltalk

2017-10-23 Thread jtuc...@objektfabrik.de
Petr, I've been working as a Consultant for many big corporations (mainly in VA Smalltalk) since 1996. The situation you describe is very well known to me. But in my opinion there is no technical reason for this. It's a managerial problem. Ever since IBM went out to their customers and told t

Re: [Pharo-users] using mocketry to mock subcall

2017-10-23 Thread Denis Kudriashov
Hi Herby. 2017-10-20 18:49 GMT+02:00 Herby Vojčík : > > > I had this problem. I tried something like (though not exactly w/ this > code): > > Foo stub new will: [ :aMessage | > | original | > original := MockExpectedOriginalCall new executeFor: aMessage. > original stub. > ^ original ] > >

Re: [Pharo-users] Smalltalk Argument

2017-10-23 Thread horrido
To quote from The Wisdom of the Crowd : The crowd is indeed wise. This wisdom shows up in the latest StackOverflow survey , as well

[Pharo-users] String >> #asSet

2017-10-23 Thread Prof. Andrew P. Black
If you have a String (or a Symbol), and you sent it the message #asSet, what do you expect to get as an answer? A set of characters, one would think. But do you care what class is used to implement that set of characters? -- One argument says that it should be a Set, because that’s what asSet

[Pharo-users] Pharo/Win on a HiDPI display

2017-10-23 Thread Raffaello Giulietti
Hi, not sure if this has already been discussed. I'm using Pharo/Win on a HiDPI (aka "retina") display scaled at 200%. Everything shows correctly scaled (widgets, fonts, icons, etc.), except for the cursor, which is not scaled at all in Pharo, so it is rendered half the expected size. Outside

Re: [Pharo-users] Smalltalk Argument

2017-10-23 Thread horrido
Of all the responses here, I like this one the best because it's right on the money. In my long career, I've been dropped into many software projects where I had to quickly ramp up with a new programming language. The employer didn't hire me for my language expertise; they hired me for my programm

[Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread horrido
With today’s powerful multi-core processors, the demand for efficient software concurrency is high. We find strong support for such concurrency in the latest crop of “modern” languages such as Clojure, Elixir, Go, Haskell, and Scala. Whenever I present Smalltalk (Pharo) as a great language option,

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread stephan
On 23-10-17 15:27, horrido wrote: Do I just say that if you need concurrency, Pharo is the wrong choice? After all, no programming language can be good at everything. You must always choose the right tool for the job. No, you tell them to use many images and/or vms. We can effectively use stat

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread horrido
Yes, but isn't there an important class of concurrent software where lightweight threads work on shared state? Isn't that the reason for "goroutines" in Go, and STM in Clojure, and actors in Scala? Stephan Eggermont-3 wrote > On 23-10-17 15:27, horrido wrote: >> Do I just say that if you need co

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread Richard Sargent
That's the GemStone model. It works well for our customers. On Oct 23, 2017 07:03, "stephan" wrote: > On 23-10-17 15:27, horrido wrote: > >> Do I just say that if you need concurrency, Pharo is the wrong choice? >> After >> all, no programming language can be good at everything. You must always

Re: [Pharo-users] String >> #asSet

2017-10-23 Thread Richard Sargent
In general, when desiring a specific class, to see (Specific collection class withAll: someOtherCollectionInstance). When sending a message, you don't typically expect a given class. Rather, you should expect a set of behaviour. (In this case, an object that behaves like a set.) On Oct 23, 2

[Pharo-users] UFFI with asynchronous callbacks

2017-10-23 Thread Jan Cada
Hi, I would like to connect fingerprint reader to pharo - so far I am able to use C library to connect to it using UFFI, however the problem is that I can wait for fingerprint indefinitely ( blocking call to library) or register call-back for moment when fingerprint is available. The registra

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread stephan
On 23-10-17 16:16, horrido wrote: Yes, but isn't there an important class of concurrent software where lightweight threads work on shared state? Isn't that the reason for "goroutines" in Go, and STM in Clojure, and actors in Scala? There are lots of different concurrency and performance problem

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread Dimitris Chloupis
It all comes down to what you mean by "efficient". Obviously if you want top performance on multiple cores you dont use any of those languages including Pharo. Thats prettty much the sole reason why C++ is still a relevant language. Now if you want ok performance you could use those languages. Ho

Re: [Pharo-users] Pharo/Win on a HiDPI display

2017-10-23 Thread Torsten Bergmann
Hi Raffaello, see: http://forum.world.st/ANN-VistaCursor-now-scalable-td4961238.html Regards Torsten > Gesendet: Montag, 23. Oktober 2017 um 14:58 Uhr > Von: "Raffaello Giulietti" > An: pharo-users@lists.pharo.org > Betreff: [Pharo-users] Pharo/Win on a HiDPI display > > Hi, > > not sure if

Re: [Pharo-users] Zinc HTTP Component HTTP/2?

2017-10-23 Thread Volkert
So currently no plans and/or no sponsors, right? On 22.10.2017 12:26, Esteban Lorenzano wrote: > Hi Holger, > > We talked a bit about this last ESUG. > Sadly, it requires serious work to have it so we hadn’t put this in any > schedule yet :( > > Esteban > >> On 21 Oct 2017, at 16:26, Volkert

Re: [Pharo-users] String >> #asSet

2017-10-23 Thread Ben Coman
> > > On Oct 23, 2017, at 05:50, "Prof. Andrew P. Black" > wrote: >> >> If you have a String (or a Symbol), and you sent it the message #asSet, what >> do you expect to get as an answer? >> >> A set of characters, one would think. But do you care what class is used to >> implement that set of c

Re: [Pharo-users] UFFI with asynchronous callbacks

2017-10-23 Thread Ben Coman
On Mon, Oct 23, 2017 at 11:46 PM, Jan Cada wrote: > Hi, > > I would like to connect fingerprint reader to pharo - so far I am able to > use C library to connect to it using UFFI, > however the problem is that I can wait for fingerprint indefinitely ( > blocking call to library) or register call-b

Re: [Pharo-users] Multi-core Software Concurrency

2017-10-23 Thread horrido
Thanks. Good answer. kilon.alios wrote > It all comes down to what you mean by "efficient". Obviously if you want > top performance on multiple cores you dont use any of those languages > including Pharo. Thats prettty much the sole reason why C++ is still a > relevant language. > > Now if you w

Re: [Pharo-users] Zinc HTTP Component HTTP/2?

2017-10-23 Thread Stephane Ducasse
We could run a bounty. Now here we are full of work. On Mon, Oct 23, 2017 at 6:59 PM, Volkert wrote: > So currently no plans and/or no sponsors, right? > > > On 22.10.2017 12:26, Esteban Lorenzano wrote: >> Hi Holger, >> >> We talked a bit about this last ESUG. >> Sadly, it requires serious work

Re: [Pharo-users] UFFI with asynchronous callbacks

2017-10-23 Thread p...@highoctane.be
I've callbacks all over in https://github.com/Pharophile/XmppTalk They do work. Phil On Mon, Oct 23, 2017 at 8:13 PM, Ben Coman wrote: > > > On Mon, Oct 23, 2017 at 11:46 PM, Jan Cada wrote: > >> Hi, >> >> I would like to connect fingerprint reader to pharo - so far I am able to >> use C libr

Re: [Pharo-users] About Ztimestamp

2017-10-23 Thread Stephane Ducasse
Hi sven I read the class comments in fact :) and now rereading and your answer I start to understand. What the class comments did not convey to me was that you have to follow the 2001 example. The "#reference timestamp" was confusing to me. I could not undersrtand why you where talking about a me

[Pharo-users] Dynamically changing code in a safe way

2017-10-23 Thread abdelghani ALIDRA via Pharo-users
--- Begin Message --- Hi, If I create a class HotSwapping with the instance variable currentBLoc (and the corresponding accessors) and the following methods : HotSwapping>>initialize currentBloc := [ 1 to:50 do: [:index |Transcript show: index. 100 milliSeconds asDelay wait]. Transcript

Re: [Pharo-users] Dynamically changing code in a safe way

2017-10-23 Thread Richard Sargent
This is a great question, Abdelghani. It comes down to the meaning of the phrase "everything is an object". When you wrote "currentBloc value", that caused the block *[ 1 to:50 do: [:index |Transcript show: index. 100 milliSeconds asDelay wait]. Transcript cr. 1000 milliSeconds asDelay wait ]* to

[Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-23 Thread Offray Vladimir Luna Cárdenas
Hi, I would like a choropleth map of Colombian departments [1]. The first approach would be to use Territorial, but loading it is not working on Pharo 6.1 (used on Manjaro Linux): It doesn't appears in the Catalog, Gopher load gives me: "XMLFileException: File does does not exist: /home/offray/Pro

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-23 Thread Hernán Morales Durand
I am revieweing this right now. Lot of work in the bioinformatics department! Hernán 2017-10-23 22:59 GMT-03:00 Offray Vladimir Luna Cárdenas : > Hi, > > I would like a choropleth map of Colombian departments [1]. The first > approach would be to use Territorial, but loading it is not working o

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-23 Thread Offray Vladimir Luna Cárdenas
Hi, Answering myself: I was able to fix this problem by downloading the "territorial_files" zip folder from the source repo and unzipping it to the image folder. After that Metacello bleeding edge (not Monticello, my mistake) installation worked properly. So, it seems that proper downloading and u

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-23 Thread Hernán Morales Durand
2017-10-24 0:01 GMT-03:00 Offray Vladimir Luna Cárdenas : > Hi, > > Answering myself: I was able to fix this problem by downloading the > "territorial_files" zip folder from the source repo and unzipping it to > the image folder. After that Metacello bleeding edge (not Monticello, my > mistake) ins

Re: [Pharo-users] Territorial loading problems & alternative ways of loading data for making a choropleth map

2017-10-23 Thread Hernán Morales Durand
2017-10-24 1:21 GMT-03:00 Hernán Morales Durand : > Hola Offray, > > I tried loading in Windows 8.1 and it loads fine using: > > Metacello new > smalltalkhubUser: 'hernan' project: 'Territorial'; > configuration: 'Territorial'; > version: #bleedingEdge; > load. > > Then load Territo