Re: [Pharo-users] [Pharo-dev] Spotter Survey

2016-03-29 Thread Martin Bähr
Excerpts from Nicolai Hess's message of 2016-03-29 11:02:19 +0200:
> Hi, some questions are unclear to me:
> 
> What does this question means:
> "Did you use Spotter before?"
> 
> before what?
> Before I took this survey?

try answering "no" and see what happens ;-)

> For the dive-in feature, I would answer something like:
> I find the feature useful, but it often gives irrelevant results.

so the feature itself is not irrelevant, but the results are...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org        realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Setup a Launcher distribution for Pharo trainings/presentations on Windows

2016-03-23 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2016-03-23 09:45:09 +0100:
> I was asked on #slack by martin how he can create an up to date setup with
> "PharoLauncher" configuration locally that he can afterwards easily
> distribute ("unzip and go") to 40 Windows PCs for a training/presentation.
> 
> He was preparing Pharo for Singapore FOSSASIA conference workshop at the
> science center computer lab.
> 
> I helped him with the following short guide that may be useful to others too.

thank you again torsten.
you saved me a lot of work there.

the workshop went quite well, btw, the audience was enthusiastic. 
sadly though it was very small too. the kids were more interested in IoT and
android workshops than learning smalltalk.

i need to work on a more capturing introduction for next time. 
or maybe look into smalltalk for robots or something like that.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Call for action for Roassal

2016-03-09 Thread Martin Bähr
hi,

i just remembered two things:

i'd like to see rounded corners on nodes.

Excerpts from stepharo's message of 2016-02-24 12:42:49 +0100:
>  - having a better output (arrows, edge)

and related to edges:

i'd like edges to connect to a node on the border of the box, not to the center
of the node. this means the connecting point would always be at the middle of
the side of one edge:

 ___\|/___ 
| |
   \| |/
  --| |--
   /| |\
|_|
/|\

bezier edges should always leave at a 90deg angle:
 | 
| |
| | 
  --| |--
| | 
|_|
 | 

optionally, starting at the corners could also be nice:

\_/
| |
| | 
| |  
| | 
|_|
/ \

and in such a case bezier edges should leave at 135deg to each side.

by default the edge should find the nearest connection point, but i'd like to
configure a list of allowed points.

finally, multiple edges in the same general direction should either leave at
the same point, pick the nearest side that doesn't have an edge already.
or spaced evenly along the same side if all available sides have edges already.

the list of allowed connection points would have 12 options: 
the middle of 4 sides, 4 corners, and 4 sides as a whole when multiple edges
should be spaced evenly.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [Moose-dev] Re: Call for action for Roassal

2016-02-24 Thread Martin Bähr
Excerpts from Peter Uhnák's message of 2016-02-24 10:35:05 +0100:
> In any case, I wrote a simpler layout delegator in Roassal that delegates
> the layouting to graphviz and it works reasonably well, so I could probably
> add it to Roassal (you however need graphviz installed and it would add
> another dependency to Roassal, which I'm not so keen on).

how does that work? does it ask graphviz for the position of the nodes and then
recreate that in roassal?

given that there is no comparable layout in roassal available this would
certainly be useful. 

> Maybe also OGDF (http://ogdf.net/doku.php) could be used if you are ok with
> GPL… they have their own graph format so there could be some interaction.

this would work the same as with graphviz as an additional dependency on ogdf, 
right?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2016 Application update

2016-02-17 Thread Martin Bähr
Excerpts from Stephan Eggermont's message of 2016-02-17 10:30:24 +0100:
> > How will you help your students stay on schedule to complete their
> > projects? (886/1000)
> I have had excellent experiences with a compressed scrum, using a (near) 
> daily cycle where the student demos todays code and discusses steps for 
> the next day.

i am not very familiar with scrum. it was my understanding that daily standup
is part of a regular scrum. so you make a plan for a week or two, and talk
about the progress every day.

this is what i did with my students last year. in the daily standup every
student reports what they worked on since the standup, and what they plan to
work on next. we did that on irc, so students would write their reports.
after the reports we discuss issues.

one issue i found is, that it gets a little one-sided if there is only one
student (i had two unrelated projects, so one student was alone, but i made her
report in the #pharo channel), so i would suggest to have all students join the
meeting at the same time and place. (slack is probably the best tool for this) 

then it's just a matter of finding a good time that fits everyone. maybe two
or three times will be better if pharo gets more than a few students.

however, having everyone join the same meeting helps show everyone how much
others get done, and generally should help foster community.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2016 Application update

2016-02-17 Thread Martin Bähr
Excerpts from jtuc...@objektfabrik.de's message of 2016-02-17 09:34:05 +0100:
> I think the answers to the questions on former years are incorrect. In 
> recent years, ESUG applied and was either accepted or rejected. This is 
> the first time the Pharo commuinity applies. 

pharo applied last year too.

> Maybe this shoule be made clear...

how was this question answered last year?
the feedback from googles feedback session last year was that there were no
issues with the pharo application (there were just to many good organizations
to be accepted)

to explain the relationship to esug, it may be worth mentioning that at least 6
out of the 10 projects from 2012 were pharo projects. (one was VM, one was a
smalltalk tutorial, and two i could not tell from the description) 

in 2010 also most projects were pharo based or cross-platform

(for 2007 and 2008 i can't see the list, so i don't know) 

http://www.google-melange.com/gsoc/org2/google/gsoc2012/esug
http://www.google-melange.com/gsoc/org2/google/gsoc2010/esug

another way to look at it would be to count which mentors in previous years
came from pharo.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [Bulk] smalltalk banner or poster for FOSSASIA conference.

2016-02-09 Thread Martin Bähr
Excerpts from Hernán Morales Durand's message of 2016-02-09 22:39:56 +0100:
> Last year there was a poster made by Adam a...@234.cz
> I don't know if that fits your goals, the poster license or if he's still
> around, maybe you could check with him if there's an update.

that one was my first thought actually:
https://github.com/AdamSadovsky/pharo-family

it is a bit dense for a banner though, as people won't usually get close to it
to read.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] smalltalk banner or poster for FOSSASIA conference.

2016-02-06 Thread Martin Bähr
hi,

as i have been working on smalltalk projects within FOSSASIA for Google Summer
of Code and Google Code-In, as well as run smalltalk workshops at the FOSSASIA
conference, i have been invited to run a small booth and put up a banner about
smalltalk.

details about the conference are here: http://2016.fossasia.org/

since time is short, i wonder if a banner design for pharo already exists, that
i could use. alternatively, a poster, that can be stretched, or two posters on
top of each other. if there is nothing ready, maybe the design that was posted
to the list most recently can be stretched into a banner.

my workshop this year will be using roassal, so something about that would also
work, or other smalltalk topics, like squeak, etoys, etc...

it would of course also be nice to meet other smalltalkers in singapore next
month.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Martin Bähr
Excerpts from Dimitris Chloupis's message of 2016-01-20 12:36:37 +0100:
> we have witnessed 3 great migrations of coders
> 1) The migration from Assembly to C/C++ and other high level languages
> 2) The migration from C++ as the dominant force of coding to Java
> 3) The migration from static types languages to dynamic typed languages

that's a great observation! and you are right, dynamic typed languages have won
and smalltalk and lisp had it right all along.

> On the matter of python getting optional static typing I can say this and
> predict this, static type will never become anywhere as big for python as
> generic types are in static type languages and I say that because I have a
> good understanding of the python culture.

that's a good point too. what i am interested in is the fact that having types
available in these languages, research can finally look for conclusive evidence
of how much advantage types really give, because all other differences between
eg python and c++ are eliminated.

i simply do not believe that any findings about types, by comparing python with
c++ is valid because they are such different beasts of languages.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-20 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2016-01-20 09:09:00 +0100:
> What was also in the original article is the point that yes, refactoring is a
> bit easier, more correct and more powerful in a static typed language, but
> you need much more refactoring there because of all this extra coding to
> maintain the type constraints (again for little gain).

which extra coding do you mean here? can you give an example?

i once translated code from untyped common lisp to typed pike, and the result 
was
almost identical. there was no extra code whatsoever. the only really difference
was that variables had type declarations.

looking at typescript for example, it has a feature where you can take existing
javascript libraries and add type annotations in a separate file. how would
adding that type information lead to extra code? that simply makes no sense. 

if you talk about extra code in java or c++, then that's because those
languages are different to dynamic languages in many other ways, not just
types.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Dynamic Typing > Static Typing? « games.greggman.com

2016-01-19 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2016-01-19 22:09:44 +0100:
> > http://games.greggman.com/game/dynamic-typing-static-typing/ 
> > <http://games.greggman.com/game/dynamic-typing-static-typing/>
> In a dynamically typed language you write (a lot) less code for a shorter 
> program that is easier and faster to write and debug, which gives you more 
> time to think about what you are doing, resulting in more reliable programs.
> 
> Static typing catches only a (very) small amount of typing errors, that are 
> just as easy to handle as dynamic typing exceptions, but they are a bit 
> faster.

if that is the case, then why are people working on typescript, why are both
python and ruby getting optional types?

i think this is a comparison of apples with oranges.
even without typing languages like java, c and c++ are significantly different
from dynamic languages like python, ruby, smalltalk and others.

adding typing to javascript, python and ruby means that we can have our cake
and eat it too. 

so i'll wait for this study to be redone in the next decade, to compare typed
with untyped javascript, python and ruby. and only that will show us the real
truth. does adding types, with everything else being equal, really make a
difference, or not?

btw: the guys at rubyrogues make an interesting argument why lack of typing
works better in smalltalk than it does in ruby:
http://devchat.cachefly.net/rubyrogues/transcript-155-rr-why-ruby-sucks-ruby-rogues.pdf
read page 8 of that transcript.

basically they are saying that because java and c/c++ are compiled they can be
analyzed statically and you can build great refactoring tools for them because
the tools can predict which methods are the same.
and in difference to that smalltalk and lisp only know the code at runtime and
so they can't make those predictions. but they make up for that because they
are always running. there is no such thing as not runtime. you can simply ask
the system about its state, like find out which object in the whole system
would respond to a particular message. and in ruby you can't do either of those.

disclaimer: for the last 20 years, my main programming language has been pike,
a dynamic language like smalltalk, but with declarative typing. (it's optional,
in the sense that you can declare a type as "mixed" which can be anything, so
just like typescript, and how python and ruby will be once they have optional
types)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Transcendental #new (was Re: why Pillar)

2015-12-28 Thread Martin Bähr
Excerpts from Ben Coman's message of 2015-12-28 12:52:02 +0100:
> I'm quite comfortable with spirituality in the right context.  Its
> just a *distraction* from the technical content.  Your posts have
> interesting technical questions but the spiritual padding obfuscates
> them such that I can't understand what you are asking and makes me
> feel unqualified to any answer - so can only ignore such posts. But
> actually I don't like doing so, thus I sought to advise you in a
> concise way that did not pollute the mail list too much.I'm sure
> others in the community are in the same boat, so really you are
> narrowing your opportunity for useful responses from the community.

