Re: [Pharo-users] How to calculate someone's age elegantly? Does Duration work?

2017-07-21 Thread Paul DeBruicker
Tim Mackinnon wrote > I am also wondering if the issue with Timespan is concerning - I was > surprised that putting a start and end date left me something that didn’t > answer my end date presumably down to rounding when it’s converted down to > a duration (making me wonder if its better to keep a

Re: [Pharo-users] Validate password with PBKDF2

2017-06-29 Thread Paul DeBruicker
Looks like you'll have to store the salt when making the original hash of the password. With that you can do | salt originalPassword userInputPassword originalHash newHash secretKey | salt:='salt'. originalPassword:='password'. userInputPassword:='12345678'. originalHash:=PBKDF2

[Pharo-users] Quickly finding references from one package in another package?

2017-06-20 Thread PAUL DEBRUICKER
Hi - I'm porting some stuff to Pharo 6. The old stuff uses OSProcess and I'd like to find all the references to classes from that package in my package. Is there a little bit of code that does that? thanks Paul

Re: [Pharo-users] Seaside: WACache had the subclass responsibility to implement #store:

2017-05-18 Thread Paul DeBruicker
Hi Abdelghani, There is a seaside specific list here: http://forum.world.st/Seaside-General-f86180.html You'll have better luck getting prompt answers there. How did you install BootstrapMagritte? WACache is an abstract class in Seaside 3.2 so maybe the install process got something

[Pharo-users] Has anyone got some binary search code they like for the Collection class they want to share?

2017-05-18 Thread PAUL DEBRUICKER
I didn't see one in the image & I'm happy to implement one but thought I'd ask before I did. Thanks Paul

Re: [Pharo-users] Hot to retrieve values from Nested Dictionaries

2017-04-25 Thread Paul DeBruicker
JsonObject has the doesNotUnderstand: trick too. Esteban A. Maringolo wrote > 2017-04-25 8:49 GMT-03:00 Markus Böhm > markus.boehm@ > : >> Tx, I tried Your proposal. Just as an example, it works: > >> P.S.: Editor in Playground shows NeoJSONObject keys in red color? > > It's

Re: [Pharo-users] PetitParser question parsing HTML meta tags

2017-04-05 Thread Paul DeBruicker
rue: [descriptions addLast: (each attributeAt: > 'content')]]. > > it accepts messy HTML and produces an XML DOM tree from it. > >> Sent: Thursday, March 30, 2017 at 1:58 PM >> From: "PAUL DEBRUICKER" > pdebruic@ > >> To: "Any question abou

Re: [Pharo-users] Voyage, DateAndTime and UTC

2017-03-31 Thread Paul DeBruicker
Or just store as ISO8601 string. NorbertHartl wrote > Hi, > >> Am 31.03.2017 um 17:16 schrieb Hilaire > hilaire@ > : >> >> Hi, >> >> As far as I see when I store a DateAndTime with local time, >> "2017-03-31T17:10:46.137086+02:00", then I fetch it back, I got an UTC >> DateAndTime

[Pharo-users] PetitParser question parsing HTML meta tags

2017-03-30 Thread PAUL DEBRUICKER
This is kind of a "I'm tired of thinking about this and not making much progress for the amount of time I'm putting in question" but here it is: I'm trying to parse descriptions from HTML meta elements. I can't use Soup because there isn't a working GemStone port. I've got it to work

[Pharo-users] FileSystemDirectoryEntry>>#size may be wrong/misleading for symLinks

2017-03-28 Thread PAUL DEBRUICKER
This is on Pharo 5, on a mac. It reports the size of the symlink and not the linked file. So when I'd expect a size around 70kB its reporting 51B. Is there a way to get the size of the linked file? doing a 'reference contents size' isn't giving me the correct size either. In some

Re: [Pharo-users] Need help opening image

2017-03-12 Thread Paul DeBruicker
Some old VMs are archived here: http://files.pharo.org/vm/old/stack/mac/ Also the squeak VM's should open images that old some of which are here: http://www.squeakvm.org/mac/ and SqueakJS may be able to run it here: https://squeak.js.org cdavidshaffer wrote > I have an image (from

Re: [Pharo-users] Seaside : including a static stylesheet.

2017-03-07 Thread Paul DeBruicker
Oh sorry. I didn't edit my example above to your situation. Here try this: 1. Open the seaside control panel and stop then remove all the server adaptors. 2. Put your directories & files next to your image. So put your 'styles' folder next to your image. 3. From the world menu open a

Re: [Pharo-users] Automatic code refactoring in Pharo 5.0?

