[Pharo-users] command line access to MetaRepoForPharo30

2014-12-10 Thread Torsten Bergmann
If I remember correctly "config" looks up the config within a project repo. Thats why it should work with all repos that contain a SINGLE ConfigurationOfXXX package (or with repos where the name is matching) - like Fuel => ConfigurationOfFuel or others. Just dig into the code. The "MetaRepoFor

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread Sven Van Caekenberghe
> On 11 Dec 2014, at 04:41, David Boeren wrote: > > That's the next line of code after what I quoted: > > "Parse the JSON data returned by the api" > data := NeoJSONReader fromString: response. > > But, prior to the JSON parsing I was doing a couple of string replacements to > pat

[Pharo-users] command line access to MetaRepoForPharo30

2014-12-10 Thread Yanni Chiu
Is there something broken in the MetaRepoForPharo30 on SmalltalkHub? This was the first time I was trying the command line interface to install code, and it took me a while to figure out that it was the MetaRepoForPharo30 repository (and not my image/vm). In the log below, when looking for conf

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread David Boeren
Sorry, I may not have been clear with my iOS question. What I'm interested in is running the development environment on iPad, not just a deployed app (although that is handy too). There are other apps that let you write code, compile it, and run it all on your iOS device without needing a compute

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread David Boeren
That's the next line of code after what I quoted: "Parse the JSON data returned by the api" data := NeoJSONReader fromString: response. But, prior to the JSON parsing I was doing a couple of string replacements to patch up the data. The system I'm moving the data into doesn't accept accented cha

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread Hernán Morales Durand
2014-12-10 17:26 GMT-03:00 dboeren : > \u009e \u00e9

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread Sven Van Caekenberghe
> On 10 Dec 2014, at 21:26, dboeren wrote: > > "Fetch the raw JSON data from dtdb.co" > response := 'http://dtdb.co/api/cards/' asUrl retrieveContents asString. Why no do NeoJSONReader fromString: 'http://dtdb.co/api/cards/' asUrl retrieveContents ? You'll get the data back, ni

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread Edward Povazan
Unfortunately, the iOS apps cannot mark memory as ‘executable’ so that prevents JIT. On Dec 10, 2014, at 1:53 PM, kilon alios wrote: > I cant answer your JSON question but I can answer the other two questions a) > iOS b) Pharo video tutorial > > a) as far iOS is concerned, yes pharo runs fine

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread kilon alios
I cant answer your JSON question but I can answer the other two questions a) iOS b) Pharo video tutorial a) as far iOS is concerned, yes pharo runs fine on it. I am not so sure about the new vm Cog but there are 2 commercial pharo apps by the same developer on Apple Story one is called DrGeo , whi

Re: [Pharo-users] New Pharo user, some questions

2014-12-10 Thread Edward Povazan
Hello, Smalltalk has been on iOS for a while: https://www.mobilewikiserver.com/Fraction.html though the apps are by John McIntosh who did the initial port (I think). I don’t know if there is a formal way of making iOS apps with Pharo/Squeak. I guess https://github.com/johnmci/Scratch.app.for.iOS

Re: [Pharo-users] Extending GTSpotter

2014-12-10 Thread kilon alios
anything is doable. The barrier always is knowledge. There is already a project to bring documentation and a specific kind of documentation called Pillar which is what we use for updated PBE and Pharo for the Enterprise books inside the GTInspector. Its a WIP. On the side of GTSpotter you have a

[Pharo-users] New Pharo user, some questions

2014-12-10 Thread dboeren
Now that my image is working properly again and the fires have been put out, I wanted to introduce myself a bit better... My name is David Boeren. I first learned Smalltalk back in college many years ago, we used Smalltalk V in an object oriented programming class I took which was first-half Smal

[Pharo-users] What do you suppose about this ?

2014-12-10 Thread Hans Schueren
What do you suppose about this ? from Hans the Byte Surfer. ViewManager subclass: #GraphicsDemo instanceVariableNames: 'pen graphs selectedGraph pane bitmap ' classVariableNames: 'Count ' poolDictionaries: 'ColorConstants '! !GraphicsDemo class methods ! initialize

[Pharo-users] Extending GTSpotter

