Pharo 5 accented chars bug/regression

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

Pharo 5 accented chars bug/regression

rausm
Hi, seems like Pharo 5 (Win 7 64bit) has a regression / new bug with same symptoms as described in:
http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/2010-May/027180.html

Nearly all accented characters work ok.

Seems like any character can be pasted in and displays correctly, but any attempt to directly enter "č" or "ě" ("caron" + c / e) fails.

[I have a hunch there was some easy fix; either my memory plays tricks on me, or google can't find it]

Thanks for any tip,

  M.R.
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Pharo Smalltalk Users mailing list
Hi I have a solution for the problem you mentioned. I know what needs to
be done to be able to type those pesky e with caron, c with caron and
uppercase C with caron characters on Pharo 3, 4 and 5 on Windows. But
I want you to do something for me in return. I want you to go to
stackoverflow.com, and ask a question about this problem there. Post
the link to your question here. I will answer it. If my solution works
for you, you tag it as a solution and I get stackoverflow.com karma. Deal?

Milan




--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4899379.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Nicolai Hess-3-2


2016-06-06 15:46 GMT+02:00 Milan Vavra via Pharo-users <[hidden email]>:


---------- Weitergeleitete Nachricht ----------
From: Milan Vavra <[hidden email]>
To: [hidden email]
Cc: 
Date: Mon, 6 Jun 2016 06:07:14 -0700 (PDT)
Subject: Re: Pharo 5 accented chars bug/regression
Hi I have a solution for the problem you mentioned. I know what needs to
be done to be able to type those pesky e with caron, c with caron and
uppercase C with caron characters on Pharo 3, 4 and 5 on Windows. But
I want you to do something for me in return. I want you to go to
stackoverflow.com, and ask a question about this problem there. Post
the link to your question here. I will answer it. If my solution works
for you, you tag it as a solution and I get stackoverflow.com karma. Deal?

Milan




There is already a similar issue
18310  Cyrillic capital letter 'П' (U+041F) doesn't work in editors

I think this will be fixed when I am finished with the cleanup of the shortcut handling in our text components.
The posted solution on the bug entry is not yet ready for integration.

nicolai
 


--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4899379.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Milan Vavra
In reply to this post by Pharo Smalltalk Users mailing list
I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

I was so proud of myself. I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".

I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. I don't think a
site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter.

Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.

So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.


Milan

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Pharo Smalltalk Users mailing list
In reply to this post by Pharo Smalltalk Users mailing list
I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

I was so proud of myself. I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".

I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. I don't think a
site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter.

Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.

So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.


Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Nicolai Hess-3-2


2016-06-12 22:30 GMT+02:00 Milan Vavra via Pharo-users <[hidden email]>:


---------- Weitergeleitete Nachricht ----------
From: Milan Vavra <[hidden email]>
To: [hidden email]
Cc: 
Date: Sun, 12 Jun 2016 12:50:27 -0700 (PDT)
Subject: Re: Pharo 5 accented chars bug/regression
I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

I was so proud of myself. I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".

I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. I don't think a
site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter.

Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.

So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.



Hi Milan,

there are different ways to fix this bug. One way is to clean up the keystroke handling  - that is what I am working on.

If you have a fix for an intermediate solution, feel free to submit your solution.

best
nicolai
 
Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Peter Uhnak
In reply to this post by Pharo Smalltalk Users mailing list
I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. I don't think a
site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter. 

Are you referring to the post titled "Pharo/Seaside for Windows: Cannot type Latin č, Č, ě or Russian Ё, Л, М, Н, О, П characters in Workspace/Playground or System Browser"?

If so, then although it was (imho) a very nice bug report, it has no place on stackoverflow ; we have issue tracker for that https://pharo.fogbugz.com/
So my guess is that your post was downvoted because it didn't fit SO criteria for questions ( https://stackoverflow.com/help/on-topic ).

Judging by your SO rep you seem quite new to the site, so you might not be familiar with how the site works (reviewing queues, what's on topic https://stackoverflow.com/help/on-topic , etc.)

It is true that sometimes the questions are reviewed by people that have no knowledge of Pharo/Smalltalk, and then they will judge it on generic criteria, which sometimes results in incidents; however most of the time it seems to work rather well.
So blasting SO because of a single incident, and calling people you don't know "incompetent" is certainly not the way to have a discussion, whether you are right or wrong.

But I do not like places where anonymous bullying is actively encouraged.

Downvoting is not bullying, it's there to help ensure that SO doesn't become garbage dump… and there's a lot garbage incoming. I've reviewed almost thousand posts there and flagged almost half of them, and way too often the user clearly didn't even bother spending five minutes reading about the site and what's appropriate and what's not. With such constant flooding where literally every other question is garbage, I can see why people might be harsher… and not care about misflagging a small fraction of that… in this context it's better to have a more uptight standard than to loosen it up.
When you've asked/answered three questions, having one flagged is a lot and can be upsetting… it's third of all your work. If you have hundred(s) of questions you just shrug and move to the next one, because it's not worth to be upset over it.

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

It's a bug and as such should be fixed.
 
I was so proud of myself. I thought I deserved some recognition. And I
still do.
 
I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.

Explicitly asking for a recognition is going on a very thin ice.

You see, I've myself invested a ton of time into Pharo over past two years, but I wouldn't even dream about asking for recognition, because there are people who invested hundred and thousandfold times more and yet I barely thank them myself. The latest release ( http://pharo.org/news/pharo-5.0-released ) has hundred contributors… is it fair that the list has side-by-side people that invested maybe an hour into Pharo and next to him someone with thousands of hours?

Visibility is not built by fixing a single issue… there are tens of fixes every single week, but by continuous and systematic investment.
If and when people appreciate ones efforts is up to them. It certainly feels great when someone thanks you or appreciates your efforts, but it (to me) seems like a fragile ground to build your motivation upon. I contribute because I enjoy it, because I enjoy the system and I want to see it grow, because I want to learn and improve myself, and because I need the problems fixed for my work… and all of it is internal motivation… if noone thanks (which is the majority case for majority of bugs, because most people have no idea that a bug even existed or was fixed)… then I don't care, because I had fun and I made the system better. I actually feel guilty that I do not contribute enough and that I merely reap the benefits of other people's work.

But of course I can only speak for myself, and you may feel different about it. :)

Peter


On Sun, Jun 12, 2016 at 10:30 PM, Milan Vavra via Pharo-users <[hidden email]> wrote:


---------- Forwarded message ----------
From: Milan Vavra <[hidden email]>
To: [hidden email]
Cc: 
Date: Sun, 12 Jun 2016 12:50:27 -0700 (PDT)
Subject: Re: Pharo 5 accented chars bug/regression
I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

I was so proud of myself. I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".




Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.

So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.


Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Ben Coman
On Mon, Jun 13, 2016 at 6:39 AM, Peter Uhnák <[hidden email]> wrote:
>> I thought stackoverflow.com might be a good place for that. I was
>> wrong. Having had my stackoverflow.com post attacked by aggressive
>> incompetent anonymous down voters who were interested in down voting but
>> possess no sense of humor or knowledge of Pharo or Smalltalk I think
>> I understand now that stackoverflow.com is overrated. I don't think a
>> site that actively encourages that kind of behavior deserves to benefit
>> from my fix in any way. I would need a whole bunch of sympathizers to
>> overturn the downvoting. I am not sure it is worth anybody's time.

In spite of Peter's feedback on your specific post, in general I
agree. Several people in our community have found the same.  I've only
answered a few, not asked Pharo questions on SO, and some shot down by
people for "reasons" that didn't seem true, and really discouraged me
from participating.  Mainstream languages seem to have a lower
standard.  If they could let it be moderated by a
knowledgeable-topic-lieutenant aligned with their tough guidelines it
would be more palatable - but as it stands I find the mail list, issue
tracker and slack provide everything I need.

>>
>> I was so proud of myself. I thought I deserved some recognition.
>> And I still do.

Really glad to hear of your achievement.  Thanks for sharing.  Its a
significant step to choose to attack the problem yourself rather than
just report it (which also is good).  I remember a similar sense of
accomplishment and surprise with the degree I could dig deep into
Pharo to help resolve issues, and a little trepidation waiting for the
fix to be reviewed and integrated. I've gained a lot of knowledge from
such feedback (and also btw, reviewing other peoples fixes,
identifying the changes and tracing through that code before and after
loading the slice.)


>> I guess I would like to know how to get this fixed with my fix and get
>> some visibility in the process. If there is any interest.
>
>
> Explicitly asking for a recognition is going on a very thin ice.

This is a bit tough against a newcomer finding their way into the
community, feeling the exuberance of achievement (although a little
tainted by the karma trade offer rather than a pure gift.)  Although
"repeated" requests for recognition won't fit in, lets recognize the
effort to break the barriers to actively participate in improving
Pharo.  First posts and first contributions are as much social as
technical barriers.


Milan, For visibility, I'd be glad to hear you announce when your fix
has been integrated.  First integration is a significant milestone and
nice sense of accomplishment that is good to share.  Keep in mind
though, you'd best work for your own enjoyment and satisfaction.  Peer
esteem is something that builds over a sustained period.  btw, you may
find this interesting...
http://www.catb.org/esr/writings/homesteading/homesteading/ar01s13.html

as well as some other foundational writings on open source...
http://www.catb.org/esr/writings/cathedral-bazaar/
http://www.catb.org/esr/faqs/smart-questions.html


>
> You see, I've myself invested a ton of time into Pharo over past two years,
> but I wouldn't even dream about asking for recognition, because there are
> people who invested hundred and thousandfold times more and yet I barely
> thank them myself. The latest release (
> http://pharo.org/news/pharo-5.0-released ) has hundred contributors… is it
> fair that the list has side-by-side people that invested maybe an hour into
> Pharo and next to him someone with thousands of hours?
>
> Visibility is not built by fixing a single issue… there are tens of fixes
> every single week, but by continuous and systematic investment.
> If and when people appreciate ones efforts is up to them. It certainly feels
> great when someone thanks you or appreciates your efforts, but it (to me)
> seems like a fragile ground to build your motivation upon. I contribute
> because I enjoy it, because I enjoy the system and I want to see it grow,
> because I want to learn and improve myself, and because I need the problems
> fixed for my work… and all of it is internal motivation… if noone thanks
> (which is the majority case for majority of bugs, because most people have
> no idea that a bug even existed or was fixed)… then I don't care, because I
> had fun and I made the system better. I actually feel guilty that I do not
> contribute enough and that I merely reap the benefits of other people's
> work.
>
> But of course I can only speak for myself, and you may feel different about
> it. :)
>
> Peter
>
>
> On Sun, Jun 12, 2016 at 10:30 PM, Milan Vavra via Pharo-users
> <[hidden email]> wrote:
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Milan Vavra <[hidden email]>
>> To: [hidden email]
>> Cc:
>> Date: Sun, 12 Jun 2016 12:50:27 -0700 (PDT)
>> Subject: Re: Pharo 5 accented chars bug/regression
>> I have debugged the issue and figured out how to fix it. I have seen
>> it as an opportunity to learn Pharo debugging and I did learn a few
>> tricks on the way. It took me 2 full days of debugging.
>>
>> It is a simple fix that works for all the Pharo versions on Windows
>> that have this problem. Including Pharo 6 without Nicolai's fix applied.
>> And it does not break any shortcuts as far as I can tell.
>>
>> I was so proud of myself. I thought I deserved some recognition. And I
>> still do. It is not that someone else could not do it. I am sure that
>> many people would be able to do that as well. But I did take the time
>> to do it. And it worked. I kind of would have liked to be able to point
>> to it and say "I fixed that".


Two days is a significant commitment to one issue when you are
learning new tools and environment.  Its the sort of determination I'd
value in the community.  You are right to be proud.  Anyone *could* do
it.  But you actually *did* do it.  Unfortunately the nature of many
systems and ours is that when they *just*work* they don't get a lot of
notice.  But you'll *know*.  Sometimes its many months later that
something I've worked on get a comment and I feel a quiet little
thrill someone found my contribution useful.

>>
>> I understand that Nicolai is working on a fix of his own. The preliminary
>> version for future Pharo 6.0 shows promise. With it, it is possible to
>> type all the russian characters. Even with the fix it is not possible
>> to type the Latin 'č' but I guess that can be fixed too.
>>
>> Back to business:
>>
>> Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
>> benefit now from being able to type the characters č, Č, ě or Russian Ё,
>> Л, М, Н, О, П in Workspace/Playground and System Browser?

>>
>> I guess I would like to know how to get this fixed with my fix and get
>> some visibility in the process. If there is any interest.

Not many fixes are integrated to older releases. In the short term,
probably best for Pharo 3 & 4 to load your fix into their associated
Inbox and advise here what the package is so that someone searching
the problem months later can find it.  For Pharo 5 & 6 open issues as
Nicolai advised.  It can feel a little awkward going through the
process the first time, so keep plugging at it.  After you change is
integrated, it would be good if you can report any impediments you
encountered in the process.  Newcomers see things that the rest of us
forget and unconsciously work around after doing it a few times.

have fun,
cheers -ben

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

stepharo
In reply to this post by Pharo Smalltalk Users mailing list

Hello Milan




Re: Pharo 5 accented chars bug/regression.eml
Sujet :
Re: Pharo 5 accented chars bug/regression
De :
Milan Vavra [hidden email]
Date :
12/6/16 21:50
Pour :
[hidden email]

I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

Thanks for your time.
This is important because most of us are not fluent with encodings, especially me :)
It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

Super!
I was so proud of myself.
You can!
Could you sign the license agreement

    http://pharo.org/contribute


 I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".

I know that feeling :) and this is great that you could do it.