2017-03-06 Thread Paul DeBruicker
It sounds like the changes file for your image is missing. Could that be possible? Marco Naddeo wrote > Hi, > > I'm using Pharo 5.0 and sometimes looking to code I previously wrote, I > realize that all local variables have been renamed as tmp1, tmp2, tmp3, > and so on; or that the

Re: [Pharo-users] [Modeling with Pharo] How to model a simple human interaction.

2017-03-04 Thread Paul DeBruicker
This may be overkill for your use but would love to have an MIT licensed set of classes that allow for/enable something like this: https://medium.com/assist/theres-a-dozen-ways-to-order-a-coffee-why-do-dumb-bots-only-allow-one-27230542636d#.laljhpyt5 sergio ruiz wrote > Hey all.. > > I got

[Pharo-users] WCAG color contrast rules - was: Re: These beautiful tooltips

2017-01-30 Thread Paul DeBruicker
One way to address this going forward is for theme developers to check their color selections against the e.g. Web Content Accessibility Guidelines (https://www.w3.org/TR/WCAG20/) Using a readily available tool: https://leaverou.github.io/contrast-ratio/ And/or one that makes suggestions of

Re: [Pharo-users] Password storage options

2016-12-19 Thread Paul DeBruicker
And to add scrypt to that FFI library would be trivial if you have a 32bit version of scrypt but I don't think there is one. I'd be happy to learn I'm wrong though. And thats assuming you're using 32 bit pharo, which is whats stable/released right now. Paul DeBruicker wrote > I m

Re: [Pharo-users] Password storage options

2016-12-19 Thread Paul DeBruicker
I made a crypt/bcrypt ffi library for older versions of Pharo that sounds like it meets your needs and is in the cryptography project here: http://smalltalkhub.com/#!/~Cryptography/Cryptography But I have not updated it for the new FFI versions in Pharo 5/6. And Pierce Ng made a blog post

[Pharo-users] ZnClient GET, but just the content of the tag?

2016-11-26 Thread PAUL DEBRUICKER
This is a micro optimization if there ever was one but I wondered if it was possible to stop downloading and get the entity once the tag has been received. Right now I download the whole page, parse it with Soup, then extract the tags I want from the head. Which works fine. e.g.

Re: [Pharo-users] Is it possible to file out a class hierarchy ?

2016-11-17 Thread Paul DeBruicker
tream contents readStream) parseChunks" > > --- > > Best regards, > Henrik > > -Original Message- > From: Pharo-users [mailto: > pharo-users-bounces@.pharo > ] On Behalf Of PAUL DEBRUICKER > Sent: Thursday, November 17, 2016 6:16 PM > To: A

Re: [Pharo-users] QCMagritte question- does it have undo?

2016-11-11 Thread Paul DeBruicker
check it out. Paul NorbertHartl wrote >> Am 11.11.2016 um 06:03 schrieb PAUL DEBRUICKER > pdebruic@ > : >> >> I've never used magritte or QC magritte and was wondering whether with >> the momento it qas also possible to get multi step undo cheaply if it &g

[Pharo-users] QCMagritte question- does it have undo?

2016-11-10 Thread PAUL DEBRUICKER
I've never used magritte or QC magritte and was wondering whether with the momento it qas also possible to get multi step undo cheaply if it didn't already exist. Thanks Paul

Re: [Pharo-users] May I please be added as a contributor to the KevinLanvin/MaterialDesignLite repo on Sthub?

2016-11-05 Thread Paul DeBruicker
Thanks Cyril. Maybe if Kevin sees this he can add a note pointing people to the github repo too CyrilFerlicot wrote > On 05/11/2016 19:19, PAUL DEBRUICKER wrote: >> This one: http://smalltalkhub.com/#!/~KevinLanvin/MaterialDesignLite/ >> >> >> my username i

[Pharo-users] may I please be added to the Mercap/HighchartsSt repo

2016-11-05 Thread PAUL DEBRUICKER
I'd like to add code that allows the creation of boxplots: http://www.highcharts.com/docs/chart-and-series-types/box-plot-series my username is pdebruic Thanks

[Pharo-users] May I please be added as a contributor to the KevinLanvin/MaterialDesignLite repo on Sthub?

2016-11-05 Thread PAUL DEBRUICKER
This one: http://smalltalkhub.com/#!/~KevinLanvin/MaterialDesignLite/ my username is pdebruic

Re: [Pharo-users] location of package SkipLists from ConfigurationOfFuzzySearch?

