Re: [Pharo-users] best solution to store data

2014-09-04 Thread stepharo
BTW remember that if you charge people for your application, then you will need to pay if you use VW. Thanks. Could Magna also be a good solution ? Saving and loading an object in fuel is two lines of code. So with a little strategy 2014-09-02-Bills-252 you can save fast your data. Same

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Ben Coman
Johan Brichau wrote: Hi, I just started using a Macbook pro with retina display. I notice the fonts are quite blurry. Is there something one can do to improve that? Johan What version of Pharo? What version of OSX? What fonts? I'm not sure of these details, but it will give you some

Re: [Pharo-users] Tide installation

2014-09-04 Thread Bernat Romagosa
Pull request sent. Phill, you need to use the latest bower. I'd uninstall and reinstall again: $ npm uninstall bower $ npm install bower -g Then just follow the tutorial, you don't need to modify bower.json or anything. Stef, thanks! I'll check these slides. Cheers, Bernat. 2014-09-03 16:50

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Tudor Girba
Hi, This should be a known issue as it was raised before. The problem occurs with any font. It has to do with the VM as far as I understood. I am not sure what is needed to be done, though. Cheers, Doru On Thu, Sep 4, 2014 at 9:20 AM, Ben Coman b...@openinworld.com wrote: Johan Brichau

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Igor Stasenko
on retina, the display bitmap are 2x scaled. On 4 September 2014 09:56, Tudor Girba tu...@tudorgirba.com wrote: Hi, This should be a known issue as it was raised before. The problem occurs with any font. It has to do with the VM as far as I understood. I am not sure what is needed to be

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Igor Stasenko
i'm wrong.. it scales only on ipads.. not on OS X. On 4 September 2014 11:09, Igor Stasenko siguc...@gmail.com wrote: on retina, the display bitmap are 2x scaled. On 4 September 2014 09:56, Tudor Girba tu...@tudorgirba.com wrote: Hi, This should be a known issue as it was raised before.

[Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread François Stephany
We are tempted to give Glorp a try. We've loaded version 1.7 from the configuration browser and the simple things we've tested so far seem to work fine with the PostgresV2 driver. What is the relation between the glorp we have with the VW version? Are the two merged often? Unfortunately, we

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread Esteban A. Maringolo
2014-09-04 9:35 GMT-03:00 François Stephany tulipe.mouta...@gmail.com: We are tempted to give Glorp a try. We've loaded version 1.7 from the configuration browser and the simple things we've tested so far seem to work fine with the PostgresV2 driver. What is the relation between the glorp we

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread Esteban Lorenzano
On 04 Sep 2014, at 15:01, Esteban A. Maringolo emaring...@gmail.com wrote: 2014-09-04 9:35 GMT-03:00 François Stephany tulipe.mouta...@gmail.com: We are tempted to give Glorp a try. We've loaded version 1.7 from the configuration browser and the simple things we've tested so far seem to

[Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Tim Mackinnon
Hi guys - I’m a bit stumped on how to create things in big text with a set background colour. I thought I understood - but it just doesn’t seem to work. I was thinking I could create a container morph, set its background colour (which works), and then put a StringMorph inside it with a set font.

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread François Stephany
What is the relation between the glorp we have with the VW version? Outdated, according to Alan Knight in response to a bug I reported. The truth is no one knows. not entirely true. we know that is outdated :) Now, our version was ported from (AFAIR) 7.1 and extended to allow our

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread Esteban A. Maringolo
2014-09-04 11:18 GMT-03:00 François Stephany tulipe.mouta...@gmail.com: What is the relation between the glorp we have with the VW version? Outdated, according to Alan Knight in response to a bug I reported. The truth is no one knows. not entirely true. we know that is outdated :) Now,

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread Sven Van Caekenberghe
On 04 Sep 2014, at 16:18, François Stephany tulipe.mouta...@gmail.com wrote: Ok. Is there a process somewhere on how to convert VW code to Pharo? Just load it would already be cool. Glorp is pretty big and complex. Porting something cross platform is a huge amount of work, I think most of

Re: [Pharo-users] Pharo Glorp 1.7 - VisualWorks

2014-09-04 Thread François Stephany
Yes, I guess cross dialect is not for the faint of heart. I feel like fixing bugs and improving stuff for pharo is the best way to diverge from the original project. Grumpf. On Thu, Sep 4, 2014 at 5:15 PM, Sven Van Caekenberghe s...@stfx.eu wrote: On 04 Sep 2014, at 16:18, François

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread volk...@nivoba.de
I have the same problem with a Lenovo Yoga2 13 (Win 8.1) with a QHD+ Display. It has 3200x1800 px. BW, Volkert Am 04.09.2014 um 07:46 schrieb Johan Brichau: Hi, I just started using a Macbook pro with retina display. I notice the fonts are quite blurry. Is there something one can do to

Re: [Pharo-users] Problems Pharo 3.0 Windows 8.1 (64 Bit)