I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. 
You are the not the first one to get such bad experience. I do not understand why people are
that stupid.

I don't think a site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter.

Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. 

We are not like that. Pharo is our systems and people are here to improve it.
Open a bug entry on fogbugz and people will comment positively.

    http://pharo.org/contribute
But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.
This is why we do not really like people having strong opinion while being anonymous.
You can have a strong feeling but not bashing for bashing.
So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

It would be nice for Pharo 5. Since it will be the official version for about more than a year.

I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.


Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

kilon.alios
From what I have seen pharo on stackoverflow has becoming less and less active when we created the Slack channel. Also this mailing list helps a lot.

I used to be a supporter of stackoverflow but I have to agree with others, its moderation is beyond stupid.

I also found some tricks to make managing the mailing list easier, I created filters in my gmail account to gather anything concering pharo and put it in one place and I use Thunderbird to make the experience smoother. Mailing list and Slack is all we need.

On Mon, Jun 13, 2016 at 11:23 AM stepharo <[hidden email]> wrote:

Hello Milan




Re: Pharo 5 accented chars bug/regression.eml
Sujet :
Re: Pharo 5 accented chars bug/regression
De :
Milan Vavra [hidden email]
Date :
12/6/16 21:50
Pour :
[hidden email]

I have debugged the issue and figured out how to fix it. I have seen
it as an opportunity to learn Pharo debugging and I did learn a few
tricks on the way. It took me 2 full days of debugging.

