Re: [Pharo-dev] The HiDPI Issue

2019-02-18 Thread Markus Fritsche
OT: Have a look at the „run_scaled“-script that uses xrpa.

I am using KDE5 (before that XFCE with a dpi setting of 192). Sometimes it 
resets scaling during a sleep, but it mostly works. 

Kind regards
Markus




Re: [Pharo-dev] Any idea for a cool name for the remote tool suite?

2017-02-24 Thread Markus Fritsche

Hello,

I guess the vote is already cast, but I'd like to add my two Cents:

the packages now have a description that give an idea about what the 
package is supposed to do. Still, discoverability should be considered 
when finding a name. That's why I would prefer something like TelePharo, 
since the name already hints at the core functionality.


Best regards,
  Markus

Am 29.01.2017 15:14, schrieb stepharong:

Hi guys

Since we will push the remote tools (videos/web...) I would like to
get  some ideas for a cool name.
Any ideas?

Because Pharmide (looks like medicine or chemical product).
Since I vaguely remember some german Pharmide made me think about
Fern(sehen) but this is not a good name.

Stef


--




Re: [Pharo-dev] [ANN] Release of Agile Visualization

2016-08-16 Thread Markus Fritsche

Hello Alexandre,

congratulations on finishing your book!

Am 14.08.2016 23:19, schrieb Alexandre Bergel:


Paperback, eBook (PDF), and a free HTML format chapters are available
from http://AgileVisualization.com


Do you have an intermediary format that could be Output to epub 
(preferred) or mobi? I'd like to buy  the eBook, but tbh, pdf reflow 
isn't that great on readers, so I don't like to buy "the cat in the bag" 
(german idiom).


Best regards,
  Markus



[Pharo-dev] Ubuntu PPA administration - volunteers?

2016-04-19 Thread Markus Fritsche
Hello list,

I haven't been able to supply as many ppa updates as needed. Right now,
there's a need for a new spur vm and a new graph of dependencies between
the packages that I havent't yet set up.