2016-10-15 Thread Paul DeBruicker
I didn’t tried (so I’m not sure it will > work), but I guess you need to use it to have all dependencies loaded. > > cheers, > Esteban > >> On 15 Oct 2016, at 20:39, PAUL DEBRUICKER > pdebruic@ > wrote: >> >> Hi - >> >> I'm tryin

Re: [Pharo-users] Is there any library to calculate the geographic distance between two points?

2016-10-05 Thread Paul DeBruicker
umm ... here is a good place to start http://forum.world.st/Geo-coordinates-operations-td4732373.html#a4732441 Paul DeBruicker wrote > I've got a few objects with latitude and longitude and want to be able to > find the nearest from a collection > > > Thanks > &

[Pharo-users] Is there any library to calculate the geographic distance between two points?

2016-10-05 Thread PAUL DEBRUICKER
I've got a few objects with latitude and longitude and want to be able to find the nearest from a collection Thanks Paul

Re: [Pharo-users] Amazon drive API's for Pharo ?

2016-09-28 Thread Paul DeBruicker
There is this https://github.com/newapplesho/aws-sdk-smalltalk I've been (slowly) working on adding the streaming-encrypted-upload-to-S3 code which I could publish soonish (this weekend?) in a fork if you want to take a look at it. Cédrick Béler wrote > Hi all, > > I’ve just seen that the

[Pharo-users] Is there a way to enable the arrow keys in the method list in Nautilus in Pharo5

2016-09-15 Thread PAUL DEBRUICKER
I seem to remember that you used to be able to click on a method in the method pane of a browser and then use the arrow keys to navigate up and down in that list. Is there a setting I should flip to enable that now? If not how would one go about turning that on? Thanks Paul

[Pharo-users] letsencrypt smalltalkhub ?

2016-09-15 Thread PAUL DEBRUICKER
Hi - Has anyone looked into adding https://letsencrypt.org/ to the servers/vms Smalltalkhub runs on so we can have https access by default?

Re: [Pharo-users] Cryptography packages

2016-09-11 Thread Paul DeBruicker
Years ago when Squeaksource was "going away" I made a copy of its Cryptography repo here: http://smalltalkhub.com/#!/~Cryptography/Cryptography Esteban A. Maringolo wrote > Hi there, > > What are the most maintaned/popular cryptography package for Pharo? > > Regards! > > Esteban A.

Re: [Pharo-users] remove the line at the bottom of the code pane in Nautilus in Pharo 5?

2016-09-04 Thread Paul DeBruicker
I made issue 19039 and submitted a slice that does this to the Pharo50Inbox. SLICE-Issue-19039-Remove-the-source-code-annotation-pane-from-Nautilus-PaulDeBruicker.1 stepharo wrote > Do not hesitate to submit a slice. > > Stef > > >> Hi - >> >> I don't think I'll be changing the settings

[Pharo-users] in Nautilus, clicking a pane with few items in it changed in Pharo 5

2016-07-21 Thread PAUL DEBRUICKER
In Pharo 4 if e.g. the method pane had 3 methods, the bottom method would be selected when clicking in the empty region at the bottom of the pane. In Pharo 5 nothing is selected. I prefer the old behavior because then I could use my arrow keys to begin navigating the pane. Is there a way

Re: [Pharo-users] change which browser opens when browsing senders/implementors

2016-07-20 Thread Paul DeBruicker
scoping, probably. > > Thierry > > > >> >> Peter >> >> > >> > 2016-07-20 2:45 GMT+02:00 Mariano Martinez Peck > marianopeck@ > : >> > >> > > >> > > >> > > On Tue, Jul 19, 2016 at 8:26 PM, P

[Pharo-users] change which browser opens when browsing senders/implementors

2016-07-19 Thread PAUL DEBRUICKER
Which method should I change if when browsing senders/implementors there is only one sender or implementor I'd like the Nautilus browser to open? thanks Paul

Re: [Pharo-users] iCal Chronos for Pharo 5 => OSProcess

2016-07-17 Thread Paul DeBruicker
gt; > Cheers (it’s enough anyway now so that I can use iCal and Chronos), > > Cédrik > > > > > >> Le 15 juil. 2016 à 22:09, Paul DeBruicker > pdebruic@ > a écrit : >> >> Hi Cédrick, >> >> I uploaded a new version of

Re: [Pharo-users] iCal Chronos for Pharo 5 => OSProcess

2016-07-15 Thread Paul DeBruicker
Hi Cédrick, I uploaded a new version of the iCal-Core package and iCal-Tests package that should fix most of the issues shown below. I didn't realize I wiped out the #resetAlarms method and also some others with overrides. Hope this gets you on your way Paul -- View this message in

