Help testing Pharo 1.1 in big screens!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Help testing Pharo 1.1 in big screens!

Stéphane Ducasse
Now you have to build expose so that with one click we can see the desktop and one click the windows come back in place :)

On May 15, 2010, at 11:58 PM, Igor Stasenko wrote:

> This one is little bit fixed, (request a list with 1 image, instead of 8)
> and delay 1 minute after error.
>
>
> [
>
> [[
> | rx str url form |
> str := (HTTPSocket httpGet:
> 'http://www.socwall.com/browse/index.php?wpLimit=1&wpSortby=8')
> contents.
> rx := '.*(http\://.+tb_.+\.jpg).*' asRegex.
> url := (rx matches: str)
> ifTrue: [
> str := (rx subexpression: 2)
> copyWithRegex: 'tb_' matchesReplacedWith: '' ]
> ifFalse: [ nil ].
> form := nil.
> url ifNotNil: [
> form := ImageReadWriter formFromStream: (HTTPSocket httpGet: url).
> World backgroundImage: form layout: #scaled
> ].
>
> ] on: Error do: [:ex| ].
> 1 minute asDelay wait.
> ] repeat.
>
> ] newProcess name: 'Random background changer'; priority: Processor
> userBackgroundPriority; resume
>
>
>
>
> 2010/5/16 Mariano Martinez Peck <[hidden email]>:
>> Igor, you are my hero. This is fucking great hahahahaha
>>
>> I will use is it for my images!!!  ahhh you should cache them so that when
>> you are offline you can random the ones you already downloaded ahahahahhaha
>>
>> excellent :)
>>
>> mariano
>>
>> On Sat, May 15, 2010 at 11:48 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> Guys, this is plain boring :)
>>>
>>> Here is more interesting example (just evaluate it to see what happens) ;)
>>>
>>> [
>>>
>>>        [[
>>>                | rx str url form |
>>>                str := (HTTPSocket httpGet:
>>> 'http://www.socwall.com/browse/index.php?wpSortby=8') contents.
>>>                rx := '.*(http\://.+tb_.+\.jpg).*' asRegex.
>>>                url := (rx matches: str)
>>>                        ifTrue: [
>>>                                str := (rx subexpression: 2)
>>>                                copyWithRegex: 'tb_' matchesReplacedWith:
>>> '' ]
>>>                        ifFalse: [ nil ].
>>>                form := nil.
>>>                url ifNotNil: [
>>>                        form := ImageReadWriter formFromStream: (HTTPSocket
>>> httpGet: url).
>>>                        World backgroundImage: form layout: #scaled
>>>                ].
>>>
>>>        1 minute asDelay wait.
>>>        ] on: Error do: [:ex| ] ] repeat.
>>>
>>> ] newProcess name: 'Random background changer'; priority: Processor
>>> userBackgroundPriority; resume
>>>
>>>
>>>
>>>
>>>
>>> 2010/5/15 Mariano Martinez Peck <[hidden email]>:
>>>>
>>>>
>>>> On Fri, May 14, 2010 at 8:20 PM, Stéphane Ducasse
>>>> <[hidden email]> wrote:
>>>>>
>>>>> Yes start a section :)
>>>>> under tips and trick
>>>>>
>>>>
>>>> Done:
>>>>
>>>> http://book.pharo-project.org/book/table-of-contents/CustomizingPharo/PuttingABackgroundPicture/
>>>>
>>>>
>>>>
>>>>>
>>>>> On May 14, 2010, at 8:15 PM, Mariano Martinez Peck wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, May 14, 2010 at 12:14 PM, Gary Chambers
>>>>>> <[hidden email]> wrote:
>>>>>> Fine for me spanned over two monitors (World extent 3580@1014) in
>>>>>> Vista.
>>>>>>
>>>>>> Note that there is a shorter message form for setting the background
>>>>>> image:
>>>>>>
>>>>>> World backgroundImage: (ImageReadWriter formFromFileNamed:
>>>>>> 'pharoBackground.png') layout: #scaled
>>>>>>
>>>>>> Alternatively, as before, having a .jpg file in your image/changes
>>>>>> directory with the name matching the theme name will load upon theme
>>>>>> change
>>>>>> (Watery 2.jpg for instance)
>>>>>>
>>>>>> It would be really cool a chaper in http://book.pharo-project.org/
>>>>>>  about "Customizing your own image"
>>>>>> and we put there all these little and nice tricks.
>>>>>>
>>>>>>
>>>>>> Regards, Gary
>>>>>>
>>>>>> ----- Original Message ----- From: "Stéphane Ducasse"
>>>>>> <[hidden email]>
>>>>>> To: <[hidden email]>
>>>>>> Cc: "A friendly place where any question about pharo is welcome"
>>>>>> <[hidden email]>
>>>>>> Sent: Thursday, May 13, 2010 7:44 PM
>>>>>> Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens!
>>>>>>
>>>>>>
>>>>>>
>>>>>> On my 30 inches screen
>>>>>> opening in full show some little square due to the limit of the png
>>>>>> :)
>>>>>>
>>>>>> Thanks mariano.
>>>>>>
>>>>>>
>>>>>> On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote:
>>>>>>
>>>>>> Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a
>>>>>> background
>>>>>> picture for the PharoDev 1.1. The last time I tried, we had a problem
>>>>>> with
>>>>>> the picture because in big screens instead of making it bigger, it
>>>>>> put it
>>>>>> several times, or it cut it. Now, thanks to Gary, it should work
>>>>>> well.
>>>>>>
>>>>>> So, if you are a lucky guy an have a big screen, can you please take
>>>>>> the
>>>>>> latests PharoCore 1.1 image, for example this:
>>>>>>
>>>>>>
>>>>>>
>>>>>> https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip
>>>>>>
>>>>>>
>>>>>> How to test it ?
>>>>>>
>>>>>> - Download this in the same directory where the .image is:
>>>>>> https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png
>>>>>>
>>>>>> Then evaluate:
>>>>>>
>>>>>> World backgroundMorph:
>>>>>>    ((UITheme builder
>>>>>>        newAlphaImage: (ImageReadWriter formFromFileNamed:
>>>>>> 'pharoBackground.png') help: nil)
>>>>>>        autoSize: false;
>>>>>>        layout: #scaled;
>>>>>>        lock)
>>>>>>
>>>>>>
>>>>>> What to test ?
>>>>>>
>>>>>> - You should stretch the pharo image, make it very big, and the
>>>>>> background picture should stretch also together with the image.
>>>>>> - If you notice a performance decrease with it (I don't think so)
>>>>>> - If you like it or not.
>>>>>> - If the resolution is good enough in big screens
>>>>>>
>>>>>>
>>>>>> Thanks!
>>>>>>
>>>>>> Mariano
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Help testing Pharo 1.1 in big screens!

Igor Stasenko
On 16 May 2010 01:10, Stéphane Ducasse <[hidden email]> wrote:
> Now you have to build expose so that with one click we can see the desktop and one click the windows come back in place :)
>