Realistically, I think I won't be able to keep up as with pharo
development it deserves :(

Is there anyone whos willing to help? It involves
- setting up a build environment
- keeping up with pharo vm, pharo launcher releases
- executing build scripts
- react to errors - not that often
- entering your gpg key passphrase
- testing the successful deployment

Best regards
  Markus



[Pharo-dev] Compiling the unix vm / spur

2016-02-15 Thread Markus Fritsche

Hi,

I was just going to update the ubuntu ppa an wanted to supply a spur vm 
image. The compilation stopped however:


-- Configuring done
CMake Error at IA32FFIPlugin/CMakeLists.txt:11 (add_library):
  Cannot find source file:

/home/mfritsche/src/pharo-vm-spur-2016.02.13/src/plugins/IA32FFIPlugin/IA32FFIPlugin.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


Any hints?

Kind regards,
  Markus



Re: [Pharo-dev] ubuntu ppa not up-to-date

2015-11-16 Thread Markus Fritsche
Done!

Am 16.11.2015 um 18:35 schrieb Markus Fritsche:
> Hi Peter, hello list,
>
> I am going to update it today.
>
> Kind regards,
>   Markus




Re: [Pharo-dev] ubuntu ppa not up-to-date

2015-11-16 Thread Markus Fritsche
Hi Peter, hello list,

I am going to update it today.

Kind regards,
  Markus

Am 15.11.2015 um 20:43 schrieb Peter Uhnák:
> Hi,
>
> on slack with @latsabben we found out that pharo-launcher ppa is not
> up-to-date
>
> latest ubuntu relase is Wily (Oct 22), but in the ppa there's only
> trusty from June, which is two releases ago.
>
> I don't think that this is good for newcomers.
>
> And if you encounter a problem with installation, change your package
> distribution
> ( System Settings -> System -> Software & Updates -> Other Software
> -->> then edit the distrubution; this could perhaps be mentioned also
> in the install instructions )
>
> Peter




Re: [Pharo-dev] Pharo PPA doesn't seem to work on ubuntu vivid (15.04)

2015-06-11 Thread Markus Fritsche

Hello Javier,

I copied the packages to Vivid, can you try again? Please also install 
pharo-sources


Best regards,
  Markus

Am 11.06.2015 um 15:54 schrieb Javier Pimás:
Hi there, after adding the ppa to the system I cannot install the vm. 
Only pharo-launcher is available but it can't be installed because the 
pharo-vm-core-i386 is not installable.


What I tried was this:

sudo apt-add-repository ppa:pharo/stable
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install pharo-launcher

looking at https://launchpad.net/~pharo/+archive/ubuntu/stable 
 it seems like 
packages are too old (before 15.04 came out), maybe they need to be 
updated?


cheers,
Javier

--
Javier Pimás
Ciudad de Buenos Aires





Re: [Pharo-dev] New User Question on Reddit

2015-04-17 Thread Markus Fritsche

Hello Sean,

I will be able to update the PPA on the weekend.

Kind regards,
  Markus

On 2015-04-17 00:58, Sean P. DeNigris wrote:

https://news.ycombinator.com/item?id=9390760

I installed this for Ubuntu 12.04. When I fired it up, it requested I 
choose
and build a source file (different from Pharo 3). Then when it started, 
it

said, "Pharo cannot locate the source file named
/usr/lib/pharo-vm/PharoV40.sources.



Any ideas what to do?



TIA, Steve





Re: [Pharo-dev] Is Pharo Launcher Ready?

2015-04-16 Thread Markus Fritsche

On 2015-04-16 10:52, Damien Cassou wrote:


I think Ubuntu 12.04 is supported now. See
https://launchpad.net/~pharo/+archive/ubuntu/stable?field.series_filter=precise


If I recall correctly, dependencies had been broken for a few days and 
if one installed one of the packages during that time, a purge and 
reinstall was necessary (and I posted the commands to the list).


Best regards,
  Markus



Re: [Pharo-dev] Ubuntu ppa - How is it made?

2015-04-15 Thread Markus Fritsche

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Sean,

Damien Cassou originally created the scripts I am using. There are a few
manual steps involved that can be IMO automated.

Look at
https://github.com/mfritsche/pharo-ubuntu/tree/master/pharo-vm-core-i386
https://github.com/mfritsche/pharo-ubuntu/tree/master/pharo-launcher
https://github.com/mfritsche/pharo-ubuntu/tree/master/pharo-vm

Best regards,
  Markus

On 15.04.2015 17:15, Sean P. DeNigris wrote:
> NorbertHartl wrote
>> Taking this it is just a matter of putting the right dependencies in the
>> package file.
>
> Is our process documented somewhere? Could it be automated e.g. by our CI?
>
>
>
> -
> Cheers,
> Sean
> --
> View this message in context:
http://forum.world.st/Ubuntu-ppa-How-is-it-made-tp4819663p4819712.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
Nabble.com.
>

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQFcBAEBAgAGBQJVLpp3AAoJEDhtnsHwg7Ep+dUJ/jJHQkBvcSGA0TkfypuuCaDc
iQmFMkq1NfxTGejFr0jQPAZVeX5igIC5gX0Rfqf8v4iAPmynzClAX/bPmasI9Jwv
jWhjNfmGNK+/KDuvW2n5Hj1VSFweW65BUxmBAX4QpleSMuouV1v7q2Gugv1tD3tY
aYElIjElWtF+cZ89jD0JblFZpiZ5OZ+EIsv5MVnI1URDni22sQfEJBuL7XtjH9gN
pZNcUPEi2pzTaNXwHR+jQNjQtnyENausldgI29RlKRo1c2aC2bUnmRQpkpdVXNGw
jvAtb4QVK85fX50TgY8jx6tVi7mECNFvdd0fVbKBuyVsamp6zLZ077vmiapiN1ML
3VhGd9P+s2zpxqqDww6PObcY4dS7dzA32luz/Nrzmq8WTq/yMXXeHckoLYhF0ROz
OdYRGUwSCTvuTlXd6r2M
=L69q
-END PGP SIGNATURE-




Re: [Pharo-dev] Ubuntu PPA - How current is it?

2015-04-13 Thread Markus Fritsche
Hello Sean,

the ubuntu PPA is built manually whenever I see there's a new blessed
version of the unix vm and I find time to update it. Right now, it's
about every two months.

Best regards
  Markus

On 13.04.2015 14:16, Sean P. DeNigris wrote:
> Is this built automatically via CI (I can't check bc it's down) or manually?
> If the latter, how often? I ask because Ruby mentions that the package
> manager versions are usually a bit out of date and I want to give accurate
> info to our users...
>
>
>
> -
> Cheers,
> Sean
> --
> View this message in context: 
> http://forum.world.st/Ubuntu-PPA-How-current-is-it-tp4819292.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>




Re: [Pharo-dev] VM Crash

2015-03-16 Thread Markus Fritsche

Hi,

for another experiment of mine I had to change the stack alignment in 
some NativeBoostWin32 class from to 16 I think - might worth a try?


Best regards,
  Markus

On 03/16/2015 05:00 PM, Franck Warlouzet wrote:

Hello,

I tried to reproduce this bug, I have also an error with the same 
configuration. I don't have his problem, however when I quit Pharo, 
the connection shutdown makes Pharo crashes, but when I only do the 
connection shutdown, it works.


I downloaded the dllhere : 
https://ci.inria.fr/dbxtalk/view/OpenDBX/job/CLibrary-OpenDBX-1.4.6-Mysql/Platform=dbxtalk-windows-32bit/


Cheers,
Franck WARLOUZET




Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-03-01 Thread Markus Fritsche
Hello Brad,

did you do this as posted to pharo-users?
---

If you're *not* using pillar or phratch, and have problems updating the pharo 
packages, please execute

dpkg -l | grep -i pharo | awk ' { print $2 } ' | xargs sudo apt-get -y
purge ; sudo apt-get update && sudo apt-get install pharo-launcher

"dpkg -l | grep -i pharo | awk ' { print $2 } '" will list all installed
pharo-packages, xargs will give that result to apt-get for the packages
to be purged (that is, remove all their data and metadata - the images
that you have in your home directory will NOT be affected).

Kind regards,
  Markus

---


On 19.02.2015 03:25, bsselfri...@gmail.com wrote:
> Just tried installing "pharo-launcher" again and am getting the following
> error: 
>
> Errors were encountered while processing:
>
> /var/cache/apt/archives/pharo-vm-core-i386_2014.11.29-16~ppa1~trusty1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
>
> -
> Brad Selfridge
> --
> View this message in context: 
> http://forum.world.st/Ubunti-14-04-32bit-install-error-tp4805391p4806426.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>



Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-02-14 Thread Markus Fritsche

On 14.02.2015 20:51, Sven Van Caekenberghe wrote:
> http://forum.world.st/Running-Pharo-on-Ubuntu-14-04-1-LTS-64-bit-td4805726.html

Thanks for the work around.

The stable repository works again (confirmed with a virgin vm ;-).

Since the original created stable image, the dependencies have been
adjusted and I was missing a package within the chain. This is fixed now.

Kind regards,
  Markus




Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-02-14 Thread Markus Fritsche
Hello Jeff,

does it work if you execute

dpkg --/add/-/architecture/ i386

first?

Best regards,
  Markus

On 13.02.2015 23:10, J.F. Rick wrote:
> I just tried it (Ubuntu 14.04) and it doesn't work:
>
> The following packages have unmet dependencies:
>  pharo-launcher : Depends: pharo-vm-desktop:i386 but it is not installable
> E: Unable to correct problems, you have held broken packages.
>
> Cheers,
>
> Jeff
>
> On Fri, Feb 13, 2015 at 7:23 AM, Damien Cassou
> mailto:damien.cas...@gmail.com>> wrote:
>
>
> Markus Fritsche writes:
>
> Hello Brad,
>
> Yes, there's already a fixed image in the queue, however, it's
> stuck right now as far as I understand.
>
>
> the Continuous Integration Server was down. But everything is
> fixed now and you can enjoy the new launcher.
>
> -- 
> Damien Cassou http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
>
>
>
>
> -- 
> Jochen "Jeff" Rick, Ph.D.
> http://www.je77.com/
> Skype ID: jochenrick



Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-02-12 Thread Markus Fritsche
Hello Brad,

Yes, there's already a fixed image in the queue, however, it's stuck
right now as far as I understand.

Best regards,
  Markus

On 12.02.2015 23:46, bsselfri...@gmail.com wrote:
> One more question.  Is there anyone working on fixing the image?  The file
> server shows that the last image build was over a month ago. 
>
>
>
> -
> Brad Selfridge
> --
> View this message in context: 
> http://forum.world.st/Ubunti-14-04-32bit-install-error-tp4805391p4805414.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>




Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-02-12 Thread Markus Fritsche

On 12.02.2015 22:59, bsselfri...@gmail.com wrote:
> Any idea when the new package might be available?  Not pushing, since I can
> always copy the image/binary from another machine. 
As soon as there's a fixed image on
http://files.pharo.org/platform/launcher/blessed/ ... so not in my power ;)

Best regards
  Markus



Re: [Pharo-dev] Ubunti 14.04 32bit install error

2015-02-12 Thread Markus Fritsche

On 12.02.2015 21:30, bsselfri...@gmail.com wrote:
> I removed every package with the name "pharo" in it via the commands: 
>
> "sudo apt-get --purge remove pharo-vm-core"
> "sudo apt-get --purge remove pharo-vm-core-i386"
> "sudo apt-get --purge remove pharo-sources-files"
>
> Then ran a "dpkg --get-selections | grep 'pharo*'" wheich returned nothing. 
>
> Then ran the following commands: 
>
> "sudo add-apt-repository ppa:pharo/unstable"
> "sudo dpkg --add-architecture i386"
> "sudo apt-get update"
> "sudo apt-get install pharo-launcher"
>
>
> Did NOT solve the problem. 
>
Hi,

the recent built pharo launcher didn't work - I had to delete the
package. Unfortunately, the ppa meta data seems not to be updated
accordingly. Until I have a new pharo-launcher, please download
https://launchpad.net/~pharo/+archive/ubuntu/unstable/+files/pharo-launcher_2014.11.30-2~ppa1~trusty1_all.deb
and install it manually.

Best regards,
  Markus



Re: [Pharo-dev] Installing Pharo on Ubuntu

2015-02-10 Thread Markus Fritsche

On 28.01.2015 21:22, Damien Cassou wrote:
>
> Markus, please update the stable repository and remove the unstable one
>
>
Unfortunately, my first shot didn't work.

I need to sort out the error on pharo launcher (stack trace in another
message to this list) and give it another shot once that's done.

Best regards,
  Markus




Re: [Pharo-dev] get.pharo.org/travis+vm failing: Package 'pharo-vm-core:i386' has no installation candidate

2015-02-10 Thread Markus Fritsche

On 09.02.2015 03:54, Dale Henrichs wrote:
> It looks like the following script started failing within the last 5
> days sometime:
>
>wget --quiet -O - get.pharo.org/travis+vm | bash
>
> getting this error (on ubunutu12.04):

I requested deletion of my recently uploaded packages. Launchpad will
take a few hours for the deletion request to proceed though.

There are some changes to the way the packages work that I need to sort
out before I can make a proper update of the stable ppa.

Best regards,
  Markus


Re: [Pharo-dev] Installing Pharo on Ubuntu

2015-02-10 Thread Markus Fritsche
Hi Damien,

I updated the pharo launcher with the sources from
http://files.pharo.org/platform/launcher/blessed/PharoLauncher-user-0.2.2-2015.01.08.zip
and get a walkback during startup:

Author: MarkusFritsche
Date: 2015-02-10T19:28:38.179496+01:00

ByteString(Object)>>doesNotUnderstand: #asLegalSelector
PhLLaunchImageCommand class(PhLCommand class)>>specId
ByteSymbol(Symbol)>>value:
Array(SequenceableCollection)>>collect:
PhLCommandToolbar>>commandClasses:
PhLTitledTreeModel>>toolbarCommandClasses:
PharoLauncher>>initializeImageAndTemplates
[ self initializeImageAndTemplates ] in PharoLauncher>>initializeWidgets
BlockClosure>>cull:
BlockClosure>>cull:cull:
[ action cull: anAnnouncement cull: announcer ] in
AnnouncementSubscription>>deliver:
BlockClosure>>on:do:
BlockClosure>>on:fork:
AnnouncementSubscription>>deliver:
[ subscription deliver: anAnnouncement ] in
SubscriptionRegistry>>deliver:to:startingAt:
BlockClosure>>ifCurtailed:
SubscriptionRegistry>>deliver:to:startingAt:
SubscriptionRegistry>>deliver:to:
SubscriptionRegistry>>deliver:
Announcer>>announce:




Re: [Pharo-dev] get.pharo.org/travis+vm failing: Package 'pharo-vm-core:i386' has no installation candidate

2015-02-10 Thread Markus Fritsche

On 09.02.2015 19:07, Dale Henrichs wrote:
> Thanks Norbert,
>
> Is there a way that you can update the zero-conf script
> (http://get.pharo.org/travis) with the proper incantation?
>
> I really would rather not have to reinvent the zero conf system for
> pharo, unless the whole zero conf system is being deprecated ... I
> haven't googled that yet ...
>
> Something changed in the last 5 days and I don't imagine that it is a
> missing `sudo dpkg --add-architecture i386` that changed ... unless
> someone removed that line from the zero conf script ...
Hmm,

I uploaded my first updated VM to stable instead of unstable. Everything
seemed to work fine on my end, but I guess not. DOH!

I'll look into that tonight after work, sorry for the inconvenience :/


Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Markus Fritsche

On 06.02.2015 10:52, Guillermo Polito wrote:
> Well, but imagine how complex that bootstrap becomes when you want to
> add to your classes:
>
> - traits
> - layouts
> - slots
> ...
>
> And expressing all that in C also :)
I don't want to imply it's easy.

I once tried to decompose a squeak image, serialize the contents and
then try to create a new working environment from that. I finaly gave up
when I got { "One step forth", "Two steps forth", "One step back", "Two
steps back"}* in any number of combinations...

The image is a a) crafted artefact, not a b) generated one, but I think
pharo is on a good path from a => b.


Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-06 Thread Markus Fritsche