Re: [Pharo-users] iCal Chronos for Pharo 5 => OSProcess

2016-07-14 Thread Paul DeBruicker
ded all chronos packages. > > Cheers, > > Cédrik > >> Le 14 juil. 2016 à 15:51, Cédrick Béler > cdrick65@ > a écrit : >> >> Hi Paul, >> >> Thanks for the information. I’ll give a try. >> >> Cheers, >> >> Cédrik &g

Re: [Pharo-users] changing the appearance of a method when dragging it to recategorize it in Pharo 5

2016-07-14 Thread Paul DeBruicker
rs from: self. transferMorph align: transferMorph draggedMorph bottomLeft with: event position. transferMorph dragTransferType: self dataSource dragTransferType. event hand grabMorph: transferMorph Thanks Nicolai Nicolai Hess-3-2 wrote > 2016-07-14 22:03 GMT+02:00

[Pharo-users] changing the appearance of a method when dragging it to recategorize it in Pharo 5

2016-07-14 Thread PAUL DEBRUICKER
When dragging a method the method class name and selector name are displayed and centered on the mouse pointer. This prevents me from seeing the category name I'm attempting to drag the method into. I also have been unable to get the halos for the transient morph and see where to change it

[Pharo-users] Changing the Pharo 5 monticello changes browser to get rid of the class name that precedes the selector in the changes tree

2016-07-13 Thread PAUL DEBRUICKER
They are already grouped by class. Having the class name there makes me have to side scroll to read the list more often (most of the time) than I'd prefer (never-ish). It seems like its just the labels that have been changed since Pharo 4. MCMethodDefinition>>#summary is where the label

[Pharo-users] GTDebugger - sort stackTop to the top of the list, 2 variable lists

2016-06-10 Thread PAUL DEBRUICKER
Hi - How do I mold the debugger so the stackTop is at the top of the variable list? Also is there a way to have the two copies of the variable list shown next to each other where there is only one now? I find my self scrolling up and down to check changes in multiple spots which I think could

[Pharo-users] remove the line at the bottom of the code pane in Nautilus in Pharo 5?

2016-06-10 Thread PAUL DEBRUICKER
Hi - I don't think I'll be changing the settings for format as you read wrapping line number or reading the cursor position/line number ever. Is there a way to remove that section from the nautilus code pane? Thanks Paul

[Pharo-users] default nautilus plugins

2016-06-10 Thread PAUL DEBRUICKER
Hi - Is there a place to specify which plugins should be activated by default in Nautilus in Pharo 5? Thanks Paul

Re: [Pharo-users] blue ink - format on accept?

2016-06-10 Thread Paul DeBruicker
ent… in > AbstractTool>>compileANewMethodInClass:categorized:from:notifyng: or > NautilusUI>>compileAMethodFromCategory:withSource:notifying: > > Maybe we should add this for 6… > > Peter > > On Fri, May 13, 2016 at 6:52 PM, PAUL DEBRUICKER > pdebruic@ > wrote: >

[Pharo-users] AWS Version 4 authentication + streaming upload

2016-05-14 Thread PAUL DEBRUICKER
Hi Sven, For AWS regions created after Jan 30 2014, AWS requires one to use version 4 of their authentication scheme (http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html). It describes a header and request signing process that is more involved than version 2

[Pharo-users] OSProcess in Pharo 5?

2016-05-13 Thread PAUL DEBRUICKER
Hi - Is OSProcess the thing to use in Pharo 5 if you want to run a bash command and then bring the result into a running image? It seems to be locking up an image I've got with code that previously worked in Pharo 4. Thanks Paul

[Pharo-users] blue ink - format on accept?

2016-05-13 Thread PAUL DEBRUICKER
Hi - Is there a way in Pharo 5 to turn on format on accept? Thanks Paul

Re: [Pharo-users] [Issue tracker] Please check old issues to prepare for release!

2016-03-02 Thread Paul DeBruicker
I submitted slices for 15733 & 15819 to the Pharo 50 Inbox. I can't see where in the image the 'format on accept' setting has gone. Is it there and I can't find it or something else? -- View this message in context:

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2016-02-19 Thread Paul DeBruicker
ios we all want: > - sender > - implementor > - open a class > - class refs > > Because this is what we do 95% of the time. > > Le 11/6/15 09:38, Nicolai Hess a écrit : >> >> >> 2015-06-11 7:05 GMT+02:00 Paul DeBruicker > pdebru

Re: [Pharo-users] Pharo and OpenMP

