[Pharo-users] Re: String concatenation performance

2024-03-15 Thread Yanni Chiu
The test is using string literals, which may be optimized in various ways. Is that representative of your use case? On Fri, Mar 15, 2024 at 3:12 PM Noury Bouraqadi wrote: > I thought streamContents: was faster than using a comma binary message... > > I was wrong. Pharo is not Java :-) > > Noury

[Pharo-users] Re: Backing up data

2024-02-18 Thread Yanni Chiu
eir are other battles to fight - or more interesting niches to explore. > > > Tim > > On Sun, 18 Feb 2024, at 5:06 PM, Yanni Chiu wrote: > > Tim, > > What is the thinking behind “Finally you might need something more > enterprise and then Gemstone or Voyage…”? &g

[Pharo-users] Re: Backing up data

2024-02-18 Thread Yanni Chiu
Tim, What is the thinking behind “Finally you might need something more enterprise and then Gemstone or Voyage…”? Is it the maturity level of Soil codebase vs. these others? Or is it a belief that a database has to be a complex separate piece of engineering (therefore best outsourced). Yanni

[Pharo-users] Re: Backing up data

2024-01-20 Thread Yanni Chiu
Hi Sergio, I added a Movies demo, using a Soil database. There was a previous Accounting demo that had two versions (in memory database and Soil database) from which I based the new demo. I like the Movie demo because it is simple yet complex enough. I suspect the Accounting demo is too

[Pharo-users] Re: Backing up data

2024-01-18 Thread Yanni Chiu
Can you sketch out the complexity aspects of your five projects? Is this all for learning, or are they “production” applications? Do you want to gain experience with different ways to persist data, or are you just thinking that you have to use different ways due to project complexity? It might be

[Pharo-users] Re: searching for pharo code on disk

2023-03-21 Thread Yanni Chiu
May have some syntax wrong, but something like: find . -name *.changes -exec “grep -i webscrap “ Check the manpage of find command for exec examples. The -i on grep ignores uppercase/lowercase differences. HTH On Tue, Mar 21, 2023 at 11:55 AM Siemen Baader wrote: > Hi, > > I'm looking for

[Pharo-users] Re: Omnibase/Monibase repository removal

2022-08-23 Thread Yanni Chiu
There is no need to transfer any repo. Since it’s git-based, every forked repo is as good as the original. I’ve updated the license info on my fork. At some future point, I may delete my fork. IANAL. For a hobby project, the current non-open-source license would probably suffice. Not that long

[Pharo-users] Re: Omnibase/Monibase repository removal

2022-08-09 Thread Yanni Chiu
You did say to get a fork, but it wasn’t clear whether it was legit to use it. I’ll probably just update the license, and eventually remove the fork. On Tue, Aug 9, 2022 at 10:59 AM Norbert Hartl wrote: > > > Am 09.08.2022 um 16:56 schrieb Yanni Chiu : > > Vi

[Pharo-users] Re: Omnibase/Monibase repository removal

2022-08-09 Thread Yanni Chiu
Vince, Thanks for this clarification. For me it means I can use my fork for the short term. (I can walk to the exit instead of run). Since the license is clearly not MIT, the rug can be pull at whim, so this code can’t be a long term solution. Yanni On Tue, Aug 9, 2022 at 7:13 AM wrote: > Hi

[Pharo-users] Re: [Pharo-dev] Omnibase/Monibase repository removal

2022-08-08 Thread Yanni Chiu
Dale, It’s not about inventing a “database”, it’s a requirement to persist data beyond image start/stop, along with intangibles like having the full source code to tune for individual requirements. In my case the top (desired) requirements are single directory or file per user (scaling), and no

[Pharo-users] Re: Looking for North American programming language/Smalltalk researchers (academic or industry)