Thanks for your time.
This is important because most of us are not fluent with encodings, especially me :)

It is a simple fix that works for all the Pharo versions on Windows
that have this problem. Including Pharo 6 without Nicolai's fix applied.
And it does not break any shortcuts as far as I can tell.

Super!
I was so proud of myself.
You can!
Could you sign the license agreement

    http://pharo.org/contribute



 I thought I deserved some recognition. And I
still do. It is not that someone else could not do it. I am sure that
many people would be able to do that as well. But I did take the time
to do it. And it worked. I kind of would have liked to be able to point
to it and say "I fixed that".

I know that feeling :) and this is great that you could do it.

I thought stackoverflow.com might be a good place for that. I was
wrong. Having had my stackoverflow.com post attacked by aggressive
incompetent anonymous down voters who were interested in down voting but
possess no sense of humor or knowledge of Pharo or Smalltalk I think
I understand now that stackoverflow.com is overrated. 
You are the not the first one to get such bad experience. I do not understand why people are
that stupid.

I don't think a site that actively encourages that kind of behavior deserves to benefit
from my fix in any way. I would need a whole bunch of sympathizers to
overturn the downvoting. I am not sure it is worth anybody's time.

I understand now that mailing lists have several good qualities that
stackoverflow.com does not have: posts can not disappear. People can not
anonymously make you look bad even if they are incompetent in the subject
matter.

