interesting article about the evolution of JUnit:
http://java.dzone.com/articles/your-code-structured
So what is the current structure for SUnit...
maybe it is just me ... but will we continue to name classes like this?
= NewListModel (will it still be new in year 2052)
= AlainTreeModel (followed by StefsNewTranscript, BenObject,
IgorNBWinConstants, ...)
What was the timeline for namespaces?
Bye
T.
First was a joke, but second:
What was the timeline for namespaces?
was a question...
Bye
T.
I heard about RFB already working on Pharo 2.0
I heard about Seaside 3.0.8 already work in Pharo 2.0
I heard about SandstoneDB is now adopted for Pharo 2.0
I heard about ... already work in Pharo 2.0
...
So please: update your ConfigurationOfXXX and put working
configs with a #stable definition
Maybe this shows that we really need the automated process we are
looking/wishing since a long time :)
We dont have that now. So remember the Pharo idea: step by step.
Typically:
1. You have to adopt/port a package for a new Pharo version (here 2.0)
2. adopt the config to load
3. verify that
Yes - the SandstoneDb project on Squeaksource is read/write - just commit.
Esteban wrote:
also, I noticed there is no ConfigurationOfSandstoneDB...
There already is one in MetacellRepository, just look at the comments below the
video:
No idea why happened.
I copied the a missing file in the repository
Try again, it should work now
Alexandre
Works now - thanks. I've put a copy of the config into ss3/MetaRepoForPharo20
so one can easily load via Configuration browser from within the 2.0 image.
Bye
T.
Works now - thanks. I've put a copy of the config into
ss3/MetaRepoForPharo20
so one can easily load via Configuration browser from within the 2.0 image.
Excellent!
Something that would be amazing, is to have a small text panel that appears
when you select a configuration, with a
I read about this game today. It is written in Lua and
one can play the game by editing Lua scripts (in an external editor)
to optimize trains for transportation:
http://trainsportedgame.no-ip.org/index.php
http://www.youtube.com/watch?v=yFKZd8nEQyA
This game combines learning and playing and
Gofer new squeaksource3: 'Versionner'; package: 'ConfigurationOfVersionner';
load. (Smalltalk at: #ConfigurationOfVersionner) project lastVersion load.
I get:
Could not resolve: Metacello-ToolBox [Metacello-ToolBox-dkh.130] in
C:\Pharo\Pharo2.0-one-click.app\Contents\Resources\package-cache
Thanks - Pharo 2.0 and Zinc makes it really easy
to work with, write AND test HTTP stuff:
--
testHandleRequestForFavIcon
| response mime |
response := requestHandler
Esteban wrote:
there is no metarepo for 3.0 yet.
Also, it will be moved to sthub so... yep, broken :)
I already created it two weeks ago and the config browser is already
switched to it with SLICE-Issue-10138 on 27th of March
http://smalltalkhub.com/#!/~Pharo/MetaRepoForPharo30
It also
There is
Parasol http://ss3.gemstone.com/ss/Parasol.html and
Webtester http://www.squeaksource.com/WebTester/
both for Pharo and both using Selenium driver to test web apps.
Anyone able to describe the differences or experience?
Why two projects instead of one?
Thx
T.
We have so many cool mechanisms for in-image and external documentation now
that I sometimes get confused!
The old HelpSystem that I wrote is in-image and was a first attempt on docu.
It can be used, but these days I REALLY prefer that we switch to
PharoOnlineHelp
which is available in the
MartinW wrote:
- When you drag and drop a finished (red) Pomodoro Morph the whenFinishedDo:
block is executed every time on dropping the morph.
Ahh ... I see. I fixed that.
- The clock starts with 4 seconds and displays the 'Pomodoro finished'
notification 1 second after the progress bar and the
When working with Seaside (or other frameworks) one often works with
non-Smalltalk resources
stored within the image (CSS styles, images, ...) often stored as strings within
methods:
myCss
^'body {
background-color: #ce;
}'
or
script
^'alert(hello from Javascript);'
I also
What about Ants:
- painstaking
- hard-working
- diligent
You need many of them to clean the woods. Every contribution counts and
they work together.
http://www.slideshine.de/browser/uploads/94/Ameisen/Ameise%20mit%20Blatt.jpg
Also remember the ant simulation in squeak ;)
Pharo 2.0 has NativeBoost-Core-EstebanLorenzano.116 which is in
http://ss3.gemstone.com/ss/Pharo20 since NB is now in Pharo 2.0
The same version is not in the old squeaksource/NativeBoost repo
and also not in the new SmalltalkHub native boost project.
When having additions to NB where should I
On Tue, Mar 19, 2013 at 7:24 PM, Noury Bouraqadi bouraqadi at
gmail.comwrote:
That's cool.
I wonder if there is a web page that gathers all important links to the
Pharo community.
Yes - just load PharoOnlineHelp from Tools - Configuration Browser in Pharo
2.0
Start the server in the
I played with building a custom windows VM last night (setting up
all the tools, ...) to see how well it goes these days.
I generated an own one by subclassing CogWindowsConfig
and got the final executable after building. Still this default
VM did not have NativeBoost.
I used
Hi Igor,
I looked at CogWindowsConfig since it was provided in the file in
workspace of ImageConfiguration.st.
After that I browsed this class using ALT-B and saw the subclasses
but only within category CMakeVMMaker-Windows.
Stupid me - maybe it was too late after installing all the tools.
### Here's what I've been up to since the last WhatsUp:
- $HEROIC_ACHIEVEMENTS_OR_DISMAL_FAILURES_OR_SIMPLE_BORING_NECESSARY_TASKS
- provided the config for simple persistence directly on the config browser
- provided a ConfigurationOfDeveloperWorkspace in the config browser to
make Pharo a
Sven wrote:
The last couple of days I have been using the new command line tools and zero
conf scripts for real and I must say that I am truly impressed and happy.
The save, printVersion, eval, st, config and test handlers are a joy to work
with. The terminal colours add a nice polish.
Any
Stef wrote:
But accessing sql libs is not core so I would like to avoid to have a vm with
all the
librairies people used. You do not ***Imagine*** the amount of energy and time
igor spent on making cairo backend be working on the three platforms.
I do not say that the libs should go to the
I know there is MongoDB and other NoSQL stuff ... but interfacing with RDBMS is
still common.
What options do we have in Pharo 2.0 now?
Is DBXTalk known to work on Pharo 2.0?
Is the project still actively maintained? What are the plans there?
Thx
T.
Guillermo wrote:
The last time I tried to load DBXTalk in 2.0 the image hang up when loading
FFI :(. So probably we should think on switching to NB FFI, but it will
take some time...
Mhhh ... when I load ConfigurationOfFFI configuration browser
and then manually load FFI-Tests-tbn.6 from
Hi @seaside-dev (CC-ing Pharo list and seaside users list):
Pharo 2.0 is upon completion and it would be good to have a working Seaside
running on it out of the box using a ConfigurationOfSeaside accessible
through the configuration browser.
(Aida is also already working this way).
What I
Stef wrote:
Pastell is now migrated to SmalltalkHub and has a nice CI job
Please note that previously ConfigurationOfPastell
had the versions: 1.0, 1.0.2, 1.0.3, 1.0.4 and now
has the versions: 1.0, 1.1., 1.2, 1.3
That broke other configurations that depend for instance on 1.0.4
and it adds a
Stef,
this is not a problem of SqS. I copied the two new versions
manually today back from MetacelloRepository to the SqS/Pastell
repo since it looks like they were missing there.
This is historic and from the time when usually sqS/MetacelloRepository
was used for all configurations.
It's
Using XMLWriter writer directly is stream based and will not help you here.
In Pharo 2.0 load Pastell (ConfigurationOfPastell) from the config browser.
It also loads ConfigurationOfXMLSupport as a single dependency.
This XMLSupport package is usually used for parsing XML and with Pastell
you
Phile wrote:
But the Browse button invokes a NBWin32Shell class, which doesn't
works too well on my Mac.
Yes I know.
Thats why I asked
http://lists.gforge.inria.fr/pipermail/pharo-project/2013-February/074553.html
for more browser support in NativeBoost on other platforms. The only answer I
Found this on the web:
http://smalltalk.gnu.org/blog/zecke/making-my-osmocom-smalltalk-packages-available-pharo
When updating from Pharo2.0a Latest update: #20559
to Pharo2.0a Latest update: #20560
There is no progress bar visible.
I'm not sure - in #20557 there was a change on progress bar
and the issue http://code.google.com/p/pharo/issues/detail?id=7110
does not really describe what
Hi Benjamin,
from your example I guess you know how to convert from decimal (base 10) to
binary (base 2):
9 printStringBase: 2
gives you the binary representation/bit string: '1001'.
If I understand your post correctly you want the other way around and you want
to
get the decimal value
Add this method to String class:
convertFromBase: sourceBase to: targetBase
Convert the receiver (who has to represent a number string) from the
given source base to
the given target base
'' convertFromBase: 16 to: 2
Sven wrote:
So something like this should work:
(Integer readFrom: 'FF' base: 16) printStringBase: 2
Integer readFrom: 'FF' will not work since #readFrom: expects a string in
decimal representation
and 'FF' is hexadecimal. It also wont work for large numbers due to sending it
to Integer.
Euh, sure this works:
(Number readFrom: 'FF' base: 16) printStringBase: 2
Yes, one has to use Number instead of Integer and #readFrom:base:
#readFrom: works too if you already have the string in source base
representation, e.g. '16rFF'.
The timing is good - currently work on the literal
This was just an example to play with since you asked
for a #convertFromBase:to: method in your original mail
and one cant provide such a method on Number. Your
original request
11 convertFromBase: 2 to: 10
may work - but it wont work for hex values:
FF convertFromBase: 16 to: 10
then FF
In Pharo 2.0 one can now use
NBWin32Shell shellBrowse: 'http://www.pharo-project.org'
which will open an external webbrowser on the given URL. This is currently
limited
to Windows.
Anyone able to implement/call appropriate NB functions for Mac and Linux?
I would like to see a unified
Hannes wrote:
If I open the Pharo one click 2.0 on Windows by double-clicking on
'NBCog' I get a 'Choose file' dialog
Yes, this is a problem with the (current) double-click build.
See my post here:
http://lists.gforge.inria.fr/pipermail/pharo-project/2013-February/074358.html
Quick fix is
Hannes wrote
Thorsten,
reading what you have written, am I right that we just need a
NBCog.ini
file for MSwindows?
We already have an INI file in the Pharo 2.0 one-click.
This INI file contains the correct entry about where to find the image file.
But it is named CogVM.ini instead of
The new one-click on the CI server contains
an *.ini file.
But it is named CogVM.ini and since the VM
is called NBCog.exe it's useless.
Maybe this is already taken care of since
I've seen a thread about the naming of the VM.
IMHO we should have:
- Pharo.exe
- Pharo.ini
and a resource
Can anyone give an update on the status of
Pharo for Raspberry pi?
in the 4.3 one-click too
...
#unclassified methods by author
...
stephaneducasse145
Interesting ;)
As I wrote in http://markmail.org/message/oo4gsiyasoinkmol:
ownquote
Removing packages or classes that are not documented is too hard ... but we
should use Lint rules to check the
The class OrderedIdentityDictionary is currently defined in package
Spec-Core.
Since it is useful also in other scenarios and I do not want a dependency
on spec: wouldnt it make sense to move it to a more common Collections-...
package.
Since there is already Collections-Unordered I would
Stef wrote:
good idea.
Do you know the test coverage of the class?
Because it would be nice to run hapao on it and write some tests if there are
none.
Actually there are no tests - at least not in the Pharo image.
Maybe Benjamin can comment if there are some tests in the Spec universe for it.
I
Hi Camillo,
just kidding
OK I now created a google group for mophic, I also created one for zinc, for
filesystem
and since it is now all there please stop using this mailinglist...
/just kidding
Sorry - couldnt resist ;)
But with your action on creating a google group for NB I'm now not sure
I dislike outsourcing it to a google group. NB is now part of the image and the discussion should be here as well.Otherwise we end up with too many places nobody will be ableto follow or find...Please close the group since it adds more confusion.ByeT.
Hi Sean,if the config has a stable defined for Pharo 2.0 then pleaseplace an updated copy also inss3.gemstone.com/ss/MetaRepoForPharo20This way it will be available in the Config browser and easyto load right from the image.ThxT.
I get a merge problem (3 conflicts) when updating from aPharo-20486.image:KeyChain-StephaneDucasse.29
Mmmmhhh the image had no modified packages and I got it on mondayfrom CI. I used a fresh one from today too - it works now.Sorry for the noise ...ThanksT.
Anyone know why this happened?
Just a guess: the lates package from 2013-01-22 17:26:46 was named
Manifest-CriticBrowser-SimonAllier.41.mcz.mcz
with two .mcz endings. Maybe this is problematic...
Bye
T.
For Morphic look at Hans Martin Mosners work (Spreadsheet.zip)
here:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-September/131244.html
For seaside/web there are many jquery plugins for that available
on the web itself. For example:
http://www.infai.org/jpeg/
Version 9 13-Jan-2013
Add cjpeg -rgb1 option to create an RGB JPEG file, and insert
a simple reversible color transform into the processing which
significantly improves the compression.
From the history of Squeak and Pharo you can:
1. Squeak.exe (VM for Windows) was always able to set this using
the Setting WindowTitle in Pharo.ini - see
http://squeakvm.org/win32/settings.html
This was implemented by Andreas Raab (maintainer of SqueakVM)
2. Later there was
I downloaded the NBCog.exe and was able to execute the 'NBWin32Window
getFocus setWindowText: 'Hello using Native Boost' example you showed
above. It looks me to like they are direct calls to the Windows API
which don't require any external DLLs other the built in Windows
ones..
Yes, as I
When one deploys an image one usually requires ONLY
the image - not the source or changes file. An image locker
code would look like this:
SmalltalkImage checkSourcesFileAvailability: false.
SmalltalkImage checkChangesFileAvailability: false
do disable acording warnings when
How can one add a new custom icon for his own
class (hierarchy) into Nautilus.
I can add one with tricks in ClassesIconsCache
in class AbstractNautilusUI.
But is there a default extension mechanism similar
to OB where one just implemented a method #browserIcon?
Thx
T.
Hannes Hirzel wrote:
Thank you for the announcment of Fuel. Where do I found the home page of it?
AFAIK it is here:
http://rmod.lille.inria.fr/web/pier/software/Fuel
Bye
T.
I thought the distinction you wanted to make was
identifying which Configurations the Inria Pharo Team took direct
responsibility for supporting, which I thought was a reasonable
distinction and I would find useful.
No - I justed wanted to have all the Configs that worked
in a specific Pharo
Yes - but the easy to remember shortcut subdomain
http://ci.pharo-project.org
still points to the old one!
Whoever can fix this he should also look at:
http://code.google.com/p/pharo/issues/detail?id=7059
Bye
T.
Göran wrote:
sniplots of nice stuff about SmalltalkHub/snip
I agree with all you wrote and hope to put
not too much pressure on Nicolas ... but:
1. at a bare minimum it needs a way to see what
projects are hosted as we have seen from the
discussion in this thread
2. It's open
I think the naming is more related to historic
development: my original implementation just had one tab
named Configurations.
Esteban later added Untrusted since these are the ones
that are not (yet) tested in the according Pharo version.
It's a nice addition since it makes them easily
Persisting data is crucial for any application and there
are many ways to do it. Be it RDBMS, NoSQL stuff or in-image
persistency. There are many pre-built solutions: Gemstone, OpenDBX,
SandstoneDB, Mongo, ...
From time to time I ask the question here on the list
to see how it evolves and what
Are there plans for SqueakDBX regarding porting it to Pharo 2.0
or moving it from FFI to NativeBoost?
I'm working now in produce branded Pharo VMs with NB support out of the box.
Please - can we use the attached icon for the new branded
windows VM. It is more Pharo like than the Cog wheel one and
includes all sizes.
Thanks
T.
attachment: Windows.ico
1. Since NativeBoost is now integrated I removed the config
from the ConfigurationBrowser - because it makes no
sense to install when it is already in the image :)
2. Please help to test external packages and if they are known
to work on Pharo 2.0 please put a copy of ConfigurationOf...
1. Since NativeBoost is now integrated I removed the config
from the ConfigurationBrowser - because it makes no
sense to install when it is already in the image :)
...
Do people only use the ConfigurationBrowser for initial installing of the
packages, or does it get used for when the
When I select a few lines of text in Pharo 2.0 code
editor and hit TAB it is not indented as in
other IDE's. Instead it is deleted similar to
when one hits space key.
Usually TAB in IDE code editors is used to
indent a selected block of text and SHIFT+TAB
is used for the reverse (outdent).
Is
It's not a Linux issue. When I run
(Delay forSeconds: 5) wait
on Win32 with Pharo 2.0 I can also not
interrupt it using ALT+.
I checked and UserInterruptHandler cmdDotEnabled
returns true in my image. Havent digged deeper.
Can you please open an issue?
Thx
T.
On Win32 (german locale) I can not interrupt
(Delay forSeconds: 10) wait. 1 inspect
when using NBCog.exe as a VM.
Even when I set a new key like ; (without ALT) I can not
interrupt the delay.
|handler|
handler := UserInterruptHandler new setInterruptKeyValue: ($; asciiValue).
handler
Same issue with Stack VM. So it looks like it
is image side.
When the keyboard focus is in a workspace and
I hit CMD+. it not directly interrupts. Only
when I repeat very often.
I've put a
Transcript show: toInterrupt asString; cr.
into UserInterruptHandlerhandleUserInterrupt and
very
I can try. What I find a bit odd is that when I press Alt-. it
actually prints a $. (say in a Workspace) just as if I had *only*
pressed dot. That may be the main problem here - Alt is not properly
detected?
Yes same here. But some Transcript outputs into
UserInterruptHandlerhandleEvent:
and
Mhhh ... translating Markdown - HTML directly
using JavaScript in the webbrowser is a good idea.
Showdown does have BSD license. But PageDown seems
like a better option. It is MIT and comes with an editor too.
One can try it here:
http://pagedown.googlecode.com/hg/demo/browser/demo.html
Would
Can anyone point me to a spec example
with a (context) menu with icons and
where we can enable/disable specific
menue items depending on state?
and i am not really happy with that. I prefer having 9 methods in Object than
9*100 methods in many classes.
What about having just one single method on Object called #externalCaller (or
just #external) that returns an object understanding the
callout protocol.
self externalCaller call:
We should keep in mind that Smalltalkhub is still under development :)
And our poor Nicolas is running out of time (too many things to do) :D
Sorry for reminding on this: I see a clear downside of all
this since smalltalk hub is currently very concentrated on
one person and his time schedule.
Nice!
You should disable the undo menu on evaluted expressions
since they can not be undone.
UI need some work (alignment, splitter size, ...)
Will it support grouping similar to Tools - Recent Messages
so I can see changes I did on a method, class, ...?
Thanks
T.
AFAIK the idea was to integrate NB into Pharo 2.0.
So shouldnt this be done first ...
It should be a pluggable design similar to current help
system so one can write in wikistyle, html, markdown, ...
But we need one default. I like Markdown too - but
do we have some lean code to parse or just transform
it to HTML.
The help system should be relative small - so it
can be
Hi Igor,
thanks for adding me to the NativeBoost repo. I uploaded some
basic samples for Win32 and adopted the config.
In Pharo 2.0 one can load latest stable right from the world menu
Tools - ConfigurationBrowser - NativeBoost
Here are some samples people can now play with:
1. Set the pharo
Hi Igor,
in Win32 often one passes NULL as argument
(for instance if a function has an argument handle to a window, then
a hWnd of NULL can be given).
For instance when I have
shellExecute: hwnd operation: lpOperation file: lpFile parameters:
lpParameters directory: lpDirectory show:
AFAIK there was a plan to integrate NativeBoost
into Pharo. Is it for 2.0 or 2.1?
I would like to see it for 2.0...
Thx
T.
Hi dimitris,
if I remember correctly the idea from Mark Roos was to open
source the environment/code once the company dependent parts
are removed. AFAIK with an MIT license.
For sure one can expect the bytecodeset and environment to be
completely different from what we know from Squeak/Pharo.
Sven Van Caekenberghe
Yes, the singular forms should return the same as the plural ones, that is
the only thing that makes sense.
Fixed together with several test cases in:
https://code.google.com/p/pharo/issues/detail?id=6886
Either load
Hi Igor,
thanks for the updated VM set.
I used version 1.4. of ConfigurationOfAthens with the new
NBCog VM's.
The CairoLibraryLoader class #getLibraryPath is lacking
the switch for the windows DLL which can be fixed by adding:
(NativeBoost platformId = NativeBoostConstants
Dennis Schetinin
The new configuration helped, so now we have working Athens on Windows. Thank
you!
Where did you get the NativeBoost-VM with the cairo library
for Windows? Havent found it on Jenkins :(
Is Athens and NativeBoost for 1.4 or for 2.0 already?
Thanks
T.
Pavel wrote:
Btw. do we have got an SVG version of the Pharo logo?
Dont know, did you check:
http://www.pharo-project.org/pharo-download/media-files
Bye
T.
Looks like we created two issues: #6876 (Camillo) and #6877 (me).
Joe Rickerby wrote
I'd be very happy if hour just returned the same as hours.
I already provided a fix with a test case specific to
the problem with #hour, see the changeset at (was not
able to upload a slice for whatever
Lars Bak presents several language virtual machines (Self, Strongtalk,
Hotspot), why they matter and how they influenced V8 and Dart.
http://www.infoq.com/presentations/Performance-V8-Dart
I agree when he states I like Smalltalk ;)
The one click ZIP for Windows is now delivered
without any VM:
https://ci.lille.inria.fr/pharo/view/Pharo%202.0/job/Pharo-2.0/
Anyone able to check Jenkins?
Thx
T.
Pick one ...
STORY 1:
What I like most is that I do not rely on IDE vendors or tools
to do measure things like:
TestCase allSubclasses size
inspect things like:
Account allInstances collect: [:each | each value 10 ]
or script my environment:
TestCase
Why do we need this icon on the updater
progress bar? IMHO it looks awfull and we
should remove it.
Thx
T.
I just wonder what is necessary to use Roassal not
only as a visualization engine of existing data
but to give it more interactivity to create new
data/shapes/connections.
An example: one can build a UML class shape and visualize
the existing class hierarchy of Pharo with the current engine.
I remeber Seabreeze for Seaside had some
interface to webcam (using flash) and by using a
webservice to decode barcodes.
You can see it in action in the second video at the bottom of
http://seabreeze.heeg.de/
A short description is here
Thanks for taking time at ESUG to listen and learn more about our namespace
proposal. I believe that we have cleared up some of the misconceptions
surrounding this complex topic.
What was the outcome of the discussion? Does the proposal fit or not?
What are the next steps?
Thx
T.
Laurent wrote
I've seen
http://www.squeaksource.com/WebCamMorph.html but it doesn't seem to work
on Pharo OneClick
It uses the cross-platform webcam access from Scratch.
It worked for me some time ago with the plugins found
in the Scratch distro - even with Pharo (when it was
close to Squeak).
yeah... we need a real headless mode (no systry, nothing... just a deamon
running)
The regulary Squeak VM for Windows is able to do just that.
It runs Smalltalk as an NT service by using the option -service
See
http://wiki.squeak.org/squeak/105
Dont know if this also works on Cog/Pharo
Maybe someone with better knowledge of the intentions
of the new file system can help fixing it
humor
So many responses ... ?! Please - one after the other.
Please do not push ... and yes, it would be good if we
fix this before we overtake the world
/humor
Thx
T.
Anyone with deeper knowledge on FS code able to
have a look at issue 6531 - Not possible to save one click
image on Windows
http://code.google.com/p/pharo/issues/detail?id=6531
I found the original cause - it crashes since the code
will open the changes file for a second time.
The reason is
1 - 100 of 830 matches
Mail list logo