[Pharo-users] Re: Whats the easiest/cheapest way to run a Pharo web app in 2021?

2021-04-08 Thread Pierce Ng
On Thu, Apr 08, 2021 at 11:58:10AM +0100, Tim Mackinnon wrote: > Pierce - who/where are you rnning your Docker image? Do you use a > particular service (or are you running your own?) I am using a Linux VPS which I manage myself. The Pharo application is my blog. It was a web app fronted by a

[Pharo-users] Re: Whats the easiest/cheapest way to run a Pharo web app in 2021?

2021-04-07 Thread Pierce Ng
On Wed, Apr 07, 2021 at 02:21:14AM +0100, Tim Mackinnon wrote: > I also feel its quite important to call out that the "eval 'Metacello > new..." command referenced in the DockerFile RUN - is only going to work Hi, I build my Pharo image outside of Docker. My Dockerfile then packages the built

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread Pierce Ng
On Tue, Oct 06, 2020 at 09:41:21PM +0100, Tim Mackinnon wrote: > Anyway, that login screen… oh crap I have to write one of those… For Seaside, there is TF-Login. And oh, it rolled its own file-based versioning object persistence. Version that I ported to Pharo 7 and Seaside 3.3: -

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-05 Thread Pierce Ng
On Mon, Oct 05, 2020 at 11:23:25PM +0100, Tim Mackinnon wrote: > I know there is Sven’s P3 - but I’m not sure I’m ready to run and > maintain a SQL database for a simple application, but could be > persuaded it its simple to setup with little maintenance. Would mongo > be a suggestion - is that

[Pharo-users] Re: Standalone html builder (a la seaside without seaside?)

2020-09-29 Thread Pierce Ng
On Mon, Sep 28, 2020 at 08:35:43PM +0200, Franz Josef Konrad wrote: > Some years ago I was looking for something for the same purpose and looked > at this library Hi, I stopped working on that and just used what comes with Seaside.

Re: [Pharo-users] Difference between VM and image

2020-08-17 Thread Pierce Ng
On Mon, Aug 17, 2020 at 11:45:46AM +0200, rob...@robkuz.com wrote: > I am trying to find out what the difference between an VM and an Image is > when using Pharo. An image is like a computer game that can save its state to disk. The VM is for running the game. With a fresh image, you start the

Re: [Pharo-users] Iceberg: Installing a baseline from a self hosted Git/Gitea repository branch

2020-07-15 Thread Pierce Ng
On Wed, Jul 15, 2020 at 08:41:04AM -0500, Offray Vladimir Luna Cárdenas wrote: > So, a better question would be: Is possible to load programatically (via > a code snippet) using Iceberg, Monticello or something else a baseline > that installs a project and its dependencies and is hosted in an >

[Pharo-users] Tracker for Smalltalkhub project migration

2020-07-14 Thread Pierce Ng
Hi all, I've created below project to keep track of Smalltalkhub project migration. Please feel free to fork, update and send PR. https://github.com/PierceNg/sth-migration Pierce

[Pharo-users] Updated Alpine Linux Pharo VM Docker image

2020-07-12 Thread Pierce Ng
Hi all, I've updated the Docker image for pharo.cog.spur.minheadless VM built on Alpine Linux. This version is built on Alpine Linux 3.12. Some links: - https://hub.docker.com/r/pierceng/pharovm-alpine - https://github.com/pharo-contributions/Docker-Alpine/tree/master/vm.build -

Re: [Pharo-users] UFFI Problem: A call to an external function failed (FFIOpaqueObject)

2020-06-23 Thread Pierce Ng
On Mon, Jun 22, 2020 at 08:41:22AM +0200, Sven Van Caekenberghe wrote: > > On 22 Jun 2020, at 03:47, Pierce Ng wrote: > > Finally, there is a non FFI pure Smalltalk implementation of the MySQL > > wire protocol that has been around a while. > > > https://github.

Re: [Pharo-users] UFFI Problem: A call to an external function failed (FFIOpaqueObject)

2020-06-21 Thread Pierce Ng
On Sun, Jun 21, 2020 at 11:27:22AM +0200, Georg Hagn wrote: > 'mariaDB://localhost:5432/sodbxtest?=sodbxtest=sodbxtest'. Hi, Firstly, 5432 is PostgreSQL. MySQL/MariaDB default port is 3306. Just a note, as mysql_init() only allocates the C level structure and doesn't connect. > FFILibrary

Re: [Pharo-users] [Pharo-dev] [ANN] PharoPro

2020-06-17 Thread Pierce Ng
On Wed, Jun 17, 2020 at 10:34:09AM +0200, Norbert Hartl wrote: > we are very proud to announce the availability of PharoPro, a company > that offers professional support for the pharo platform. Our mission > is to enable people and companies to secure their business when > building products with

Re: [Pharo-users] DateTime now nanos

2020-06-17 Thread Pierce Ng
On Wed, Jun 17, 2020 at 02:24:20AM -0500, Jeff Gray wrote: > I may be misunderstanding, but is the example in the link declaring a sqlite > column of type datetime? I didn't think you could do that. SQLite's typing is different from most other SQL engines. See https://sqlite3.org/datatype3.html.