Don't get me wrong. I'm ok with being told that I'm ugly or stupid
if I understand what it is that is disliked. 

We are not like that. Pharo is our systems and people are here to improve it.
Open a bug entry on fogbugz and people will comment positively.

    http://pharo.org/contribute

But I do not like places
where anonymous bullying is actively encouraged. Hey I even got a 'Peer
Pressure' badge for deleting my down voted post.
This is why we do not really like people having strong opinion while being anonymous.
You can have a strong feeling but not bashing for bashing.
So much for context.


I understand that Nicolai is working on a fix of his own. The preliminary
version for future Pharo 6.0 shows promise. With it, it is possible to
type all the russian characters. Even with the fix it is not possible
to type the Latin 'č' but I guess that can be fixed too.

Back to business:

Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
benefit now from being able to type the characters č, Č, ě or Russian Ё,
Л, М, Н, О, П in Workspace/Playground and System Browser?

It would be nice for Pharo 5. Since it will be the official version for about more than a year.


I guess I would like to know how to get this fixed with my fix and get
some visibility in the process. If there is any interest.


Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Tudor Girba-2
In reply to this post by stepharo
Hi Milan,

First of all, welcome in our community.

We do not maintain StackOverflow and the experience that you have there is not representative for our project. This mailing list(s), the Slack team and the issue tracker are.

Btw, debugging for 2 days is a great way to start learning Pharo. And we do appreciate the effort. Please do engage with us. We want your energy and your commitment.

Cheers,
Tudor



> On Jun 13, 2016, at 10:22 AM, stepharo <[hidden email]> wrote:
>
> Hello Milan
>
>
>>
>> Re: Pharo 5 accented chars bug/regression.eml
>> Sujet : Re: Pharo 5 accented chars bug/regression
>> De : Milan Vavra <[hidden email]>
>> Date : 12/6/16 21:50
>> Pour : [hidden email]
>> I have debugged the issue and figured out how to fix it. I have seen
>> it as an opportunity to learn Pharo debugging and I did learn a few
>> tricks on the way. It took me 2 full days of debugging.
>>
>
> Thanks for your time.
> This is important because most of us are not fluent with encodings, especially me :)
>> It is a simple fix that works for all the Pharo versions on Windows
>> that have this problem. Including Pharo 6 without Nicolai's fix applied.
>> And it does not break any shortcuts as far as I can tell.
>>
>
> Super!
>> I was so proud of myself.
> You can!
> Could you sign the license agreement
>
>     http://pharo.org/contribute
>
>
>>  I thought I deserved some recognition. And I
>> still do. It is not that someone else could not do it. I am sure that
>> many people would be able to do that as well. But I did take the time
>> to do it. And it worked. I kind of would have liked to be able to point
>> to it and say "I fixed that".
>>
>
> I know that feeling :) and this is great that you could do it.
>>
>> I thought stackoverflow.com might be a good place for that. I was
>> wrong. Having had my stackoverflow.com post attacked by aggressive
>> incompetent anonymous down voters who were interested in down voting but
>> possess no sense of humor or knowledge of Pharo or Smalltalk I think
>> I understand now that stackoverflow.com is overrated.
>>
> You are the not the first one to get such bad experience. I do not understand why people are
> that stupid.
>
>> I don't think a site that actively encourages that kind of behavior deserves to benefit
>> from my fix in any way. I would need a whole bunch of sympathizers to
>> overturn the downvoting. I am not sure it is worth anybody's time.
>>
>> I understand now that mailing lists have several good qualities that
>> stackoverflow.com does not have: posts can not disappear. People can not
>> anonymously make you look bad even if they are incompetent in the subject
>> matter.
>>
>> Don't get me wrong. I'm ok with being told that I'm ugly or stupid
>> if I understand what it is that is disliked.
>>
>
> We are not like that. Pharo is our systems and people are here to improve it.
> Open a bug entry on fogbugz and people will comment positively.
>
>     http://pharo.org/contribute
>> But I do not like places
>> where anonymous bullying is actively encouraged. Hey I even got a 'Peer
>> Pressure' badge for deleting my down voted post.
>>
> This is why we do not really like people having strong opinion while being anonymous.
> You can have a strong feeling but not bashing for bashing.
>> So much for context.
>>
>>
>> I understand that Nicolai is working on a fix of his own. The preliminary
>> version for future Pharo 6.0 shows promise. With it, it is possible to
>> type all the russian characters. Even with the fix it is not possible
>> to type the Latin 'č' but I guess that can be fixed too.
>>
>> Back to business:
>>
>> Is there anyone out there using Pharo 3, 4, 5 or 6 on Windows that would
>> benefit now from being able to type the characters č, Č, ě or Russian Ё,
>> Л, М, Н, О, П in Workspace/Playground and System Browser?
>>
>
> It would be nice for Pharo 5. Since it will be the official version for about more than a year.
>>
>> I guess I would like to know how to get this fixed with my fix and get
>> some visibility in the process. If there is any interest.
>>
>>
>> Milan
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900559.html
>>
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>>
>