On 06.02.2015 09:33, stepharo wrote:
> In the coming months we will work on putting in place our
> bootstrapping kernel.
> There are no Smalltalk able to do that right now.

GNU Smalltalk does just that, if it doesn't find an image, it will be
bootstrapped by using the shipped .st fileouts.

A bit of cheating is involved, a compiler & initialization is
implemented on the VM side.

So I would say "there are no Smalltalk that are able to do that right
now the way we want to do it" :-P

(Pissing at the door contest, to refer to another unquoted metaphor :-D)


[Pharo-dev] Pharo Catalogue

2015-02-05 Thread Markus Fritsche
On Thu, 5 Feb 2015 12:03:11 +0100
Serge Stinckwich  wrote:

> Having a catalog will definitively help here.
> You should talk to Stéphane if you want to help us on this.

Something I already thought of a year ago or so. To put something on a 
scratchpad:

Tricky bit is to make it sustainable, packages are scattered because the 
community doesn't want to impose a way of working (which is legit). I would 
think a wiki-like catalogue, where authors can describe their solution/ code 
should be considered. That way, if someone doesn't care to describe, someone 
else could do it for him. 

The only link should be the name - no other meta data like versions and so on, 
since a package in the configuration browser should be pretty self contained.

Hosting must be closely tied to the Pharo infrastructure. I know from 
experience, if I was to setup something on my iron, I'd lose interest with a 
few quarters and it would develop into another "tried it, didn't work, can't 
shutoff, can't migrate away" sort of thing...