2016-01-30 Thread Paul DeBruicker
If it helps - The "original" OpenMP thread is here: http://forum.world.st/NativeBoost-and-OpenMP-td4837865.html David Allouche wrote >> On 26 Jan 2016, at 18:24, Dimitris Chloupis > kilon.alios@ > wrote: >> >> First my apology for the very long post but I think this will interest a >>

Re: [Pharo-users] ***UNCHECKED*** Re: [ANN] Magma 1.5

2015-08-18 Thread Paul DeBruicker
EstebanLM wrote I find hard to believe a production database as is mongo can have those problems so I would think more on voyage (and in that case, we can find a solution because this is obviously a bug :P) Esteban https://aphyr.com/posts/322-call-me-maybe-mongodb-stale-reads describes

Re: [Pharo-users] protobufs for Pharo

2015-08-03 Thread Paul DeBruicker
Hit 'send' inadvertently. Goran Krampe has gotten it as far as it is now. I may have a use for protobufs to access a 3rd party library and would be willing to help get it finished in the event anyone else is interested. Paul DeBruicker wrote http://www.smalltalkhub.com/#!/~gokr/Protobuf

[Pharo-users] Does RBImplementedButNotSent result in any critics for any of you?

2015-07-31 Thread Paul DeBruicker
It seems like its not testing for the right conditions any more and therefore not finding any messages that are implemented but not sent. I think this and the problem I was having the other day is from removing the use of the RBSmallLintContext class from checking criitcs issues. Why did

Re: [Pharo-users] Does RBImplementedButNotSent result in any critics for any of you?

2015-07-31 Thread Paul DeBruicker
Uko2 wrote On 31 Jul 2015, at 16:00, Paul DeBruicker lt; pdebruic@ gt; wrote: It seems like its not testing for the right conditions any more and therefore not finding any messages that are implemented but not sent. I think this and the problem I was having the other day is from

Re: [Pharo-users] Does RBImplementedButNotSent result in any critics for any of you?

2015-07-31 Thread Paul DeBruicker
Paul DeBruicker wrote Uko2 wrote On 31 Jul 2015, at 16:00, Paul DeBruicker lt; pdebruic@ gt; wrote: It seems like its not testing for the right conditions any more and therefore not finding any messages that are implemented but not sent. I think this and the problem I

Re: [Pharo-users] Is RBClassNotReferencedRule ~200x slower in Pharo 4 vs Pharo 3 ?

2015-07-29 Thread Paul DeBruicker
Paul DeBruicker wrote Hi Stef, The slowdown is dependent upon the # of classes in the package. If you use Fuel then you should see a slowdown of 20x. I just have a lot of classes in this package. The source of the slowdown is in the changes to RBSmallLintChecker#checkClass

Re: [Pharo-users] Is RBClassNotReferencedRule ~200x slower in Pharo 4 vs Pharo 3 ?

2015-07-29 Thread Paul DeBruicker
Hi Stef, The slowdown is dependent upon the # of classes in the package. If you use Fuel then you should see a slowdown of 20x. I just have a lot of classes in this package. The source of the slowdown is in the changes to RBSmallLintChecker#checkClass: and RBClassNotReferencedRule#checkClass:

[Pharo-users] Is RBClassNotReferencedRule ~200x slower in Pharo 4 vs Pharo 3 ?

2015-07-28 Thread Paul DeBruicker
I think I'm setting this up wrong in Pharo 4 but am not sure. I use the following code for the test: rule:=RBClassNotReferencedRule new. environment:=RBBrowserEnvironment new forPackageNames: #('MyPackage'). AndreasSystemProfiler spyOn:[RBSmalllintChecker runRule: rule

[Pharo-users] Trying to load ViDI in Pharo 4 gives an error

2015-07-23 Thread Paul DeBruicker
Hi - When I run this: Gofer new smalltalkhubUser: 'YuriyTymchuk' project: 'Configuration'; configurationOf: 'Vidi'; load. #ConfigurationOfVidi asClass loadStable I get a error that the 1.2.14 version of ConfigruationOfRubric cannot be found. The ConfigurationOfRubric is loaded from

Re: [Pharo-users] RAM-efficient alternative to ZnMultiPartFormDataEntity

2015-06-30 Thread Paul DeBruicker
mikefilonov wrote Thank you for the link. It is a useful example of how ajax upload can be implemented in Seaside. However, by looking at the code which works without nginx plugin I see the project does not change the mechanism of request reading, meaning if you upload 1Gb file you still

Re: [Pharo-users] RAM-efficient alternative to ZnMultiPartFormDataEntity