--
www.tudorgirba.com
www.feenk.com

"Don't give to get. Just give."







Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Milan Vavra
In reply to this post by stepharo
Thank you all,
your feedback is appreciated.

You have raised many points and so I probably won't be addressing
them all. But thanks again for all. I did read all the responses.
I will re-read them for more inspiration.

I understand posting on this list is like going into a room with over
a 100 people and saying something. So if 100 people spend 10 minutes to
read this - that's a lot of minutes.

So I don't want to waste your time. Feel free NOT to read this.  But if
you do read this, there is an attempt at a joke towards the end. You
might even find it funny. Or not.

I'm posting this through Nabble and it seems to post everything I post
twice. Once as 'Pharo Smalltalk Users mailing list' and as 'Milan Vavra'
too. I have no idea why. Enlighten me if you can.

My original motivation was and is to be able to show to a potential
employer before and/or during the interview the sort problem fixing that
I can do. Even should the job have nothing to do with Smalltalk or Pharo
(then it might be an opportunity for a little Pharo/Smalltalk evangelism
but I digress). If there is an easy way to show that version X has a
problem - then I can show that I have the skills to fix that. If it is
fixed in the meantime I can just point to the fixed version Y and say:
"yeah, I fixed that". If there is some supporting evidence that should
give more credibility to my other claims that are unverifiable due to
the fact that they involved proprietary code that I just can not show
anyone. So their value in an interview is limited because it depends
on trust or a reference from someone else (trust again but vested in
the reference). But the Pharo fix should be an independently verifiable
claim. Of course there is a chance that I hired someone to fix that issue
for me and I don't have the skills. So a few follow up questions should
be in order to see whether or not I know what I am talking about.

On positive feedback. I think negative feedback is ok. Please
do give me negative feedback. I can take it. It can point me to
perceived problems I were not aware of. What I do want however is
***constructive*** feedback. Actionable feedback. If you have a strong
opinion state it clearly but it should be of the kind: "To do [thing]
is stupid/ugly/whatever. We/you should do [something else] because
[explanation]."


I think Peter raised the issue: "is it fair that everyone gets mentioned
even though their contributions are not comparable". I am not ashamed
to say: "YES!". However it is not the same as saying that what I can
(potentially, you have not seen it yet) do is more valuable than what
others did in making Pharo happen in the first place. I had a minor role
in the movie. But I deserve a place in the credits. If there were no you
(all of you who have contributed so far) Pharo would not be what it is
today. A sexy development environment. If there were no me, someone else
would have to step up and do what I did. I am fully aware of that. Me
trying to contribute is a "thank you" of sorts to all of you.

Small contribution with big impact. In a way it is not that small a
contribution considering the impact it can have on Pharo adoption. In
Smalltalk "a little code goes a long way". Consider this scenario,
a true story: I first downloaded my first Pharo back when 3.0 was
new. On Windows XP. I played with it a little. Got excited (sooooo
sexy!). But then came the blow. What? I can not type č? Is my keyboard
broken? Severed cable? No? Oh ok. It just won't let me. There goes my
contact management application. Bummer. It seems the IDE is not used by
anyone in the Czech Republic on Windows. Otherwise someone would have
noticed. Oh. Well. I don't have the skill to debug this yet. I am not
sure how to report this. Oh well let's wait until someone fixes this. And
it gave me the impression Pharo 3.0 is immature technology. This could
be happening in any country that uses č as part of their language
- Latvia, Lithuania, Serbia, Slovakia (Russia, Bulgaria, Croatia -
for the russian characters). A year later Pharo 4.0 came out and it
still was not fixed. Then Pharo 5.0 - same story. I have been learning
Smalltalk in small steps on Squeak and Pharo trying things from SBE
and PBE and my contact management example based on an excellent video
by Laurent Laffont. To cut a long story short only this month I have
reached the point that I was thinking maybe now I have what it takes to
fix this. And the excellent videos of the Pharo MOOC definitely played
a part too. Thanks to everyone involved. Anyway I tried to debug this
issue and it worked. So what if you were able to wave the magic wand to
make that bug go away? I have that wand. I'll see if I can jump through
the hoops of the contribution process although it might take some time.