Yeah, its little bit distracting.. instead of coding, eventually,
you'll find yourself sitting and watching images :))


> On May 15, 2010, at 11:58 PM, Igor Stasenko wrote:
>
>> This one is little bit fixed, (request a list with 1 image, instead of 8)
>> and delay 1 minute after error.
>>
>>
>> [
>>
>>       [[
>>               | rx str url form |
>>               str := (HTTPSocket httpGet:
>> 'http://www.socwall.com/browse/index.php?wpLimit=1&wpSortby=8')
>> contents.
>>               rx := '.*(http\://.+tb_.+\.jpg).*' asRegex.
>>               url := (rx matches: str)
>>                       ifTrue: [
>>                               str := (rx subexpression: 2)
>>                               copyWithRegex: 'tb_' matchesReplacedWith: '' ]
>>                       ifFalse: [ nil ].
>>               form := nil.
>>               url ifNotNil: [
>>                       form := ImageReadWriter formFromStream: (HTTPSocket httpGet: url).
>>                       World backgroundImage: form layout: #scaled
>>               ].
>>
>>       ] on: Error do: [:ex| ].
>>               1 minute asDelay wait.
>>        ] repeat.
>>
>> ] newProcess name: 'Random background changer'; priority: Processor
>> userBackgroundPriority; resume
>>
>>
>>
>>
>> 2010/5/16 Mariano Martinez Peck <[hidden email]>:
>>> Igor, you are my hero. This is fucking great hahahahaha
>>>
>>> I will use is it for my images!!!  ahhh you should cache them so that when
>>> you are offline you can random the ones you already downloaded ahahahahhaha
>>>
>>> excellent :)
>>>
>>> mariano
>>>
>>> On Sat, May 15, 2010 at 11:48 PM, Igor Stasenko <[hidden email]> wrote:
>>>>
>>>> Guys, this is plain boring :)
>>>>
>>>> Here is more interesting example (just evaluate it to see what happens) ;)
>>>>
>>>> [
>>>>
>>>>        [[
>>>>                | rx str url form |
>>>>                str := (HTTPSocket httpGet:
>>>> 'http://www.socwall.com/browse/index.php?wpSortby=8') contents.
>>>>                rx := '.*(http\://.+tb_.+\.jpg).*' asRegex.
>>>>                url := (rx matches: str)
>>>>                        ifTrue: [
>>>>                                str := (rx subexpression: 2)
>>>>                                copyWithRegex: 'tb_' matchesReplacedWith:
>>>> '' ]
>>>>                        ifFalse: [ nil ].
>>>>                form := nil.
>>>>                url ifNotNil: [
>>>>                        form := ImageReadWriter formFromStream: (HTTPSocket
>>>> httpGet: url).
>>>>                        World backgroundImage: form layout: #scaled
>>>>                ].
>>>>
>>>>        1 minute asDelay wait.
>>>>        ] on: Error do: [:ex| ] ] repeat.
>>>>
>>>> ] newProcess name: 'Random background changer'; priority: Processor
>>>> userBackgroundPriority; resume
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 2010/5/15 Mariano Martinez Peck <[hidden email]>:
>>>>>
>>>>>
>>>>> On Fri, May 14, 2010 at 8:20 PM, Stéphane Ducasse
>>>>> <[hidden email]> wrote:
>>>>>>
>>>>>> Yes start a section :)
>>>>>> under tips and trick
>>>>>>
>>>>>
>>>>> Done:
>>>>>
>>>>> http://book.pharo-project.org/book/table-of-contents/CustomizingPharo/PuttingABackgroundPicture/
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> On May 14, 2010, at 8:15 PM, Mariano Martinez Peck wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 14, 2010 at 12:14 PM, Gary Chambers
>>>>>>> <[hidden email]> wrote:
>>>>>>> Fine for me spanned over two monitors (World extent 3580@1014) in
>>>>>>> Vista.
>>>>>>>
>>>>>>> Note that there is a shorter message form for setting the background
>>>>>>> image:
>>>>>>>
>>>>>>> World backgroundImage: (ImageReadWriter formFromFileNamed:
>>>>>>> 'pharoBackground.png') layout: #scaled
>>>>>>>
>>>>>>> Alternatively, as before, having a .jpg file in your image/changes
>>>>>>> directory with the name matching the theme name will load upon theme
>>>>>>> change
>>>>>>> (Watery 2.jpg for instance)
>>>>>>>
>>>>>>> It would be really cool a chaper in http://book.pharo-project.org/
>>>>>>>  about "Customizing your own image"
>>>>>>> and we put there all these little and nice tricks.
>>>>>>>
>>>>>>>
>>>>>>> Regards, Gary
>>>>>>>
>>>>>>> ----- Original Message ----- From: "Stéphane Ducasse"
>>>>>>> <[hidden email]>
>>>>>>> To: <[hidden email]>
>>>>>>> Cc: "A friendly place where any question about pharo is welcome"
>>>>>>> <[hidden email]>
>>>>>>> Sent: Thursday, May 13, 2010 7:44 PM
>>>>>>> Subject: Re: [Pharo-project] Help testing Pharo 1.1 in big screens!
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On my 30 inches screen
>>>>>>> opening in full show some little square due to the limit of the png
>>>>>>> :)
>>>>>>>
>>>>>>> Thanks mariano.
>>>>>>>
>>>>>>>
>>>>>>> On May 13, 2010, at 8:39 PM, Mariano Martinez Peck wrote:
>>>>>>>
>>>>>>> Hi folks. I re-try (yes, yes, I re-insist hahaha) to have a
>>>>>>> background
>>>>>>> picture for the PharoDev 1.1. The last time I tried, we had a problem
>>>>>>> with
>>>>>>> the picture because in big screens instead of making it bigger, it
>>>>>>> put it
>>>>>>> several times, or it cut it. Now, thanks to Gary, it should work
>>>>>>> well.
>>>>>>>
>>>>>>> So, if you are a lucky guy an have a big screen, can you please take
>>>>>>> the
>>>>>>> latests PharoCore 1.1 image, for example this:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> https://gforge.inria.fr/frs/download.php/26995/PharoCore-1.1-11357-UNSTABLE.zip
>>>>>>>
>>>>>>>
>>>>>>> How to test it ?
>>>>>>>
>>>>>>> - Download this in the same directory where the .image is:
>>>>>>> https://gforge.inria.fr/frs/download.php/26996/pharoBackground.png
>>>>>>>
>>>>>>> Then evaluate:
>>>>>>>
>>>>>>> World backgroundMorph:
>>>>>>>    ((UITheme builder
>>>>>>>        newAlphaImage: (ImageReadWriter formFromFileNamed:
>>>>>>> 'pharoBackground.png') help: nil)
>>>>>>>        autoSize: false;
>>>>>>>        layout: #scaled;
>>>>>>>        lock)
>>>>>>>
>>>>>>>
>>>>>>> What to test ?
>>>>>>>
>>>>>>> - You should stretch the pharo image, make it very big, and the
>>>>>>> background picture should stretch also together with the image.
>>>>>>> - If you notice a performance decrease with it (I don't think so)
>>>>>>> - If you like it or not.
>>>>>>> - If the resolution is good enough in big screens
>>>>>>>
>>>>>>>
>>>>>>> Thanks!
>>>>>>>
>>>>>>> Mariano
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> [hidden email]
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> [hidden email]
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> [hidden email]
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best regards,
>>>> Igor Stasenko AKA sig.
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [hidden email]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
12