2014-09-04 Thread volk...@nivoba.de
I think this was the reason. BW, Volkert Am 27.08.2014 um 07:54 schrieb Göran Krampe: Hi! On 08/25/2014 05:34 PM, volk...@nivoba.de wrote: Dear all, i have problems with Pharo 3.0 under Win 8.1 (64 Bit). When i quit Pharo and then restarting the it, Pharo-VM and Windows hangs. After some

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Alexandre Bergel
Using Roassal, I would do: -=-=-=-=-=-=-=-=-= v := RTView new. s := RTMultiCompositeShape new. s add: (RTBox new color: Color red; size: 500). s add: (RTLabel new height: 70). v add: (s elementOn: 'Hello World'). v open -=-=-=-=-=-=-=-=-= Cheers, Alexandre --

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Tim Mackinnon
Cool - that’s handy to know it works somewhere (and in fact, it was when playing with GT-Inspector I noticed this - so that solution would work). I’m still curious how you do it in Morphic? Tim On 4 Sep 2014, at 17:10, Alexandre Bergel alexandre.ber...@me.com wrote: Using Roassal, I would

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Ben Coman
Johan Brichau wrote: Hi, I just started using a Macbook pro with retina display. I notice the fonts are quite blurry. Is there something one can do to improve that? Johan Oh! I just found the real cause of your problem. It turtles all the way down... http://xkcd.com/1416/

Re: [Pharo-users] Pharo on retina macbook

2014-09-04 Thread Johan Brichau
Hi again, This should be a known issue as it was raised before. The problem occurs with any font. It has to do with the VM as far as I understood. I am not sure what is needed to be done, though. I know this was raised when the retina display came out but I did not follow any development

[Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-04 Thread Esteban A. Maringolo
Spurred by the last discussion about GLORP, Postgres and friends, I spent the last few hours looking into the workings of PostgresV2 to add support to the native JSON datatype provided by PostgreSQL 9.2. According to PostgreSQL docs [1]: The json data type can be used to store JSON (JavaScript

Re: [Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-04 Thread Esteban A. Maringolo
Oh, I forgot. The datatype fields are converted to instances of JsonObject, from the PharoExtras/JSON package. So the version 2.4 loads such package. Even though I don't use PharoExtras/JSON for my daily JSON manipulation (I use Seaside-JSON and NeoJSON), I found it to be the most

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Alexandre Bergel
No idea :-) Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On Sep 4, 2014, at 12:18 PM, Tim Mackinnon tim@testit.works wrote: I’m still curious how you do it in Morphic?

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Hilaire
Is FreeType activated in your Settings? Hilaire Le 04/09/2014 15:27, Tim Mackinnon a écrit : Hi guys - I’m a bit stumped on how to create things in big text with a set background colour. I thought I understood - but it just doesn’t seem to work. I was thinking I could create a container

[Pharo-users] Encoding CJK URL?

2014-09-04 Thread Wowerat Dirk
My code to download some UTF8 text with japanese kanji from an url: url := 'http://www.hatinosu.net/onsen/import.kml' asZnUrl. url_string := url retrieveContents. url_string class. ByteString Now the japanese parts of url_string are unreadable. What I need is WidString and not ByteString. On

Re: [Pharo-users] Encoding CJK URL?

2014-09-04 Thread Sven Van Caekenberghe
Hi Dirk, Please try: ZnDefaultCharacterEncoder value: ZnUTF8Encoder new during: [ ZnClient new get: 'http://www.hatinosu.net/onsen/import.kml'; yourself ]. ZnDefaultCharacterEncoder value: ZnUTF8Encoder new during: [

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Nicolai Hess
Don't use fontName: fontName size: fontSize as it only creates StrikeFont font, where the max size is 24 (I think). This works font := LogicalFont familyName: 'Open Sans' pointSize: 70. tMorph := StringMorph new. tMorph contents: 'Hello World'; font: font;

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Thierry Goubier
Le 04/09/2014 18:18, Tim Mackinnon a écrit : Cool - that’s handy to know it works somewhere (and in fact, it was when playing with GT-Inspector I noticed this - so that solution would work). I’m still curious how you do it in Morphic? Like that: Morph new color: Color red;

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread kilon alios
but if I try to do openInWindow instead of openInWorld in the end it turns it to white box , why ? On Thu, Sep 4, 2014 at 11:56 PM, Thierry Goubier thierry.goub...@gmail.com wrote: Le 04/09/2014 18:18, Tim Mackinnon a écrit : Cool - that’s handy to know it works somewhere (and in fact, it

Re: [Pharo-users] How to create a red box with text in a big font?

2014-09-04 Thread Thierry Goubier
Le 04/09/2014 23:12, kilon alios a écrit : but if I try to do openInWindow instead of openInWorld in the end it turns it to white box , why ? Adding the morph inside the window changes the morph color to white :( (What the heck?) If the color is changed after the openInWindow, then that

Re: [Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-04 Thread Norbert Hartl
Am 04.09.2014 um 21:43 schrieb Esteban A. Maringolo emaring...@gmail.com: Oh, I forgot. The datatype fields are converted to instances of JsonObject, from the PharoExtras/JSON package. So the version 2.4 loads such package. Even though I don't use PharoExtras/JSON for my daily JSON

Re: [Pharo-users] [ANN] JSON datatype support in PostgresV2 package

2014-09-04 Thread François Stephany
That's pretty cool ! +1 Norbert On Fri, Sep 5, 2014 at 6:56 AM, Norbert Hartl norb...@hartl.name wrote: Am 04.09.2014 um 21:43 schrieb Esteban A. Maringolo emaring...@gmail.com: Oh, I forgot. The datatype fields are converted to instances of JsonObject, from the