On a lighter note, I had a bright vision of how I could get some credit
for being able to fix this. I would find hire some really hot hostess
or two for an upcoming Pharo conference in Prague. They would have the
following on their T-shirts. One: 'č, Č, ě, Anyone?' and the other
'Ё ,Л, М, Н, О, П, Anyone?' and 'Ask me how' on the back. :-). And
their job would be to hand out my email address to anyone interested. Or
even point to me standing in the distance. I bet they would command
some attention.

Mentoring. It would be nice to know how to find a mentor for the contribution
process, possibly beyond.

Thanks for your attention,
Milan










Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Pharo Smalltalk Users mailing list
In reply to this post by stepharo
Thank you all,
your feedback is appreciated.

You have raised many points and so I probably won't be addressing
them all. But thanks again for all. I did read all the responses.
I will re-read them for more inspiration.

I understand posting on this list is like going into a room with over
a 100 people and saying something. So if 100 people spend 10 minutes to
read this - that's a lot of minutes.

So I don't want to waste your time. Feel free NOT to read this.  But if
you do read this, there is an attempt at a joke towards the end. You
might even find it funny. Or not.

I'm posting this through Nabble and it seems to post everything I post
twice. Once as 'Pharo Smalltalk Users mailing list' and as 'Milan Vavra'
too. I have no idea why. Enlighten me if you can.

My original motivation was and is to be able to show to a potential
employer before and/or during the interview the sort problem fixing that
I can do. Even should the job have nothing to do with Smalltalk or Pharo
(then it might be an opportunity for a little Pharo/Smalltalk evangelism
but I digress). If there is an easy way to show that version X has a
problem - then I can show that I have the skills to fix that. If it is
fixed in the meantime I can just point to the fixed version Y and say:
"yeah, I fixed that". If there is some supporting evidence that should
give more credibility to my other claims that are unverifiable due to
the fact that they involved proprietary code that I just can not show
anyone. So their value in an interview is limited because it depends
on trust or a reference from someone else (trust again but vested in
the reference). But the Pharo fix should be an independently verifiable
claim. Of course there is a chance that I hired someone to fix that issue
for me and I don't have the skills. So a few follow up questions should
be in order to see whether or not I know what I am talking about.

On positive feedback. I think negative feedback is ok. Please
do give me negative feedback. I can take it. It can point me to
perceived problems I were not aware of. What I do want however is
***constructive*** feedback. Actionable feedback. If you have a strong
opinion state it clearly but it should be of the kind: "To do [thing]
is stupid/ugly/whatever. We/you should do [something else] because
[explanation]."


I think Peter raised the issue: "is it fair that everyone gets mentioned
even though their contributions are not comparable". I am not ashamed
to say: "YES!". However it is not the same as saying that what I can
(potentially, you have not seen it yet) do is more valuable than what
others did in making Pharo happen in the first place. I had a minor role
in the movie. But I deserve a place in the credits. If there were no you
(all of you who have contributed so far) Pharo would not be what it is
today. A sexy development environment. If there were no me, someone else
would have to step up and do what I did. I am fully aware of that. Me
trying to contribute is a "thank you" of sorts to all of you.

Small contribution with big impact. In a way it is not that small a
contribution considering the impact it can have on Pharo adoption. In
Smalltalk "a little code goes a long way". Consider this scenario,
a true story: I first downloaded my first Pharo back when 3.0 was
new. On Windows XP. I played with it a little. Got excited (sooooo
sexy!). But then came the blow. What? I can not type č? Is my keyboard
broken? Severed cable? No? Oh ok. It just won't let me. There goes my
contact management application. Bummer. It seems the IDE is not used by
anyone in the Czech Republic on Windows. Otherwise someone would have
noticed. Oh. Well. I don't have the skill to debug this yet. I am not
sure how to report this. Oh well let's wait until someone fixes this. And
it gave me the impression Pharo 3.0 is immature technology. This could
be happening in any country that uses č as part of their language
- Latvia, Lithuania, Serbia, Slovakia (Russia, Bulgaria, Croatia -
for the russian characters). A year later Pharo 4.0 came out and it
still was not fixed. Then Pharo 5.0 - same story. I have been learning
Smalltalk in small steps on Squeak and Pharo trying things from SBE
and PBE and my contact management example based on an excellent video
by Laurent Laffont. To cut a long story short only this month I have
reached the point that I was thinking maybe now I have what it takes to
fix this. And the excellent videos of the Pharo MOOC definitely played
a part too. Thanks to everyone involved. Anyway I tried to debug this
issue and it worked. So what if you were able to wave the magic wand to
make that bug go away? I have that wand. I'll see if I can jump through
the hoops of the contribution process although it might take some time.

On a lighter note, I had a bright vision of how I could get some credit
for being able to fix this. I would find hire some really hot hostess
or two for an upcoming Pharo conference in Prague. They would have the
following on their T-shirts. One: 'č, Č, ě, Anyone?' and the other
'Ё ,Л, М, Н, О, П, Anyone?' and 'Ask me how' on the back. :-). And
their job would be to hand out my email address to anyone interested. Or
even point to me standing in the distance. I bet they would command
some attention.

Mentoring. It would be nice to know how to find a mentor for the
contribution
process, possibly beyond.