Best regards,
  Markus

-- 
Markus Fritsche 



Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-05 Thread Markus Fritsche
On Thu, 5 Feb 2015 11:45:53 +0100
Serge Stinckwich  wrote:

> - Glamour : 
> https://ci.inria.fr/pharo-contribution/view/Books/job/DeepIntoPharo/lastSuccessfulBuild/artifact/tmp/Glamour.pdf
> - Zinc : 
> https://github.com/SquareBracketAssociates/EnterprisePharo/tree/master/Zinc-HTTP

Thanks, but that was meant more general. 

If I fire up the Pharo Launcher and go to the configuration browser, I see 25 
offerings on the first page, of which roughly 50% (12) give me an idea what 
they're about. The other 13 - I really have no clue and need to google them ;-)

If I'm having a problem with the browser implementation, AltBrowser might be a 
thing to look at. If "SuperGemMiley" (which might also implement an alternative 
browser) is something I should look at, I will only find out if I google 
" pharo" and write down whatever comes up on github, smalltalkhub, 
jenkins... :-)

Best regards,
  Markus

-- 
Markus Fritsche 


Re: [Pharo-dev] Switching to Pharo from Visualworks

2015-02-05 Thread Markus Fritsche
On Wed, 4 Feb 2015 19:30:38 -0600
Stephen Travis Pope  wrote:

> How does a newbie learn what all the new packages are for? Glamour, Ring,
> AsmJit, Zinc, etc. are neat names, but if they're not part of higher-level
> packages it makes navigating the system (and even figuring out what they're
> for) pretty difficult.

+1 to that one.

-- 
Markus Fritsche 



Re: [Pharo-dev] Installing Pharo on Ubuntu

2015-02-04 Thread Markus Fritsche
Hi,

https://ci.inria.fr/pharo-contribution/job/PharoLauncherFinalUserImage/lastSuccessfulBuild/artifact/PharoLauncher.zip

as used in the script for the Pharo Launcher throws a 404 - what's the
proper new address?

Best regards,
  Markus

On 28.01.2015 21:22, Damien Cassou wrote:
>
> Le 27 janvier 2015 11:40:48 CET, Markus Fritsche  a 
> écrit :
>> On 2015-01-26 15:41, J.F. Rick wrote:
>>> I have a new computer and installed Ubuntu 14.10 on it. When I tried
>>> to install Pharo using the PPA instructions, it failed. I get the
>>> following message when executing "sudo apt-get update":
>>>
>>> W: Failed to fetch
>>>
>> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-amd64/Packages
>>> [1]  404  Not Found
>>> W: Failed to fetch
>>>
>> http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-i386/Packages
>>> [2]  404  Not Found
>>> I was able to get Pharo running with the Zeroconf script, but I
>>> thought I'd report that the standard thing didn't work. Is it just
>>> that a binary doesn't yet exist for 14.10.
>> I'll check that this week, I guess I just have to update my build 
>> scripts to include utopic as a target.
>>
>> I thought I've been there and done that, but being on 14.04 myself, I 
>> didn't have the oppurtunity to check.
>>
> Markus, please update the stable repository and remove the unstable one
>
>




Re: [Pharo-dev] Installing Pharo on Ubuntu

2015-02-02 Thread Markus Fritsche

On 28.01.2015 21:22, Damien Cassou wrote:
> Markus, please update the stable repository and remove the unstable one 

Will do so this week!

Best regards,
  Markus



Re: [Pharo-dev] Installing Pharo on Ubuntu

2015-01-27 Thread Markus Fritsche

On 2015-01-26 15:41, J.F. Rick wrote:

I have a new computer and installed Ubuntu 14.10 on it. When I tried
to install Pharo using the PPA instructions, it failed. I get the
following message when executing "sudo apt-get update":

W: Failed to fetch
http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-amd64/Packages
[1]  404  Not Found
W: Failed to fetch
http://ppa.launchpad.net/pharo/stable/ubuntu/dists/utopic/main/binary-i386/Packages
[2]  404  Not Found



I was able to get Pharo running with the Zeroconf script, but I
thought I'd report that the standard thing didn't work. Is it just
that a binary doesn't yet exist for 14.10.


I'll check that this week, I guess I just have to update my build 
scripts to include utopic as a target.


I thought I've been there and done that, but being on 14.04 myself, I 
didn't have the oppurtunity to check.


Best regards,
  Markus



Re: [Pharo-dev] 64-bit Pharo

2015-01-08 Thread Markus Fritsche