2015-06-29 Thread Paul DeBruicker
Have you seen: http://www.squeaksource.com/fileupload.html -- View this message in context: http://forum.world.st/RAM-efficient-alternative-to-ZnMultiPartFormDataEntity-tp4834528p4834666.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Giving skype lectures to cameron students

2015-06-25 Thread Paul DeBruicker
Have you considered setting them up as a 'view only' RFB user and let them have at least one computer attach with a big monitior? I know its possible using the RFB package. Or the reverse where the Pharo image is on one of their machines, many of them are view only, and you are the RFB user

Re: [Pharo-users] breaking infinite loop from saved image

2015-06-15 Thread Paul DeBruicker
What platform are you on? You can raise the RAM limits the VM allows on a mac by editing the Info.plist file in the vm bundle. By default the limit is set to: keySqueakMaxHeapSize/key integer536870912/integer So maybe if you're on a Mac you can move that up to a larger number and

Re: [Pharo-users] If comments seperate from the source code and have your own comments

2015-06-13 Thread Paul DeBruicker
Hi Liang, I like that adding Annos don't make the package with the code I'm annotating dirty. How do I move Annos from one image to another? The help is in Chinese, is there anything there that a person would need that they couldn't figure out from reading hte code? I found the AnnoEditor,

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
So by default the search tool is only guaranteed to return an exact term match if there are only less than 5 non-exact match results? Nicolai Hess wrote 2015-06-10 7:39 GMT+02:00 Paul DeBruicker lt; pdebruic@ gt;: when I hit shift+enter and type 'accept' I get things

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
Is there any way to change back to the old version of Spotter in Pharo 4? Nicolai Hess wrote 2015-06-10 16:24 GMT+02:00 Paul DeBruicker lt; pdebruic@ gt;: So by default the search tool is only guaranteed to return an exact term match if there are only less than 5 non-exact match

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
and if you need help in this direction. Cheers, Doru On Wed, Jun 10, 2015 at 9:10 PM, Paul DeBruicker lt; pdebruic@ gt; wrote: Is there any way to change back to the old version of Spotter in Pharo 4? Nicolai Hess wrote 2015-06-10 16:24 GMT+02:00 Paul DeBruicker lt; pdebruic

[Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-09 Thread Paul DeBruicker
when I hit shift+enter and type 'accept' I get things that are not #accept, e.g. #accept: and AbstractAcceptor. If I add a space after accept it doesn't help. What do I not understand? Thanks Paul

Re: [Pharo-users] PUngLite can't query large database

2015-06-02 Thread Paul DeBruicker
Hi Gareth, Sorry for the stupid question but does your query work on a smaller database, one a tenth the size or so? Maybe by using a #haltIf: that checks for memory usage growth will show something interesting. e.g. self haltIf:[Smalltalk vm memoryEnd 1]. 100MB And then running

Re: [Pharo-users] protobufs for Pharo

2015-05-11 Thread Paul DeBruicker
If you've gotta have prorobuf then you've gotta have protobuf but there is a thrift implementation (https://thrift.apache.org/) and also a message pack implementation (https://code.google.com/p/stomp-serializer/) Benjamin Pollack-2 wrote Hey all, Has anyone implemented protobufs for Pharo

Re: [Pharo-users] time library?

2015-04-16 Thread Paul DeBruicker
Chronos has Timeperiods works in Pharo 1.3+, GemStone 2.3-3.2 and Squeak 4.3+ Timeperiod from: (Timepoint now) duration: (ScientificDuration minutes: 1) http://smalltalkhub.com/#!/~Chronos/Chronos Tudor Girba-2 wrote Hi, I am looking for a library that deals with time. Specifically,

Re: [Pharo-users] time library?

2015-04-16 Thread Paul DeBruicker
Yeah its too bad Alan Lovejoy let the domain lapse. Lots of good info there about the library. Have t oget it through the wayback machine now: https://web.archive.org/web/20110716103022/http://www.chronos-st.org/ camille teruel wrote On 16 Apr 2015, at 17:37, Paul DeBruicker lt

Re: [Pharo-users] time library?

2015-04-16 Thread Paul DeBruicker
Also his blog has some more info about it: http://chronos-st.blogspot.com/search/label/Chronos Paul DeBruicker wrote Yeah its too bad Alan Lovejoy let the domain lapse. Lots of good info there about the library. Have t oget it through the wayback machine now: https://web.archive.org

Re: [Pharo-users] ZnClient: getting more that 19 tweet for data scrapping

2015-04-08 Thread Paul DeBruicker
, I don't know - I know that Zinc-SSO can connect to Twitter). https://dev.twitter.com/overview/api On 07 Apr 2015, at 20:23, Offray Vladimir Luna Cárdenas lt; offray@ gt; wrote: Hi, Recently Paul DeBruicker taught me how to refine my code for getting tweets properly. Consider

Re: [Pharo-users] Data scrapping in pharo: converting text with dates in Spanish

2015-04-06 Thread Paul DeBruicker
Thanks, Offray El 05/04/15 a las 22:22, Paul DeBruicker escribió: copyFrom:14 to: 17 copies 4 characters. You're testing a 4 character long string against a 3 character long string. That's why the test fails. Either change it to copyFrom: 15 to:17 or add a trimBoth send to month temp var

Re: [Pharo-users] Data scrapping in pharo: Extracting tweets contents

2015-04-05 Thread Paul DeBruicker
Is this what you want? | source anUrl tweet | anUrl := 'https://twitter.com/offrayLC'. source := Soup fromString: (ZnEasy get: anUrl ) contents asString. tweet := (source findAllTagsByClass: 'ProfileTweet-text'). tweet collect:[:ea | ea text]. Offray wrote Hi, I'm making a data

Re: [Pharo-users] Data scrapping in pharo: converting text with dates in Spanish

2015-04-05 Thread Paul DeBruicker
copyFrom:14 to: 17 copies 4 characters. You're testing a 4 character long string against a 3 character long string. That's why the test fails. Either change it to copyFrom: 15 to:17 or add a trimBoth send to month temp var. You may have an easier time not using temp variables in the

Re: [Pharo-users] Porting Voss to Pharo

2015-03-06 Thread Paul DeBruicker
What is VOSS? stepharo wrote Hi guys if some of you are interested to drive porting VOSS to Pharo, let me know John sent me the code and I can give it to you. There is a dual license - LGPL - commercial Now I do not know the prices for business. Stef Begin

Re: [Pharo-users] Send message on pharo open/close?

2015-02-19 Thread Paul DeBruicker
use #startUp: and #shutDown: on the class side of your class. check implementors of those methods for examples. David Carlos Manuelda wrote I need for my application to register its main class somehow, that pharo will send a message (class side) to it whenever image is started/finished,

[Pharo-users] how do I recompile a class in Pharo 3?

2015-02-17 Thread Paul DeBruicker
And a package, class heirarcy, etc Thanks for any tips Paul

Re: [Pharo-users] Externally signalling pharo VM for shutdown

2015-02-10 Thread Paul DeBruicker
Depends on how you want the user to access the image. Using Seaside you could do something like whats described here: http://book.seaside.st/book/advanced/deployment/maintaining/requesthandler Esteban A. Maringolo wrote Is there a way I can externally signal a running pharo-vm in order to

Re: [Pharo-users] Autoformatting extisting packages

2015-01-29 Thread Paul DeBruicker
If you want to reformat all the methods in a class/package/image, I don't know how to be helpful. If you never want to see unformatted code in a browse follow the instructions I sent you in response to your question about tools. Using the pretty print and format on accept settings will ensure

Re: [Pharo-users] any OCR library for Pharo (Free or Commercial)

2015-01-28 Thread Paul DeBruicker
I don't know for sure but I don't think so. See this thread, about halfway down, for some ideas about how to interface with 3rd party libs: http://forum.world.st/Polymorph-improvements-tp3712781.html tesseract is a 3rd partly lib that may meet your needs:

Re: [Pharo-users] Seaside and JQuery/JQueryUI

2015-01-16 Thread Paul DeBruicker
I think you need to run this: ConfigurationOfSeaside3 project stableVersion load: 'JQueryUI Examples'. in a workspace to load the code you're looking for. sergio_101 wrote at one point, there was a section of seaside that demonstrated using jquery and jqueryui with seaside.. along with

Re: [Pharo-users] Making objects persistent

2015-01-15 Thread Paul DeBruicker
Here is another approach: http://forum.world.st/Best-practices-available-for-Seaside-Gemstone-tp2721023p2901998.html sergio_101 wrote I am building a seaside application, and am in the process of building my models and unit tests. I have a few objects that build up my data by creating

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-16 Thread Paul DeBruicker
Hi Alain, Thanks for the link to the discussion. I attempted your suggestion for changing the command line parameters and it had no effect. Adding the colon prevented the image from starting, as did using a single hyphen. Paul Alain Rastoul-2 wrote Ah, this reminded me an old thread

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-15 Thread Paul DeBruicker
On 14 Nov 2014, at 23:14, Paul DeBruicker lt; pdebruic@ gt; wrote: Hi Sven Yes, like I said earlier, after your first email, that I think its not a problem with NeoCSV as with what I'm doing and an out of memory condition. Have you ever seen a stack after sending kill -SIGUSR1

[Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-14 Thread Paul DeBruicker
Hi - I'm processing a 9 GBs of CSV files (the biggest file is 220MB or so). I'm not sure if its because of the size of the files or the code I've written to keep track of the domain objects I'm interested in, but I'm getting out of memory errors crashes in Pharo 3 on Mac with the latest VM.

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-14 Thread Paul DeBruicker
: [ :x | x = #true ]. reader do: [ :each | each third 1000 ifTrue: [ out nextPut: each ] ] ] ] ]. This worked fine on my MacBook Air, no memory problems. It takes a while to parse that much data, of course. Sven On 14 Nov 2014, at 19:08, Paul DeBruicker lt; pdebruic@ gt; wrote

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-14 Thread Paul DeBruicker
, at 22:03, Paul DeBruicker lt; pdebruic@ gt; wrote: Hi Sven, Thanks for taking a look and testing the NeoCSVReader portion for me. You're right of course that there's something I'm doing that's slow. But. There is something I can't figure out yet. To provide a little more detail

Re: [Pharo-users] running out of memory while processing a 220MB csv file with NeoCSVReader - tips?

2014-11-14 Thread Paul DeBruicker
not calculated the memory usage for the collection because I thought it would have no problem fitting in the 2GB of RAM I have on this machine. On 14 Nov 2014, at 22:34, Paul DeBruicker lt; pdebruic@ gt; wrote: Yes. With the image vm I'm having trouble with I get an array with 9,942

Re: [Pharo-users] Working with timezones

2014-07-11 Thread Paul DeBruicker
Additionally I think its helpful to remember that timezones are political constructs and so are completely arbitrary and open to change based on the whims of political leaders e.g. https://en.wikipedia.org/wiki/Time_in_Russia#Daylight_saving_time So best keep them out of your code, near the

Re: [Pharo-users] ZnClient get then post?

2014-06-25 Thread Paul DeBruicker
- but it seems that it is (I was expecting #post or #get to assemble everything when invoked - but I'm not sure it works like that). I guess I will have to debug through the code. Tim Sent from my iPhone On 25 Jun 2014, at 05:12, Paul DeBruicker [via Smalltalk] lt; ml-node

Re: [Pharo-users] ZnClient get then post?

2014-06-25 Thread Paul DeBruicker
Jun 2015 13:50:37 GMT 2014-06-25 14:50:38 042813 T GET / 200 147886B 1136ms I think I’m a bit out of my depth on this, so maybe I might have to find a different way of doing things. I appreciate the help. Tim On 25 Jun 2014, at 14:41, Paul DeBruicker [via Smalltalk] lt; ml-node

Re: [Pharo-users] ZnClient get then post?

2014-06-25 Thread Paul DeBruicker
spotted a few bugs in the new Pharo as well - so I should report those too) On 25 Jun 2014, at 15:14, Paul DeBruicker [via Smalltalk] lt; ml-node+s1294792n4764722h62@.nabble gt; wrote: Where in their docs do you see to use the /1/token/approve endpoint? I didn't see it in this list

Re: [Pharo-users] ZnClient get then post?

2014-06-24 Thread Paul DeBruicker
Do your query parameters from the initial GET get cleared from the request before the POST? If you're not sure send the client #resetEntity. Is the response of the GET correct are the keys decoded properly? if not can you get a valid signature and request key from somewhere else (e.g. web ui,

Re: [Pharo-users] ical on pharo 2

2014-05-30 Thread Paul DeBruicker
Hi Jesus Mari, Thanks for spotting and fixing those bugs. The missing methods are because I overrode them in a package I’m using and forgot about that when I saved some changes to iCal. I did not notice the problem with the timeZone because I’m in the habit of only using UTC dates and

Re: [Pharo-users] Some code to share - Twitter access

2014-05-11 Thread Paul DeBruicker
I think I have a use for it. Will you please post it to smalltalkhub or whereever you prefer? Thanks Paul Arturo Zambrano wrote Hi All, I have some code that allows to access Twitter data using its REST API and the Streaming API (thanks Sven for helping me in It is rudimentary and

Re: [Pharo-users] Base64 or HMAC problem

2014-04-28 Thread Paul DeBruicker
The double equals in the api key is padding. (https://en.wikipedia.org/wiki/Base64#Padding) Will you please try your code without it, and report back? Thanks Paul Spiliosv wrote Dear Sven, First of all thank you for your prompt reply. I will try and include the information you

<    1   2   3   >