[Pharo-users] Rest implementation with image files

2016-12-09 Thread Asbath Sama biyalou via Pharo-users
--- Begin Message --- Hi everybody. I have a User class with his photo. I'am implementing rest on this class. in variable photo, I have the name of the image. I don't know how to do with that variable in order to get image from a rest client. Thanks Asbath --- End Message ---

Re: [Pharo-users] Hash collision

2016-12-09 Thread p...@highoctane.be
If you do not really care about performance because there are not that may geometric objects (say thousands), I guess that this would work (bit pattern as string). { 0.5 binaryLiteralString hash. -0.5 binaryLiteralString hash. } Phil On Fri, Dec 9, 2016 at 6:45 PM, Ben Coman wrote: > > > On F

Re: [Pharo-users] seaside javascript builders

2016-12-09 Thread p...@highoctane.be
I guess that's where passengers: come handy. Because what you pass can be the result of a jQuery. TBH sometimes it is easier to do a JSStream on: 'some js code that does what you want' instead of wondering for ages how to do the same with the Javascript classes, subclasses and methods. Look into

Re: [Pharo-users] setter method

2016-12-09 Thread Ben Coman
On Sat, Dec 10, 2016 at 1:39 AM, Kateryna Aloshkina wrote: > Hi everybody! > > I've just joined the community:) and have a question > How to write the method count: such that, when invoked on an instance of > Counter, instance variable is set to the argument given to the message? > so that > Count

Re: [Pharo-users] [Pharo-dev] consider putting stars on our nice books on github :)

2016-12-09 Thread Ben Coman
Good idea. Done. Now just because I couldn't remember explicitly what "starring" meant, from GitHub help... Starring a repository allows you to keep track of projects that you find interesting, even if you aren't associated with the project. When you star a repository, you're actually performing

Re: [Pharo-users] Hash collision

2016-12-09 Thread Ben Coman
On Fri, Dec 9, 2016 at 10:51 PM, Hilaire wrote: > Hi, > > In Dr. Geo I rely a lot on hash value for the geometric object. It > largely improves speed up to compare geometric items (to avoid > duplicated items). For example to detect when the user is building an > already created object. > > Also

[Pharo-users] setter method

2016-12-09 Thread Kateryna Aloshkina
Hi everybody! I've just joined the community:) and have a question How to write the method count: such that, when invoked on an instance of Counter, instance variable is set to the argument given to the message? *so thatCounter new count: 7* *would set the value of a new Counter instance to 7* (

Re: [Pharo-users] [Pharo-dev] consider putting stars on our nice books on github :)

2016-12-09 Thread Sven Van Caekenberghe
Done. > On 9 Dec 2016, at 16:11, stepharong wrote: > > https://github.com/SquareBracketAssociates/EnterprisePharo > > https://github.com/SquareBracketAssociates/NumericalMethods > > https://github.com/SquareBracketAssociates/UpdatedPharoByExample > > https://github.com/SquareBracketAssociates

Re: [Pharo-users] consider putting stars on our nice books on github :)

2016-12-09 Thread Offray Vladimir Luna Cárdenas
Done! and added to my Zotero Pharo/Smalltalk collection: https://www.zotero.org/groups/diseo_y_creacion_phd_msc_universidad_de_caldas/items/collectionKey/IVQ5BUUC Cheers, Offray On 09/12/16 10:11, stepharong wrote: https://github.com/SquareBracketAssociates/EnterprisePharo https://github.co

Re: [Pharo-users] seaside javascript builders

2016-12-09 Thread Siemen Baader
Thanks, I was unaware of the seaside list! cheers, Siemen On Fri, Dec 9, 2016 at 5:18 PM, Ben Coman wrote: > > > On Fri, Dec 9, 2016 at 9:20 PM, Siemen Baader > wrote: > >> Hi all, >> >> I'm confused about the limitations and intended use of Seaside's >> javascript >> builders. I can follow th

Re: [Pharo-users] seaside javascript builders

2016-12-09 Thread Ben Coman
On Fri, Dec 9, 2016 at 9:20 PM, Siemen Baader wrote: > Hi all, > > I'm confused about the limitations and intended use of Seaside's javascript > builders. I can follow that we can do eg: "(html jQuery: 'div') remove" or > "html javascript alert: 'hello'" within the "renderContentOn: html" > metho

Re: [Pharo-users] Contributing code

2016-12-09 Thread stepharong
Hi evan let us know if you need more guidance. It is really nice that you want to help improving Pharo. Tx a lot. Hello, I wanted to ask if there was a good resource I could use to learn how to find out about current bugs and submit patches/code/contributions to the core Pharo classes (or

[Pharo-users] consider putting stars on our nice books on github :)

2016-12-09 Thread stepharong
https://github.com/SquareBracketAssociates/EnterprisePharo https://github.com/SquareBracketAssociates/NumericalMethods https://github.com/SquareBracketAssociates/UpdatedPharoByExample https://github.com/SquareBracketAssociates/BuildingUIWithSpec https://github.com/SquareBracketAssociates/TinyB

[Pharo-users] Hash collision

2016-12-09 Thread Hilaire
Hi, In Dr. Geo I rely a lot on hash value for the geometric object. It largely improves speed up to compare geometric items (to avoid duplicated items). For example to detect when the user is building an already created object. Also when describing geometric sketch with Smalltalk code, hundred or

[Pharo-users] seaside javascript builders

2016-12-09 Thread Siemen Baader
Hi all, I'm confused about the limitations and intended use of Seaside's javascript builders. I can follow that we can do eg: "(html jQuery: 'div') remove" or "html javascript alert: 'hello'" within the "renderContentOn: html" methods, but how do I deal with logic and variables? How do I eg. insta

Re: [Pharo-users] [squeak-dev] pondering Smalltalk scripting in Minecraft

2016-12-09 Thread Denis Kudriashov
2016-12-07 12:29 GMT+01:00 Dimitris Chloupis : > It was using nativeboost ? Yes