On 2015-01-04 18:42, horrido wrote:
I understand that Pharo is currently 32-bit. I was wondering whether 
this was
a significant impediment to Smalltalk adoption, esp. in the enterprise. 
I'm

always hearing developers wanting 64-bits in their applications.


The only place I have found it to be a showstopper is with trying to 
interface libraries that are closed source and only distributed as a 
64bit version. Doesn't happen very often though.




Re: [Pharo-dev] Excel binding

2014-12-08 Thread Markus Fritsche

  
  
Replies inline
  

On 08.12.2014 17:07, Blondeau Vincent
  wrote:


  
  
  
  
 
 
De :
Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org]
De la part de Esteban A. Maringolo
Envoyé : lundi 8 décembre 2014 16:01
À : Pharo Development List
Objet : Re: [Pharo-dev] Excel binding
 

  El Mon Dec 08
2014 at 11:41:23 AM, Markus Fritsche <mfrits...@reauktion.de>
escribió:
  On
2014-12-08 15:22, Blondeau Vincent wrote:
> Does someone know if there is a mean to access Excel
sheets from Pharo
> to get data?

> I don't want to use .csv files but .xls/.xlsx files.

If you're just going to use .xlsx files, it might be
possible to unzip
the file and peek the xml representation of that table (not
that I've
done it though).
  By unzip the file you actually see the xml,
  but I will complicated to use the values of the formula
  cells and to differentiate the sheets...

  

Yup - I don't know the excel xml format, just remembered that it
might be an option...

  

  
  
  If you're going to support .xls / Excel < 2003 files,
  you will probably
  need a COM-bridge. I remember that I've seen it
for Squeak in the past,
I don't recall having seen it for Pharo.
  It is only Excel
  > 2003.
  
  
  Another kind of hackish solution could be setting up an
  ODBC driver for
  Excel files and then using DBXTalk/ODBC or the
  ConfigurationOfODBC-based
  package.
  
 
I have tried. 
But when I launch
the DBXTalk tests it asked me to choose a
DBXODBX*Facility... Which one should I choose? 
  

  


here is how I connect to an access database on windows:

execute once per session:
OpenDBX current: NBPharoOpenDBX new.

then (access):

| aRow conn settings result |
settings := DBXConnectionSettings host: '<dsn name>'
  port: '' database: '<database filename>'
  userName: '' userPassword: ''.
conn := ((DBXConnection new settings: settings) platform:
  DBXOdbcBackend new) connect.
conn open.
result := conn execute: 'SELECT * FROM <table
name>'.
aRow := result nextRow.
[ aRow notNil ] whileTrue: [ 
    aRow values do: [ :value | Transcript show: value; show:
  $; ]. Transcript cr. aRow := result nextRow ].
conn close.
  
Everything in <> brackets needs to be replaced by actual
values. Also, the ODBC backend doesn't support many types =>
which will probably break too :-(

And you will need libopendbx-1.dll, libopendbxplus-1.dll and
opendbx\libodbcbackend-1.dll in your image directory. 

That all being said - before I'll dive into that, I would
probably just whip up a vba script to convert the excel
tables to text files in bulk.


  

  
Should I install
some plugins?
And in
ConfigurationOfODBC there is no tests and doc so I don't
know how to launch it...
  

  

I think there are tests in the monticello repository next to the
ODBC package (there's probably a script command to install them, but
I am usually faster just installing the package from Monticello
manually).

Kind regards
  Markus
  




Re: [Pharo-dev] Excel binding

2014-12-08 Thread Markus Fritsche

On 2014-12-08 15:22, Blondeau Vincent wrote:

Does someone know if there is a mean to access Excel sheets from Pharo
to get data?



I don't want to use .csv files but .xls/.xlsx files.


If you're just going to use .xlsx files, it might be possible to unzip 
the file and peek the xml representation of that table (not that I've 
done it though).


If you're going to support .xls / Excel < 2003 files, you will probably 
need a COM-bridge. I remember that I've seen it for Squeak in the past, 
I don't recall having seen it for Pharo.


Another kind of hackish solution could be setting up an ODBC driver for 
Excel files and then using DBXTalk/ODBC or the ConfigurationOfODBC-based 
package.




[Pharo-dev] [ANN] Transition of Ubuntu PPA maintenance

2014-12-04 Thread Markus Fritsche
Hello,

The maintenance of the Ubuntu Pharo VM and .source Packages is being
transferred from Damien Cassou to myself, Markus Fritsche. By trade, I
am a Business Intelligence consultant, but always following what's going
on with smalltalk/ pharo.

If you experience any problems with the ubuntu packages, please feel
free to contact me. I might not be able to help right away, but I'll try
my best!

Best regards,
  Markus



Re: [Pharo-dev] ubuntu vm build

2014-12-01 Thread Markus Fritsche
Hello Norbert,

I tried using the copy feature - can you check if it worked?

Kind regards
  Markus

On 01.12.2014 19:36, Norbert Hartl wrote:
> Hi,
>
> I forgot who is maintaining the ubuntu launchpad ppa vm build. But whoever 
> you are ( :) ) would it be possible to include a vm build for the actual 
> ubuntu release utopic unicorn?
>
> thanks,
>
> Norbert
>
>




