Re: [Pharo-users] [UFFI] Using a nested structure

2016-07-06 Thread Esteban Lorenzano
Hi, > On 07 Jul 2016, at 01:54, Ben Coman wrote: > > On Thu, Jul 7, 2016 at 12:58 AM, Merwan Ouddane > wrote: >> PS: for the first example, the alignment is not respected, the vec3 >> structure is starting at 9 but uffi is fetching it at 5 > > Hi Esteban, > > Is it possible to get a feature

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Ben Coman
On Thu, Jul 7, 2016 at 7:45 AM, Stephan Eggermont wrote: > You are aware of SpecGenerator? > > Stephan > First time I've heard of it. Could you describe it? cheers -ben

Re: [Pharo-users] How do I debug: "There was an error while trying to install GitFileTree. Installation was cancelled." from Catalog Browser

2016-07-06 Thread Ben Coman
On Thu, Jul 7, 2016 at 2:33 AM, Dale Henrichs wrote: > > > On 07/06/2016 06:37 AM, Cyril Ferlicot Delbecque wrote: >> >> >> On 06/07/2016 15:28, Dale Henrichs wrote: >>> >>> Alistair, >>> >>> Well thank you very much ... Those two menu items are very well hidden:) >>> Until you prompted me to look

Re: [Pharo-users] [UFFI] Using a nested structure

2016-07-06 Thread Ben Coman
On Thu, Jul 7, 2016 at 12:58 AM, Merwan Ouddane wrote: > PS: for the first example, the alignment is not respected, the vec3 > structure is starting at 9 but uffi is fetching it at 5 Hi Esteban, Is it possible to get a feature or a recipe to output the sizeof or offset of fields in types as unde

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Stephan Eggermont
You are aware of SpecGenerator? Stephan

Re: [Pharo-users] Recovering PNG/JPG images that were automatically serialized as FUEL when storing into external database

2016-07-06 Thread Offray Vladimir Luna Cárdenas
Bernardo, To serialize objects in a SQLite data base you do: | db | db := UDBCSQLite3Connection on: self database db open. db execute: 'CREATE TABLE IF NOT EXISTS interaction_profiles ( screenName text PRIMARY KEY, avatar blob,

Re: [Pharo-users] Recovering PNG/JPG images that were automatically serialized as FUEL when storing into external database

2016-07-06 Thread Bernardo Ezequiel Contreras
Offray, could you post a snippet of the code to serialize and materialize an object and insert it into the sqlite database, please? just what's needed in order to get the idea thanks; On Wed, Jul 6, 2016 at 3:00 PM, Offray Vladimir Luna Cárdenas < offray.l...@mutabit.com> wrote: > Hi Pier

Re: [Pharo-users] How do I debug: "There was an error while trying to install GitFileTree. Installation was cancelled." from Catalog Browser

2016-07-06 Thread Dale Henrichs
On 07/06/2016 06:37 AM, Cyril Ferlicot Delbecque wrote: On 06/07/2016 15:28, Dale Henrichs wrote: Alistair, Well thank you very much ... Those two menu items are very well hidden:) Until you prompted me to look closely I never even noticed that little icon... Is there a reason that those tw

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Brad Selfridge
Thank you all for your responses. I have to admit that I was really confused. I will start the process with Spec. - Brad Selfridge -- View this message in context: http://forum.world.st/Spec-vs-Brick-vs-Glamour-vs-Morphic-vs-WTF-tp4905178p4905239.html Sent from the Pharo Smalltalk Users

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Dimitris Chloupis
The only GUI API inside the standard Pharo image is Morphic. Everything else are just Helper APIs , aka APIs that make easier to use Morphic. They basically sit on top of Morphic making use of its functionality and abilities. Actually there are more than the ones you mentioned. Bloc will be the

Re: [Pharo-users] Recovering PNG/JPG images that were automatically serialized as FUEL when storing into external database

2016-07-06 Thread Offray Vladimir Luna Cárdenas
Hi Pierce, I was my fault. I was not understanding properly the way of materialize back the png/jpeg images. With Max's help in the Slack chat channel it was clearer. Now is working properly and I have updated the database query messages accordingly. This combination of Fuel + SQLite seems v