Re: [Pharo-users] DateTime now nanos

2020-06-15 Thread Pierce Ng
On Mon, Jun 15, 2020 at 01:23:06AM -0500, Jeff Gray wrote: > Maybe I should just be asking what people normally do to store dates in > SQLite. (I'm guessing there aren't that many...) The Pharo SQLite binding stores DateAndTime instances as strings. When fetching from the database, if the

Re: [Pharo-users] git and Pharo new book...

2020-05-14 Thread Pierce Ng
On Thu, May 14, 2020 at 03:54:31PM +0200, Stéphane Ducasse wrote: > if you want to contribute to a chapter on other than github solutions. > I would be happy to help editing such chapter. > > If you want to you can do a PR with a chapter. Sure, I'll do that. I'll start next month Jun 2020.

Re: [Pharo-users] git and Pharo new book...

2020-05-13 Thread Pierce Ng
On Wed, May 13, 2020 at 11:07:00AM -0500, Offray Vladimir Luna Cárdenas wrote: > This is perfect timing, as I have started to slowly migrate my own repos > from SmalltalkHub to a  simple, self hosted and self contained Gitea[1] Hi Offray, I run Gitea on a Raspberry Pi at home. I have a couple of

Re: [Pharo-users] About DuneSt / ChartJs

2020-02-11 Thread Pierce Ng
On Tue, Feb 11, 2020 at 05:06:44PM +0100, Sven Van Caekenberghe wrote: > NeoJSON and Seaside are already in my project's dependencies, but > Seaside3 seems to never resolve to the same thing, so I would like to > skip that. Is that possible ? I have this issue often with Seaside. I > could fork

Re: [Pharo-users] Spec2 and Nuklear?

2020-02-11 Thread Pierce Ng
On Tue, Feb 11, 2020 at 01:59:49PM -0500, Offray Vladimir Luna Cárdenas wrote: > This is not a question, but more like a blue plan thinking about > minimalist native UI toolkits that can talk with Spec 2. I just found > Nuklear[1] and I'm kind of wondering if this could take the place of GTK > in

Re: [Pharo-users] The results are in!

2020-02-08 Thread Pierce Ng
On Sat, Feb 08, 2020 at 05:50:18PM -0500, Benoit St-Jean via Pharo-users wrote: > MAYBE we need another list... Maybe Richard just needs to adjust the style of his mails... > This is getting ridiculous!  The guy spends energy, time, effort and is able > to gather 13K in prizes and puts Pharo to

Re: [Pharo-users] Embedding pharo in C++

2020-01-22 Thread Pierce Ng
On Wed, Jan 22, 2020 at 11:04:07AM +0100, teso...@gmail.com wrote: >nice to hear about the Pascal experiment, I've published my code on GH and sent an announcement to pharo-dev. Repo is https://github.com/PierceNg/pharo-vm-embedded-pascal Pierce

Re: [Pharo-users] Embedding pharo in C++

2020-01-22 Thread Pierce Ng
On Wed, Jan 22, 2020 at 10:09:33AM +0100, teso...@gmail.com wrote: > Hi, we are working on the tools required to have embedded Pharo in > different solutions. Hi Pablo, Your published example embed the image as a Windows resource. Well, the excellent and, like Smalltalk, vastly underrated Free

Re: [Pharo-users] Embedding pharo in C++

2020-01-22 Thread Pierce Ng
On Tue, Jan 21, 2020 at 08:20:48PM +0100, Roland Plüss via Pharo-users wrote: > The first mode is the "runtime mode". This would be the mode used for > the released products and does not allow to "directly modify" the image. > This mode would only require basic set of classes (frameworks) since

Re: [Pharo-users] Floating point arithmetic

2020-01-13 Thread Pierce Ng
On Tue, Jan 14, 2020 at 12:41:51AM +1300, Richard O'Keefe wrote: > Squeak and Pharo interpret as "rational number *printed* in > decimal form but not *computed* using decimal arithmetic", so > that can give extremely confusing results too. Can you expand on this please? For money-related

Re: [Pharo-users] Floating point arithmetic

2020-01-13 Thread Pierce Ng
On Sun, Jan 12, 2020 at 02:13:00PM -0600, Donald Howard wrote: > "What are other suggestions, workarounds or approaches community has?" This is a good read on the subject: https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html Title is "What every computer scientist should know about

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-02 Thread Pierce Ng
On Thu, Jan 02, 2020 at 12:56:55PM -0600, Sean P. DeNigris wrote: > bugs seem to be > more severe and difficult to diagnose, so we'll see how it goes as FFI use > becomes more and more common... There's a saying about (aspects of) building software which source I cannot recall: If it hurts, do

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-01 Thread Pierce Ng
On Wed, Jan 01, 2020 at 02:35:03PM +0100, Tim Mackinnon wrote: > I’m curious why you chose to use ffi for this one in particular as it > would seem to be quite straightforward to do it all in native > Smalltalk (not to down play your integration in any way of course). > Was performance a big

[Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-01 Thread Pierce Ng
Hi all, I've published Phoedown, an FFI to hoedown, the standards compliant, fast, secure Markdown processing library written in C. - https://github.com/PierceNg/Phoedown - https://github.com/hoedown/hoedown A simple example: | md | md := (FileSystem memory / 'somefile.md')

Re: [Pharo-users] I feel like an overwhelmed maintenance programmer - how to get some toeholds?

2019-12-21 Thread Pierce Ng
On Sat, Dec 21, 2019 at 08:32:02AM -0600, ponyatov wrote: > The problem can be covered by a few experienced programmers who stream their > everyday work on a regular basis. > As I know, there is no anyone doing it. Twitch for programmers? Intriguing idea. Pierce

Re: [Pharo-users] [ANN] ReStore for Pharo - object<>relational database framework

2019-12-08 Thread Pierce Ng
On Sun, Dec 08, 2019 at 01:09:29PM +, John Aspinall wrote: > https://github.com/rko281/ReStoreForPharo > > Initially ReStore supports SQLite via UDBC and PostgreSQL via P3; > kudos and thanks to the authors of these packages. Documentation > largely

Re: [Pharo-users] Pillar in-image rendering (was: String concatenation vs. Stream)

2019-10-20 Thread Pierce Ng
On Sat, Oct 19, 2019 at 04:39:21AM -0700, Kasper Østerbye wrote: > I am currently working on a github markdown -> pillar tree (the internal > rep of pillar). I estimate I am a few days out from that one. Are you doing this in pure Pharo? I have wrapped libhoedown, a Markdown to HTML library.

Re: [Pharo-users] Glorp + P3 + SQLite

2019-10-20 Thread Pierce Ng
On Sat, Oct 19, 2019 at 01:26:10AM -0700, Todd Blanchard via Pharo-users wrote: > I loaded GLORP+P3 without issue. > Trying to load SQLite3 - it also wants to load GLORP which complains of > conflict. Todd, to load SQLite3 only: Metacello new repository: 'github://astares/Pharo-UDBC/src';

Re: [Pharo-users] Smallest docker image for pharo >=7 ?

2019-10-14 Thread Pierce Ng
On Mon, Oct 14, 2019 at 04:07:49AM -0300, Hernán Morales Durand wrote: > Because I am lazy and want to avoid searching through all DockerHub > repository pages... Do you know a Dockerfile to generate the smallest > possible docker image for Pharo? > Anyone could make it work Pharo on Alpine since

Re: [Pharo-users] Running a teapot instance remotely

2019-10-10 Thread Pierce Ng
On Thu, Oct 10, 2019 at 04:18:14PM -0400, sergio ruiz wrote: > How are people keeping it running these days? I used to use daemontools. These days I use Docker. Pierce

Re: [Pharo-users] TestRunner to run superclass's tests

2019-05-23 Thread Pierce Ng
On Thu, May 23, 2019 at 02:14:08PM +0200, Cyril Ferlicot wrote: > Currently, to inherit tests you need to override > #shouldInheritSelectors to return true. Thank you Cyril.

[Pharo-users] Discord Recaptcha

2019-05-23 Thread Pierce Ng
Hi all, I just tried to login to Discord after a few weeks away. I cannot get past Google's recaptcha - it kept showing me super grainy pictures of road scenes from which I was supposed to pick out the ones with cars (apparently without success). I have set up 2FA for Discord and don't remember

[Pharo-users] TestRunner to run superclass's tests

2019-05-23 Thread Pierce Ng
Hi all, I have a testing class that is sub-subclass of TestCase, i.e., the class hierarchy looks like this: TestCase ExistingTestingClass MyNewTestingClass How do I get TestRunner to run MyNewTestingClass's tests, as well as ExistingTestingClass's tests in the context of

Re: [Pharo-users] Runaway scrolling in Pharo 7 on Ubuntu 18.04

2019-04-30 Thread Pierce Ng
On Sun, Apr 28, 2019 at 10:02:35AM -0500, Brainstorms wrote: > I tried this in a Linux container on a Chromebook (a Pixelbook model), and > got the same behavior for both the Glamour Example Browser and when > scrolling long methods in the code browser. > > The Linux version in the default

[Pharo-users] Runaway scrolling in Pharo 7 on Ubuntu 18.04

2019-04-27 Thread Pierce Ng
Anyone encountering runaway scrolling in Pharo 7 on Ubuntu 18.04-based systems? In Pharo 7.0.3, click Help > Glamour Example Browser. When the browser comes up, click Fast List Outline Simple on the left pane. In the right pane's Browser tab, click inside the scrollbar's gutter, i.e., not on the

Re: [Pharo-users] FFI to UFFI

2019-03-23 Thread Pierce Ng
On Sat, Mar 23, 2019 at 05:22:32PM +, Tomaž Turk wrote: > - Is there any elegant way to successfuly load the package into Pharo 7 to > get started with the code adaptation? Elegantly, dunno. Manually, open Monticello browser, right click on the repo (if you have loaded the ConfigOf then the

Re: [Pharo-users] Fw: Re: R: R: UDBC ODBC

2019-03-22 Thread Pierce Ng
On Fri, Mar 22, 2019 at 09:46:35AM +, Tomaž Turk wrote: > Do you possibly know (or anyone) if this implementation can be used together > with Glorp? Glorp has a notion of database platforms, and currently there are MySQLODBCPlatform, OracleODBCPlatform and SQLServerODBCPlatform. (I've not

Re: [Pharo-users] 7.0.2 and the font glitch - seems far worse than 7.0.1

2019-03-17 Thread Pierce Ng
On Sun, Mar 17, 2019 at 02:44:25PM +, Tim Mackinnon wrote: > Hey Pierce - what font did you use - are you talking about the Bitmap > fonts, or did you pick something else? I use the platform fonts to show Chinese and Japanese content correctly. On Mac, PingFang SC. On Ubuntu I have been using

Re: [Pharo-users] 7.0.2 and the font glitch - seems far worse than 7.0.1

2019-03-17 Thread Pierce Ng
On Fri, Mar 15, 2019 at 11:04:35PM +, Tim Mackinnon wrote: > In 7.0.1 (osx - high Sierra - launcher), I was seeing the odd font > glitch (where characters suddenly start glyphing in code and menus - > see photos) and it seemed to be fixable by saving your image the first > time (e.g. after 30+

[Pharo-users] planet.smalltalk.org

2019-03-09 Thread Pierce Ng
I deleted the earlier thread from my mailbox, so starting a new one. By chance I found http://prog.vub.ac.be/~cderoove/planet/ which is the Planet Smalltalk aggregator hosted by Coen De Roover. It is still running and has the latest entries. Just a bit more work is needed to get

Re: [Pharo-users] http://planet.smalltalk.org ?

2019-03-03 Thread Pierce Ng
On Sun, Mar 03, 2019 at 12:56:26PM -0300, Hernán Morales Durand wrote: > Me too I used to track a lot of interesting blogs out there. At one > time the main contact for the site was Coen de Roover : > http://soft.vub.ac.be/~cderoove/ > > Maybe someone already wrote him to ask? I wrote Coen a few

[Pharo-users] [ANN] Pharo-SQLite even more multilingual

2019-03-02 Thread Pierce Ng
Hi all, I've enhanced the Pharo SQLite library to be even more multilingual. It has always supported data elements that are Pharo WideString instances, these being converted to/from UTF8 transparently by the library. Now the library also handles multilingual table names, column names and default

Re: [Pharo-users] Partition/Sync ready databases for Pharo?

2019-02-21 Thread Pierce Ng
On Tue, Feb 19, 2019 at 01:02:51PM +, Tim Mackinnon wrote: > When you say Fossil - are you referring to > "https://fossil-scm.org/index.html/doc/trunk/www/index.wiki” ? > I’ve seen it come up a few times - is it good? Yes I mean the Fossil SCM. I use it as a personal wiki and file repo. It

Re: [Pharo-users] Partition/Sync ready databases for Pharo?

2019-02-21 Thread Pierce Ng
On Tue, Feb 19, 2019 at 10:36:18AM -0300, Esteban Maringolo wrote: > No problem, I was going to ask about Fossil as well, I know it is a > self contained SCM, with issue tracker, and whatnot. People that uses > it don't want to use git except if forced to. > So I also ask how this would work. :)

Re: [Pharo-users] Running pharo in daemon mode

2019-02-21 Thread Pierce Ng
On Tue, Feb 19, 2019 at 05:17:34AM -0800, sergio ruiz wrote: > My daemontools run file looks like: > but for some reason, it just sits and grinds and restarts.. never remaining > started for more than a second.. PharoDebug.log or "ps ax | egrep readproctitle" should contain some clues. >

Re: [Pharo-users] Partition/Sync ready databases for Pharo?

2019-02-18 Thread Pierce Ng
On Mon, Feb 18, 2019 at 02:56:10PM -0300, Esteban Maringolo wrote: > I have the requirement that an app that I'm prospecting must be able > to work offline and synchronize changes once the connection is > restored. > > I want to avoid having to write "sync" logic manually. I've not done this for

Re: [Pharo-users] Running pharo in daemon mode

2019-02-18 Thread Pierce Ng
On Mon, Feb 18, 2019 at 04:39:03PM -0500, sergio ruiz wrote: > I found my issue.. I need to be running in daemon mode.. i was running with > &, but as soon as my connection lets go, the app dies.. My daemontools run file: #!/bin/sh /usr/bin/setuidgid app1 \ /pkg/vm/pharo -vm-display-null

Re: [Pharo-users] im using pharo 7 with linux env. but cannot input korean.

2019-02-15 Thread Pierce Ng
On Fri, Feb 15, 2019 at 10:42:42PM +0900, peter yoo wrote: > hello~.. im using pharo 7 with linux env. but cannot input korean. > and.. already start shell script file open and add "--compositioninput". I start Pharo with -compositioninput (one dash, didn't try two dashes for the option). Chinese

Re: [Pharo-users] Trying to understand Developing with Pharo, Deploying with Gemstone/s

2019-02-09 Thread Pierce Ng
On Sat, Feb 09, 2019 at 01:15:43PM +0100, Petr Fischer via Pharo-users wrote: > Loading code and projects into Gemstone - it's more like "do it > yourself" or use tODE from GsDevKit_home (open source project, but > completely unofficial, supported by "Dale"). Gemstone has Gofer. I develop on

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 08:20:22PM +0100, Petr Fischer via Pharo-users wrote: > But still... I do not expect anyone to create tables through binding > values (like in your example), so following SQL command is still > broken: > db execute: 'create table A (ID INTEGER, T TEXT DEFAULT ''áěšřčá'')'.

Re: [Pharo-users] Non-greedy RegEx?

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 07:25:07PM +0100, Norbert Hartl wrote: > > Am 05.02.2019 um 16:16 schrieb Sven Van Caekenberghe : > > Still, there are advantages to an in-image solution, can't says this > > enough, these external lib dependencies pose their own problems ... > +1 Libraries like libgit2,

Re: [Pharo-users] Non-greedy RegEx?

2019-02-05 Thread Pierce Ng
On Wed, Feb 06, 2019 at 12:26:00AM +1300, Richard O'Keefe wrote: > Please DON'T move to PCRE. > "Outside world standards"? There are so many. > There are two important things to know about > PCRE: (1) it is a popular open source regexp > library for Perl-style regexps, (2) because of > that, it

Re: [Pharo-users] Github pharo-* organizations

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 12:52:37AM -0300, Hernán Morales Durand wrote: > I am currently writing a command-line tool which queries pharo repositories > using the GitHub API, and based on the repository tag. Maybe not exactly > what you asked for but it's a start. You can find the tool at: >

Re: [Pharo-users] SQLite3 [UDBC2] - "Could not coerce arguments" error for UTF8 chars

2019-02-05 Thread Pierce Ng
On Tue, Feb 05, 2019 at 02:51:42PM +, Petr Fischer via Pharo-users wrote: > When I executing this insert SQL command: > insert into "TABLE" (..., "VARCHAR_FIELD") values (..., > 'ěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮ'); > this UDBC error occurs (what's wrong?): > Error: "Could not coerce arguments" Please

[Pharo-users] Github pharo-* organizations

2019-02-04 Thread Pierce Ng
Hi all, Is there a definitive list of all the pharo-* organizations on GH? Like pharo-rdbms, pharo-nosql, pharo-vcs, ... Or, a way to query GH to find out? Pierce

Re: [Pharo-users] why doesn't this baseline load any package when included in another baseline?

2019-02-03 Thread Pierce Ng
On Sun, Feb 03, 2019 at 01:41:30PM -0800, PAUL DEBRUICKER wrote: > MCHttpRepository > location: 'http://www.squeaksource.com/TimeZoneDatabase' Hi Paul, I see that there is a ConfigurationOfTimeZoneDatabase in the SS repo as well. > spec baseline: 'TimeZoneDatabase' >

Re: [Pharo-users] PharoV50.sources in VM?

2019-02-02 Thread Pierce Ng
On Sat, Feb 02, 2019 at 12:54:13PM +0100, Alistair Grant wrote: > On Sat, 2 Feb 2019 at 09:32, Hilaire wrote: > > By the way, is there any reason to not remove the symbols in the Windows > > and Linux VM libraries? It saves several MB. At least for DrGeo > > distribution, there is no use. > >

[Pharo-users] Updated README for PasswordCrypt

2019-01-25 Thread Pierce Ng
Hi all, I've updated the README for PasswordCrypt as part of my objective to write proper READMEs for my Github repos in 1Q2019. https://github.com/PierceNg/PasswordCrypt Pierce

Re: [Pharo-users] [VIDEO TUTORIAL] How to use external code editors to code in Pharo

2019-01-24 Thread Pierce Ng
On Thu, Jan 24, 2019 at 08:29:46PM +0530, K K Subbu wrote: > Nice clip - short and sweet. You may want to point people to about chunk > file format in the description to alert people who may break chunk syntax by > accident and get confused when fileIn breaks (been there, done that :-(). Maybe

Re: [Pharo-users] [Pharo-dev] [ANN] Pharo 7.0 released!

2019-01-23 Thread Pierce Ng
On Wed, Jan 23, 2019 at 06:43:50PM -0500, Offray Vladimir Luna Cárdenas wrote: > I joined HN just to be able to comment on this thread[1]. Yes, it seems > [1] https://news.ycombinator.com/item?id=18984409 Kudos for a measured response.

Re: [Pharo-users] RSA and cryptography

2019-01-23 Thread Pierce Ng
On Wed, Jan 23, 2019 at 02:56:09PM +0100, Norbert Hartl wrote: > I don’t think so. We use RSA public key validation. It does not seem > that libsodium supports that. > > A binding to libcrypto would be best :) Hi Norbert, https://github.com/PierceNg/OpenSSL-Pharo To load: Metacello new

Re: [Pharo-users] [Iceberg] Loading my git project into a new image

2019-01-21 Thread Pierce Ng
On Mon, Jan 21, 2019 at 03:10:49AM +0100, sergio ruiz wrote: > While I can clone the the repo on in my new image using Iceberg, I can’t > figure out now to load the packages, now that they are loaded up via > iceberg. If you mean you want to load from a git repo in your local filesystem, then

Re: [Pharo-users] Pier CMS

2019-01-15 Thread Pierce Ng via Pharo-users
--- Begin Message --- On Tue, Jan 15, 2019 at 09:08:43AM -0500, Richard Kenneth Eng wrote: > I'm looking at Pier CMS and it appears to require (32-bit) Pharo 1.3. Since > I'm running 64-bit Pharo on 64-bit Linux, this is a problem, am I right? You can install 32-bit run-time libraries on your

Re: [Pharo-users] Library to use multi-core in Pharo?

2019-01-09 Thread Pierce Ng via Pharo-users
--- Begin Message --- On Wed, Jan 09, 2019 at 01:18:45PM -0300, Alexandre Bergel via Pharo-users wrote: > Is there an effort to easily use multi-core or native processes in Pharo? > I am thinking about a library that offer a construct like: There used to be a Hydra VM for Squeak:

[Pharo-users] PostgresV3 with parameter binding

2018-12-25 Thread Pierce Ng
Hi all, I've modified PostgresV3 to do parameter binding, i.e., parsing SQL and binding/executing with data are performed in separate protocol steps. I've add a simple client API with some examples demonstrating usage. The examples require a PostgreSQL server loaded with the Sakila database.

Re: [Pharo-users] Teapot and SSL

2018-12-22 Thread Pierce Ng
On Sat, Dec 22, 2018 at 02:07:06PM -0500, Offray Vladimir Luna Cárdenas wrote: > In your setup, you talk about SmallCMS1 as a blog engine that runs on > Pharo 6 and seems kind of integrated with Fossil. Brea [1] (in early > stages now), pursuits similar goals. Do you have any link to SmallCMS1?

Re: [Pharo-users] Teapot and SSL

2018-12-21 Thread Pierce Ng
On Fri, Dec 21, 2018 at 02:42:04PM -0600, horrido wrote: > Okay, I will dispense with the self-signed certificate and purchase a > commercial one, say, from Comodo (PositiveSSL). Use Let's Encrypt-issued certificates, available without charge. Let's Encrypt's CA certificate is built-in trusted by

Re: [Pharo-users] GlorpSQLite not finding sqlite library on Mac

2018-12-16 Thread Pierce Ng
On Sun, Dec 16, 2018 at 10:25:11AM -0800, Todd Blanchard via Pharo-users wrote: > Metacello new > repository: 'github://pharo-rdbms/glorp-sqlite3'; > baseline: 'GlorpSQLite'; > load. Hi Todd, Pharo 6 or 7? 32- or 64-bit? > This seems to be the only way to get SQLite support?

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-05 Thread Pierce Ng
On Wed, Dec 05, 2018 at 07:34:35AM +, Alistair Grant wrote: > I'm not doing any database work at the moment (storing results in STON > files for now), but will also add the links to the class comments. Hi Alistair, I wasn't suggesting storing data in a database per se. I thought that,

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Pierce Ng
On Tue, Dec 04, 2018 at 10:21:20AM +0100, Alistair Grant wrote: > Does anyone know of a library for processing GPS coordinates? > > What I'm looking for are things like: > > - Parsing from and printing to various string formats (HMS, NESW, decimal) > - Distance between two points > - etc.

Re: [Pharo-users] Unable to compile myself Pharo

2018-12-02 Thread Pierce Ng
On Sat, Dec 01, 2018 at 07:37:12PM +0100, Alexandre Garreau wrote: > > https://github.com/OpenSmalltalk/opensmalltalk-vm > > Wait if it’s the same than for squeak… knowing there’s a “squeak-vm” > package in debian that claim to be able to run several images… could it > be that it could be used

Re: [Pharo-users] Unable to compile myself Pharo

2018-11-30 Thread Pierce Ng
On Fri, Nov 30, 2018 at 07:15:22PM +0100, Alexandre Garreau wrote: > But I saw the bootstrap process involve redownloading a binary image > anyway… I’d have just prefered to recompile it to be sure, as I’m > usually more comfortable with this idea. Normally compiling a new > language is —though

Re: [Pharo-users] VPS difficulties

2018-11-29 Thread Pierce Ng
On Wed, Nov 21, 2018 at 07:06:08PM -0500, Richard Kenneth Eng wrote: > I'm creating the competition website using Pharo and Teapot. For > encryption, I'm using Pierce Ng's PasswordCrypt, which requires a 32-bit C > library. This means I must run 32-bit Pharo. PasswordCrypt can be built as a

Re: [Pharo-users] External module not found

2018-11-18 Thread Pierce Ng
On Sat, Nov 17, 2018 at 05:38:28PM -0500, Richard Kenneth Eng wrote: > I have a most peculiar problem. I've been using Pierce Ng’s PasswordCrypt > encryption > package with Pharo 5. Now that I'm using Pharo 6, it doesn't seem to work >

[Pharo-users] GlorpSQLite on Pharo 7

2018-10-23 Thread Pierce Ng
Hi all, GlorpSQLite now runs on Pharo 7, passing all 891 tests. Load from my repo's pharo7dev branch: Metacello new baseline: 'GlorpSQLite'; repository: 'github://PierceNg/glorp-sqlite3:pharo7dev'; load. Tested on 32- and 64-bit Ubuntu 18.04 with image 5f13ae8. Pierce

Re: [Pharo-users] Installing SmaCC

2018-10-18 Thread Pierce Ng
On Wed, Oct 17, 2018 at 01:38:36PM +0300, Dimitris Chloupis wrote: > About your last part on platforms, I will be providing a way to inline C > code so one can you use C macros to detect the platform and generate code > accordingly. Smalltalk/X allows inline C. Not sure about macros though, as I

Re: [Pharo-users] GlorpSQLite Github release management

2018-10-17 Thread Pierce Ng
On Sat, Oct 13, 2018 at 09:51:53AM +0800, Ben Coman wrote: > Note that git branches are simply pointers to a particular commit hash. > There is no computational link between the "branch name" in your repo > and the "branch name" in the target repo. Thanks Ben and Alistair. I'll experiment and

Re: [Pharo-users] compiling libraries for Pharo on macOS

2018-10-17 Thread Pierce Ng
On Wed, Oct 17, 2018 at 10:08:58AM +0200, Michel Onoff wrote: > Specifically, I'm trying to build on all supported platforms, namely macOS, > Windows and Linux. Currently I've got Linux and Windows under control, but I > cannot find a systematic way to build on macOS. When I last tried either on

[Pharo-users] GlorpSQLite Github release management

2018-10-11 Thread Pierce Ng
Hi all, So GlorpSQLite works on Pharo 5 and 6, but not yet on Pharo 7. Currently, I have the following: https://github.com/PierceNg/glorp https://github.com/PierceNg/glorp-sqlite3 Which are forks of these: https://github.com/pharo-rdbms/glorp

Re: [Pharo-users] World Cup 2018 with Glorp : SQL dump for SQLite : wc2018.sql

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 06:45:07PM +0200, H. Hirzel wrote: > Hi Pierce > > In your blog entry > 'World Cup 2018 with Glorp' > you write about an SQL dump file wc2018.sql and mention a repo? > > https://github.com/openfootball/world-cup/tree/master/2018--russia > > seems to be a candidate,

Re: [Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 06:27:21PM +0200, H. Hirzel wrote: > Great! Just this very minute before I saw your mail I found your > website with a lot of Pharo related SQLite posts. Enjoy! :-) > Are you the maintainer of GlorpSQLite? Yes, I wrote it and I am maintaining it. Pierce

Re: [Pharo-users] What is the easiest way to get SQLite3 support in Pharo7? (Ubuntu)

2018-10-11 Thread Pierce Ng
On Thu, Oct 11, 2018 at 03:38:21PM +0200, H. Hirzel wrote: > What is the easiest way to get SQLite3 support in Pharo7 (Ubuntu Linux)? Hi Hannes, Until the catalog is updated, the snippet way is as follows: Metacello new repository: 'github://pharo-rdbms/glorp-sqlite3'; baseline:

Re: [Pharo-users] Glorp with P3

2018-10-10 Thread Pierce Ng
On Wed, Oct 10, 2018 at 11:12:37AM +0200, Sven Van Caekenberghe wrote: > I know that the actual PSQL DB that I am using has all the Glorp test > tables in it, I forgot whether that happened automatically or not. The Glorp test database is set up by "#GlorpDemoTablePopulatorResource asClass

Re: [Pharo-users] [Pharo-dev] [ANN] Success story Mobility Map

2018-09-30 Thread Pierce Ng
On Wed, Sep 26, 2018 at 07:49:10PM +0200, Norbert Hartl wrote: >>> And a lot more. This is a coarse grained overview over the >>> architecture. I’m happy to answer further questions about this. >>> [very nice writeup] Hi Norbert, Very nice write-up, thanks. What persistence mechanism are you

Re: [Pharo-users] [Pharo-dev] Pharo and Docker (some steps)

2018-09-09 Thread Pierce Ng
On Mon, Aug 20, 2018 at 03:10:58PM +0200, Torsten Bergmann wrote: > I recently played with Pharo and Docker and summarized some of my > steps in a small tutorial in my Pharo wiki: Monkey saw, and monkey did. :-) Here's my report on my experimentation:

Re: [Pharo-users] HMAC-SHA512

2018-03-06 Thread Pierce Ng
On Sun, Mar 04, 2018 at 04:00:23PM -0300, Esteban A. Maringolo wrote: > Thank you Pierce, I managed to make play the SHA classes of your > OpenSSL wrapper with the PBKDF2 from Udo's plus HMAC from the > Cryptography package. > I sent you a pull-request >

Re: [Pharo-users] Yet another Pharo in docker

2018-03-03 Thread Pierce Ng
On Sat, Mar 03, 2018 at 09:04:59AM -0700, Sean P. DeNigris wrote: > Cool! I noticed the following [1]: > ln -s \ > `/sbin/ldconfig -p | sed -e 's|[^/]*||' | grep sqlite3` \ > `find . -type f -name SqueakSSL.so -print0 | xargs -0 > dirname`/sqlite3.so > What does it do? > >

Re: [Pharo-users] HMAC-SHA512

2018-03-03 Thread Pierce Ng
On Fri, Mar 02, 2018 at 11:24:36AM -0300, Esteban A. Maringolo wrote: > There is a PBKDF2 package made by Udo Schneider, and seems to be > easily pluggable with a different hashing algorithm, so I'd need a > SHA512 class. OpenSSL-Pharo wraps the SHA512 in libcrypto. See LcEvpSHA512Test.

[Pharo-users] Pillar Re: Neural Network - Handwritten Digit Recognition

2018-02-09 Thread Pierce Ng
On Thu, Feb 08, 2018 at 07:42:09PM +0800, Pierce Ng wrote: > On Wed, Feb 07, 2018 at 08:24:29PM +0100, Stephane Ducasse wrote: > > Here is the link > > https://github.com/SquareBracketAssociates/Booklet-IA-Neurons > > I can give you commit rights. > > My Github user

Re: [Pharo-users] Neural Network - Handwritten Digit Recognition

2018-02-08 Thread Pierce Ng
On Wed, Feb 07, 2018 at 08:24:29PM +0100, Stephane Ducasse wrote: > Here is the link https://github.com/SquareBracketAssociates/Booklet-IA-Neurons > I can give you commit rights. My Github username is PierceNg. Thank you. Pierce

Re: [Pharo-users] Neural Network - Handwritten Digit Recognition

2018-02-06 Thread Pierce Ng
On Tue, Feb 06, 2018 at 11:40:12AM +0100, Stephane Ducasse wrote: > Thanks for sharing this. This is cool. > I set up a booklet Booklet-IANeurons for alex and a little book around > neural networks and your work could fit there. Happy to contribute to the book. The blog post content is already in

Re: [Pharo-users] Neural Network - Handwritten Digit Recognition

2018-02-06 Thread Pierce Ng
On Mon, Feb 05, 2018 at 05:59:53PM +0100, francesco agati wrote: > the model can also be serialized for loading in other vm? Yes. Serialized with STON on Linux 64-bit Pharo 6, materialized and ran on Linux 32-bit Pharo 6 on another computer. Pierce

Re: [Pharo-users] Examples of Garage for DB2

2018-01-04 Thread Pierce Ng
On Wed, Jan 03, 2018 at 11:42:22AM -0500, Andrei Stebakov wrote: > I tried before to install odbc. > Gofer new > squeaksource: 'ODBC'; Not Squeaksource. Load the version from Smalltalkhub: Gofer new smalltalkhubUser: 'PharoExtras' project: 'ODBC'; ... Hopefully this version

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Pierce Ng
On Wed, Jan 03, 2018 at 10:12:32AM -0500, Andrei Stebakov wrote: > Pierce, I couldn't find any smalltalk framework to work with DB2 at this > point. I couldn't also find any Pharo odbc library. That's why at this > point I am looking for any ideas how to connect to DB2 from Pharo. I suppose

Re: [Pharo-users] Examples of Garage for DB2

2018-01-03 Thread Pierce Ng
On Tue, Jan 02, 2018 at 02:10:03PM -0500, Andrei Stebakov wrote: > I downloaded Garage to my Pharo 6.1 on windows. But in Garage I only see > drivers for MySql, Postgres and Sqlite3. > Does it mean that for DB2 I should look somewhere else or there is a way to > create a connection for DB2 using

Re: [Pharo-users] Running headless on Windows

2017-12-28 Thread Pierce Ng
On Wed, Dec 27, 2017 at 04:58:39PM +0100, Cyril Ferlicot D. wrote: > On 12/27/2017 04:39 PM, Andrei Stebakov wrote: > > When I run Pharo 6.1 with -- headless option on Windows, it executes the > > eval command as expected but during the execution (which lasts 4 sec) it > > opens the Pharo GUI.  >

Re: [Pharo-users] HMAC-SHA512

2017-12-21 Thread Pierce Ng
On Tue, Dec 12, 2017 at 12:52:11AM +0800, Ben Coman wrote: > I was going to ask why these updates aren't being pushed an OpenSSL repo > shared with Squeak, > since things should not be much different at this low level, but actually > it was hard to > determine which was the original repo. I see...

  1   2   3   >