Thanks for your attention,
Milan














--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4900875.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Ben Coman
On Wed, Jun 15, 2016 at 1:27 AM, Milan Vavra via Pharo-users
<[hidden email]> wrote:

>
>
> ---------- Forwarded message ----------
> From: Milan Vavra <[hidden email]>
> To: [hidden email]
> Cc:
> Date: Tue, 14 Jun 2016 09:47:21 -0700 (PDT)
> Subject: Re: Pharo 5 accented chars bug/regression
> Thank you all,
> your feedback is appreciated.
>
> You have raised many points and so I probably won't be addressing
> them all. But thanks again for all. I did read all the responses.
> I will re-read them for more inspiration.
>
> I understand posting on this list is like going into a room with over
> a 100 people and saying something. So if 100 people spend 10 minutes to
> read this - that's a lot of minutes.
>
> So I don't want to waste your time. Feel free NOT to read this.  But if
> you do read this, there is an attempt at a joke towards the end. You
> might even find it funny. Or not.
>
> I'm posting this through Nabble and it seems to post everything I post
> twice. Once as 'Pharo Smalltalk Users mailing list' and as 'Milan Vavra'
> too. I have no idea why. Enlighten me if you can.
>
> My original motivation was and is to be able to show to a potential
> employer before and/or during the interview the sort problem fixing that
> I can do. Even should the job have nothing to do with Smalltalk or Pharo
> (then it might be an opportunity for a little Pharo/Smalltalk evangelism
> but I digress). If there is an easy way to show that version X has a
> problem - then I can show that I have the skills to fix that. If it is
> fixed in the meantime I can just point to the fixed version Y and say:
> "yeah, I fixed that". If there is some supporting evidence that should
> give more credibility to my other claims that are unverifiable due to
> the fact that they involved proprietary code that I just can not show
> anyone. So their value in an interview is limited because it depends
> on trust or a reference from someone else (trust again but vested in
> the reference). But the Pharo fix should be an independently verifiable
> claim. Of course there is a chance that I hired someone to fix that issue
> for me and I don't have the skills. So a few follow up questions should
> be in order to see whether or not I know what I am talking about.


You wont get the best value from this bringing it up as a new topic in
an interview.  Interviews are a big cost for the employer and usually
by the time you get there, they already think they want you.  The
interviewer already has an agenda basically verifying things they have
already learnt about you.  What you want to do is get it on the agenda
pre-interview, to help you get through the front door to interview
stage.  The *very* best thing you can do is write a blog about your
experiences, then link to it on your resume.  The interviewer *will*
review it and they "get to know you" - which really helps you stand
out in their mind from all the other pieces of paper that float across
their desk.  Take a few articles to write about your journey
discovering Pharo, intermediate experience, what makes it stand out
from other environments and culminate in describing your feelings
about making your first contribution and *why* you've chosen to do so.
You might even get your post linked from Pharo Weekly.

btw, after your contribution is integrated, submit your details to be
added to pharo contributors
http://pharo.org/about



> On positive feedback. I think negative feedback is ok. Please
> do give me negative feedback. I can take it. It can point me to
> perceived problems I were not aware of. What I do want however is
> ***constructive*** feedback. Actionable feedback. If you have a strong
> opinion state it clearly but it should be of the kind: "To do [thing]
> is stupid/ugly/whatever. We/you should do [something else] because
> [explanation]."
>
>
> I think Peter raised the issue: "is it fair that everyone gets mentioned
> even though their contributions are not comparable". I am not ashamed
> to say: "YES!". However it is not the same as saying that what I can
> (potentially, you have not seen it yet) do is more valuable than what
> others did in making Pharo happen in the first place. I had a minor role
> in the movie. But I deserve a place in the credits. If there were no you
> (all of you who have contributed so far) Pharo would not be what it is
> today. A sexy development environment. If there were no me, someone else
> would have to step up and do what I did. I am fully aware of that. Me
> trying to contribute is a "thank you" of sorts to all of you.
>
> Small contribution with big impact. In a way it is not that small a
> contribution considering the impact it can have on Pharo adoption. In
> Smalltalk "a little code goes a long way". Consider this scenario,
> a true story: I first downloaded my first Pharo back when 3.0 was
> new. On Windows XP. I played with it a little. Got excited (sooooo
> sexy!). But then came the blow. What? I can not type č? Is my keyboard
> broken? Severed cable? No? Oh ok. It just won't let me. There goes my
> contact management application. Bummer. It seems the IDE is not used by
> anyone in the Czech Republic on Windows. Otherwise someone would have
> noticed. Oh. Well. I don't have the skill to debug this yet. I am not
> sure how to report this. Oh well let's wait until someone fixes this. And
> it gave me the impression Pharo 3.0 is immature technology. This could
> be happening in any country that uses č as part of their language
> - Latvia, Lithuania, Serbia, Slovakia (Russia, Bulgaria, Croatia -
> for the russian characters). A year later Pharo 4.0 came out and it
> still was not fixed. Then Pharo 5.0 - same story. I have been learning
> Smalltalk in small steps on Squeak and Pharo trying things from SBE
> and PBE and my contact management example based on an excellent video
> by Laurent Laffont. To cut a long story short only this month I have
> reached the point that I was thinking maybe now I have what it takes to
> fix this. And the excellent videos of the Pharo MOOC definitely played
> a part too. Thanks to everyone involved. Anyway I tried to debug this
> issue and it worked. So what if you were able to wave the magic wand to
> make that bug go away? I have that wand. I'll see if I can jump through
> the hoops of the contribution process although it might take some time.
>
> On a lighter note, I had a bright vision of how I could get some credit
> for being able to fix this. I would find hire some really hot hostess
> or two for an upcoming Pharo conference in Prague. They would have the
> following on their T-shirts. One: 'č, Č, ě, Anyone?' and the other
> 'Ё ,Л, М, Н, О, П, Anyone?' and 'Ask me how' on the back. :-). And
> their job would be to hand out my email address to anyone interested. Or
> even point to me standing in the distance. I bet they would command
> some attention.