2014-12-10 Thread Edward Povazan
Hello, I am having a blast with GTSpotter - it’s the missing link for me, just one step to ask a question from Pharo. Keeps the flow going! Being new to the innards of Pharo, I’ve decided to try something. I would love documentation in GTSpotter. For example, I am interested in how packages are

Re: [Pharo-users] Left mouse button not working in Pharo 3.0

2014-12-10 Thread David Boeren
That's OK, thanks for taking a look - I really appreciate it. At least I can work again and if the same issue happens I know now how to kill the bad windows and I will take better notes on exactly what I was doing just prior to the problem. Or, if it never happens again that would be fine too :)

Re: [Pharo-users] Left mouse button not working in Pharo 3.0

2014-12-10 Thread Esteban Lorenzano
well… I cannot find what happened :P Esteban > On 10 Dec 2014, at 15:51, David Boeren wrote: > > OK, here is both the screenshot of the process browser and also the image > file... I am interested to see what you can find out, thanks! > > ​ >  Pharo3.0.image >

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Erik Itter
THX, Nicolai and Thierry, that got me a few steps further and will try to get the rest by myself (at least for a few hours...).

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Nicolai Hess
2014-12-10 13:32 GMT+01:00 Erik Itter : > Thanks, tried > > scanSpecialCharacter > | character | > currentCharacter = $: > ifTrue: [ > self step. > ^ currentCharacter = $= > ifTrue: [ > self step. > RB

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Thierry Goubier
Hi Erik, You need to make sure you are using the right compiler. In a Pharo3 image, you'll find two compilers: Opal and the old one. In the old one, you need to change: Scanner>>xColon In RB/Opal, what you can try with your changes is to inspect: RBParser parseExpression: 'a :> 5' And, if you

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Erik Itter
Thanks, tried scanSpecialCharacter | character | currentCharacter = $: ifTrue: [ self step. ^ currentCharacter = $= ifTrue: [ self step. RBAssignmentToken start: tokenStart] ifFalse: [

Re: [Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Thierry Goubier
Hi, If you are using the OpalCompiler (Pharo4, sure, Pharo3, I'm not so sure), have a look at: RBScanner>>scanSpecialCharacter Thierry 2014-12-10 12:57 GMT+01:00 Erik Itter : > Hi, > > I need to modify the compiler adding ":>" as an alias for ":=" for > assignment. I have been reading all over

[Pharo-users] modifying the compiler adding an alias for :=

2014-12-10 Thread Erik Itter
Hi, I need to modify the compiler adding ":>" as an alias for ":=" for assignment. I have been reading all over the Compiler package but do not find where a tokenizer parses for the assignement operator or where it is defined. Any hint where to start or do it is appreciated. best regards Er

Re: [Pharo-users] Left mouse button not working in Pharo 3.0

2014-12-10 Thread kilon alios
just upload your image file so we can take a look, one of the great things about pharo ;) you can also upload the whole pharo folder On Wed, Dec 10, 2014 at 10:04 AM, Esteban Lorenzano wrote: > can you share a screenshot of your processes? (World Menu/Tools/Process > Browsers) > > Esteban > > >

Re: [Pharo-users] Working with zipped files

2014-12-10 Thread Markus Fritsche
On 2014-12-10 01:23, Юрий Мироненко wrote: General idea was to use ZipArchive instead of MCZ-related code. Sorry, I wasn't clear. MCZ was just my example. The real question was, if the ZipFileSystem API can be used or not... I will go with ZipArchive and friends then.

Re: [Pharo-users] Working with zipped files

2014-12-10 Thread Markus Fritsche
On 2014-12-09 20:47, Hernán Morales Durand wrote: | zipArchive fileRef | zipArchive := ZipArchive new. fileRef := 'myFile.zip' asFileReference. [ zipArchive readFrom: fileRef fullName; extractAllTo: FileSystem workingDirectory ] ensure: [ zipArchive close ]. Thank you!

Re: [Pharo-users] Left mouse button not working in Pharo 3.0

2014-12-10 Thread Esteban Lorenzano
can you share a screenshot of your processes? (World Menu/Tools/Process Browsers) Esteban > On 10 Dec 2014, at 02:58, David Boeren wrote: > > Didn't seem to have any effect. The broken windows are still there, and the > file size is still 99.5MB. > > On Tue, Dec 9, 2014 at 8:49 PM, Mariano