[Pharo-users] [ OT ] About Encodings and Character Sets

2015-06-27 Thread Sven Van Caekenberghe
This is a nice article: What Every Programmer Absolutely, Positively Needs to Know About Encodings and Character Sets to Work With Text http://kunststube.net/encoding/ Which refers to this well known article: The Absolute Minimum Every Software Developer Absolutely, Positively Must Know

Re: [Pharo-users] [Ann] DragPanels: Floating palette windows with drag-and-drop in Morphic

2015-06-27 Thread Alain Plantec via Pharo-users
---BeginMessage--- yes great! thanks Cheers Alain On 27 Jun 2015, at 00:30, Thierry Goubier thierry.goub...@gmail.com wrote: Very cool. Thanks Stephan. Thierry Le 26 juin 2015 6:17 PM, Stephan Eggermont step...@stack.nl mailto:step...@stack.nl a écrit : Morphic offers everything

Re: [Pharo-users] [ OT ] About Encodings and Character Sets

2015-06-27 Thread Johan Fabry
On Jun 27, 2015, at 07:04, Sven Van Caekenberghe s...@stfx.eu wrote: PS: in Pharo, the first part of this draft might help too: Character Encoding and Resource Meta Description http://stfx.eu/EnterprisePharo/Zinc-Encoding-Meta/ A newer version will be part of the upcoming book. And

Re: [Pharo-users] Displaying an image from a file

2015-06-27 Thread Sven Van Caekenberghe
Here are two examples that contain elements of what you want: (ZnEasy getPng: 'http://pharo.org/web/files/pharo.png') asMorph openInWindow. (FileLocator workingDirectory filesMatching: '*.jpg') do: [ :each | (each withExtension: 'png') writeStreamDo: [ :out | each readStreamDo: [ :in |

Re: [Pharo-users] Data Week: A week long workshop on data visualization using Pharo and Roassal

2015-06-27 Thread Offray Vladimir Luna Cárdenas
Hi Sebatian, Thanks for your questions and your interest. I will ask them below. The explanations tend to be detailed, so they can work also as English notes on the workshop and be more helpful to to you and people with similar inquiries (also because, as Gauss said, I have no time to write a

[Pharo-users] Displaying an image from a file

2015-06-27 Thread Laura Risani
Hi all, How can i make a morph display an image from a file at my hd? How can i further save this image inside a class so to be ported via packages? Thanks, Laura

Re: [Pharo-users] Displaying an image from a file

2015-06-27 Thread Tudor Girba
Just look at FileReferencegtInspectorPngIn: To see the effect, inspect the a .png file reference. Cheers, Doru On Sat, Jun 27, 2015 at 5:15 PM, Laura Risani laura.ris...@gmail.com wrote: Hi all, How can i make a morph display an image from a file at my hd? How can i further save this

Re: [Pharo-users] Displaying an image from a file

2015-06-27 Thread Peter Uhnák
As for the saving, you can also look at http://smalltalkhub.com/#!/~peteruhnak/IconFactory (or just browse ThemeIcons, which is already present in the image), which stores the images in methods as base64 strings. Peter On Sat, Jun 27, 2015 at 5:20 PM, Tudor Girba tu...@tudorgirba.com wrote:

Re: [Pharo-users] [ OT ] About Encodings and Character Sets

2015-06-27 Thread stepharo
Thanks sven this would have helped me when I wrote the chapter on seaside on encodings long time ago. I will really read it. Le 27/6/15 12:04, Sven Van Caekenberghe a écrit : This is a nice article: What Every Programmer Absolutely, Positively Needs to Know About Encodings and Character Sets