I don't really want to be the one to discourage hot hostesses ;) but I
think this would come across a bit false - like buying your way to
fame.  Your money is probably better spent on donating a few pizzas to
the hacking sessions that often accompany these events.  Or offer your
time and effort into help organise the event (plus you end up
interfacing with a lot of people.)  If you a up for public speaking,
be the one introducing the speakers, or get a ten minute presentation
slot just to introduce yourself and give a newcomers perspective, for
other newcomers in the audience to identify with and perhaps be
encouraged to follow the same path.

cheers -ben

>
> Mentoring. It would be nice to know how to find a mentor for the
> contribution process, possibly beyond.
>
> Thanks for your attention,
> Milan

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

stepharo
In reply to this post by Pharo Smalltalk Users mailing list
Hi Milan

are you attending ESUG?
Because this is a nice way to meet people.
ESUG has special prices because we always prefer more people than more
money ;)

Just keep going having fun with Pharo.
Sorry that we did not fix this before (BTW there is an accent in my
first name and you cannot imagine the number of time it is broken
especially in US :).
Stef

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Pharo Smalltalk Users mailing list
Hi Stef,

I was thinking it might be a good idea to attend the conference. I'm not
sure I can make it, but if at all possible I want to go. After all it
is quite close to home for me - being a Czech citizen I would only need
to travel nationally.

I even had a flash of inspiration (thank you Ben) - I could give a short
10 minute talk in English with the title

'Člověče, nezlob se! - How to use the time machine for debugging'.

I would give beginners like myself a little demo of how I debugged the
issue and reveal the fix towards the end. Very dramatic :-).

'Člověče, nezlob se!' is the name for the Ludo board game in Czech,
literally it means 'do not get angry' and it also happens to contain
all the accented latin characters that can not be typed on the Windows
versions of Pharo.

Obviously if I had to talk at the conference, I would HAVE TO attend :-).

Milan





--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4901191.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Milan Vavra
In reply to this post by Milan Vavra
Here's what you can do to be able to type c with caron in Pharo 3.0, 4.0, 5.0 on Windows:

You perform a little bit of brain surgery on the event handling.

*** Warning! This could void your warranty! ***
If you do this wrong, your image might stop responding to keystrokes
or mouse or just freeze altogether. Save any important data
you may have in the image before you proceed.

You modify
HandMorph>>#generateKeyboardEvent:
as follows.
After a line that goes
        charCode := evtBuf sixth.
you put another one that looks like this:
        charCode > 255 ifTrue: [ keyValue := 0 ].
Save.
Done.

If you did it right, you can now type c with caron and friends.

Specifically c with caron, e with caron, uppercase E with caron.
And some uppercase cyrilic characters.

What this does is that it trusts that the value in charCode is more reliable than
that in keyValue. The national characters with Unicode code points of over 255
get passed in to the image from the vm with bogus value of keyValue so if we
see a Unicode character with a code point of over 255 we zero the bogus value
so it can do no harm.

Best Regards,

Milan Vavra
Reply | Threaded
Open this post in threaded view
|

Re: Pharo 5 accented chars bug/regression

Pharo Smalltalk Users mailing list
In reply to this post by Milan Vavra
Here's what you can do to be able to type c with caron in Pharo 3.0, 4.0, 5.0
on Windows:

You perform a little bit of brain surgery on the event handling.

*** Warning! This could void your warranty! ***
If you do this wrong, your image might stop responding to keystrokes
or mouse or just freeze altogether. Save any important data
you may have in the image before you proceed.

You modify
HandMorph>>#generateKeyboardEvent:
as follows.
After a line that goes
        charCode := evtBuf sixth.
you put another one that looks like this:
        charCode > 255 ifTrue: [ keyValue := 0 ].
Save.
Done.

If you did it right, you can now type c with caron and friends.

Specifically c with caron, e with caron, uppercase E with caron.
And some uppercase cyrilic characters.

What this does is that it trusts that the value in charCode is more reliable
than
that in keyValue. The national characters with Unicode code points of over
255
get passed in to the image from the vm with bogus value of keyValue so if we
see a Unicode character with a code point of over 255 we zero the bogus
value
so it can do no harm.

Best Regards,

Milan Vavra




--
View this message in context: http://forum.world.st/Pharo-5-accented-chars-bug-regression-tp4898863p4919947.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.