Re: [Pharo-users] [UFFI] Using a nested structure

2016-07-06 Thread Merwan Ouddane
PS: for the first example, the alignment is not respected, the vec3 structure is starting at 9 but uffi is fetching it at 5 On 06/07/2016 17:55, Merwan Ouddane wrote: Another test: I replaced double by integer, for visibility... typedef struct vec3 { int data[3]; } vec3; add a second vec3

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread Offray Vladimir Luna Cárdenas
Hi, Nice! I suggest to link the resources of the second link into the first one. We're going to make our usual Data Week at the end of July and we're going to start a Data Roda this week (think in a coding dojo, but with data visualization and capoeira :-P) and we' going to link these MOOOC r

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Offray Vladimir Luna Cárdenas
Hi, Just to share my experience as a newbie with Pharo/Smalltalk and how I deal with the diversity of graphical toolkits, which in my case was pretty problem related. I want to create some kind of "app"[1][2] that used trees as structuring metaphor for interactive documents. The easiest way

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Johan Fabry
Hi Brad, to clarify the situation: Spec is the standard UI framework for Pharo, and the plan is that it will stay this way. Morphic/Brick/Block/… are (or will be) a layer underneath that, which ideally you would not need care about. The documentation of Spec is not up to date right now, and ha

Re: [Pharo-users] a bug in Spec that I wont fix

2016-07-06 Thread Ben Coman
On Wed, Jul 6, 2016 at 11:42 PM, Hartmut Krasemann wrote: > Hi to whom it concerns. > > Working with Spec (Pharo 4.0) I needed to dynamically update the ButtonModel > BalloonHelp. > Since it did not work, I searched and found that ButtonModel initializes > helpHolder again thus removing the change

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Brad Selfridge
So, once Brick/Bloc become public, will it become the default UI framework? What happens to Spec and Glamour when/if that happens? - Brad Selfridge -- View this message in context: http://forum.world.st/Spec-vs-Brick-vs-Glamour-vs-Morphic-vs-WTF-tp4905178p4905207.html Sent from the Pharo S

Re: [Pharo-users] [UFFI] Using a nested structure

2016-07-06 Thread Merwan Ouddane
Another test: I replaced double by integer, for visibility... typedef struct vec3 { int data[3]; } vec3; add a second vec3 to position: typedef struct position { int i; vec3 vec; vec3 vec2; } position; Now in pharo: Position >> fieldsDesc "self rebuildFieldAccessors" ^ #(

[Pharo-users] a bug in Spec that I wont fix

2016-07-06 Thread Hartmut Krasemann
Hi to whom it concerns. Working with Spec (Pharo 4.0) I needed to dynamically update the ButtonModel BalloonHelp. Since it did not work, I searched and found that ButtonModel initializes helpHolder again thus removing the changeBlock set in AbstractWidgetModel. The statement < helpHolder :=

Re: [Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Cyril Ferlicot Delbecque
On 06/07/2016 15:43, Brad Selfridge wrote: > Ok! I'm really confused. I'm wanting to write new GUI and I have no idea > which framework to use. There is very little documentation on any of these > and I don't see a clear cut statement of direction as to where the Pharo > community is heading. >

[Pharo-users] Spec vs Brick vs Glamour vs Morphic vs WTF?

2016-07-06 Thread Brad Selfridge
Ok! I'm really confused. I'm wanting to write new GUI and I have no idea which framework to use. There is very little documentation on any of these and I don't see a clear cut statement of direction as to where the Pharo community is heading. Can someone please advise? Thanks. - Brad Se

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread stepharo
http://mooc.pharo.org :) soon the videos will be available http://rmod-pharo-mooc.lille.inria.fr Le 6/7/16 à 14:00, Arie van Wingerden a écrit : ​Hi, on the main Pharo page I see Pharo Mooc mentioned. Obviously I am too late to join. Will there be a similar course in the (near) futu

Re: [Pharo-users] How do I debug: "There was an error while trying to install GitFileTree. Installation was cancelled." from Catalog Browser

2016-07-06 Thread Cyril Ferlicot Delbecque
On 06/07/2016 15:28, Dale Henrichs wrote: > Alistair, > > Well thank you very much ... Those two menu items are very well hidden:) > Until you prompted me to look closely I never even noticed that little > icon... > > Is there a reason that those two menu items are not on the stack pane menu?