i'd like to second that. robert, the problem is that we are unfamiliar with the
terminology you are using. comparing pharo to religious concepts can be
interesting, but to make such a comparison, it would be necessary to explain
why such a comparison is relevant and what pharo users can gain from it. and
explain what each of the concepts are, in plain words.

> > I don't seem to have a problem nor am I breaking any "rules" I am aware of

you are breaking the rule of missing or loosing your audience.

> Interesting that you take such an adversarial position to a polite
> request.  Religion is divisive and any particular doctrine can
> alienate community members of some other doctrine

religion should not be divisive.
if religion becomes a cause of dislike, hatred, division, it is better to be
without it[1].

my personal corollary: if talking about religion leads to dislike, then i stop
talking about it.

greetings, martin.
[1|`Abdu’l-Bahá]

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] seeking your tutorials

2015-12-26 Thread Martin Bähr
Excerpts from Markus Schlager's message of 2015-12-10 22:55:22 +0100:
> Some material (in German) I use at school (10th Grade, Gymnasium). The 
> Prof-Stef-Tutorial is about pong, developed with pharo 1.3, I guess, but 
> changed a little for pharo 3.0.
> 
> http://www.gymnasium-untergriesbach.de/system/files/oeffentlich/unterrichtsmaterial/informatik/10.klasse/skript/sr/info10-oop-folien-schlager.pdf

this looks interesting. unfortunately, german will not work well, as most, if 
not all students speak mainly english. i fear that this is a self-selecting 
problem of GCI
btw: pages 3.7,3.8 and 3.9 are empty

but thank you anyways, i may use this myself when my kids get older :-)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] seeking your tutorials

2015-12-26 Thread Martin Bähr
sorry, responding to this slipped off my todo-list somehow

Excerpts from stepharo's message of 2015-12-10 20:42:27 +0100:
> For when do you need that?

google code-in is running now, until end of january. new tasks can be added any 
time.

> I have the magritte tutorial and we are writing a web tutorial covering 
> Mongo and Seaside.

this one here?

https://ci.inria.fr/pharo-contribution/view/Books/job/Magritte/lastSuccessfulBuild/artifact/book-result/BookletMagritte.pdf

i am afraid, this looks a bit to advanced. it should be possible to work
through the tutorial in a few hours (or it should be possible to split it up
into multiple tasks.)

here are the tasks and tutorials i used last year:
http://societyserver.org/mbaehr/learning-smalltalk-with-Google-Code-In

i will use some of them again, in particular the one for zinc, as it is very
simple and clear, but i am hoping to find more...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Rocket Chat - An open source alternative to Slack

2015-12-16 Thread Martin Bähr
Excerpts from Dimitris Chloupis's message of 2015-12-16 11:04:04 +0100:
> So since Slack has been so successful for our community , far more that IRC
> has been in terms of participation and useful discussions (at least the 2
> years I have been around)
> 
> it made me wonder if I could find an open source alternative to Slack that
> is at least as good as it if not better without a very different workflow
> (so we have to learn everything from zero) all the big pros and something
> that could easily interface with Pharo.
> 
> Ladies and gentlemen meet Rocket Chat
> 
> https://rocket.chat/
> 
> The good news about Rocket chat is that it seems to have all the pros of
> Slack like close integration with tweeter, github etc etc . It has clients
> for all OS and mobile devices. 

what it doesn't have is support for irc clients:
https://github.com/RocketChat/Rocket.Chat/issues/1259

for me, that's a deal breaker. because as nice as these services are, i don't
have the patience to run a dozen clients for all different communication
services.

it is bad enough that these services are not federated and i have to connect to
them to communicate, but at least support for common, already existing clients,
should be there. 

it does seem to have an irc bridge at least. a bit ugly, but workable.

but there is also mattermost: http://mattermost.org/ (and it has irc client 
support)
seems at least as mature as rocket.chat.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [IMPORTANT] Starting migration to Spur VM

2015-12-14 Thread Martin Bähr
Excerpts from Damien Cassou's message of 2015-12-14 16:25:15 +0100:
> Launcher2 will be more flexible, but I need someone to help.

what kind of help do you need?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] PharoJVM

2015-12-13 Thread Martin Bähr
Excerpts from Hilaire's message of 2015-12-13 09:38:33 +0100:
> Dr. Geo has been ported to Android since alsmost 5 years

is there any description about the process involved in porting a pharo
application to android?
what do i need, how do i start?

i am tentatively working on a desktop application, that in the long term i
would like to see on the mobile phone, and i'd appreciate any insights and
starting points on how this is done.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] PharoJVM

2015-12-13 Thread Martin Bähr
Excerpts from Dimitris Chloupis's message of 2015-12-13 19:37:30 +0100:
> Thank you very much , I will study them one by one :)

thank you from me too. i won't be able to work on this soon (need to get the
desktop app ready first, which won't happen before the next GSoC, (but it might
happen as part of it)) but i appreciate this information being available.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stop Thinking in Terms of Files

2015-12-07 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-12-07 09:33:37 +0100:
> > > There are versions already for methods. So the functionality is there.
> > only if i save them in monticello though, and i can't just switch the
> > version of a single method, only the whole changeset at once. in git i can
> > limit browsing to a specific file, and then copy an old version of a file
> > into the current workspace. it is a bit crude, but it can be done. i don't
> > see that kind of functionality in pharo. the data is there, but the tools
> > to use the data in this specific manner are not.
> They are there: I implemented and demoed what you describe as a need over
> git a few years ago when I started GitFileTree [1].
> http://forum.world.st/Pharo-dev-Versions-Browser-over-gitfiletree-tp4695490.html

oh, i had no idea. that looks great. i hope i can find some time to look at
this soon.

> Then, probably over more than a year ago, Dale Henrich implemented a lot
> more in his environment (tode).
> 
> Now, what we may conclude is that the need may not be that great.

well, part of the problem may be that things like these are hard to find.
worse, unless you know that such functionality exists, you would not think to 
look for it.
now i know, and now (well, soon :-) i will look!

then the next question is, how do we get more people to be aware of this.
adding it to pharo core would be one way, but probably a better solution would
be to further improve the catalog browser so that i can see categories and
drill those down. (i see that there are quite some improvements already in
pharo 5, so maybe someone is already working on that)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stop Thinking in Terms of Files

2015-12-07 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-12-07 08:33:03 +0100:
> > the problem is more likely management of the same. browsing the changes is
> > not really convenient.  ideally i'd like to see versions in the
> > class-browser and in the debugger, where on error i could then take a look
> > at older versions for comparison, and switch to them to see if maybe the
> > last change was the cause of the error.
> What you describe is a GUI limitation, not the changes itself :(. A 
> better integration of the browser/debugger with the code versionning. 
> And just a local git, fossil or monticello repository would be enough.
> All the pieces are there.

indeed. for me that's a good enough answer for now. at least for the source
versioning.  i can very well imagine how to make that work. unfortunately i
don't think it is enough to support the question richard received.

i am still not clear how object versioning would work.

i mean, i can imagine this: x := Foo new.
i can now save x in a database. and i can retrieve it, and the result is the
same as the original call of Foo new.

but we are talking about code versioning, so presumably, i want to version the 
class.

i guess that would need to happen in the browser too. every time a code-change
is saved, a new class object is created. that needs then to be stored in the
database, along with the source code. and when browsing a class, i should get a
list of historical objects, just like i can get a list of historical source
versions.

why would i want to version the class object? 
to avoid recompiling it, either to save time, or because recompiling does not
guarantee that we do actually get the same result because it may be affected by
the environment. (i don't know if that is an issue however)

do i get that right? or are there other reasons for class object versioning, if
there are any at all.

> As an example, it would be very easy to make AltBrowser browse all the 
> MC stuff, or RB changes, in addition to the normal (RPackage/Ring) live 
> code structure (and hence give you access to class versions, method 
> versions, etc...).

that is the second time someone suggests altbrowser. i am going to have to look
at that...)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stop Thinking in Terms of Files

2015-12-06 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-12-06 19:39:51 +0100:
> There are a lot of questions in there, too much to answer.

i am interested in the versioning of code and objects.
the poster makes a good point there.

what if i am on a non-networked machine, running pharoNOS or even squeakNOS,
how would i keep old versions of my code/objects? is there any in-image
solution for that?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stop Thinking in Terms of Files

2015-12-06 Thread Martin Bähr
Excerpts from Dimitris Chloupis's message of 2015-12-07 08:24:13 +0100:
> > well, i wouldn't need or even want it in memory, so on disk is fine. the
> > problem is more likely management of the same. browsing the changes is not
> > really convenient.

> There are versions already for methods. So the functionality is there.

only if i save them in monticello though, and i can't just switch the version
of a single method, only the whole changeset at once. in git i can limit
browsing to a specific file, and then copy an old version of a file into the
current workspace. it is a bit crude, but it can be done. i don't see that kind
of functionality in pharo. the data is there, but the tools to use the data in
this specific manner are not. 

> I think that changes file was created for the
> precise scenarios of an image crash/ lockdown.

indeed, i agree, changes are to recover from an image crash, and less useful to
browse old versions of code.

> But I do agree it would be useful to extend the tools working with changes
> , but then none stop anyone from doing so and is not that hard to do.

true, but that's not enough to use as an argument to "sell smalltalk"

so i am afraid, all we can say about in-image versioning is: it's possible, but
current tools don't support it.

(note that i have no issue with the current state. dreaming about what we could
do is nice, but it is important to be aware of what is currently well
supported, and what isn't so that we avoid to oversell features that aren't
practically usable.)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org        realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stop Thinking in Terms of Files

2015-12-06 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-12-07 06:42:51 +0100:
> > i am interested in the versioning of code and objects.
> > the poster makes a good point there.
> The traditional, full approach, would have been to use an object 
> oriented database like GemStone. Anything that can version objects can 
> version Smalltalk code.

gemstone is proprietary, so that doesn't really work for me. are there 
alternatives?

> > what if i am on a non-networked machine, running pharoNOS or even squeakNOS,
> > how would i keep old versions of my code/objects? is there any in-image
> > solution for that?
> The .changes provides that in a limited form. It would be easy to do 
> better in memory, if needed.

well, i wouldn't need or even want it in memory, so on disk is fine. the
problem is more likely management of the same. browsing the changes is not
really convenient.  ideally i'd like to see versions in the class-browser and
in the debugger, where on error i could then take a look at older versions for
comparison, and switch to them to see if maybe the last change was the cause of
the error.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.org    realss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] More fun with Roassal: 1st iteration of a Roassal Mindmapping tool

2015-11-19 Thread Martin Bähr
Excerpts from stepharo's message of 2015-08-22 09:55:04 +0200:
> would be fun to see if you can reuse the algo of roassal.

i have taken a stab at that:

===
view := RTView new.
| activenode prevnode |

view
when: TRMouseClick
do:
[ :ev | 
| label node |
"node := shape element."
label := RTEditableLabel new
height: 30; "i have a very high resolution and like 
large fonts"
text: '';
element.
node := RTBox new
color: Color white;
borderWidth: 2;
borderColor: Color black;
element.
node @ RTDraggable.

"select a node to branch of new nodes from it"
node when: TRMouseClick do: [ :click | activenode := click 
element ].

"if the label is empty: '', then its size is 0@0 and is no
 longer clickable to edit, hence we make the node clickable 
instead"
node when: TRMouseDoubleClick do: [ label shape 
showTextMorphFor: label ].
node when: TRMouseLeave do: [ label shape hideTextMorphFor: 
label ].
view
add: node;
add: label.
RTNest new
stretchable;
on: node nest: {label}.

"when the label changes its size, the box doesn't update its
 size unless we add this workaround"
label trachelShape addCallback: (TRExtentCallback new block: [ 
:aShape :ratio | node trachelShape extent: aShape extent + (20 @ 0) ]).

node translateTo: ev position.

"label shape showTextMorphFor: label." "this opens the node in 
edit mode, 
but somehow messes 
things up"

(activenode notNil and: node ~= activenode)
ifTrue: [ prevnode := activenode ].
prevnode
ifNotNil: [ edge := RTEdge from: prevnode to: node.
edge
+
(RTBezierLine horizontal

withContinuousRectangleAttachPoint;
yourself).
view add: edge ].
prevnode := node.
activenode := node.
view signalUpdate ].
view.
===

the behavior is a bit different than the usual mindmapping tools as it does not
enforce an automatic layout but you are free to place nodes whereever you like
by just clicking in the location and moving the node later.

that behavior is inspired by a mindmapping tool called labyrint:
https://github.com/labyrinth-team/labyrinth
https://www.youtube.com/watch?v=Pv3dTovGc0E


thanks to alexandre  bergel and others who helped me to figure out some
problems such as a workaround for RTEditableLabel not working with
RTCompositeShape:

shape := RTCompositeShape new.
shape allOfSameSizeWithPadding.
shape add: (RTBox new color: Color white; borderWidth: 2; borderColor: Color 
black).
shape add: (RTEditableLabel new height: 30).

the remaining problems are cosmetic. for example i can't seem to get the nodes
to open up in edit mode. doing that with the commented line in the code above,
wrecks havoc on the node.
i also would like RTBezierLine to be horizontal or vertical depending on how
the two nodes are positioned to each other. and it should always start at the
middle of the rectangles edge at a 90degree angle.

lastly, i'd like to have rounded corners on the RTBox.

if/when i develop this further, i plan to add the ability to select multiple
nodes and add edges between them. be able to move selected nodes as a group,
and align selected (or all) nodes according to one of the layouts provided by
roassal (tree, circle, etc), things like export to svg or png would also be 
nice.

and of course, package it up...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Pharo family update

2015-10-26 Thread Martin Bähr
Excerpts from Adam's message of 2015-10-26 01:23:09 +0100:
> Pharo is mostly development platform, and image shows mostly libraries and 
> frameworks for development, but "Development" circle in the image is more 
> about tools primarly targeted to support process of development. So, if Gofer 
> and Metacello is not used for this purpose (maybe it is, I'm not sure), it 
> should be in "Working" circle.

thanks for clarifying that. now i understand the difference. of course they are
related, but one is used by people who want to install software, while the
other is used by developers managing their cod

i wonder if "development" could have a better name, like "tools" or 
"development tools"

and if most things are about development, then "web development" might be "web
frameworks" or just "web" because otherwise it gives the impression that other
things would not be about development.


one more thing, i find the grey-on-white small text hard to read. i have to
zoom in a lot to make it out. small text like that would be better with higher 
contrast.

svg apparently supports tooltips:
http://stackoverflow.com/questions/102457/how-to-create-an-svg-tooltip-like-box
maybe that can be used here.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Pharo family update

2015-10-24 Thread Martin Bähr
Excerpts from Adam's message of 2015-10-23 23:58:48 +0200:
> I just updated drawing of projects around Pharo.
> 
> Main idea is to guide people (new users of Pharo) through fields of interests 
> - something they might be looking for. I choose these 10 fields devided into 
> some specific subjects. Somewhere it is too detailed, while elsewhere it is 
> too fuzzy - it is just showing image of Pharo I have in my mind.

this looks great!
i would order the topics so that related ones are next to each other, for
example it is a bit puzzling why http/zinc is not part of webdevelopment, but
if you order them so that you have 
development - web - server ... then zinc and web would be very close and
the exact category would not matter. it could even be in the middle.

same goes for monticello and metacello. aren't they closely related? why is one
in development, the other in working?

putting working next to development would solve that.

i think this order would place related topics close to each other:
working - development - web - server - connectors - data - model - 
import/export - output - graphics

closing the circle, graphics touches working which relates to the games and
multimedia subtopics too.

this is actually something i preferred from the first version. it was more
fuzzy and didn't make such absolute statements where something belongs that
people could argue about. (ok, maybe i am the only one arguing :-)

> I prepared textual version on github - but right now it is not coherent with 
> the drawing (I will correct this if needed).

maybe also put the svg on github so that people can fork and update it?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [OT] Bill Gross: The single biggest reason why startups succeed

2015-07-23 Thread Martin Bähr
Excerpts from Esteban A. Maringolo's message of 2015-07-23 16:51:10 +0200:
 What I think we miss here, is the generation of the users adopting
 Pharo/Smalltalk.
 
 For many developers over they 30's (like me), when I show them Pharo or
 tell them about what/how it does some stuff, they get curious and/or try
 it. They might even learnt Smalltalk back at the university.
 Usually they have used/suffered a lot of languages or tools and can
 appreciate the benefits of Pharo, as well as to identify its shortcomings.

that's a good point. i also fit into that group, picking up smalltalk because i
want to expand and get a different perspective on how development is done.

 When I talk to new programmers (20-25 years old), almost all of them
 don't get attracted by it.
 Why? I couldn't tell. Mainly because they can't use the few tools/patterns
 they already learnt how to, barely, use.

yes, the problem with people coming out of school. they expect that school
adequately prepared them for future jobs, thus assume that what they learned in
school is enough for the rest of their career. it takes several years of
working for reality to sink in.

 Those kids will grow up and besides doing non-toyish software, maybe will
 lead teams or get to make decisions about what technology to use. Maybe we
 should ask ourselves what technologies do startups choose to invent new
 solutions? Why?

whatever the lead tech happens to be familiar with. and if they are not
familiar with anything then they'll use rails.

 Software became pop-culture some years ago, and I feel we're
 Jazz/Classical. I like the latter, but trying to attract pop being
 classical is a dead end.

totally. it is exactly the feeling i have about smalltalk and lisp.
i learned both because i wanted to know if the newer languages everyone is
using are really any better. i'd expected that they would learn and improve
over older languages. but i had to discover that that's not the case. 

i used to believe that languages like python, ruby and pike were a new
generation of languages that improved over the old languages like c and c++,
but i was disappointed and had to find out that the innovation already happened
a few decades earlier and almost everything else following was a step backwards
in some ways. 

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] [OT] Bill Gross: The single biggest reason why startups succeed

2015-07-20 Thread Martin Bähr
Excerpts from S Krish's message of 2015-07-20 17:47:50 +0200:
 Check out this amazing TEDTalk:
 Bill Gross: The single biggest reason why startups succeed
 http://on.ted.com/h15YB

meh.
read the transcript if you want to save the time,
but to save even more time, here is the summary:
  The number one thing was timing. Timing accounted for 42 percent of the
   difference between success and failure. Team and execution came in second,
   and the idea, the differentiability of the idea, the uniqueness of the idea,
   that actually came in third. ...
   The last two, business model and funding

he talks about the need to assess timing, but unfortunately doesn't tell much
about how to do it, which is really the crux of the matter.

in hindsight it is of course easy to see how the timing factor applies.
but before, it's like trying to predict the future.

and then, how does that relate to pharo or smalltalk in general?
how can we assess the timing for pharo's success?

did smalltalk miss its chance, so we should give up?
or is it still coming? glass bowl anyone?

there is no actionable advice in there.
what shall we do? 
wait, and we'll know the timing is right when we see it?

the only advice i can extract is that, because we can't predict the timing,
don't put all eggs in the same basket, and while pushing pharo, don't push so
hard that the future depends on the push to succeed. instead make sure that the
project can continue even if the time is not right, so that it is still alive
when the time is finally right.

to actually make an attempt at prediction we'd have to look at developer needs.
what are developers needs now, and does pharo deliver to fill those needs? 
(i believe it is pretty clear that pharo is still missing a few things, mostly
on the integration side with other systems)

can we predict what developers will need and expect in 5 years, and can pharo
develop to match those needs?

these questions are dear to my heart because i am asking them myself for my own
project. i believe, i have a solution that many developers need, but as far as
i can tell most developers are not aware of the problem yet. i hope that in
time they will become aware, and that by then my project will be ready and 
thrive.

we'll see.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] pharo looses font settings on linux with retina screen

2015-07-01 Thread Martin Bähr
Excerpts from Esteban Lorenzano's message of 2015-07-01 11:56:21 +0200:
 currently fonts+retina display is not a good combination :(
 
 can you link a screenshot of the problem you are describing?

http://societyserver.org/scripts/get.pike?object=137514

i just ran into another issue. when i inspect that IndexInterface open. in
the playground, the fontsize resets right there.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] pharo looses font settings on linux with retina screen

2015-07-01 Thread Martin Bähr
hi,

i am running pharo 40614 on linux on a mac with a retina screen.

i have not tested this on a normal laptop yet, so i don't know if the retina
resolution is the problem or the pharo version i am using. probably a bit of 
both.

the worst issue is that when i restart an image, the font settings are
partially lost and reverted to the original size, which is to small to read on
such a screen. and restoring the font size requires me to reopen all the 
affected windows.

there are also issues with some widgets not resizing to the full size of the
font, making the text only partially readable.

and then there are widgets that have the correct size, but the font remains 
small.

and all that is not consistent, sometimes all sizes are correct, sometimes it
is a complete mess. pretty much every time i restart after resetting the font
size i get different results. it makes pharo practically unusable on this
machine, because i am spending to much time fixing fonts, and am not getting
any work done.

is there some other setting to adjust to the resolution besides selecting a 
huge font?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [Pre-ANN][Job] We are looking for a Engineer RD

2015-05-29 Thread Martin Bähr
Excerpts from Marcus Denker's message of 2015-05-29 10:17:24 +0200:
 Hi,
 
 Good news: the job is not constraint by the “2 years after university” 
 condition, but instead it is a 
 so called “Experienced Engineer” position:
 
 
 http://www.inria.fr/en/institute/recruitment/offers/find-a-position?nPostingId=9624nPostingTargetId=15693id=PNGFK026203F3VBQB6G68LOE1lg=EN

that link does not work for me, is it this one?
http://www.inria.fr/en/institute/recruitment/offers/find-a-position/%28view%29/details.html?id=PNGFK026203F3VBQB6G68LOE1LOV5=4510LG=ENResultsperpage=20nPostingID=9624nPostingTargetID=15693option=52sort=DESCnDepartmentID=10

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Metacello GIT methodProperties.json

2015-04-08 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-04-08 10:11:44 +0200:
  As I've said to Thierry some time ago in different thread, I would be
  interested in idea of having everything on disk side and Pharo would only
  somehow refresh it's content (just like a Java IDE / text editor would).
  But that may be a lot o work so I can only dream about it, as nobody has
  time for that (me included).
 Well, as I said elsewhere, Smalltalk doesn't work like that: code has to be
 lived in the image for most tools to work properly... it doesn't really
 have an editor of file mindset, but an object inspector mindset.

the interesting thing is that i don't think git is the problem here. a git repo
does not need to have a working tree. smalltalk git tools could read the code
directly from git using git-fast-export and write them with git-fast-import

the effect would be that the working tree is now only in the smalltalk image,
and git would be a pure storage of history. any use of external tools on the
repo would happen on a clone and be pushed into the repo that smalltalk uses.

that would however be a complete break with filetree. (it could still create
compatible structures, it just could not use its code to read and write)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Metacello GIT methodProperties.json

2015-04-08 Thread Martin Bähr
Excerpts from Peter Uhnák's message of 2015-04-08 08:47:15 +0200:
  I thnk that rather than focus on the disk format which I hardly ever
  actually look at 

i think the disk format is crucial for interoperability with other tools, such
as github webinterface, or external editors to work on things like pictures or 
data.
(which is not yet supported (i have an idea how support could look like though))

i don't mind file-per-method though, it helps to make the diff-stat more
readable, showing which methods have been changed, added or removed...

 ... that folks should be looking at tools support (like
  Thierry) ... this is where the real work needs to happen ... good tools can
  hide the disk fomat completely so why does the disk format matter ...
 I am personally not really a fan of this; I've been using git for a while
 and I am perfectly content with using command line on the disk (maybe I'm
 rare breed); I have yet to see a GUI/tool that would come even close to the
 power of command line, but I've been using Linux for a long time.

except for displaying the history graph. can't beat gitk or other gui tools for 
that.
having a smalltalk version of that graph would really be great!

 As I've
 said to Thierry some time ago in different thread, I would be interested in
 idea of having everything on disk side and Pharo would only somehow refresh
 it's content (just like a Java IDE / text editor would). 

can't you already do that, except that you need to manually update the image by
loading/adopting the current state from the repo?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] String operations

2015-04-06 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-04-06 18:24:01 +0200:
 Peter Uhnák wrote:
 am I really blind, or is there no way to do something like
 'BormParticipant' removePrefix: 'Borm' - 'Participant'
 what about: 
'BormParticipant' allButFirst: 'Borm' size
 - 'Participant'

that looks like what peter was looking for with 'BormParticipant' copyFrom: 5
'BormParticipant' allButFirst: 4

something like 'BormParticipant' removePrefix: 'Borm' should really fail if the
prefix does not match, thus i would use:

| aString prefix bString |
aString := 'BormParticipant'.
prefix := 'Borm'.
(aString beginsWith: prefix) ifTrue: [ aString allButFirst: prefix size ].

or to remove a common prefix:
bString := 'BormMember'.
aString allButFirst: (aString charactersExactlyMatching: bString).

and related, to find a common prefix:
aString first: (aString charactersExactlyMatching: bString).

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] what to use for simple parsing

2015-04-01 Thread Martin Bähr
Excerpts from stepharo's message of 2015-04-01 23:00:11 +0200:
 May be this was a mistake to get regexp.

Some people, when confronted with a problem, think I know, I'll use regular
expressions. Now they have two problems.
(jwz)



Re: [Pharo-users] what to use for simple parsing

2015-03-28 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-03-28 08:46:46 +0100:
 I can answer for SmaCC. It would do the job, be very simple and fairly 
 fast with a trick or two to handle the param unquoted string.

could someone provide (or link to) a comparison between the major parsers?
why are there even multiple ones?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] first impressions

2015-03-26 Thread Martin Bähr
from a GSoC proposal:

from what I've experienced so far, Smalltalk is all it's cracked up to be!

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] new link to query all projects in smalltalkhub

2015-03-23 Thread Martin Bähr
Excerpts from Merwan Ouddane's message of 2015-03-23 21:22:23 +0100:
 I don't know if you want to spend some time on it, but what would be 
 great is for the projects to choose if they want to appear or not in 
 this list,

there is already a distinction between public and private projects.
as far as i could tell, private projects are not in the list.
at least i could not find mine.

 and have a little description of the project on mouse over :)

please let the description be right next to the title, not hidden with
mouseover. there are way to many projects to me mousing over each one to read
them.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Get OS uptime

2015-03-19 Thread Martin Bähr
Excerpts from Norbert Hartl's message of 2015-03-19 14:09:28 +0100:
 That's my point. Or better I like to know how the plugin can distinguish
 them. Usually there shouldn't be a difference. I know the /proc filesystem.
 It is what unix is all about. Make every information available as file. You
 say it is a virtual filesystem? Yes, but there are only virtual filesystems
 in linux. Below is always a device driver accessing disks, cdroms, etc.
 Memory or the kernel does not make a difference. They are all the same and
 they should according to unix. So I still not understand the problem.

files in /proc are not seekable. 
that or something related may be the problem.

compare this strace:

/proc/uptime:
lstat64(/proc/uptime, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open(/proc/uptime, O_RDONLY)  = 8
fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf722e000
fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
_llseek(8, 0, [0], SEEK_SET)= 0
_llseek(8, 0, [0], SEEK_SET)= 0
_llseek(8, 0, [0], SEEK_SET)= 0
_llseek(8, 0, [0], SEEK_SET)= 0
close(8)= 0

/etc/profile:
lstat64(/etc/profile, {st_mode=S_IFREG|0644, st_size=1750, ...}) = 0
open(/etc/profile, O_RDONLY)  = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=1750, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xf722e000
fstat64(8, {st_mode=S_IFREG|0644, st_size=1750, ...}) = 0
_llseek(8, 0, [0], SEEK_SET)= 0
read(8, # /etc/profile\n\n# System wide en..., 1750) = 1750
_llseek(8, 1750, [1750], SEEK_SET)  = 0
_llseek(8, 1750, [1750], SEEK_SET)  = 0
read(8, , 4096)   = 0
_llseek(8, 0, [0], SEEK_SET)= 0
close(8)= 0

/proc/uptime comes with a filesize of 0, and this, pharo tries to read 0 bytes 
from it.
or rather, since there is no read() call, it concludes that there is nothing to 
read.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Error while loading GitFileTree in Pharo 4.0

2015-03-15 Thread Martin Bähr
Excerpts from Jigyasa Grover's message of 2015-03-15 06:56:49 +0100:
 Whenever I click on Install stable version of GitFileTree (ThierryGoubier
 .33) in Configuration Browser in Pharo 4.0 , I get the error = The symbolic
 version #stable is not defined in Configuration GitFileTree for the current
 platform. Possible symbolic version values include : #(#bleedingEdge
 #development)

i have seen the same error today.
seems there is a problem loading the current version.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GitFileTree Version Numbering

2015-03-09 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-03-09 13:13:23 +0100:
 There is technical limitations in adding that information (or using it). I
 did use it a long time ago at the beginning of gitfiletree, but it was
 prohibitively slow, even on small git repositories.

i find this puzzling. when monticello creates the archive, is it not the
version somewhere accessible in the object? it has to come from somewhere,
doesn't it?

filetree (i believe) writes the version and history into
PackageName.package/monticello.meta/version

i assume you tried reading that? is that what is slow?
was the problem to check out the version in order to get the file, or was there
a problem reading it?

 I would have been pleased by a Package-Author.Commit.mcz approach however,
 but the numbering scheme in MC is so hopelessly broken and unreliable
 anyway that it's not worth the hassle. The only thing correct in MC is the
 UUID, but, except in very specific cases, it isn't used because it's too
 costly to check it.

because the mcz needs to be unpacked to get it, i guess?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] I need to put smalltalkhub down (max 30m)

2015-03-09 Thread Martin Bähr
Excerpts from Esteban Lorenzano's message of 2015-03-09 15:39:59 +0100:
 you can complain now… it *should* be working. 

so while everyone is having fun with this thread, i thought the phrase put
down is used when you have to kill a sick or old animal.

had me worried there for a moment...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] making .extension files (like .class files)

2015-03-08 Thread Martin Bähr
Excerpts from rohit sharma's message of 2015-03-08 10:14:41 +0100:
 hi everyone. I am facing a problem. I cloned a repo. of package. After that
 i tried saving and opening that package using Monticello Browser.

which package did you clone?

 But
 whenever i try save  open that package in pharo, all class and extension
 files are getting deleted and pharo is showing nothing in that package. Any
 suggestion???

how exactly are you trying to load it?

 One more thing i want to ask, i.e, how to make .extension files (like
 .class files) in pharo.

what do you mean? 
when code is saved with filetree (or gitfiletree) each class is a directory,
with each method as a file.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] any smalltalkers in singapore next week for FOSSASIA?

2015-03-07 Thread Martin Bähr
Excerpts from Pierce Ng's message of 2015-03-07 09:15:29 +0100:
  btw: i'll do a workshop about building a REST api in smalltalk at the
  conference.
 Nice! I live in Singapore, but I'm travelling while the event is on, alas.

darn, how long are you travelling? i am there from the 12th to the 17th...

the contents of the workshop is pretty much what is in the video here
http://societyserver.org/mbaehr/training/building-an-api-with-zinc-rest-in-pharo-smalltalk

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Porting Voss to Pharo

2015-03-06 Thread Martin Bähr
Excerpts from Bernardo Ezequiel Contreras's message of 2015-03-06 20:24:05 
+0100:
 see http://voss.logicarts.com/

that is interesting.
where can i read more about the multi-user access?
how are users defined?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSoC mentor assistance for FOSSASIA smalltalk projects please

2015-03-06 Thread Martin Bähr
Excerpts from S Krish's message of 2015-03-06 08:26:53 +0100:
 Create a file editor and asset manager solution with smalltalk
 
 I would be interested in assisting in this project. Harks me back to what I
 attempted with VisualWorks and SimpleWeb Framework I created more than a
 decade back with complete editor / projects IDE that had artifacts covering
 all that is mentioned as also config for external interfaces like DB.

indeed, i haven't even got that far in my webdevelopment, but yes, managing
external connections would be a great addition. let's see what the students are
capable of.

 But tough challenge if we are to talk of creating a capable color editor
 with intellisense across various artifacts, otherwise doable as a student
 project.

don't need to go that far. i'd be happy if we can edit text and otherwise
update binary files from an external source.

please sign up for the fossasia list. see the instructions in my previous reply 
to Sean.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] GSoC mentor assistance for FOSSASIA smalltalk projects please

2015-03-05 Thread Martin Bähr
hi,

FOSSASIA has been accepted for Google Summer of Code, and i have a few
smalltalk related projects in there, see http://labs.fossasia.org/ideas.html

i'd like to ask if anyone is willing to help me mentor those projects.
since i am new to smalltalk myself it would be good to have some backup by
someone more experienced.

mentoring a student as a team i am sure is a lot more fun, and should make it
easier to get the student motivated to join the pharo community and contribute
to pharo.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSoC mentor assistance for FOSSASIA smalltalk projects please

2015-03-05 Thread Martin Bähr
Excerpts from Sean P. DeNigris's message of 2015-03-06 05:15:23 +0100:
 Martin Bähr wrote
  i'd like to ask if anyone is willing to help me mentor those projects.
 
 I can probably help you with Offline text search (my preference) or
 possibly file editor and asset manager.

wonderful!
offline text search is the more interesting project of the two for me as well.
at the moment though it is just answering generic questions about how to get
started with pharo.

we'll see next month which projects will be accepted.

 Two questions:
 1) Text Search mentions in a specified directory on the mobile device, but
 the rest of the description sounded like a desktop app. Which is it? Mobile
 would add quite another dimension. Maybe a web app could be doable, but IMHO
 a native mobile app is probably outside the scope of a GSoC project.

whoops! that is a copy paste error.
for exactly the reason you mention i have a separate project to just make a
mobile app with the same specs. (i'd love if it could be done in smalltalk, but
that's not going to work yet)
i fixed the description. thanks for catching that!

 2) File Editor talks about editing assets, the list of which includes
 images. Do you expect to be able to edit images from within Pharo, or did
 that apply to the text-based assets (which most were)? General image editing
 within Pharo would be really cool, but sounds like a big job...

i am fine if just text editing works. image editing could be solved by just
making it easy to load a new image.

i'd appreciate if you could join the fossa...@googlegroups.com list
http://groups.google.com/group/fossasia and help answer the students initial 
replies.

which is basically: download pharo, look at tutorials, start reading pharo by
example and look for spec questions on the list.

for the editor project i also have http://societyserver.org/mbaehr/training/
where i show how to store a static website in an image, and the basic idea is
to make that editable, and also add a control panel for the server, similar to
the one for seaside. this would make a nice add-on package for zinc.

so far most students are interested in the search application...

next week i am off for the FOSSASIA conference in singapore, (where i'll give a
workshop about building a REST api with Zinc-REST) so i'll have little time to
check email. if you could help especially in that time, i'd really appreciate
it. after the conference students will start to make proposals and in april
we'll decide which roposals to accept. things should be more quiet then.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Linux and Windows 3.0 differences

2015-03-04 Thread Martin Bähr
Excerpts from Marcus Denker's message of 2015-03-04 09:13:45 +0100:
  Date fromString: method
  contains a method comment on Windows and on Ubuntu it doesn't even include 
  an implementation.
 Wow… that means that the sources file is corrupt.

actually, i thought the source file was simply missing.
pharo kept telling me every time i start that it can't find the V3 sources, 
until
i downloaded them manually and put them in the right place.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Fwd: [Pharo Consortium] Your organization application has been rejected.

2015-03-03 Thread Martin Bähr
Excerpts from Clément Bera's message of 2015-03-03 10:01:21 +0100:
 Well, this year google it looks like accepted less organizations.
 
 2012: 180 organizations accepted.
 2013: 177 organizations accepted.
 2014: 190 organizations accepted.
 2015: 137 organizations accepted.

from the news announcement: After reviewing 416 applications, we have chosen
137 open source projects, 37 of which are new to Google Summer of Code

assuming that every project from last year tried again, this
means about half from last year didn't get re-accepted.

more importantly, from those 416 applications probably half were new, so that
means a lot of competition, and pharo just didn't make the cut.

 A few projects with ESUG could be nice for sure. But there we will have in
 the same issues again: typically, a student cannot in 3 months make his
 project working for all existing smalltalk, ...

well, if it is ESUG sponsored it would not have to follow googles timeline

there is also VALS Semester of Code, http://semesterofcode.com/ though this
doesn't have many universities participating yet. perhaps some of the
universities that support smalltalk already could be convinced to participate
next term...

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] session four: a API with Zinc-REST on moose 5.1 (is: smalltalk workshops (building a webserver) after code-in)

2015-02-28 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-02-13 10:57:50 +0100:
   you can read more about the workshop and find the screencast here:
   http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk
  part two is here:
  http://societyserver.org/mbaehr/training/Serving-files-through-FileSystem-in-Pharo-Smalltalk
 session 3 starts from scratch, using what was learned in the first two 
 sessions.
 http://societyserver.org/mbaehr/training/a-static-webapplication-hosted-on-pharo-smalltalk

in session 4 we build a small RESTful API using the Zinc-REST package.
http://societyserver.org/mbaehr/training/building-an-api-with-zinc-rest-in-pharo-smalltalk

it was easier than expected to just copy from the Zinc-REST tests with small 
modifications.

this screencast is going to be the contents of my workshop at FOSSASIA in
singapore this month. 

since moose 5.0 worked quite well last time, except for being pharo 3, this
time i am using the latest build of moose 5.1 which is using the latest pharo 4.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] BaselineOf vs ConfigurationOf

2015-02-25 Thread Martin Bähr
Excerpts from Thierry Goubier's message of 2015-02-25 15:43:39 +0100:
 BaselineOf is the same as a #baseline: in a ConfigurationOf. It describes
 dependencies, packages and groups for a project, without versions. On
 loading, a BaselineOf will behave as a #development version in a
 ConfigurationOf which is to load the latest versions of the packages listed
 (and whatever dependencies listed).

sounds to me like one should use branches for baseline (since they update)
and tags for versions in configuration (since they stay on the same commit)

 Repositories urls which support branches and tags are github:// and
 bitbucket:// urls; which support branches (and not tags) are gitfiletree://
 urls.

oh, any particular reason, or just work in progress?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Any static web site generators for pharo with bootstrap support?

2015-02-22 Thread Martin Bähr
Excerpts from Ben Coman's message of 2015-02-22 15:57:49 +0100:
 +1   btw, just a project name that pops into my head is phykll = fickle.

fickle means changing frequently, but these are static pages.

so how about stykll or stekyll  = stickle? 
to stick to ones point, like static pages do...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Pharo 4 - current state?

2015-02-20 Thread Martin Bähr
Excerpts from sergio_101's message of 2015-02-20 17:13:56 +0100:
 I had an hour last night to start playing with pharo 4.
 
 in the hour that played with it, there are already features i miss when
 going back to pharo 3 for getting work done.
 
 my questions is, how close is pharo 4 to be useable in a day to day
 environment?
 
 can i use it as a part of my regular development?

i am using it since last month without troubles. 
though i only do light development mostly with zinc.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] session three: a static webapplication on moose (is: smalltalk workshops (building a webserver) after code-in)

2015-02-13 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-02-03 06:48:19 +0100:
  you can read more about the workshop and find the screencast here:
  http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk
 part two is here:
 http://societyserver.org/mbaehr/training/Serving-files-through-FileSystem-in-Pharo-Smalltalk

session 3 starts from scratch, using what was learned in the first two sessions.

this session also features moose 5.0 instead of plain pharo just to see what is 
different.

this is not really intended to explore all moose features, but just use it as i
normally would use pharo to find out how it would affect the development.

this series is intended to show how developing in pharo is like, i show and use
features as i discover them myself.

i'd appreciate some feedback on how i could take more advantage of pharo and
moose features, so that i can show them off in the next session. (next time i
plan to use moose 5.1 and i'll finally look at zinc-REST)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] session three: a static webapplication on moose (is: smalltalk workshops (building a webserver) after code-in)

2015-02-13 Thread Martin Bähr
(it probably helps to include a link :-)

Excerpts from Martin Bähr's message of 2015-02-03 06:48:19 +0100:
  you can read more about the workshop and find the screencast here:
  http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk
 part two is here:
 http://societyserver.org/mbaehr/training/Serving-files-through-FileSystem-in-Pharo-Smalltalk

session 3 starts from scratch, using what was learned in the first two sessions.
http://societyserver.org/mbaehr/training/a-static-webapplication-hosted-on-pharo-smalltalk

this session also features moose 5.0 instead of plain pharo just to see what is 
different.

this is not really intended to explore all moose features, but just use it as i
normally would use pharo to find out how it would affect the development.

this series is intended to show how developing in pharo is like, i show and use
features as i discover them myself.

i'd appreciate some feedback on how i could take more advantage of pharo and
moose features, so that i can show them off in the next session. (next time i
plan to use moose 5.1 and i'll finally look at zinc-REST)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] libssl on fedora to new for pharo-vm

2015-02-13 Thread Martin Bähr
hi,

i just discovered that i can't make https requests in pharo because pharo-vm
tries to link against libssl.1.0.0, but recent fedora versions have
libssl.so.1.0.1e at least since fedora 18

i did discover that the centos version on
http://files.pharo.org/vm/pharo/linux/centos/
works however.

i wonder if that shouldn't be linked more directly from the download page...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2015 application

2015-02-12 Thread Martin Bähr
Excerpts from stepharo's message of 2015-02-12 08:21:07 +0100:
 we maintain one single list for pharo topics (related or not to GSOC)
 I will not edit your item but you can do a pull request :)
  https://github.com/pharo-project/pharo-project-proposals

how can i preview changes i make?
also it seems that http://topics.pharo.org/ is not being updated.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2015 application

2015-02-11 Thread Martin Bähr
Excerpts from Serge Stinckwich's message of 2015-02-11 10:02:21 +0100:
 with Uko, we are considering submitting the Pharo project as a
 mentoring organization for GSOC 2015:
 
 We will need your help in order to find ideas of projects.

Is there any effort make a joint application under esug or some other umbrella?

there are a few projects on labs.fossasia.org that might fit:

Create a file editor and asset manager solution with smalltalk
Create a smalltalk application for offline text search
emulate a PostgreSQL server in Smalltalk
Smalltalk SQL Parser  Evaluator

i also discussed with craig the idea of doing something with his context work 
on pharo.
essentially i'd like to use context as a tool to remote manage images.
a gsoc project could be to work out how to set up context for that usecase
(while helping to make sure context works with pharo)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2015 application

2015-02-11 Thread Martin Bähr
Excerpts from Serge Stinckwich's message of 2015-02-11 15:13:22 +0100:
  with Uko, we are considering submitting the Pharo project as a
  mentoring organization for GSOC 2015:
  We will need your help in order to find ideas of projects.
  Is there any effort make a joint application under esug or some other 
  umbrella?
 We are under the umbrella of the Pharo Consortium.

i am aware of that. i was wondering if there are efforts beyond pharo that
would allow squeak projects as well?
i believe more projects and mentors would make a gsoc application more 
successful.

  there are a few projects on labs.fossasia.org that might fit:
 
  Create a file editor and asset manager solution with smalltalk
  Create a smalltalk application for offline text search
  emulate a PostgreSQL server in Smalltalk
  Smalltalk SQL Parser  Evaluator
 
  i also discussed with craig the idea of doing something with his context 
  work on pharo.
  essentially i'd like to use context as a tool to remote manage images.
  a gsoc project could be to work out how to set up context for that usecase
  (while helping to make sure context works with pharo)
 
 You are from FOSSASIA ? Didn't know you have some interests in Smalltalk ;-)

well, my interest in smalltalk (and pharo) is personal.
FOSSASIA is promoting Free Software in asia and as such is supporting projects
and developers in asia.

since i got involved with FOSSASIA it just made sense to list all my projects 
there.

 If some of your projects are related to Pharo, we could post also your
 projects on our lists.

the 4 projects listed above are based on pharo. the two SQL projects are not
mine btw, but are the result of me inviting mentors on the pharo and squeak
lists last month to VALS Semester of Code.

VALS Semester of Code btw, is something pharo (and smalltalk) could participate
in too in the next round.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2015 application

2015-02-11 Thread Martin Bähr
Excerpts from Stephan Eggermont's message of 2015-02-11 15:05:14 +0100:
 Sebastian wrote:
 Can I brainstorm a wishlist? I could get wild on it :D 
 
 Sure, as long as it is projects that you would be willing to mentor,
 and sized like they could fit.

well, someone else could be willing to mentor then, so i don't think it hurts
to get wild on ideas, as long as accepted ideas come with a mentor.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] GSOC 2015 application

2015-02-11 Thread Martin Bähr
Excerpts from Sebastian Sastre's message of 2015-02-11 19:37:07 +0100:

 Remote Environments for Pharo
 Implications: being able to inspect, browse and debug reliably a server Pharo 
 image from a client Pharo image would spark countless possibilities. Some of 
 them: server maintenance; hot debug on GUI-less servers in production; live 
 develop or debug remotely mobile devices that doesn’t have a server. Hot 
 changes in Pharo powered drones and robots.

this describes exactly what i believe can be done with craig's context. i am
interested to support this as a co-mentor maybe together with craig or someone
else more experienced than me.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Nautilus groups

2015-02-11 Thread Martin Bähr
Excerpts from Christophe Demarey's message of 2015-02-10 14:28:19 +0100:
 dynamic groups: 'Last modified packages', 'Most viewed classes', 'Work'

i just discovered a problem, in that when a group is selected, some important
items are missing from the content menu. in particular, add package... 

it is entirely non-obvious that i need to have a package selected in order to
add a new package which may be quite unrelated to the package i selected.

what happened next was, that i thought add group is actually add package so
i added a group and then wondered why, when creating a class, the template
didn't have the package pre-set.

it would probably better if all generic menu items, that is, those that don't
act on a specific group are present in all menus in that panel.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] get them while they are young

2015-02-11 Thread Martin Bähr
Excerpts from kilon alios's message of 2015-02-11 09:19:27 +0100:
 Well done Martin, personally I would not recommend Pharo to beginner
 coders, but with Updated Pharo By Example near completion I may change my
 mind ;)

well, they are not beginner coders, at least i hope not. 
they should have taken some programming classes already.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] recover lost changes

2015-02-10 Thread Martin Bähr
Excerpts from Hartmut's message of 2015-02-10 15:58:13 +0100:
 Working with Pharo 3.0 I noticed for a while that I could not recover 
 class definitions (do it's) from the Recent Changes.

i noticed this too.
methods worked fine, but i couldn't recover methods to new classes until i
recreated the class manually.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] get them while they are young

2015-02-10 Thread Martin Bähr
here is the reaction of a student preparing for a GSoC project for which the
student needs to learn smalltalk:

  I have installed Pharo v4.0 and started the book Pharo By Example as
   suggested by you  I just wanted to say that I am in the initial stages
   and loving it already :)

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Nautilus groups

2015-02-10 Thread Martin Bähr
Excerpts from Christophe Demarey's message of 2015-02-10 14:28:19 +0100:
 We would like to know if some of you use Nautilus groups functionality:
 dynamic groups: 'Last modified packages', 'Most viewed classes', 'Work'

do you mean 'last modified classes'?

i use them. i find them much easier to use than having to type some regular
expression to get the list i want.

i wish they would work better though. for example, when i install new packages,
i do not want them to show up in the 'last modified classes'

maybe they can be placed in a separate group: 'last installed classes'

also, when i create a new class, it does not show up until i add a method.
which sometimes means i go have to search for the class by typing its name.

i don't know what 'work' does, i never got anything when selecting that.

 user defined groups : from the menu, you can flatten the content of many 
 packages and get all classes into the newly created group.

i have not discovered this yet.

 We have the feeling that it is not used (or not a lot) and we think to 
 replace it with another mechanism (for example, let the user define his/her 
 'favorites' classes / packages).

how is that different from user defined groups?

what i find important and useful about 'last modified classes' is that, as i
work on many things, not only pharo, when i do get back to pharo, i can go: ok,
where was i? then i click on 'last modified classes' and remember.

without that i have to find some other way to remember before i can then type
what i need to find the right classes.

it may not be much, but having an easy way to see what i have been working on
just feels more comfortable.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] session two: serving files with FileSystem (is: smalltalk workshops (building a webserver) after code-in)

2015-02-02 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-01-29 05:52:52 +0100:
 you can read more about the workshop and find the screencast here:
 http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk

part two is here:
http://societyserver.org/mbaehr/training/Serving-files-through-FileSystem-in-Pharo-Smalltalk

 i am open to feedback and criticism of any kind, from pointing out redundant
 ()s or ways to improve the code to tips for debugging and testing.

can't stress this enough :-)
i am looking forward to feedback.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Damien Cassou's message of 2015-01-30 15:42:21 +0100:
  for example i'll always need the gitfiletree package, and i want to
  set the fonts to 'large'. it would be nice to be able to specify some
  scripts that are run every time a new image is loaded so i don't have
  to do it manually after opening the image.
 you have to use the startup script mechanism for that (this is standard
 mechanism totally unrelated to the launcher):
 https://ci.inria.fr/pharo-contribution/view/Books/job/PharoHiddenTreasures/lastSuccessfulBuild/artifact/StartupPreferences/StartupPreferences.pillar.html.

oh wow, yes, i was going to ask about what everyone else is doing to solve this 
problem.
there is a lot in that page. i am going to have to spend some quality time with
this to figure out how to best use it... thanks!

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] StartupPreferenceLoader in Pharo 4?

2015-01-30 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-01-30 17:05:17 +0100:
 i was just about to explore the StartupLoader described here:
 https://ci.inria.fr/pharo-contribution/view/Books/job/PharoHiddenTreasures/lastSuccessfulBuild/artifact/StartupPreferences/StartupPreferences.pillar.html
 only to find that it is deprecated, and i can't find its replacement: 
 StartupPreferenceLoader

oh, i found it: StartupPreferencesLoader

now i wonder what else in that documentation is changed...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] StartupPreferenceLoader in Pharo 4?

2015-01-30 Thread Martin Bähr
hi,

i was just about to explore the StartupLoader described here:
https://ci.inria.fr/pharo-contribution/view/Books/job/PharoHiddenTreasures/lastSuccessfulBuild/artifact/StartupPreferences/StartupPreferences.pillar.html
only to find that it is deprecated, and i can't find its replacement: 
StartupPreferenceLoader

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] discoverability: (was: how to install all of ZincHTTPComponents?)

2015-01-30 Thread Martin Bähr
(new thread because this is not a reply to sven, but a general observation for 
pharo devs)

Excerpts from Sven Van Caekenberghe's message of 2015-01-30 21:19:01 +0100:
 Are you sure you understand how Metacello configurations and groups works ?
 You are misinterpreting what you see.

how am i supposed to interpret the fact that nothing happens?

 Please read the class comment of ConfigurationOfZincHTTPComponents.
 You have to load (at least) the 'REST' group for what you want.

and i am supposed to discover this how?

two feature requests to help new pharo users:
show comments by default.
add support for groups in the configuration browser so they can be selected and
loaded right there. 

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Nicolai Hess's message of 2015-01-30 15:18:57 +0100:
  i'd like to see a cache of the downloaded images so that i can create
  multiple copies of an image without redownloading.
 On the right tree (Templates) is a node Local
 this includes all downloaded images.

i thought that would be a good place to put them, but for me there is nothing.
i already downloaded 3 images.
do i have to disable Templates cleared at startup in the config?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] New versions of the Pharo Launcher for Windows and MacOS

2015-01-30 Thread Martin Bähr
Excerpts from Damien Cassou's message of 2015-01-20 14:58:58 +0100:
 http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher

is this a good place to bug you with feature requests?

i'd like to see a cache of the downloaded images so that i can create multiple
copies of an image without redownloading.

i suppose i can do it manually by never opening the first copy, but i think it
might be helpful to have a way to make sure that an image is untouched.

i'd like to have a way to load some default configs or packages.
for example i'll always need the gitfiletree package, and i want to set the
fonts to 'large'

it would be nice to be able to specify some scripts that are run every time a
new image is loaded so i don't have to do it manually after opening the image.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] how to debug zinc server errors from tests

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:59:00 +0100:
  when debugging a zinc server with tests structured as in
  http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
  i am wondering how to best debug errors in the server while running tests.
  
  one test makes a ZnClient connection to a testserver started from the same 
  test.
  the test fails with the server returning a 500 error.
 Writing a unit test using both an HTTP client and server is already a bit
 tricky sometimes, having it fail is always ugly. This is more a threading
 issue than anything else.
 
 I usually will do as you describe: rerun manually with a server where debug 
 is enabled.

ok, unfortunately i now am facing an issue that i can not reproduce manually. i
suspect that is because of a difference between the test server (started in
withServerDo:) and my actual server.

i could probably set up a clean image and retry it there.
how can i avoid that and run a clean server instance manually in my dev image?

 It could be an idea to try to improve the situation, but it won't be easy. To
 enable a debug/continue style the client request should first not time out
 (which is not a good idea for unattended tests), then something should be
 done about the UI thread.

well, i am glad they time out, otherwise i believe the image would be locked up.
the timeout should be paused though while the debugger is running.

so the problem is really that the test would need to run in a separate thread
so as to not block the UI? but to do this, the whole test-running framework
would have to be changed, and it's not something i can do in the test code?

what about a hack to instead make a shorter timeout? let the test fail
immediately, then the UI can bring up the debugger, i can inspect the issue,
fix it and rerun the test?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] students looking for projects?

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:53:46 +0100:
  This microframework is quite handy for REST API (and the README of the repo 
  is *really* useful)
  http://smalltalkhub.com/#!/~zeroflag/Teapot
 So many options, there is Zinc-REST as well...

i am aware of both. i want to take a look at Zinc-REST first though.

i looked at Teapot briefly. i am not a fan of routing all urls from a central
location , i prefer a way where i delegate a namespace say /people where a
class then is responsible for what happens within that namespace. iaw: if i go
to /people/person/2 then the HandlePeople class would be called with the
argument person/2 or even #(person 2)

this allows me to map a REST api to an arbitrary object hierarchy, where the
base urls are only defined by the hierarchy which itself is not even aware of
REST, and once the object is located i only need to connect the REST
interaction to it and have it work the same way regardless of where in the
hierarchy that object actually lives.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread Martin Bähr
Excerpts from stepharo's message of 2015-01-30 11:05:15 +0100:
  Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:52:53 +0100:
  What exactly did you do ?
  Zinc has been in Pharo since 1.3. Loading it from its configuration load a 
  newer version. That has always worked for me and other.
  so you are saying, everything should already be loaded, and i should not 
  need
  to do anything, other than updating?
 Yes
 And use Pharo40.

then where is the Zinc-REST package?

can't find it in any image i try.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] how to install all of ZincHTTPComponents?

2015-01-30 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-30 07:52:53 +0100:
 What exactly did you do ?
 Zinc has been in Pharo since 1.3. Loading it from its configuration load a 
 newer version. That has always worked for me and other.

so you are saying, everything should already be loaded, and i should not need
to do anything, other than updating?

 Can you give some details ?

when searching for zinc|zodiac in the system browser i see the following 
packages:
(this is pharo3, pharo4 looks similar, or the same)
Zinc-Character-Encoding-Core
Zinc-Character-Encoding-Tests
Zinc-FileSystem
Zinc-HTTP
Zinc-Resource-Meta-Core
Zinc-Resource-Meta-FileSystem
Zinc-Resource-Meta-Tests
Zinc-System-Support
Zinc-Tests
Zinc-Zodiac
Zodiac-Core
Zodiac-Extra
Zodiac-Tests

in the ConfigurationOfZincHTTPComponents version255: i see the following 
packages listed:
Zinc-Character-Encoding-Core
Zinc-Character-Encoding-Tests
Zinc-Resource-Meta-Core
Zinc-Resource-Meta-Tests
Zinc-HTTP
Zinc-Tests
Zinc-AWS
Zinc-REST
Zinc-WebDAV
Zinc-WebSocket-Core
Zinc-WebSocket-Tests
Zinc-SSO-OAuth1-Core
Zinc-SSO-OAuth2-Core
Zinc-SSO-OpenID-Core
Zinc-SSO-Demo
Zinc-SSO-OAuth1-Tests
Zinc-SSO-OpenID-Tests
Zinc-WWS-Client
Zinc-WWS-Server
Zinc-Zodiac
Zodiac-Core
Zodiac-Tests
Zinc-Seaside

baseline24: further lists: 
ConfigurationOfXMLSupport
ConfigurationOfNeoJSON
(i may have missed something else)

so shouldn't all of these be installed?

i am of course mostly interested in Zinc-REST, not sure if i need the rest, but
my expectation was that since there is no entry for the REST package in the
configuration browser, i should be installing ConfigurationOfZincHTTPComponents
to get it.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] students looking for projects?

2015-01-29 Thread Martin Bähr
Excerpts from Sven Van Caekenberghe's message of 2015-01-29 22:57:57 +0100:
 There are some students here in Lille that were looking for a cool project,
 and this is one of the two subjects that I suggested to them.

you have students looking for projects?
there are a bunch of smalltalk related projects on labs.fossasia.org that i am 
mentoring.
not sure if they count as cool though...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] how to install all of ZincHTTPComponents?

2015-01-29 Thread Martin Bähr
hi,

in pharo3 when trying to install ZincHTTPComponents only a few additional
classes seem to  get installed, not the whole set packages defined in the
configuration.

in pharo4 (40467) it's even worse. ZincHTTPComponents is already in the image,
and installing it does nothing, removing and reinstalling it likewise.

how do i force a reload/installation of all the packages listed in the
ZincHTTPComponents configuration?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] smalltalk workshops (building a webserver) after code-in

2015-01-28 Thread Martin Bähr
hi,

Google Code-In is over (i'll probably write more about that later)
and there are a few students who have started their path to smalltalk.

because there was interest among the students to continue learning, we have
started a series of workshops to learn the elements of building a webserver.

i have created a screencast for the first topic: FileSystem

you can read more about the workshop and find the screencast here:
http://societyserver.org/mbaehr/training/Using-the-FileSystem-class-in-Pharo-Smalltalk

being new to smalltalk myself, there are probably some mistakes, and things
that could be done better, however i believe the screencast is usable for
learning. 

i recorded this mostly without interruption except for a few times where i was
lost and had to stop and look up what i was going to do.

i am open to feedback and criticism of any kind, from pointing out redundant
()s or ways to improve the code to tips for debugging and testing.

the next workshop will be saturday the 

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] how to debug zinc server errors from tests

2015-01-28 Thread Martin Bähr
hi,

when debugging a zinc server with tests structured as in
http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/
i am wondering how to best debug errors in the server while running tests.

one test makes a ZnClient connection to a testserver started from the same test.
the test fails with the server returning a 500 error.

next i get an opportunity to debug the test, but what i really want is to to
debug the server itself.

one way is to run the client request manually from the browser, while the real
server is in debug mode. that works most of the time, but sometimes it doesn't
because there is a difference between the test-server and the real server.

i found that i can set the test server into debug mode too, but that is not
very satisfying because it causes the test to hang and lock until a timeout is
reached and only then the debugger pops up. i'd like the debugger pop up
immediately, let me debug and fix the error, and then have the tests proceed.

is there a way to do that?

greetings, eMBee.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] any imap + smtp client available?

2015-01-26 Thread Martin Bähr
Excerpts from David T. Lewis's message of 2015-01-26 13:58:16 +0100:
due to compute power constraints, i am running pharo as my only
application via xinit, having to constantly switch between pharo
and console (for mutt) is becoming painful.  :)
   another approach to that problem (which i am interested in) is to have a
   terminal within pharo.
 Are you aware of CommandShell (http://wiki.squeak.org/squeak/1914)? Look for
 ConfigurationOfCommandShell.

well, PipeableOSProcess is part of the CommandShell package, so i have seen it
and speculated that there was more to it, but i could not really see what else
that was. thank you for pointing me to documentation. this will help for some
of my commandline work. it won't help to run mutt, sup (the mail client i use)
or tmux though.  for those a full terminal emulator is needed.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] any imap + smtp client available?

2015-01-26 Thread Martin Bähr
Excerpts from David T. Lewis's message of 2015-01-26 16:57:10 +0100:
 due to compute power constraints, i am running pharo as my only
 application via xinit, having to constantly switch between pharo
 and console (for mutt) is becoming painful.  :)
 another approach to that problem (which i am interested in) is to have
 a terminal within pharo.
 Are you aware of CommandShell (http://wiki.squeak.org/squeak/1914)?
 thank you for pointing me to documentation. this will help for some of my
 commandline work. it won't help to run mutt, sup (the mail client i use)
 or tmux though.  for those a full terminal emulator is needed.
 FYI, Ian Piumarta implemented telnet with full terminal (VT102) emulation.
 It uses a pty interface and thus supports mutt and text editors directly
 in the image.
   http://squeakvm.org/unix/goodies.html#html/goodies.m4.2.0
 It works very well and does exactly what you want, but it was written more
 than 10 years ago and I cannot say what would be required to make it work
 on Pharo.

Oh! must . have . this . now !

thank you so much for this find!

is anyone more familiar with pharo willing to work with me on this to see if we
can get it to work?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-26 Thread Martin Bähr
Excerpts from Marcus Denker's message of 2015-01-26 11:26:58 +0100:
  https://pharo.fogbugz.com/default.asp?14669
  pretty much every other Free Software project out there has this stuff
  accessible without login.
 Yes, sadly fogbugz does not support that.
 
 We will move just due to this to another issue tracker eventually, but it
 will be quite some effort.  I do not yet know when we will have the time and
 energy to do that.

thanks, that's comforting to know.
has there been any consideration for which issue tracker would be preferred as 
a replacement?
github? some Free Software platform? something homegrown?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-25 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-26 05:49:18 +0100:
  i am not running ubuntu at all.
 and you wonder why an ubuntu specific project is not working - funny ;)

i am not wondering why it's not working, i am wondering why it is hanging.
if the code aborts and i get thrown into a debugger, i can deal with that (and
make an attempt to fix it) but if it just silently hangs the whole image, i am
stuck until i learn how to handle that.

  pharo4 is a few weeks old, i'll update that.
  
  i see no reason why opening a terminal should be ubuntu specific. in any 
  case
  though, it should just fail and not hang.
 Check class side methods UbuntuShell.
 
 It only calls gnome-terminal which might not be available.

well, gnome-terminal is available, so it must be something else.
now i just need to figure out how to get the debugger started manually, and
then i'll investigate.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-25 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-26 05:14:38 +0100:
  i can't get it to work.
  whatever i try to load, pharo just hangs when i try to use one of the linux
  menu entries.
 Are you sure you run the latest ubuntu,  the latest 4.0 image and the latest 
 Pharo
 virtual machine? Did you follow the PPA installation guide on: 
 http://pharo.org/download?

i am not running ubuntu at all.
pharo4 is a few weeks old, i'll update that.

i see no reason why opening a terminal should be ubuntu specific. in any case
though, it should just fail and not hang.

 In any other case the debugger is your friend. Step through the methods
 tell us where exactly it hangs (which call with with parameters).

i need a little help here, i know how to use the debugger when it gets called
on an error, but how do i start the debugger beforehand to trace what's
happening before? 

do i need to set a breakpoint and then step through? 
where would i set that breakpoint?

but before that, what do i need to actually install? just OSLinuxUbuntu or 
OSUnix as well?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-25 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-26 05:49:18 +0100:
  i see no reason why opening a terminal should be ubuntu specific. in any 
  case
  though, it should just fail and not hang.
 Check class side methods UbuntuShell.
 It only calls gnome-terminal which might not be available.

thanks, the code is less complex than i expected.
there is not much to debug even, because Ubuntu system: 'gnome-terminal '. is 
what hangs.
and Ubuntusystem: is just calling nativeboost. so the problem must be in
there. i have updated to the latest pharo4 image, but i didn't check that the
pharo-vm is up-to-date.

btw: PipeableOSProcess command: 'gnome-terminal '. works just fine.

what is the difference between using nativeboost instead of OSProcess?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-25 Thread Martin Bähr
Excerpts from Ben Coman's message of 2015-01-26 08:42:23 +0100:
 Just a random thought.  Can you see what effect installing the slice for
 the following issue has?
 https://pharo.fogbugz.com/default.asp?14669

can't access that without registration. sorry, but that's a serious impediment.
i already have to many accounts to manage.

pretty much every other Free Software project out there has this stuff
accessible without login.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] [ANN] OS Project with initial support for Ubuntu and Unix

2015-01-25 Thread Martin Bähr
Excerpts from Torsten Bergmann's message of 2015-01-09 11:27:01 +0100:
 beside the existing OS-Windows support for Windows operating system
 the Pharo OS project (http://smalltalkhub.com/#!/~OS) now also has 
 new subprojects for OS-Unix and OS-Linux-Ubuntu with some initial
 support for these native platforms as well.
 
 You can load it from the config browser in Pharo 4.0. I guess the 
 attached screenshot will explain it all...

i can't get it to work.
whatever i try to load, pharo just hangs when i try to use one of the linux
menu entries.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] any imap + smtp client available?

2015-01-25 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2015-01-26 02:00:14 +0100:
 Excerpts from Mayuresh Kathe's message of 2015-01-25 22:42:37 +0100:
  is there any email client with imap + smtp support available under
  pharo at the moment?
  
  problem:
  due to compute power constraints, i am running pharo as my only
  application via xinit, having to constantly switch between pharo
  and console (for mutt) is becoming painful.  :)
 
 another approach to that problem (which i am interested in) is to have a
 terminal within pharo.
 take a look at http://smalltalkhub.com/#!/~OS
 it now supports unix/linux and includes a terminal.

i have to retract that. it just opens a gnome-terminal. you'd still need a
window-manager to switch between terminal and pharo.

though it seems like that is our best option: find a minimalistic window
manager that allows switching between a few fullscreen windows...

without a window-manager the following could work: use an os command to open a 
terminal.
(either OSLinuxUbuntu or just OSProcess: PipeableOSProcess command: 
'gnome-terminal '. )

it should open the terminal on top (though i don't know hw it behaves without a 
window-manager)

run tmux (or screen) with mutt inside. detach tmux when done with email.
close the terminal, which brings you back to pharo.

that way the terminal is not using up resources when it's not running, but mutt
keeps running, and can be accessed when you need it.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] any imap + smtp client available?

2015-01-25 Thread Martin Bähr
Excerpts from Mayuresh Kathe's message of 2015-01-25 22:42:37 +0100:
 is there any email client with imap + smtp support available under
 pharo at the moment?
 
 problem:
 due to compute power constraints, i am running pharo as my only
 application via xinit, having to constantly switch between pharo
 and console (for mutt) is becoming painful.  :)

another approach to that problem (which i am interested in) is to have a
terminal within pharo.
take a look at http://smalltalkhub.com/#!/~OS
it now supports unix/linux and includes a terminal.

it's in the pharo4 config browser.

i don't know how well it works (a first try to start a terminal hangs the image 
:-(

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] improving print-it in playground

2015-01-24 Thread Martin Bähr
Excerpts from Ben Coman's message of 2015-01-25 04:55:45 +0100:
  I am still looking for concrete use cases why people need to see the
  printout in the editor. Could you provide an example of when you need it?
 Here is one I just had.  I wanted to select the result of this...
  Object allMethods detect: [ :m | m senders size = 1 ]
 so that I could press the shortcut key for all senders on it to view that
 code.

shortcuts and mouse-clicks should work on the popup as they work on a selection.

i had a case where the popup was to on the right edge partly off the screen
that the inspect icon was not accessible. a problem in itself, but being able
to use short-cuts as normal would have helped.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



[Pharo-users] comparing FileReference

2015-01-24 Thread Martin Bähr
hi,

i can't seem to figure out how to normalizethe path of a FileReference
i am trying to compare 
FileSystem disk root / 'local/lib'
with
Filesystem disk workingDirectory / '..'

but they don't match because the latter produces:
File @ '/local/lib/pharo4/..'

i'd expect to be able to compare two references as equal if they point to the
same directory on disk, regardless of the path getting there. 

is there any way to accomplish that?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Popular

2015-01-23 Thread Martin Bähr
Excerpts from Ben Coman's message of 2015-01-23 08:56:58 +0100:
 In addition, I consider running on pure 64-bit OS to be critical to gain
 credibility in the wider community. 

yes, i was quite surprised to find that 64bit is not supported yet.
in my case i had to pick all the 32bit dependencies by hand to make it work
which was quite an effort.

 So how do we target experts?
 * Experts are probably more suspicious of hyperbole and cheer leading.
 * Experts are in demand and busy - so short targeted concrete examples
 would be good.
 * Maybe quickstart tutorials demonstrating foundations for different
 application areas
* Web (e.g. http://zn.stfx.eu/zn/build-and-deploy-1st-webapp/)

definitely! for me this is the tutorial that had me hooked into hacking on 
pharo.

* Games
* Business GUI
* Business RDMS App
 * Demonstrating Pharo's tight debug/compile/resume workflow

oh yes!

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Mea Culpa

2015-01-22 Thread Martin Bähr
Excerpts from kilon alios's message of 2015-01-22 08:13:57 +0100:
 Popularity indeed comes with a high price. Guido the creator of python he
 has said in one of his presentation that there many people who want to add
 their libraries to python distribution but they should not want to do that,
 because once a library is added it become very difficult to change since so
 many people depend on it to keep backward compatibility. He claimed that
 even simple bug fixes have to go through lengthy review process. This can
 be expanded to the entirety of the IDE and the language.
 
 This the most important reason why pharo has been moving forward so fast
 and why popular languages move at glacial speed.
 I dont want to lose that so yes I dont want for pharo to become popular.

squeak already hast that 'problem' i believe and pharo is actively working to
counteract it by removing less important things. so i doubt pharo will suffer
from the pressure to fill it up with new packages any time soon.

in this case it may be a win for all because those who want backwards
compatibility can choose squeak, and those who want fast paced action may use
pharo.

also craig with context is working on minimizing the images which i believe
should help to move more and more things out of the core, allowing you to pull
them back in, making it possible to choose from various versions, based on your
compatibility needs.

ironically, i actually expect to want backwards compatibility in the future.
but backwards to now, not to a decade ago, so i hope pharo development will
eventually slow down somewhat.

in addition, the multiple smalltalk implementations also act as a stabilizing
factor, because people will want to write code that runs on all of them.
(seaside for example) so pharo can't go that far out of line and make itself
completely incompatible.

i am also not sure which is better. a large standard library makes for a more 
stable system.
having lots of important 3rd party libraries can lead to dependency issues...

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] improving print-it in playground

2015-01-19 Thread Martin Bähr
Excerpts from Tudor Girba's message of 2015-01-19 08:33:04 +0100:
 I worked with Andrei to find a solution for improving the print-it support.
 You can take a look here:
 http://www.humane-assessment.com/blog/improving-print-it-support-in-gtplayground

have not tried it yet, but i wondered about this problem.
as mentioned elsewhere, i too would like this in every textbox.

most notably in the debugger where i do a lot of print-it to find out the value
of some expression.

i'd also like to pick up on the idea that when there is no selection the whole
line will be evaluated (btw, there is a typo, you wrote like), and that line
will only be highlighted.

the idea is great, but what about if i do evaluate a selection? 
could in that case the selection be turned into a highlight? 
there is no way around to make a selection in order to evaluate it, (unless
some form of shift-control-whatver-key+mouse selection is introduced) but once
evaluated it is clear that i didn't intend to select to replace the text, and
i'd like to avoid doing so accidentally.

also, would it make sense to keep the highlight until another piece of code is
evaluated?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] Stackoverflow, was: [Pharo-dev] Could we keep Pharo-dev for Pharo-dev?

2015-01-15 Thread Martin Bähr
Excerpts from Daniel Lyons's message of 2015-01-15 19:47:22 +0100:
 The Prolog section does pretty well by having a small but significant
 community that watch the Prolog tag like hawks.

something like rss2email could be used to forward stackoverflow questions to
the list, so that they'll be noticed by more people to be answered.

 The big advantage of Stack Overflow is that googling your question finds
 it there with an actual answer.

yes, when i search for a problem on google, stackoverflow search results are my
favourite choices to look at.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
secretary  beijinglug.org
mentor   fossasia.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] pharo at google code-in

2014-12-30 Thread Martin Bähr
Excerpts from Martin Bähr's message of 2014-12-24 19:48:47 +0100:
 i have been meaning to learn smalltalk for a while, but i always lacked a good
 project that i could do with it, until recently. and figuring that teaching is
 the best way to learn i put up my projects as tasks for google code-in as part
 of FOSSASIA which is a code-in mentor organization.

i posted a write-up of the smalltalk projects and tasks here:
http://societyserver.org/mbaehr/learning-smalltalk-with-Google-Code-In

i'll be updating that as students work progresses and if i add new tasks.

i am also still looking for tutorials that can be used to start learning pharo.
in particular for spec and desktop apps in general, but i don't mind having
more options for webframeworks too.

so far i have 4 students started on smalltalk, one of them didn't continue
after the tutorial (so i reopened the task for others), and one who is learning
amber.  we'll see if any of them pick up the actual project tasks.

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
BLUG secretary beijinglug.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



Re: [Pharo-users] pharo at google code-in

2014-12-25 Thread Martin Bähr
Excerpts from Hernán Morales Durand's message of 2014-12-25 17:24:18 +0100:
a desktop application that can search a given collection of text and
browse the search results.
 Do you have a prototype screenshot for the UI? A mockup?
 It could be interesting to see what do you expect to see.

i don't have any mockups. the UI is very simple.

in the final version i expect the following:

some intro text about the application,
a search-box and a selection of categories,
a directory to browse the contained documents without searching.


when pharo starts, this should come up automatically, and any development tools
should be invisible. in part that means, the world menu should be hidden and
only accessible through a keyboard shortcut, or ideally only available when
pharo is started with an extra commandline argument (eg --devmode)

the user can then browse the documents or search.

search results should be a long scroll-list and clicking on a result should
expand the document at the location where the term was found, allowing to
scroll back and forth from that point.

the initial version will only support plain text, but future versions may
support html text to allow for cross-links in documents.

a generic use-case would be something like an encyclopedia. it has lots of
articles in various categories, and it makes sense to deliver it as a complete
application with all assets contained in the image.

there is also a mobile component which is essentially the same idea but
designed for a mobile phone. this is currently being worked on using
javascript/phonegap to be cross-platform.

i don't know if pharo can run on a mobile phone. i'll explore that when the
desktop app is functional.
 
   I would only list the one that are maintained. Because it is not fun to
   work with dead projects.
  agreed, however iliad happened to have a very good tutorial which included
  serving static files, which is one of the features needed for the website.
 Iliad is not unmaintained and is not a dead project. Please subscribe to
 the Iliad mailing-list to keep updated of latest changes. We are exploring
 options to migrate the old web-site to a new server. I am integrating
 changes for working with modern (responsive) CSS frameworks.

that is good to know. it is an interesting project. i didn't see much traffic
in the google group, and with the website down and no updates to the code on
github for years or visible release announcements it is difficult to get a good
impression.

what is missing to get the website back up? just a host?

greetings, martin.

-- 
eKita   -   the online platform for your entire academic life
-- 
chief engineer   eKita.co
pike programmer  pike.lysator.liu.secaudium.net societyserver.org
BLUG secretary beijinglug.org
foresight developer  foresightlinux.orgrealss.com
unix sysadmin
Martin Bähr  working in chinahttp://societyserver.org/mbaehr/



  1   2   >