2022-07-17 Thread Yanni Chiu
actually sparked a “Smalltalk Renaissance” (a least in Toronto). Cheers, Yanni Chiu On Thu, Jul 14, 2022 at 11:35 AM David Mason wrote: > Given the success of Camp Smalltalk Supreme, Richard and I were wondering > if there is interest in a 3rd research Smalltalk conference (alongside >

[Pharo-users] Re: OSSUnixSubprocess - not getting output from a command that pipes to grep

2022-06-06 Thread Yanni Chiu
The equivalent of running in a Terminal is to run it in a shell. Try the following code: OSSUnixSubprocess new command: '/bin/bash'; arguments: #('-c' 'ls /'); redirectStdout; runAndWaitOnExitDo: [ :process :outString | outString inspect ].

[Pharo-users] Re: Pharo is unresponsive after forcing quit

2022-05-02 Thread Yanni Chiu
> On Thu, Apr 28, 2022 at 9:41 PM Noury Bouraqadi >> wrote: >> >>> I've got it too with P9 when I leave an image open for a while. I >>> becomes unresponsive and I have to kill it from the Mac OS "force quit" >>> popup. >>> Hppened to me

[Pharo-users] Re: Pharo is unresponsive after forcing quit

2022-04-27 Thread Yanni Chiu
Try switching focus to another app on your Mac (e.g. Finder or web browser), then back to Pharo On Wed, Apr 27, 2022 at 8:44 PM Stewart MacLean wrote: > Hi, > > [Pharo 10 on Mac Monterey] > > Due to the multi-process nature of Bonjour that I'm attempting to > interface to, I am crashing the

[Pharo-users] Re: Splitting a single HTTP Request into multiple concurrent requests

2021-10-18 Thread Yanni Chiu
A good use case is when one of the downloads fails. When it’s just one big one then you have start over from the beginning. On Mon, Oct 18, 2021 at 11:05 AM Sven Van Caekenberghe wrote: > Hi, > > Somebody asked how you would split single HTTP Request into multiple > concurrent requests. This is

[Pharo-users] mongo code triggered #maxExternalSemaphores: on image restart

2021-08-03 Thread Yanni Chiu
, the pharo CPU usage went down from 23% to 5% Cheers, Yanni Chiu VirtualMachine(Object)>>error: VirtualMachine>>maxExternalSemaphores: ExternalSemaphoreTable class>>freedSlotsIn:ratherThanIncreaseSizeTo: ExternalSemaphoreTable class>>collectionBasedOn:wi

[Pharo-users] Re: ZnServer on a cheap server: your experiences

2021-07-26 Thread Yanni Chiu
rver. It's still a work in progress, and other's experiences are of interest. Thanks for reading. Yanni Chiu On Thu, Jul 22, 2021 at 8:33 AM Esteban Maringolo wrote: > > Yeap, not much more to add than what Sven said. What's important to > mention is that they are really stable. > I

[Pharo-users] Re: Pharo 9 released - a brief experience report

2021-07-16 Thread Yanni Chiu
Thanks for updating the release. I’ve downloaded again using “curl -L https://get.pharo.org/64/ | bash”, and Pharo 9.0.0 came up without problem. BTW, I noticed that the vm it downloaded today, was: http://files.pharo.org/get-files/90/pharo-vm-Darwin-x86_64-stable.zip Yesterday, when I poked

[Pharo-users] Pharo 9 released - a brief experience report

2021-07-15 Thread Yanni Chiu
but I'm going back to Pharo8 for today. Yanni Chiu

[Pharo-users] Re: Size of the critic panel in Calypso

2021-07-10 Thread Yanni Chiu
With the hint, I found ClyCriticDecorator>>showCritiques where I changed the two 0.8 factors to 0.9. It would be better to specify the number of lines, but this is good enough. I’d searched the settings several times, at various times but had pretty much given up. Yanni Chiu

Re: [Pharo-users] Porting Transducers to Pharo

2017-06-02 Thread Yanni Chiu
To get the extension methods into the Transducers package, the following worked for me - edit the category to have the prefix '*Transducers-' 2710c2710 < !Number methodsFor: 'transforming' stamp: ' 2/6/17 15:38'! --- > !Number methodsFor: '*Transducers-transforming' stamp: ' 2/6/17 15:38'!

[Pharo-users] strange cache behaviour for DSAdaptiveModel magritte description

2016-09-22 Thread Yanni Chiu
Does any one have any insight into the caching of magritte descriptions for DSAdaptiveModel? What I see is that there seem to be multiple copies of the description elements. A problem appears when a MACachedMemento seems to have a different description instance (a different hash value anyway),

Re: [Pharo-users] VOMongoRepository

2016-06-08 Thread Yanni Chiu
You might have to do: ConfigurationOfVoyageMongo loadBleedingEdge. ConfigurationOfMongoTalk loadBleedingEdge. to load the latest package versions. It worked for me, at the time I did it, but the bleeding edge packages are not a fixed code base. Unfortunately, the "stable" configuration has the

Re: [Pharo-users] [Bulk] smalltalk banner or poster for FOSSASIA conference.

2016-02-06 Thread Yanni Chiu
also > work, or other smalltalk topics, like squeak, etoys, etc... > > it would of course also be nice to meet other smalltalkers in singapore next > month. I’ll help you run the booth, if I make it out. -- Yanni Chiu

Re: [Pharo-users] EPUB anyone

2015-11-13 Thread Yanni Chiu
Long ago, I added an EPUB exporter to Pier-Book, but it was added to Pier2. The fork off point for Pier3 happened just before the EPUB piece. I see that it is still available at: http://source.lukas-renggli.ch/pier2/Pier-Book-YanniChiu.164.mcz It would have to be ported to Pier3 or Pillar, or

Re: [Pharo-users] [Bulk] {ANN] TMM (Teapot, Mustache, Mongo) web application stack

2015-04-28 Thread Yanni Chiu
On Apr 28, 2015, at 5:13 AM, Attila Magyar m.magy...@gmail.com wrote: Nice demo. If you don't mind, I added a link to your github repository on the teapot website (http://www.smalltalkhub.com/#!/~zeroflag/Teapot). That’s great. Everyone - feedback is welcome. Contributors welcome too, but I’m

Re: [Pharo-users] [Bulk] Looking for Magritte example: MAAddress, MAPerson...

2015-04-19 Thread Yanni Chiu
On Apr 19, 2015, at 6:59 AM, p...@highoctane.be wrote: Good CRUD ability is what most people are looking for in web frameworks and we are a bit lagging here. I extracted out an example store, from the work I’ve been doing, to put together a presentation for our local Smalltalk user group

Re: [Pharo-users] [Bulk] Fwd: Fwd: Debris' Quuve - Technologies used

2015-04-16 Thread Yanni Chiu
On Apr 16, 2015, at 10:33 AM, Mariano Martinez Peck marianop...@gmail.com wrote: Yanni, please find my answers below. Mariano, thanks for your detailed answers. Your experience building a CRUD framework using Magritte and Bootstrap was very similar to mine. My stuff is on a back burner for

Re: [Pharo-users] Fwd: Fwd: Debris' Quuve - Technologies used

2015-04-15 Thread Yanni Chiu
On Apr 15, 2015, at 8:01 PM, Cameron Sanders via Pharo-users pharo-users@lists.pharo.org wrote: Sure, I am happy to share. We are to the point that we need to get people interested in this platform; one thing we offer is a source license and therefore we need to document things that we

Re: [Pharo-users] [Bulk] Blitzkrieg!

2015-01-17 Thread Yanni Chiu
On Jan 17, 2015, at 10:15 AM, horrido horrido.hobb...@gmail.com wrote: Later this summer, I will be pushing my Small Minds Initiative, a sub-campaign of the SRP to get Smalltalk into the classroom. I will begin with the Toronto District School Board. Are you going to approach them from the

Re: [Pharo-users] [Bulk] command line access to MetaRepoForPharo30

2014-12-14 Thread Yanni Chiu
On Dec 11, 2014, at 3:09 AM, Esteban Lorenzano esteba...@gmail.com wrote: it should work. This is the help for that command: I was getting the help information, but I was somehow failing to understand what to do. So, I tried the examples. Examples: # display this help

[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

Re: [Pharo-users] [Bulk] Trouble opening large files

2014-10-14 Thread Yanni Chiu
On Oct 15, 2014, at 1:02 AM, Evan Donahue emdon...@gmail.com wrote: I am processing natural language statistics over the entire wiki corpus, not querying for specific entries. The information and entries aren't important so much as the raw quantity of words. A simple stream through a file

Re: [Pharo-users] Prepared statements with PostgresV2

2013-10-29 Thread Yanni Chiu
On 29/10/2013 4:56 AM, Esteban A. Maringolo wrote: I remember using prepared statements with PG back in PG 6.x with Perl's DBD::Pg, it was the recommended practice back then (circa '00). Hmm, you're right. Prepared statements are independent of the frontend/backend protocol that I had tunnel

Re: [Pharo-users] Prepared statements with PostgresV2

2013-10-29 Thread Yanni Chiu
On 29/10/2013 9:32 PM, Yanni Chiu wrote: Looking at the postgres docs, I see PREPARE and EXECUTE. I'll try to start up a postgres server, and see if I can get it to work. Here's an example: TestPGConnection new executeAll: #( 'PREPARE test1 (text,text,integer,text) AS INSERT INTO films

[Pharo-users] www.smalltalkhub.com not reachable from digitalocean host in NewYork2

2013-09-23 Thread Yanni Chiu
I can ping: www.smalltalkhub.com (88.190.31.116) from two other machines (home and another host provider), but I cannot see 88.190.31.116 from a digitalocean box located in NewYork2. I can see squeaksource.com, ss3.gemtalksystems.com, ci.infria.fr but not smalltalkhub.com. Very

Re: [Pharo-users] www.smalltalkhub.com not reachable from digitalocean host in NewYork2

2013-09-23 Thread Yanni Chiu
On 24/09/13 12:45 AM, b...@openinworld.com wrote: Can you try traceroute from those hosts. traceroute to www.smalltalkhub.com (88.190.31.116), 30 hops max, 60 byte packets 1 ... 3.148 ms 3.198 ms 3.287 ms 2 nyk-b6-link.telia.net (62.115.35.101) 30.006 ms 30.012 ms 30.005 ms 3

Re: [Pharo-users] Please help us by buying the book

2013-09-17 Thread Yanni Chiu
On 16/09/13 10:52 AM, Yuriy Tymchuk wrote: http://johnmacfarlane.net/pandoc/ can convert latex to epub. epub is actually a wrapper around html, so if it's written in pier it can be even easier. In the Pier Book Add-on, there should be a class category: Pier-Book-EPUB It should put a

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Yanni Chiu
On 29/07/13 7:08 PM, Sven Van Caekenberghe wrote: The explanation for the slowdown must be in the PgV2 driver. The PgV2 protocol is described at: http://www.postgresql.org/docs/7.1/static/protocol-message-formats.html Have a glance at the AsciiRow and BinaryRow message formats. The driver