Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
May 2009
- 81 participants
- 1151 messages
[Pharo-project] Alien FFI & COM
by Carlos Crosetti
looking for pointers to a sample Alien FFi code calling a COM based DLL....
May 22, 2009
Re: [Pharo-project] Symbol>>value:value:
by Damien Pollet
Maybe an alternative would be to use Helvetia to write blocks in shorthand.
Currently, writing the whole [:each | each abs] is a bit of a pain, so
the much shorter #abs is nice. But what if there was [⦠abs], the
ellipsis meaning "it" or "the argument, duh" ?
Several instances of ⦠could be used in order:
[⦠foo: ⦠bar: â¦]
being equivalent to #foo:bar: value: x value: y value: z
or [:x :y :z | x foo: y bar: z]
Actually that problem exists in functional languages with partial
application, you can only apply the arguments in order, else you have
to name them (except with infix operators in Haskell, where (+2) is
(\x x+2) and (2+) is (\x 2+x). I was thinking that in OCaml, one could
write foo _ 42 to partially apply function foo to its second argument.
On Fri, May 22, 2009 at 13:47, Alexandre Bergel <alexandre(a)bergel.eu> wrote:
> I share the point made by Lukas. Symbol>>value:value: is very obscure.
> If we introduce Symbol>>value:value:, why not
> Symbol>>value:value:value: and so on?
>
> Alexandre
>
>
> On 21 May 2009, at 04:00, Stéphane Ducasse wrote:
>
>> I would be in favor of having value: value: on symbol and get rid of
>> value on Object
>> Because this is really cool to write #( 1 2 3) collect: #abs
>>
>>
>>
>> On May 20, 2009, at 4:01 PM, Tudor Girba wrote:
>>
>>> Hi,
>>>
>>> (I apologize for the length of this email, but I did not know how to
>>> write it shorter)
>>>
>>> My reasons for Symbol>>value: and similar selectors are as follows.
>>>
>>> A Symbol is already used for several things, like a key in an
>>> identity
>>> dictionary. But it is also used for parameterizing a mapping to a
>>> piece of behavior via a #symbol stored in a selector instance
>>> variable. Later on, this behavior is invoked as:
>>>
>>> receiver perform: selector.
>>>
>>> This is for example what happens in Morphic, and as a result I am
>>> forced to create a Model class for a custom Morph, even if the
>>> customization is minimal. This is a hurdle when you are in prototype
>>> mode. Instead I would like to have the possibility to prototype
>>> faster
>>> using blocks instead of creating a class.
>>>
>>> This is possible right now for unary methods when the framework does
>>> not directly do a perform:, but instead it does:
>>>
>>> selector value: receiver.
>>>
>>> Ideally, we could have in the entire image only one place in which
>>> perform: is called explicitly: in the Symbol>>value:. In this way, I
>>> will be able to pass a block everywhere a unary method is now used.
>>> This is something we do when we want to use Smalltalk for scripting
>>> (Mondrian and Glamour do that)
>>>
>>> The same case goes for Symbol>>value:value: . These two methods would
>>> already cover the large majority of performs, but I would argue for
>>> adding all possibilities of evaluating blocks and of performing
>>> messages.
>>>
>>> If you are asking what do Symbol have to do with blocks from a
>>> conceptual point of view, I will answer that when the Symbol is used
>>> as a selector, it does nothing else but point to a piece of behavior.
>>> Given that a Block does a similar thing, you can as well treat them
>>> in
>>> a polymorphic fashion.
>>>
>>> The only question that remains in my mind is: does a modification
>>> like
>>> this has the possibility of harming? I am not aware of a case in
>>> which
>>> it is harmful, but who knows.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 20 May 2009, at 15:27, Stéphane Ducasse wrote:
>>>
>>>> value from Object and value: from Symbol are different
>>>> with value: on Symbol you can do
>>>>
>>>> self collect: #abs
>>>>
>>>> :)
>>>>
>>>> On May 20, 2009, at 2:48 PM, Gabriel Cotelli wrote:
>>>>
>>>>> +1 to the removal of value: from Symbol....
>>>>>
>>>>> On Wed, May 20, 2009 at 3:18 AM, Lukas Renggli <renggli(a)gmail.com>
>>>>> wrote:
>>>>>> Given that in Pharo we have Symbol>>value:, are there any reasons
>>>>> not
>>>>>> to have also
>>>>>>
>>>>>> Symbol>>value: anObject value: anotherObject
>>>>>> Â Â ^ anObject perform: self with: anotherObject
>>>>>
>>>>> While Symbol>>#value: is at the border of being readable,
>>>>> Symbol>>#value:value: is even worse. It is not immediately obvious
>>>>> what it does. The order of receiver and arguments is hardcoded and
>>>>> thus the construct cannot be applied in most cases without
>>>>> rewriting
>>>>> the code. Fixed arguments cannot be given.
>>>>>
>>>>> Instead of adding new #value: variants, we should rather try to
>>>>> remove
>>>>> Object>>#value which is a real nightmare ;-)
>>>>>
>>>>> Cheers,
>>>>> Lukas
>>>>>
>>>>> --
>>>>> Lukas Renggli
>>>>> http://www.lukas-renggli.ch
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Problem solving efficiency grows with the abstractness level of
>>> problem understanding."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
May 22, 2009
Re: [Pharo-project] call for hypercool fonts configuration
by Rob Rothwell
flash menu?
Rob
On Fri, May 22, 2009 at 11:33 AM, Stéphane Ducasse <
stephane.ducasse(a)inria.fr> wrote:
> I found the flash menu :)
> and this is cool
>
> Stef
>
> On May 22, 2009, at 4:53 PM, Steve Wirts wrote:
>
> > I like Arial, and I think it's a very common font available on most
> > platforms.....
> >
> > | aStandardFont aBoldFont |
> >
> >
> > aStandardFont := LogicalFont familyName: 'Arial' pointSize: 9
> > stretchValue: 5 weightValue: 400 slantValue: 0.
> > aBoldFont := LogicalFont familyName: 'Arial' pointSize: 9
> > stretchValue: 5 weightValue: 700 slantValue: 0.
> >
> > Preferences setWindowTitleFontTo: aBoldFont.
> > Preferences setEToysTitleFontTo: aBoldFont.
> > Preferences setFlapsFontTo: aBoldFont.
> > Preferences setBalloonHelpFontTo: aStandardFont.
> > Preferences setButtonFontTo: aStandardFont.
> > Preferences setCodeFontTo: aStandardFont.
> > Preferences setEToysFontTo: aStandardFont.
> > Preferences setHaloLabelFontTo: aStandardFont.
> > Preferences setListFontTo: aStandardFont.
> > Preferences setMenuFontTo: aStandardFont.
> > Preferences setPaintBoxButtonFontTo: aStandardFont.
> > Preferences setSystemFontTo: aStandardFont.
> >
> >
> > On Fri, May 22, 2009 at 9:52 AM, Stéphane Ducasse <
> stephane.ducasse(a)inria.fr
> > > wrote:
> > What you do not like OBPackageAdaptor... Great Squeakish ui.
> >
> > Stef
> >
> > On May 22, 2009, at 3:38 PM, Adrian Lienhard wrote:
> >
> > >
> > > On May 22, 2009, at 14:19 , Tudor Girba wrote:
> > >
> > >> I certainly will not try to enforce it on anybody :).
> > >>
> > >> The reason why I used condensed bold for the title and menu is that
> > >> because we have so many of them both windows and menus, it is
> > >> difficult to identify them. So, I want to quickly spot the title
> > when
> > >> hovering over the tabs at the bottom which is not accomplishable.
> > >
> > > Then we should probably fix that the label of the tab shows what you
> > > need to know (I assume the class name). Currently, the class name is
> > > prefixed with "System Browser: ", which uses up all the space as
> > soon
> > > as one has several open windows. I would just remove "System
> > Browser:
> > > " in the window title and tab label and only print the class name.
> > > Would that help?
> > >
> > > Adrian
> > >
> > >> As
> > >> for the menus, I just find them easier to grasp in this way.
> > >>
> > >> Anyway, I added this script together with a version for demos
> > (larger
> > >> font size) here:
> > >>
> > >> MCHttpRepository
> > >> location: 'http://www.squeaksource.com/setup'
> > >> user: ''
> > >> password: ''
> > >>
> > >> Cheers,
> > >> Doru
> > >>
> > >>
> > >> On 22 May 2009, at 13:20, Adrian Lienhard wrote:
> > >>
> > >>> gaah, these fat menus and title fonts look awful to me! ;)
> > >>> Adrian
> > >>>
> > >>> On May 22, 2009, at 12:48 , Stéphane Ducasse wrote:
> > >>>
> > >>>> :)
> > >>>> looks cool to me. thanks doru.
> > >>>>
> > >>>> <Picture 7.pdf><Picture 6.pdf>
> > >>>> On May 22, 2009, at 12:24 PM, Tudor Girba wrote:
> > >>>>
> > >>>>> Thanks a lot, that worked fine.
> > >>>>>
> > >>>>> So, I list below my settings. I use Helvetica Neue Condensed
> > Bold
> > >>>>> for
> > >>>>> menus and window title. Because I use it there, I also use
> > >>>>> Helvetica
> > >>>>> Neue regular for the rest of the items, except for the code
> > >>>>> where I
> > >>>>> use Monaco:
> > >>>>>
> > >>>>> menuFont := LogicalFont
> > >>>>> familyName: 'Helvetica Neue'
> > >>>>> pointSize: 9
> > >>>>> stretchValue: (LogicalFont stretchCondensed)
> > >>>>> weightValue: (LogicalFont weightBold)
> > >>>>> slantValue: (LogicalFont slantNormal).
> > >>>>> titleFont := LogicalFont
> > >>>>> familyName: 'Helvetica Neue'
> > >>>>> pointSize: 14
> > >>>>> stretchValue: (LogicalFont stretchCondensed)
> > >>>>> weightValue: (LogicalFont weightBold)
> > >>>>> slantValue: (LogicalFont slantNormal).
> > >>>>> codeFont := LogicalFont familyName: 'Monaco' pointSize: 8.
> > >>>>> defaultFont := LogicalFont familyName: 'Helvetica Neue'
> > pointSize:
> > >>>>> 9.
> > >>>>> Preferences setSystemFontTo: defaultFont.
> > >>>>> Preferences setListFontTo: defaultFont.
> > >>>>> Preferences setFlapsFontTo: menuFont.
> > >>>>> Preferences setHaloLabelFontTo: defaultFont.
> > >>>>> Preferences setMenuFontTo: menuFont.
> > >>>>> Preferences setWindowTitleFontTo: titleFont.
> > >>>>> Preferences setBalloonHelpFontTo: defaultFont.
> > >>>>> Preferences setCodeFontTo: codeFont.
> > >>>>> Preferences setButtonFontTo: defaultFont.
> > >>>>>
> > >>>>>
> > >>>>> Cheers,
> > >>>>> Doru
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> On 22 May 2009, at 11:05, Andrew Tween wrote:
> > >>>>>
> > >>>>>> Hi
> > >>>>>>
> > >>>>>>
> > >>>>>>> From: girba(a)iam.unibe.ch
> > >>>>>>> To: Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>> Date: Fri, 22 May 2009 10:19:44 +0200
> > >>>>>>> Subject: Re: [Pharo-project] call for hypercool fonts
> > >>>>>>> configuration
> > >>>>>>>
> > >>>>>>> Hi,
> > >>>>>>>
> > >>>>>>> I would like to give my script, but I do not know how to
> > specify
> > >>>>>> in a
> > >>>>>>> script that I want 'Helvetica Neue' - 'Condensed Bold'. Can
> > >>>>>>> anyone
> > >>>>>> help?
> > >>>>>>
> > >>>>>>
> > >>>>>> codeFont := LogicalFont
> > >>>>>> familyName: 'Helvetica Neue'
> > >>>>>> pointSize: 9
> > >>>>>> stretchValue: (LogicalFont stretchCondensed)
> > >>>>>> weightValue: (LogicalFont weightBold)
> > >>>>>> slantValue: (LogicalFont slantNormal).
> > >>>>>> Preferences setCodeFontTo: codeFont.
> > >>>>>>
> > >>>>>> Cheers,
> > >>>>>> Andy
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>>
> > >>>>>>> Cheers,
> > >>>>>>> Doru
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> On 22 May 2009, at 09:56, Adrian Lienhard wrote:
> > >>>>>>>
> > >>>>>>>> Hm, they look perfect on my machine. I just took a 10310
> > Pharo
> > >>>>>> core
> > >>>>>>>> and run the script I posted.
> > >>>>>>>>
> > >>>>>>>> Do you have the BitBlt plugin added to the VM?
> > >>>>>>>> Are the DejaVu fonts blurry as well? Can you post a
> > screenshot?
> > >>>>>>>>
> > >>>>>>>> Adrian
> > >>>>>>>>
> > >>>>>>>> On May 21, 2009, at 23:30 , Stéphane Ducasse wrote:
> > >>>>>>>>
> > >>>>>>>>> this is strange because I get a blurry result.
> > >>>>>>>>> Should I have a specific package loaded: I tried with the
> > >>>>>> 10309dev
> > >>>>>>>>> and
> > >>>>>>>>> the VM has the FT2plugin
> > >>>>>>>>>
> > >>>>>>>>> Stef
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote:
> > >>>>>>>>>
> > >>>>>>>>>> On Mac, I like the following "special" configuration with
> > >>>>>>>>>> Lucida
> > >>>>>>>>>> Grande and Monaco:
> > >>>>>>>>>>
> > >>>>>>>>>> font := LogicalFont familyName: 'Lucida Grande' pointSize:
> > >>>>>>>>>> 10.
> > >>>>>>>>>> codeFont := LogicalFont familyName: 'Monaco' pointSize: 9.
> > >>>>>>>>>> codeFont realFont instVarNamed: 'cachedAscent' put: 12.
> > >>>>>>>>>> codeFont realFont instVarNamed: 'cachedHeight' put: 15.
> > >>>>>>>>>> titleFont := LogicalFont familyName: 'Lucida Grande'
> > >>>>>> pointSize: 10.
> > >>>>>>>>>>
> > >>>>>>>>>> Preferences setListFontTo: font.
> > >>>>>>>>>> Preferences setMenuFontTo: font.
> > >>>>>>>>>> Preferences setCodeFontTo: codeFont.
> > >>>>>>>>>> Preferences setButtonFontTo: font.
> > >>>>>>>>>> Preferences setSystemFontTo: font.
> > >>>>>>>>>> Preferences setWindowTitleFontTo: titleFont.
> > >>>>>>>>>>
> > >>>>>>>>>> Note, I manually tweak the font description of Monaco to
> > >>>>>> decrease
> > >>>>>>>>>> the
> > >>>>>>>>>> line height (don't know why it is that high by default).
> > With
> > >>>>>> the
> > >>>>>>>>>> above, it looks more like in TextMate for example.
> > >>>>>>>>>>
> > >>>>>>>>>> Adrian
> > >>>>>>>>>>
> > >>>>>>>>>> On May 21, 2009, at 10:55 , Hilaire Fernandes wrote:
> > >>>>>>>>>>
> > >>>>>>>>>>> Yes, anythinks related to look'nd feel and overal design
> > in
> > >>>>>> Pharo
> > >>>>>>>>>>> could help a lot to make people to LOVE Pharo or to RUN
> > >>>>>>>>>>> AWAY.
> > >>>>>>>>>>>
> > >>>>>>>>>>> Regarding fonts, I found myself sharing the point
> > previously
> > >>>>>>>>>>> expressed there:
> > >>>>>>>>>>> -Dejavu Sans for all but code
> > >>>>>>>>>>> -Code with Dedavu mono
> > >>>>>>>>>>>
> > >>>>>>>>>>> The issue about Freetype efficiency, related to submorph
> > >>>>>>>>>>> damage
> > >>>>>>>>>>> code
> > >>>>>>>>>>> related previsouly, is of equal importance.
> > >>>>>>>>>>>
> > >>>>>>>>>>> If the user experience is ungood -- slowness -- people
> > will
> > >>>>>>>>>>> RUN
> > >>>>>>>>>>> AWAY.
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>> 2009/5/21 Stéphane Ducasse <stephane.ducasse(a)inria.fr>:
> > >>>>>>>>>>>> Hi guys
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> on one hand we should have a good default for fonts -
> > >>>>>>>>>>>> default
> > >>>>>>>>>>>> means
> > >>>>>>>>>>>> ok
> > >>>>>>>>>>>> for license and
> > >>>>>>>>>>>> work on platforms....
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> Now I would LOVE to get a list of cool combination of
> > fonts
> > >>>>>> even
> > >>>>>>>>>>>> if
> > >>>>>>>>>>>> they are proprietary.
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> So I hope that I woke the designer in you :)
> > >>>>>>>>>>>> Send snippets in the following forms that we can impress
> > >>>>>> girls :)
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> font := LogicalFont familyName: 'DejaVu Sans' pointSize:
> > >>>>>>>>>>>> 10.
> > >>>>>>>>>>>> codeFont := LogicalFont familyName: 'DejaVu Sans Mono'
> > >>>>>> pointSize:
> > >>>>>>>>>>>> 9.
> > >>>>>>>>>>>> titleFont := LogicalFont familyName: 'DejaVu Serif'
> > >>>>>> pointSize: 11.
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> Preferences setListFontTo: font.
> > >>>>>>>>>>>> Preferences setMenuFontTo: font.
> > >>>>>>>>>>>> Preferences setCodeFontTo: codeFont.
> > >>>>>>>>>>>> Preferences setButtonFontTo: font.
> > >>>>>>>>>>>> Preferences setSystemFontTo: font.
> > >>>>>>>>>>>> Preferences setWindowTitleFontTo: titleFont.
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> Stef
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>>
> > >>>>>>>>>>>> _______________________________________________
> > >>>>>>>>>>>> Pharo-project mailing list
> > >>>>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/
> > >>>>>>>>>>>> pharo-
> > >>>>>>>>>>>> project
> > >>>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>>
> > >>>>>>>>>>> --
> > >>>>>>>>>>> http://blog.ofset.org/hilaire
> > >>>>>>>>>>>
> > >>>>>>>>>>> _______________________________________________
> > >>>>>>>>>>> Pharo-project mailing list
> > >>>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>>>>>>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >>>>>>>>>>
> > >>>>>>>>>>
> > >>>>>>>>>> _______________________________________________
> > >>>>>>>>>> Pharo-project mailing list
> > >>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>>>>>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> _______________________________________________
> > >>>>>>>>> Pharo-project mailing list
> > >>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>>>>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> _______________________________________________
> > >>>>>>>> Pharo-project mailing list
> > >>>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> > >>>>>> project
> > >>>>>>>>
> > >>>>>>>
> > >>>>>>> --
> > >>>>>>> www.tudorgirba.com
> > >>>>>>>
> > >>>>>>> "Every thing has its own flow."
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> _______________________________________________
> > >>>>>>> Pharo-project mailing list
> > >>>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> > >>>>>>> project
> > >>>>>>
> > >>>>>>
> > >>>>>> " Upgrade to Internet Explorer 8 Optimised for MSN. " Download
> > >>>>>> Now_______________________________________________
> > >>>>>> Pharo-project mailing list
> > >>>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> > >>>>>> project
> > >>>>>
> > >>>>> --
> > >>>>> www.tudorgirba.com
> > >>>>>
> > >>>>> "No matter how many recipes we'll know, we'll still value a
> > chef."
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> Pharo-project mailing list
> > >>>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> > >>>>> project
> > >>>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> Pharo-project mailing list
> > >>>> Pharo-project(a)lists.gforge.inria.fr
> > >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> Pharo-project mailing list
> > >>> Pharo-project(a)lists.gforge.inria.fr
> > >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> > project
> > >>>
> > >>
> > >> --
> > >> www.tudorgirba.com
> > >>
> > >> "In a world where everything is moving ever faster,
> > >> one might have better chances to win by moving slower."
> > >>
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Pharo-project mailing list
> > >> Pharo-project(a)lists.gforge.inria.fr
> > >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >
> > >
> > > _______________________________________________
> > > Pharo-project mailing list
> > > Pharo-project(a)lists.gforge.inria.fr
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> > >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 22, 2009
Re: [Pharo-project] call for hypercool fonts configuration
by Alexandre Bergel
I created a Monticello repositiory called PersonalSettings
Maybe you can put your script in it.
Alexandre
On 22 May 2009, at 08:19, Tudor Girba wrote:
> I certainly will not try to enforce it on anybody :).
>
> The reason why I used condensed bold for the title and menu is that
> because we have so many of them both windows and menus, it is
> difficult to identify them. So, I want to quickly spot the title when
> hovering over the tabs at the bottom which is not accomplishable. As
> for the menus, I just find them easier to grasp in this way.
>
> Anyway, I added this script together with a version for demos (larger
> font size) here:
>
> MCHttpRepository
> location: 'http://www.squeaksource.com/setup'
> user: ''
> password: ''
>
> Cheers,
> Doru
>
>
> On 22 May 2009, at 13:20, Adrian Lienhard wrote:
>
>> gaah, these fat menus and title fonts look awful to me! ;)
>> Adrian
>>
>> On May 22, 2009, at 12:48 , Stéphane Ducasse wrote:
>>
>>> :)
>>> looks cool to me. thanks doru.
>>>
>>> <Picture 7.pdf><Picture 6.pdf>
>>> On May 22, 2009, at 12:24 PM, Tudor Girba wrote:
>>>
>>>> Thanks a lot, that worked fine.
>>>>
>>>> So, I list below my settings. I use Helvetica Neue Condensed Bold
>>>> for
>>>> menus and window title. Because I use it there, I also use
>>>> Helvetica
>>>> Neue regular for the rest of the items, except for the code where I
>>>> use Monaco:
>>>>
>>>> menuFont := LogicalFont
>>>> familyName: 'Helvetica Neue'
>>>> pointSize: 9
>>>> stretchValue: (LogicalFont stretchCondensed)
>>>> weightValue: (LogicalFont weightBold)
>>>> slantValue: (LogicalFont slantNormal).
>>>> titleFont := LogicalFont
>>>> familyName: 'Helvetica Neue'
>>>> pointSize: 14
>>>> stretchValue: (LogicalFont stretchCondensed)
>>>> weightValue: (LogicalFont weightBold)
>>>> slantValue: (LogicalFont slantNormal).
>>>> codeFont := LogicalFont familyName: 'Monaco' pointSize: 8.
>>>> defaultFont := LogicalFont familyName: 'Helvetica Neue' pointSize:
>>>> 9.
>>>> Preferences setSystemFontTo: defaultFont.
>>>> Preferences setListFontTo: defaultFont.
>>>> Preferences setFlapsFontTo: menuFont.
>>>> Preferences setHaloLabelFontTo: defaultFont.
>>>> Preferences setMenuFontTo: menuFont.
>>>> Preferences setWindowTitleFontTo: titleFont.
>>>> Preferences setBalloonHelpFontTo: defaultFont.
>>>> Preferences setCodeFontTo: codeFont.
>>>> Preferences setButtonFontTo: defaultFont.
>>>>
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>> On 22 May 2009, at 11:05, Andrew Tween wrote:
>>>>
>>>>> Hi
>>>>>
>>>>>
>>>>>> From: girba(a)iam.unibe.ch
>>>>>> To: Pharo-project(a)lists.gforge.inria.fr
>>>>>> Date: Fri, 22 May 2009 10:19:44 +0200
>>>>>> Subject: Re: [Pharo-project] call for hypercool fonts
>>>>>> configuration
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I would like to give my script, but I do not know how to specify
>>>>> in a
>>>>>> script that I want 'Helvetica Neue' - 'Condensed Bold'. Can
>>>>>> anyone
>>>>> help?
>>>>>
>>>>>
>>>>> codeFont := LogicalFont
>>>>> familyName: 'Helvetica Neue'
>>>>> pointSize: 9
>>>>> stretchValue: (LogicalFont stretchCondensed)
>>>>> weightValue: (LogicalFont weightBold)
>>>>> slantValue: (LogicalFont slantNormal).
>>>>> Preferences setCodeFontTo: codeFont.
>>>>>
>>>>> Cheers,
>>>>> Andy
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>> Doru
>>>>>>
>>>>>>
>>>>>> On 22 May 2009, at 09:56, Adrian Lienhard wrote:
>>>>>>
>>>>>>> Hm, they look perfect on my machine. I just took a 10310 Pharo
>>>>> core
>>>>>>> and run the script I posted.
>>>>>>>
>>>>>>> Do you have the BitBlt plugin added to the VM?
>>>>>>> Are the DejaVu fonts blurry as well? Can you post a screenshot?
>>>>>>>
>>>>>>> Adrian
>>>>>>>
>>>>>>> On May 21, 2009, at 23:30 , Stéphane Ducasse wrote:
>>>>>>>
>>>>>>>> this is strange because I get a blurry result.
>>>>>>>> Should I have a specific package loaded: I tried with the
>>>>> 10309dev
>>>>>>>> and
>>>>>>>> the VM has the FT2plugin
>>>>>>>>
>>>>>>>> Stef
>>>>>>>>
>>>>>>>>
>>>>>>>> On May 21, 2009, at 10:50 PM, Adrian Lienhard wrote:
>>>>>>>>
>>>>>>>>> On Mac, I like the following "special" configuration with
>>>>>>>>> Lucida
>>>>>>>>> Grande and Monaco:
>>>>>>>>>
>>>>>>>>> font := LogicalFont familyName: 'Lucida Grande' pointSize: 10.
>>>>>>>>> codeFont := LogicalFont familyName: 'Monaco' pointSize: 9.
>>>>>>>>> codeFont realFont instVarNamed: 'cachedAscent' put: 12.
>>>>>>>>> codeFont realFont instVarNamed: 'cachedHeight' put: 15.
>>>>>>>>> titleFont := LogicalFont familyName: 'Lucida Grande'
>>>>> pointSize: 10.
>>>>>>>>>
>>>>>>>>> Preferences setListFontTo: font.
>>>>>>>>> Preferences setMenuFontTo: font.
>>>>>>>>> Preferences setCodeFontTo: codeFont.
>>>>>>>>> Preferences setButtonFontTo: font.
>>>>>>>>> Preferences setSystemFontTo: font.
>>>>>>>>> Preferences setWindowTitleFontTo: titleFont.
>>>>>>>>>
>>>>>>>>> Note, I manually tweak the font description of Monaco to
>>>>> decrease
>>>>>>>>> the
>>>>>>>>> line height (don't know why it is that high by default). With
>>>>> the
>>>>>>>>> above, it looks more like in TextMate for example.
>>>>>>>>>
>>>>>>>>> Adrian
>>>>>>>>>
>>>>>>>>> On May 21, 2009, at 10:55 , Hilaire Fernandes wrote:
>>>>>>>>>
>>>>>>>>>> Yes, anythinks related to look'nd feel and overal design in
>>>>> Pharo
>>>>>>>>>> could help a lot to make people to LOVE Pharo or to RUN AWAY.
>>>>>>>>>>
>>>>>>>>>> Regarding fonts, I found myself sharing the point previously
>>>>>>>>>> expressed there:
>>>>>>>>>> -Dejavu Sans for all but code
>>>>>>>>>> -Code with Dedavu mono
>>>>>>>>>>
>>>>>>>>>> The issue about Freetype efficiency, related to submorph
>>>>>>>>>> damage
>>>>>>>>>> code
>>>>>>>>>> related previsouly, is of equal importance.
>>>>>>>>>>
>>>>>>>>>> If the user experience is ungood -- slowness -- people will
>>>>>>>>>> RUN
>>>>>>>>>> AWAY.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 2009/5/21 Stéphane Ducasse <stephane.ducasse(a)inria.fr>:
>>>>>>>>>>> Hi guys
>>>>>>>>>>>
>>>>>>>>>>> on one hand we should have a good default for fonts -
>>>>>>>>>>> default
>>>>>>>>>>> means
>>>>>>>>>>> ok
>>>>>>>>>>> for license and
>>>>>>>>>>> work on platforms....
>>>>>>>>>>>
>>>>>>>>>>> Now I would LOVE to get a list of cool combination of fonts
>>>>> even
>>>>>>>>>>> if
>>>>>>>>>>> they are proprietary.
>>>>>>>>>>>
>>>>>>>>>>> So I hope that I woke the designer in you :)
>>>>>>>>>>> Send snippets in the following forms that we can impress
>>>>> girls :)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> font := LogicalFont familyName: 'DejaVu Sans' pointSize: 10.
>>>>>>>>>>> codeFont := LogicalFont familyName: 'DejaVu Sans Mono'
>>>>> pointSize:
>>>>>>>>>>> 9.
>>>>>>>>>>> titleFont := LogicalFont familyName: 'DejaVu Serif'
>>>>> pointSize: 11.
>>>>>>>>>>>
>>>>>>>>>>> Preferences setListFontTo: font.
>>>>>>>>>>> Preferences setMenuFontTo: font.
>>>>>>>>>>> Preferences setCodeFontTo: codeFont.
>>>>>>>>>>> Preferences setButtonFontTo: font.
>>>>>>>>>>> Preferences setSystemFontTo: font.
>>>>>>>>>>> Preferences setWindowTitleFontTo: titleFont.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Stef
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Pharo-project mailing list
>>>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>>>>>>>>>>> project
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> http://blog.ofset.org/hilaire
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Pharo-project mailing list
>>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Pharo-project mailing list
>>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Pharo-project mailing list
>>>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-project mailing list
>>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>>>>> project
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "Every thing has its own flow."
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-project mailing list
>>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>>>>>> project
>>>>>
>>>>>
>>>>> " Upgrade to Internet Explorer 8 Optimised for MSN. " Download
>>>>> Now_______________________________________________
>>>>> Pharo-project mailing list
>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
>>>>> project
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "No matter how many recipes we'll know, we'll still value a chef."
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> www.tudorgirba.com
>
> "In a world where everything is moving ever faster,
> one might have better chances to win by moving slower."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
May 22, 2009
Re: [Pharo-project] morph view hierarchy explorer
by Steve Wirts
it's there now.
Issue 840 <http://code.google.com/p/pharo/issues/detail?id=840>:
MorphViewHierarchyBrowser
code â¹ Prev<http://code.google.com/p/pharo/issues/detail?can=6&colspec=ID%20Type%20Stat…>93
of 93
1 person starred this issue and may be notified of changes.
On Fri, May 22, 2009 at 2:15 PM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
> wrote:
> Good! :)
> But really one day we will have to fix all the classes without comments.
>
> can you please add it to the bugtracker.
> I will harvest it and put it in the same package as the inspector.
>
> Stef
>
> On May 22, 2009, at 6:44 PM, Steve Wirts wrote:
>
> > Stef,
> >
> > I've renamed a few methods for clarity, utilized Morph>>flashBounds
> > method for flashing, added a class comment, and 2 examples.
> > is it at least a C- instead of D+ now?
> > :)
> >
> > let me know what else I should do?
> >
> >
> > On Fri, May 22, 2009 at 11:27 AM, Stéphane Ducasse <
> stephane.ducasse(a)inria.fr
> > > wrote:
> > Hi steven
> >
> > at the minimum you should comment the class and have some examples
> > methods that illustrate its purpose. ;)
> > and it would be to be able to invoke it from the inspector/explorer?
> > Then it would be good that the comments tell the user a little
> > scenario so that we can learn and improve from
> > it so far I had to read the cs file to see that you changed the debug
> > menu and
> > But for example I do not see how I can get one particular object to
> > flash
> >
> >
> >
> > On May 22, 2009, at 5:14 PM, Steve Wirts wrote:
> >
> > > I've enhanced a few things to make use of existing tools as per an
> > > early thread.
> > >
> > > Is there any chance this simple enhancement can get integrated into
> > > the main
> > > stream of developement? It really is quite usefull in understanding
> > > a complex
> > > morph composition.
> > > <
> > > ViewHierarchyExplorer
> > > .st>_______________________________________________
> > > Pharo-project mailing list
> > > Pharo-project(a)lists.gforge.inria.fr
> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > <
> > ViewHierarchyExplorer
> > .st>_______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 22, 2009
[Pharo-project] Sensor bug
by Stéphane Ducasse
Hi mike
it seems that any of the Form methods using Sensor blocks the image.
how do we fix that?
I have a lecture monday and I wanted to have fun with that.
Form exampleMagnify.
Form exampleBorder
None of the alphablending bitBlt examples work.
Clicking on any colored text in Form also blocks.
Stef
May 22, 2009
Re: [Pharo-project] morph view hierarchy explorer
by Stéphane Ducasse
Good! :)
But really one day we will have to fix all the classes without comments.
can you please add it to the bugtracker.
I will harvest it and put it in the same package as the inspector.
Stef
On May 22, 2009, at 6:44 PM, Steve Wirts wrote:
> Stef,
>
> I've renamed a few methods for clarity, utilized Morph>>flashBounds
> method for flashing, added a class comment, and 2 examples.
> is it at least a C- instead of D+ now?
> :)
>
> let me know what else I should do?
>
>
> On Fri, May 22, 2009 at 11:27 AM, Stéphane Ducasse <stephane.ducasse(a)inria.fr
> > wrote:
> Hi steven
>
> at the minimum you should comment the class and have some examples
> methods that illustrate its purpose. ;)
> and it would be to be able to invoke it from the inspector/explorer?
> Then it would be good that the comments tell the user a little
> scenario so that we can learn and improve from
> it so far I had to read the cs file to see that you changed the debug
> menu and
> But for example I do not see how I can get one particular object to
> flash
>
>
>
> On May 22, 2009, at 5:14 PM, Steve Wirts wrote:
>
> > I've enhanced a few things to make use of existing tools as per an
> > early thread.
> >
> > Is there any chance this simple enhancement can get integrated into
> > the main
> > stream of developement? It really is quite usefull in understanding
> > a complex
> > morph composition.
> > <
> > ViewHierarchyExplorer
> > .st>_______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <
> ViewHierarchyExplorer
> .st>_______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
May 22, 2009
Re: [Pharo-project] isoToSqueak question
by Philippe Marschall
Stéphane Ducasse wrote:
> While playing with the HTML package or (Scamper)
> I got the following error
>
>
> specialValue isoToSqueak
> isoToSqueak not understood by character
>
> What is now the correct invocation?
No invocation. ISO == Squeak these days.
Cheers
Philippe
May 22, 2009
Re: [Pharo-project] morph view hierarchy explorer
by Steve Wirts
Stef,
I've renamed a few methods for clarity, utilized Morph>>flashBounds method
for flashing, added a class comment, and 2 examples.
is it at least a C- instead of D+ now?
:)
let me know what else I should do?
On Fri, May 22, 2009 at 11:27 AM, Stéphane Ducasse <
stephane.ducasse(a)inria.fr> wrote:
> Hi steven
>
> at the minimum you should comment the class and have some examples
> methods that illustrate its purpose. ;)
> and it would be to be able to invoke it from the inspector/explorer?
> Then it would be good that the comments tell the user a little
> scenario so that we can learn and improve from
> it so far I had to read the cs file to see that you changed the debug
> menu and
> But for example I do not see how I can get one particular object to
> flash
>
>
>
> On May 22, 2009, at 5:14 PM, Steve Wirts wrote:
>
> > I've enhanced a few things to make use of existing tools as per an
> > early thread.
> >
> > Is there any chance this simple enhancement can get integrated into
> > the main
> > stream of developement? It really is quite usefull in understanding
> > a complex
> > morph composition.
> > <
> > ViewHierarchyExplorer
> > .st>_______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
May 22, 2009
Re: [Pharo-project] Port of Cryptography to Pharo
by Schwab,Wilhelm K
Stef,
I proposed that a while ago, but there was a stunning lack of response. The offer is still good however; I'd welcome a group effort to tackle it.
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse
Sent: Friday, May 22, 2009 9:55 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] Port of Cryptography to Pharo
Hi guys
Why don;t you join forces and create a Cryptography package which work for pharo and for you.
Mariano I still would love to know the method of integer that are missing
Stef
On May 22, 2009, at 4:47 PM, Jan van de Sandt wrote:
> Hello,
>
> I faced the same problem with Cloudfork-AWS. This project required the
> Cryptography package for generating the signatures using SHA and for
> generating MD5 hash values.
>
> When I had problems loading the package in Pharo and I learned that
> the package was no longer maintained I copied the classes I required
> to a Cloudfork package. I needed the MD5, SHA1 and SHA256 classes. I
> renamed them to CFMD5, CFSHA1 and CFSHA256, I also prefixed all the
> methods in the required class extensions with cf. For example
> ThirtyTwoBitRegister>>cfBitShift: anInteger. You can use a simular
> approach for Glorp.
>
> Jan.
>
> PS: Another dependency of Cloudfork is a HTTP client. I'm now
> playing around with the CurlPlugin, this plugin works very well.
> Things like supporting https become real easy
>
> 2009/5/22 Mariano Martinez Peck <marianopeck(a)gmail.com>
>
>
> On Fri, May 22, 2009 at 9:18 AM, Ramiro Diaz Trepat <ramiro.diaz.trepat(a)jpmorgan.com
> > wrote:
> I'm really sorry to hear it is no longer being maintained.
> It was a necessary package to connect to properly set up Postgres
> databases, that requiere sending password hashes with SHA-1. We
> will probably face this kind of need when interacting with the
> outside world in general.
>
> Yes. That's why I saw it. I am trying to make Glorp to work in
> Pharo, but as you know Glorp in Squeak only works with Postgres. And
> the native postgres driver requieres cryptography package when you
> use md5 :(
>
> Just for now, I disable md5 from my postgres and use "password" auth-
> method. With this, cryptography is not needed. However, this is not
> an option in a production enviorment.
>
> Cheers,
>
> Mariano
>
>
> It was a fantastic package, I wonder why the maintainers droped it.
> I suppose maintaining crypto frameworks up to date, with no
> vulnerabilities, is a lot of work.
> Sorry for venting out my sadnes to the list.
> Cheers
>
> r.
>
>
>
>
> -----Original Message-----
> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> ] On Behalf Of Stéphane Ducasse
> Sent: 22 May 2009 11:08
> To: Pharo-project(a)lists.gforge.inria.fr
> Subject: Re: [Pharo-project] Port of Cryptography to Pharo
>
> Ok I thought the cryptology package was working well and maintained.
>
> Stef
>
> On May 22, 2009, at 11:58 AM, Schwab,Wilhelm K wrote:
>
> > Agreed: I mentioned both curl and OpenSSL - we should embrace both.
> > AFACT, the cryptography package is a thing of the past, and we
> > should look to active projects. Tell me where I'm wrong, please.
> >
> > Another reality, fair or not: if we were to take on the enormous
> > burden of maintaining the cypto package, there would always be
> > questions about security holes we left open. The same will be true
> > of OpenSSL, but there is (not always fair) credibility in numbers
> > widely known projects. There will be would-be users of Pharo who
> > will want OpenSSL for its reputation, and who would question a home-
> > grown solution.
> >
> > Bill
> >
> >
> > From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> > ] On Behalf Of Fernando olivero
> > Sent: Friday, May 22, 2009 4:20 AM
> > To: Pharo-project(a)lists.gforge.inria.fr
> > Subject: Re: [Pharo-project] Port of Cryptography to Pharo
> >
> >
> > Just a comment,
> >
> > you could use the new AlienFFI framework to comunicate with curl.
> > Or reify any C library you want in Pharo.
> >
> > Fernando
> >
> >
> > On May 22, 2009, at 5:04 AM, Schwab,Wilhelm K wrote:
> >
> >> The most recent post on the crytography mailing list starts out as
> >> follows:
> >>
> >> Since the Cryptography Team doesn't exists anymore, the
> >> Cryptography package is not maintained by anyone. The SSL
> >> implementation doesn't allow easy debugging, you can't just turn on
> >> logging to see what's happening. Following the state machine
> >> transitions should give you the answer why the handshake isn't
> >> succeding. It might be related to certificates or TLS->SSL3
> >> fallback. If I were you, I would go with curl.
> >> I think it is time to write a wrapper around open SSL in addition
> >> to looking at the curl plugin. Trying to write cryptography code
> >> from scratch and get and keep it right is a huge effort, and pretty
> >> avoidable, and IMHO, better avoided by letting others do the job.
> >> Ever read Sun Tzu?
> >>
> >> Bill
> >>
> >>
> >>
> >> From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> >> ] On Behalf Of Mariano Martinez Peck
> >> Sent: Thursday, May 21, 2009 8:51 PM
> >> To: Pharo Development
> >> Subject: [Pharo-project] Port of Cryptography to Pharo
> >>
> >> I don't know if there is anyone of the developers of the package
> >> Cryptography but is someone is willing to do the port of it to
> >> Pharo? Most tests are break and it seems not to work because lots
> >> of Cryptography methods where in classes like SmallInteger and
> >> these methods were removed in Pharo.
> >>
> >> Regards,
> >>
> >> Mariano
> >> <ATT00001.txt>
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project(a)lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
May 22, 2009