Re: [Pharo-dev] ubuntu vm build

2014-12-01 Thread Markus Fritsche
Hello Norbert,

the ubuntu vm build is in the process of being switched from Damien
Cassou to me.

I will update the PPA asap.

Markus

On 01.12.2014 19:36, Norbert Hartl wrote:
> Hi,
>
> I forgot who is maintaining the ubuntu launchpad ppa vm build. But whoever 
> you are ( :) ) would it be possible to include a vm build for the actual 
> ubuntu release utopic unicorn?
>
> thanks,
>
> Norbert
>
>




Re: [Pharo-dev] WhatsUp from: 2014-12-01 until: 2014-12-14

2014-12-01 Thread Markus Fritsche

On 2014-12-01 07:00, seas...@rmod.lille.inria.fr wrote:

Hi! We're sending this automatic email twice a month, to give the
community an opportunity to easily know what's happening and to
coordinate efforts.  Just answer informally, and feel free to spawn
discussions thereafter!

### Here's what I've been up to since the last WhatsUp:



- Created a Ubuntu 14.04 32 Bit virtual machine to take over the ubuntu 
ppa updating from Damien Cassou




### What's next, until 2014-12-14 (*):



- Switching my scripts back to the pharo-ppa once my packages turn out 
to be useable

- Make myself familiar with the pharo vm generation process
- see if there are more pharo vm flavours that could be offered in the 
ppa





[Pharo-dev] Pharo vm, launcher and pillar packages

2014-11-30 Thread Markus Fritsche
Hi,

I created the vm packages for trusty at:
https://launchpad.net/~fritsche-markus-z/+archive/ubuntu/pharo as a test.

If you are on ubuntu or have access to an ubuntu 14.04 installation, can
you please test these packages and provide feedback by replying to this
mail?

Thank you in advance,
  Markus



Re: [Pharo-dev] NativeBoost

2014-11-25 Thread Markus Fritsche

On 2014-11-25 19:37, Eliot Miranda wrote:


I am frustrated that there is no coherence in our work here.  I have a
clear understanding of what architecture can work, a clear vision, and
yet other than Ronie, all I see is FUD


Hello Eliot,

my first action if I look into something is to google and open tabs for 
the first three links that are not a mailing list (the latter I open 
when I search for a fix) - so maybe http://wiki.squeak.org/squeak/1414 
should be updated with links to your blog posts/ mailing list entries.


Also, the links for "FFI call DLL functions squeak" (which I would look 
for if I'm wrapping some C API dll) seem to be mostly outdated/ old. The 
FUD you criticize seems  to be more recent. As I do not understand the 
low level stuff of callout mechanisms (I can read an API and wrap calls 
to it and unwrap results though) I have to rely on what I find from an 
API user perspective, and I tend to think that information that has a 
more recent date on google is the "latest truth".


Kind regards,
  Mar"smart aleck"kus



Re: [Pharo-dev] NativeBoost

2014-11-25 Thread Markus Fritsche

On 2014-11-24 23:34, Esteban Lorenzano wrote:


now, since the most common use of NB is for FFI, and NB is not present
in all platforms, we are working (Ronie, in this case) in a “unified
FFI”, which will provide a common abstraction layer for several FFI
frameworks (NB, OldFFI, Alien…). With that, we can choose which one
of the frameworks we use depending on the situation (but ideally, we
will maintain just one, the one that fits better in Pharo).


I feel that providing a common abstraction layer on top of the various 
approaches to interface to C/ C++ libraries won't be useful and should 
be considered a waste of resources. From what I understood from the 
documentation, NativeBoost seems to be the most complete interface 
technology yet. I would rather (as in: If I was capable) try to get 
NativeBoost into Squeak and add the functionality missing that still 
justifies the existence of FFI and Alien than creating an abstraction 
layer that can't cope with the differences in the tools (which was the 
reason for their first creation despite the available ones).


I tried to play around with FFI and creating plugins in Squeak and 
failed (I didn't try very hard though). NativeBoost was the first thing 
I was able to wrap a DLL myself and understand how to do it. The only 
thing that I wasn't able to wrap my mind around was finalization, but 
that is also due to the fact that I couldn't find understandable (read: 
understandable to me) documentation about the underlying concept in 
Pharo.


(OT: Finalization and concurrency probably is more about the concept 
rather than the implementation in Pharo?)


This is a piece of opinion. We all know, that unfortunately, one doesn't 
have to have knowledge to have an opinion, so if my opinion is wrong due 
to lack of knowledge, please ignore it.


Best regards,
  Markus




Re: [Pharo-dev] Pharo on Online Labs ARM cloud server ?

2014-11-14 Thread Markus Fritsche