Re: [Pharo-users] How do I debug: "There was an error while trying to install GitFileTree. Installation was cancelled." from Catalog Browser

2016-07-06 Thread Dale Henrichs
Alistair, Well thank you very much ... Those two menu items are very well hidden:) Until you prompted me to look closely I never even noticed that little icon... Is there a reason that those two menu items are not on the stack pane menu? Now that I used the copystack menu item, I see what ma

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread Arie van Wingerden
Hi all, thank you for the answers! Nice to see the stuff is available for free. A am also amazed that so many books are available for free. Thx, Arie 2016-07-06 15:11 GMT+02:00 Peter Uhnák : > > Smalltalk isn't that popular anymore nowadays... > > anymore => yet :) > > But the resources shou

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread Peter Uhnák
> Smalltalk isn't that popular anymore nowadays... anymore => yet :) But the resources should be available http://forum.world.st/Pharo-Mooc-after-the-19th-of-june-tp4900406p4900498.html We need someone to find a place to host all this iirc. On Wed, Jul 6, 2016 at 2:57 PM, Cyril Ferlicot Delbecq

Re: [Pharo-users] Pharo Mooc

2016-07-06 Thread Cyril Ferlicot Delbecque
On 06/07/2016 14:00, Arie van Wingerden wrote: > ​Hi, > > on the main Pharo page I see Pharo Mooc mentioned. Obviously I am too > late to join. > > Will there be a similar course in the (near) future? > > Are there other (video) courses available? I checked Udemy and O'Reilly, > but alas, Smallt

Re: [Pharo-users] How to deploy a Pharo app?

2016-07-06 Thread Damien Cassou
Arie van Wingerden writes: > Is there a recipe for deploying a desktop Pharo app? > > What I mean is: >- no "world" windows visible >- autostart using a specific message >- etc. PharoLauncher and DrGeo are possible sources of inspiration for you. -- Damien Cassou http://damiencassou

Re: [Pharo-users] SQLite + Pharo

2016-07-06 Thread Hilaire
Thanks Esteban, I guess UDBC is for Pharo 5, and for Pharo 4 it is the NB version, right? I guess both version has the same public interface. Hilaire Le 30/06/2016 20:02, Esteban A. Maringolo a écrit : > Hilaire, > > If you want to generate the SQL statements by hand you can use the > UDBC S

[Pharo-users] How to deploy a Pharo app?

2016-07-06 Thread Arie van Wingerden
Hi, I searched for this, found things, but they ended up with broken links ... Is there a recipe for deploying a desktop Pharo app? What I mean is: - no "world" windows visible - autostart using a specific message - etc. Thanks! Arie

[Pharo-users] Pharo Mooc

2016-07-06 Thread Arie van Wingerden
​Hi, on the main Pharo page I see Pharo Mooc mentioned. Obviously I am too late to join. Will there be a similar course in the (near) future? Are there other (video) courses available? I checked Udemy and O'Reilly, but alas, Smalltalk isn't that popular anymore nowadays... Thx, Arie

Re: [Pharo-users] SQLite + Pharo

2016-07-06 Thread Hilaire
Thanks Esteban, I guess UDBC is for Pharo 5, and for Pharo 4 it is the NB version, right? I guess both version has the same public interface. Hilaire Le 30/06/2016 20:02, Esteban A. Maringolo a écrit : > If you want to generate the SQL statements by hand you can use the > UDBC SQLite3 driver,

Re: [Pharo-users] How do I debug: "There was an error while trying to install GitFileTree. Installation was cancelled." from Catalog Browser

2016-07-06 Thread Alistair Grant
Hi Dale, On Tue, Jul 05, 2016 at 11:53:19AM -0700, Dale Henrichs wrote: > While we're on the subject, when one does get a debugger How is a beginner > supposed to share the error information with the folks on this list? > > I have a debugger open on the stack after executing: > > Metacello new