Re: [Pharo-users] best practices for using external files for testing

2017-04-18 Thread Peter Uhnak
I think the best way would be to profile it I guess, or try all options... my idea was that I will keep with the repo (because I don't want to pull off-site resources every time the test suite runs (e.g. on travis), and at the same time I didn't want to make the source code big... but I guess I

Re: [Pharo-users] VM/Image magic numbers (Re: Pharo 6 snap install)

2017-04-18 Thread Luke Gorrie
On 15 April 2017 at 01:22, Ben Coman wrote: > The "magic decode for image files" seems related and possibly *very* > useful > http://forum.world.st/magic-decode-for-image-files-td4941712.html#a4941837 > > Now traditionally the VM has been backward compatible with old Images, > but Pharo doesn

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
Thanks I will give it a try though I am very bad at understanding code without documentation. I also know close to nothing about SSL . If that fails I will then use the Python library for accessing my PostgreSQL database from Pharo image. On Tue, 18 Apr 2017 at 19:18, Sven Van Caekenberghe wrote:

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Sven Van Caekenberghe
> On 18 Apr 2017, at 16:49, Esteban A. Maringolo wrote: > > All current PostgreSQL drivers are 100% written in Smalltalk, I > haven't used the V3 version (binary), but the V2 is more than good > enough even for production systems. > > Writing a new driver using the libpq shared library might be

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
And nope it does not allow for disabling SSL , time to use old reliable Python and make my life a ton easier :D On Tue, 18 Apr 2017 at 18:29, Dimitris Chloupis wrote: > If I disable ssl I would make database insecure, but yeah it would not > matter so much as the data is not sensitive in any way.

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
If I disable ssl I would make database insecure, but yeah it would not matter so much as the data is not sensitive in any way. I will try that, good idea. On Tue, 18 Apr 2017 at 18:22, Benoit St-Jean via Pharo-users < pharo-users@lists.pharo.org> wrote: > Do you absolutely need SSL or you can conn

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Benoit St-Jean via Pharo-users
--- Begin Message --- Do you absolutely need SSL or you can connect to this server without it?  Esteban is right : writing a driver from scratch takes quite some time!  It would be way easier to add SSL support to the existing one.  - Benoît St-Jean Yahoo! Messenger: bstjean

Re: [Pharo-users] [ANN] Prometheas : a Pharo wiki database

2017-04-18 Thread nacho
Thanks Offray. I already sign up. I am taking a look a Rubric. It seems that can help in formating text. best Nacho - Nacho Smalltalker apprentice. Buenos Aires, Argentina. -- View this message in context: http://forum.world.st/ANN-Prometheas-a-Pharo-wiki-database-tp4942110p4942549.html Se

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
Sure but most probably I won't do either and abandon the effort. By API I did not mean to wrap the entire thing only a dozen of functions, the bare minimum I want to make this work. Including SSL. Will give a try at some point in the future and if it's easy will do. If not , no big deal. There is

Re: [Pharo-users] [ANN] Prometheas : a Pharo wiki database

2017-04-18 Thread Offray Vladimir Luna Cárdenas
Nice to know Nacho. Please join us at our Grafoscopio Spanish mailing list at [1] and checkout the last updated documentation, including English user manual with explanations about web links support and custom markup keywords at [2]. [1] http://mutabit.com/grafoscopio/#contacto [2] http://mut

Re: [Pharo-users] [ANN] Prometheas : a Pharo wiki database

2017-04-18 Thread Offray Vladimir Luna Cárdenas
Yes. I tried to use it once and even ask for support to Moose devs, after they asked for feedback (and I didn't get any answer, but my question to answer ratio by Moose team can be pretty random). The idea is to use same principles, but for markdown. Supporting markdown in the documentation mar

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Esteban A. Maringolo
All current PostgreSQL drivers are 100% written in Smalltalk, I haven't used the V3 version (binary), but the V2 is more than good enough even for production systems. Writing a new driver using the libpq shared library might be a fun project, but a lot of work; maybe it will be more fun adding the

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
Looks like I will have to make my own PostgreSQL API . Nice excuse to test my UFFI skills once more :) On Tue, 18 Apr 2017 at 16:17, Esteban A. Maringolo wrote: > Not that I'm aware of. > > You can create a ssh tunnel that ciphers the data between your host > and the remote server, but you'd need

Re: [Pharo-users] best practices for using external files for testing

2017-04-18 Thread monty
XMLParser's XML-Tests-Conformance project, which is automatically generated from the W3C's Conformance Test Suites project (https://www.w3.org/XML/Test/), stores the contents of its files in class methods. This way it's self-contained, portable, and the actual files only need to be downloaded an

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Esteban A. Maringolo
Not that I'm aware of. You can create a ssh tunnel that ciphers the data between your host and the remote server, but you'd need a ssh daemon running in the server host. Regards, Esteban A. Maringolo 2017-04-18 5:09 GMT-03:00 Dimitris Chloupis : > After some investigation in Heroku documentati

Re: [Pharo-users] Exporting Packages to Cincom Smalltalk (VisualWorks)

2017-04-18 Thread Peter Uhnak
Ah, I forgot about that one. (I've seen it before I wrote mine, but I didn't like some things iirc... like using string cocats instead of XMLWriter etc) Peter On Mon, Apr 17, 2017 at 04:42:52PM -0300, Esteban A. Maringolo wrote: > Thank you Peter. > > Alexandre Bergel pointed me to Roassal expo

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
After some investigation in Heroku documentation, the database expects a SSL connection but it seems the driver does not use SSL , any way to force Garage to use SSL ? On Tue, 18 Apr 2017 at 10:07, Dimitris Chloupis wrote: > I adjusted it for my database and gives me error > > EFATAL: no pg_hba.

Re: [Pharo-users] PostgreSQL and Pharo 6

2017-04-18 Thread Dimitris Chloupis
I adjusted it for my database and gives me error EFATAL: no pg_hba.conf entry for host "", user "", database "", SSL off any way to resolved this ? On Tue, Apr 18, 2017 at 1:24 AM Benoit St-Jean wrote: > Try this: > > | sql conn connectionSpec result | > sql := 'SELECT * FROM search_terms'.