On 11/14/2014 03:17 PM, Esteban A. Maringolo wrote:
What are the benefits of running a Pharo server in the cloud on ARM 
architecture?
My blog is actually running on a colocated raspberry pi - it is unlikely 
to be linked by slashdot soon and is enough for the limited readership.


So far I'm not running pharo on it, but if I ever come around to 
implement "the next big thing" in it, that would probably the first spot 
to put the test image on...


Kind regards,
  Markus



Re: [Pharo-dev] Building .deb with Pharo VM

2014-09-25 Thread Markus Fritsche
On 2014-09-25 13:58, Damien Cassou wrote:

>> I tried that,but some patches applied to the sources above are rejected
>> so package dpkg-buildpackage fails - at least on Debian Jessie

> can you give more information?

source-hardening.patch has to be adjusted

--- a/src/vm/cogit.c2014-09-24 11:26:13.117242533 +0200
+++ b/src/vm/cogit.c2014-09-24 11:26:55.181154041 +0200
@@ -19339,7 +19339,7 @@ printTrampolineTable(void)
for (i = 0; i < trampolineTableIndex; i += 2) {
printHex(((sqInt)(trampolineAddresses[i + 1])));
print(": ");
-   print(((char *) (trampolineAddresses[i])));
+   printf("%s", trampolineAddresses[i]);
cr();
}
 }


Kind regards,
  Markus



Re: [Pharo-dev] [ANN] I stop maintaining the Ubuntu packages

2014-09-24 Thread Markus Fritsche
Hello Damien,

> Dear all,
>
> I've recently switched my Linux distribution from Ubuntu to NixOS.
> This means I can no longer maintain the Ubuntu packages and their PPA
> (https://launchpad.net/~pharo/).
>
> These packages need a maintainer!

I am operating an ubuntu 32 machine that's running 24/7 for other
reasons already, running the LTS ubuntu of the time being.

I'd be interested to take over.

Kind regards,
  Markus



Re: [Pharo-dev] Visualising Network Latency

2014-09-19 Thread Markus Fritsche

On 19.09.2014 15:23, Leonel Merino wrote:
> If you want to load the code:
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Gofer new smalltalkhubUser: 'merino'
> project: 'NetworkLatency';
> package: 'ConfigurationOfNetworkLatency';
> load.
> (ConfigurationOfNetworkLatency project version: '0.1') load.
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=
>
> To execute the visualisation:
> NLVisualise new open
>
What are the prerequisites? I tried to load it in Pharo-3.0 (with latest
updates) and it was missing Trachel. So I updated Roassal2 to the latest
version and now I get a MNU:
MessageNotUnderstood: RTMapBuilder>>mapPing:

Kind regards,
  Markus



Re: [Pharo-dev] Implementing lazy loading for expandable collections

2014-09-19 Thread Markus Fritsche

On 2014-09-19 11:35, Max Leske wrote:


- my implementation requires an extra instance variable in
OrderedCollection to store the requested size. This extra instance
variable will break Monticello (and possibly other tools) because
Monticello uses OrderedCollections to load code and the particular way
it uses them makes it impossible to change the number of instance
variables on OrderedCollection. Also, all .mcz files written after the
change will not be loadable by images without the new instance
variable (same reason).


I might be a bit fundamentalistic, but shouldn't this (a using class
making assumptions about the objects it's using) be considered a bug
by object oriented standards?

Best regards
  Markus



Re: [Pharo-dev] [pharo-project/pharo-core] ad7b06: 40004

2014-05-28 Thread Markus Fritsche

On 28.05.2014 17:16, Damien Cassou wrote:
>
> yes, just update :-)
>
Playing dumb here, but I just did sudo apt-get update && sudo apt-get
dist-upgrade && sudo apt-get --purge autoremove && sudo apt-get
autoclean using the ppa and I don't have a pharo4 entry?



Re: [Pharo-dev] NativeBoost and WKHTML

2014-05-23 Thread Markus Fritsche

On 23.05.2014 02:36, Torsten Bergmann wrote:
> With that info I compared the C/C++ calls to the Pharo/NativeBoost calls more 
> deeply and 
> found out that in C/C++ the following call for an object setting works (by 
> returning 1):

> while in Pharo the same call fails (by returning 0):
>
I tried to use another DLL which required me to change "stackAlignment"
on Windows to answer 16 instead of 1; running on Win7 64 Bit. Could your
problem be caused by something like that?
(Just a shot in the dark).

Best regards,
  Markus



Re: [Pharo-dev] Amber-Pharo based coding dojo in a coworking space

2014-04-29 Thread Markus Fritsche
 

On 2014-04-28 17:17, Ben Coman wrote: 

> 1. The most kick ass thing I can think of would go something like this...

The most "kick ass thing" I can think of is... 

- Have a Pharo World being interfaced to an amber frontend, so you can
use your image through your browser. 

... on second thought... that might be cool but after five minutes it'll
make me think "and now?" 

;-)