Re: [Pharo-dev] Initial versions for OSWindow and Woden
Hi, Seems to work well on my linux machine too (Arch 64). The main Pharo window is better handled by KDE (don't know why, but nice side effect :) Laurent Le samedi 31 mai 2014, 05:54:52 Ronie Salgado a écrit : Hello There, I have been working in OSWindow, which is a cross platform API for dealing with native operating system windows. This API requires using a custom VM and the library SDL2. With this API, even the main Pharo window is handled almost completely in image side using NativeBoost. The only support required from the VM is a small periodical check in the heartbeat about the presence of events. This no more than 10 lines of code. This is currently working very well in my Linux machine, so I need to start testing this stuff. For Windows, soon I will be building the custom VM. My last built was very dirty and I want to do something more clean. For Mac OS X, I don't have one for testing. But Alex is going allow me to borrow one for some time. So be patience. As for Woden, it is a new 3D graphics engine that I started making. This one requires currently support of OSWindow and also shows some cool stuffs. As for prebuilt versions of the VM with OSWindow support along with preloaded images for both, OSWindow and Woden. And screenshots. Well, I am putting them here: http://ronie.cl/OSWindow/ Greetings, Ronie
Re: [Pharo-dev] TilingWindowManager -- WorldManager? [Pharo3.0]
That's: TWMWorldManager instance createOrSwitchToWorldNamed: 'JustAnotherWorld'. TWMWorldManager instance createOrSwitchToWorldNamed: 'Pharo'. Cheers, Laurent Le vendredi 30 mai 2014, 06:27:39 H. Hirzel a écrit : Hello I installed TilingWindowManager through the MetacelloConfigurationBrowser in Pharo 3.0. The class comment of TWMWorldManager says I provide an unlimited number of blank canvases on which to create... Add a world: WorldManager instance createOrSwitchToWorldNamed: 'JustAnotherWorld'. Return to the default world: WorldManager instance createOrSwitchToWorldNamed: 'Pharo'. However the global WorldManager is not known anymore. What do I need to use instead? Thank you for the answer in advance Hannes
Re: [Pharo-dev] One complaint about Pharo
Hi, I remember the Mars project (see http://marsonpharo.wordpress.com/2013/09/16/mars-widgets-and-layouts-examples/[1] ) but don't know the current status... Laurent Le jeudi 15 mai 2014, 13:21:25 David Astels a écrit : One of the big issues I have with Pharo is that I’m stuck on a single screen, unlike Cincom Smalltalk that uses separate OS windows that I can spread over multiple screens. I’m assuming this is a hard limit in OSX, but it’s a bit annoying. Yes, Self has the same issue, and it’s just as annoying. Dave [1] http://marsonpharo.wordpress.com/2013/09/16/mars-widgets-and-layouts-examples/
Re: [Pharo-dev] [Screencast] request for review
Hi Ben, I've started to review your comments, thanks a lot for your time. May be you could fork the github project ( https://github.com/lolgzs/pharo-picasa-screencast ) and edit the video / caption as you want ? May be at the end I will re-record a shorter screencast ... Cheers, Laurent Le samedi 3 mai 2014, 23:16:54 Ben Coman a écrit : Laurent Laffont wrote: Hi, actually the video is accelerated (almost 40' video reduced to 14'), lot of cuts to try to show a perfect workflow that nobody can have (I'm not an alien, I just cheat :). Having the good timing and workflow is hard, I can slowdown the video. My goals are: - create ah WHAOUH effect when watching the first time - come back later slowly, pause, try to do the thing Something might be said to that effect to introduce the video. Personnally I like things going fast because that's how I like it, but I understand. With VLC you can adjust the timing easily (click on the 1.0x in the status bar, bottom right), may be people can try and tell me the good ratio for them. And yes, voice will be far better, but I would like a native-english man/woman to record it. Cheers, Laurent I've uploaded a sample attempt as a first pass here... http://files.openinworld.com/temp/picasa_pharo3_narration.mp3 However I'd like to give it another go to improve quality since: * my laptop is annoyingly heard to ramp its fan up and down as its working hard with the multimedia. * there are a few times where your captions are too fast for me and I stumble trying to keep up.. * some of the captions break sentences into parts separated by dead space, which doesn't sound natural. I really like it, but putting on my editorial cap, here are some notes on the captions and my narrative: I was not entirely comfortable saying I. Where its practical I'd like to change that to we or it should etc. @0:00: It might be be good to narrate that this done in Pharo3 and caption a link to the download install instructions page. Also, mention that its expected that listeners first watch all the way through, then replay in steps to do the build the code themselves. Without any direct experience but the ambiance I pick up around the web is that many people require different programs for desktop and web, which doubles the work, whereas Pharo it can all be one program. Perhaps that is a reasonable point of differentiation worth marketing? So maybe @00:09: Then how to build both a desktop application and a web page served by Pharo itself to display them. --- build a desktop application and a web page in the bsame/b system @1:00 to @2:06: My narration falls behind the captions. I think Metacello doesn't need to be mentioned. Its a distraction, and cutting it will help me to keep up with the narrative. @5:18 you cut the code from Workspace and paste it into the Debugger @5:44. This is too long in between. Its hard to connect the two actions (I've been playing it back an forth). At 5:44 it would be better to drop back to Workspace, cut, then immediately paste into the Debugger. @5:56 I don't think its worth saying that strings are collections of characters. Its enough to say that a comma concatenates string. @6:10 Introducing the refactoring tools is a distraction from showing how fast you can do a web app. @6:30 Same for mentioning the format menu entry. @6:50 More refactoring that I don't think is required. You only need to sell one hook at a time, and the main one here is speed of using some REST API @7:04 Same for reactoring to inline content variable to remove it @7:20 I fall behind. @9:50 Could split tutorial here when starting the web server. Early on we should describe the naming convention to put Zn in front of Zinc components. @10:22 by implement the value: method in a class -- by implementing in a new class the value: method returning a Zinc http response object. @10:56 ZNDefaultServerDelegatemap:to: is a nice display format, but I stumble over how to narrate it. @11:23 My narration falls behind as the captions go too fast. @12:40 I used to take it for granted that building a string with a stream was faster, but in [pharo-dev] someone showed this wasn't always the case. It is distraction to introduce this new concept and maybe clearer to newcomers to just stick with one way to concatenate string using comma. There is a lot of silence (except for my damn laptop fan) as this method is built. I think it would be reasonable to paste in this text, particularly if it uses commas for concatenation. At the end, invite the listener to program it themselves, stepping slowly through the video. Provide download link again, or link to a web blog page that describes the steps. I could do some work to space the video to align with my narration, but I await your instructions. There are also some periods
Re: [Pharo-dev] [Screencast] request for review
Thanks a lot Ben. I'm going on holidays now, so I may not answer for ten days. I will work on this when I'm back. Cheers, Laurent Le samedi 3 mai 2014, 23:16:54 Ben Coman a écrit : Laurent Laffont wrote: Hi, actually the video is accelerated (almost 40' video reduced to 14'), lot of cuts to try to show a perfect workflow that nobody can have (I'm not an alien, I just cheat :). Having the good timing and workflow is hard, I can slowdown the video. My goals are: - create ah WHAOUH effect when watching the first time - come back later slowly, pause, try to do the thing Something might be said to that effect to introduce the video. Personnally I like things going fast because that's how I like it, but I understand. With VLC you can adjust the timing easily (click on the 1.0x in the status bar, bottom right), may be people can try and tell me the good ratio for them. And yes, voice will be far better, but I would like a native-english man/woman to record it. Cheers, Laurent I've uploaded a sample attempt as a first pass here... http://files.openinworld.com/temp/picasa_pharo3_narration.mp3 However I'd like to give it another go to improve quality since: * my laptop is annoyingly heard to ramp its fan up and down as its working hard with the multimedia. * there are a few times where your captions are too fast for me and I stumble trying to keep up.. * some of the captions break sentences into parts separated by dead space, which doesn't sound natural. I really like it, but putting on my editorial cap, here are some notes on the captions and my narrative: I was not entirely comfortable saying I. Where its practical I'd like to change that to we or it should etc. @0:00: It might be be good to narrate that this done in Pharo3 and caption a link to the download install instructions page. Also, mention that its expected that listeners first watch all the way through, then replay in steps to do the build the code themselves. Without any direct experience but the ambiance I pick up around the web is that many people require different programs for desktop and web, which doubles the work, whereas Pharo it can all be one program. Perhaps that is a reasonable point of differentiation worth marketing? So maybe @00:09: Then how to build both a desktop application and a web page served by Pharo itself to display them. --- build a desktop application and a web page in the bsame/b system @1:00 to @2:06: My narration falls behind the captions. I think Metacello doesn't need to be mentioned. Its a distraction, and cutting it will help me to keep up with the narrative. @5:18 you cut the code from Workspace and paste it into the Debugger @5:44. This is too long in between. Its hard to connect the two actions (I've been playing it back an forth). At 5:44 it would be better to drop back to Workspace, cut, then immediately paste into the Debugger. @5:56 I don't think its worth saying that strings are collections of characters. Its enough to say that a comma concatenates string. @6:10 Introducing the refactoring tools is a distraction from showing how fast you can do a web app. @6:30 Same for mentioning the format menu entry. @6:50 More refactoring that I don't think is required. You only need to sell one hook at a time, and the main one here is speed of using some REST API @7:04 Same for reactoring to inline content variable to remove it @7:20 I fall behind. @9:50 Could split tutorial here when starting the web server. Early on we should describe the naming convention to put Zn in front of Zinc components. @10:22 by implement the value: method in a class -- by implementing in a new class the value: method returning a Zinc http response object. @10:56 ZNDefaultServerDelegatemap:to: is a nice display format, but I stumble over how to narrate it. @11:23 My narration falls behind as the captions go too fast. @12:40 I used to take it for granted that building a string with a stream was faster, but in [pharo-dev] someone showed this wasn't always the case. It is distraction to introduce this new concept and maybe clearer to newcomers to just stick with one way to concatenate string using comma. There is a lot of silence (except for my damn laptop fan) as this method is built. I think it would be reasonable to paste in this text, particularly if it uses commas for concatenation. At the end, invite the listener to program it themselves, stepping slowly through the video. Provide download link again, or link to a web blog page that describes the steps. I could do some work to space the video to align with my narration, but I await your instructions. There are also some periods with no captions that I might be able to fill in something. cheers -ben
Re: [Pharo-dev] [ANN] Pharo3 Dark Theme is available
Thanks a lot, I've been waiting (and tried yes :) this for years ! Laurent Le jeudi 1 mai 2014, 13:24:15 Esteban Lorenzano a écrit : Dark Theme for Pharo 3 == So, I finally took some time and hacked a Dark Theme for Pharo 3: How you install it? You need to execute this script: “1. You need this because otherwise Gofer merge becomes dumb :P MCRepositoryGroup default addRepository: (MCSmalltalkhubRepository owner: 'estebanlm' project: 'Pharo3DarkTheme'). “2. Now we can actually MERGE the project Gofer it smalltalkhubUser: 'estebanlm' project: 'Pharo3DarkTheme'; package: 'Pharo3DarkTheme'; merge. “3. And then install it Pharo3DarkTheme installFullTheme. WARNING 1: You need to do a merge (notice the script) WARNING 2: Yes, this is a HACK (also: an ugly hack). See below for details. WARNING 3: This changes something in the Pharo3Theme too... so you can go back after installing, but not completely :) Considerations -- It can look like an easy task, to make a theme over a non native GUI like Pharo, but let me tell you: It is not. There are a lot of glitches and errors of design you have to overcome to get a working version of a theme. This is a pitty because we claim that our system is clean (or should be clean) and easy to understand. But all the Morphic implementation is a hack over a hack, with preconcepts and hardcodes everywhere, up to a point that to make the smallest change is an incredibly annoying task. Then... I added yet another hack to this infinite list. I made it because we need something like this, even if not a good solution. And I also made it to start a debate into our community. I truly believe that Morphic was a great idea, but I also believe that current implementation is doomed. I would like to discuss a new implementation, with a good design (for example I believe it should be a clear separation between a morph and it's skin, making easy the actual-hard task of changing a colorset). I also believe there will be a clear separation between what is a Morph (a graphical unit) and a Widget (who at the time should use morphs, but that's another story). Etc., etc., etc. So, will we start the longtime postponed effort of effectively replace current Morphic? In the mean time, enjoy the theme. Is so cool that I'm considering making it my default theme :P Esteban
Re: [Pharo-dev] Making screenshots programmatically for book
Why not putting Smalltalk code that will take the screenshot and save it in the documentation ? Makes good functionnal tests too à la Python. Laurent Le vendredi 2 mai 2014, 11:27:47 Stephan Eggermont a écrit : What is the best way to make screenshots for documentation? In Pillar we mostly have a figures directory with pngs. With the change rate of Pharo, making them by hand seems a bad idea. Stephan
Re: [Pharo-dev] [Screencast] request for review
Hi, actually the video is accelerated (almost 40' video reduced to 14'), lot of cuts to try to show a perfect workflow that nobody can have (I'm not an alien, I just cheat :). Having the good timing and workflow is hard, I can slowdown the video. My goals are: - create ah WHAOUH effect when watching the first time - come back later slowly, pause, try to do the thing Personnally I like things going fast because that's how I like it, but I understand. With VLC you can adjust the timing easily (click on the 1.0x in the status bar, bottom right), may be people can try and tell me the good ratio for them. And yes, voice will be far better, but I would like a native-english man/woman to record it. Cheers, Laurent Le vendredi 2 mai 2014, 14:03:34 kilon alios a écrit : Yeap it was me being stupid, it works for me now on MACOS. I have right clicked and saved it on Github and instead it saved a xml thing, dont know why. But I copy pasted its contents and now it works. I would say that with subtitles it raised to 70-80% of what I can understand. I still think its too fast and subtitles seem to overlap adding to the confusion . I am willing to do the voice over , my vocal English is far from perfect . Here is a demo https://www.youtube.com/watch?v=2qd05hL85_Y I am also familiar with audio recording software and iMovie so I can add the audio inside the movie. On Fri, May 2, 2014 at 1:31 PM, Sven Van Caekenberghe s...@stfx.eu wrote: It worked for me using VLC on Mac OS X. But although I understand Laurent 100% for not wanting to record his own voice (I hate mine as well), and although I have made subtitled screencasts in the past myself, it is a fact that it is very hard to watch what is happening on the screen and read subtitles at the same time - maybe watching at half-speed (AKA half-laurent-speed, or mer-mortal-speed) helps ? On 02 May 2014, at 12:25, kilon alios kilon.al...@gmail.com wrote: also i tried to watch it in VLC adding the English subtitles and VLC does not seem to recognize the subtitle format. Anyway to watch it with subtitles on win 7 and macos ?
Re: [Pharo-dev] R: [Screencast] request for review
It seems youtube does not process them... Works on vimeo: http://vimeo.com/93536083 I don't really like the youtube player Laurent What is with the html tags iMorphic/i not being processed and showing up raw in the captions ? cheers -ben
[Pharo-dev] [Screencast] request for review
Hi, I've recorded a screencast for Pharo 3.0. Could some of you review the english subtitles ? Project is here: https://github.com/lolgzs/pharo-picasa-screencast , subtitles in picasa_pharo3.en.srt. It's a simple text format, but you can use tools like KDE subtitle composer or Jubler to edit it. You can either send me fix by mail or make merge requests on github (easier for me :). Next the idea is to have subtitles translated into several languages, help appreciated. And if you have courage and time :), it would be nice to have voice recorded (my spoken english sounds, well, ... ). The screencast may be published on new Pharo website for people to get started. Cheers, Laurent
Re: [Pharo-dev] tiny survey: who uses Pharo Launcher?
Hi Esteban, I use only Pharo Launcher for several months: 1/ ArchLinux, 64 bits 2/ Yes, great improvement in managing images 3/ Suggestions: - show created last opened date for existing images. Option to sort by date or alphabetically - add a comment field for existing images so I could remember why I have this image - add a search field for templates existing images - bookmark some templates (I often download Seaside or Phratch, tired to scroll down) - get the descriptions of the jenkins jobs to know what each template is about - notification that a new version of PharoLauncher is available - manage common preferences in PharoLauncher: - shared package-cache - prepare each new image with a set of Metacello configuration preferences Laurent Le samedi 19 avril 2014, 14:32:18 Esteban Lorenzano a écrit : Hi, We want to know a bit more about Pharo Launcher, so please, answer this three points if you are using it: 1) which platform are you using? 2) is the experience satisfactory/easy enough? 3) do you have some feedback for us (bah, for Damien :P)? thanks, Esteban
[Pharo-dev] Migration from Pharo 1.1 to 2.0
Hi, is there a way to export / fileOut objects from Pharo 1.1 and reload them into Pharo 2.0 or 3.0 ? Cheers, Laurent
Re: [Pharo-dev] Migration from Pharo 1.1 to 2.0
It works ! Thank you ! Laurent Le lundi 24 mars 2014, 22:10:14 Max Leske a écrit : Fuel 1.9.3 still works with 1.1.1 On 24.03.2014, at 21:57, Mariano Martinez Peck marianop...@gmail.com wrote: Fuel works from 1.1.1 to 3.0: http://rmod.lille.inria.fr/web/pier/software/Fuel/Version1.9/Documentation/Installation If I remember correctly 1.1.1 was just same image but with support for cog right? in such a case, it is likely it should work for 1.1 as well. You can give it a try. Cheers, On Mon, Mar 24, 2014 at 5:37 PM, Laurent Laffont laurent.laff...@gmail.com wrote: Hi, is there a way to export / fileOut objects from Pharo 1.1 and reload them into Pharo 2.0 or 3.0 ? Cheers, Laurent
Re: [Pharo-dev] [Pharo-users] Tiling Window Manager in 3.0: working but still issues with WorldMorph
Done Laurent Le mercredi 19 mars 2014, 17:23:06 p...@highoctane.be a écrit : Would you mind putting the configuration in the 3.0 Metarepo? Phil On Wed, Mar 12, 2014 at 6:52 PM, Laurent Laffont laurent.laff...@gmail.comwrote: Hi Phil, with latest ConfigurationOfTilingWindow manager World management (almost) works. Still a little display issue when creating a new world (need to change back and forth, seems to be some World repaint issue). I've also merged some experiments with GrowlMorph. Laurent Le mardi 11 mars 2014, 13:27:57 Laurent Laffont a écrit : Thanks a lot Phil. I will try to have a look. Laurent Le samedi 8 mars 2014, 11:57:30 p...@highoctane.be a écrit : TWM works in 3.0 after some work on icons and updating menus. Gofer new smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager'; configuration; load. ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: '3.0') load You can also use ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: #development) load but this will for sure change over time. There is the World management icon which is still there and it looks like it can create worlds but switching between them just breaks havoc. Maybe should we just remove that feature from TWM as 3.0 doesn't seem to be multiworld friendly. Nothing done on tests nor themeing (which appears to be not that working well in 3.0 either due to theming changes); At least the thing is back :-) [I missed it...] Phil
Re: [Pharo-dev] [Pharo-users] [ANN] ArchLinux pharo-vm / pharo-launcher packages
Le mercredi 19 mars 2014, 15:05:56 Damien Cassou a écrit : On Tue, Mar 18, 2014 at 10:40 PM, Laurent Laffont laurent.laff...@gmail.com wrote: you can now install pharo vm on Arch with: that's brilliant. Thanks. Can I reference your work in http://www.smalltalkhub.com/#!/~Pharo/PharoLauncher ? Sure ! Laurent
[Pharo-dev] [ANN] ArchLinux pharo-vm / pharo-launcher packages
Hi ArchLinux users, you can now install pharo vm on Arch with: $ yaourt pharo-vm-latest then $ pharo /path/to/your/image There's also a pharo-launcher package that depends on pharo-vm: $ yaourt pharo-launcher then $ pharo-launcher or use your favorite desktop main menu and click on the Pharo icon AUR entries: https://aur.archlinux.org/packages/pharo-vm-latest/ https://aur.archlinux.org/packages/pharo-launcher/ PKGBUILDs are versionned on https://github.com/lolgzs/pharo-aur Thanks for testing ! Regards, Laurent
[Pharo-dev] ComposableModelinitialExtent
Hi, I'm trying to have tests green for TWM. I found: ComposableModelinitialExtent ^ nil on superclass Model there's ModelinitialExtent ^ RealEstateAgent standardWindowExtent that sounds good. So I don't understand why ComposableModel redefine #initialExtent to answer nil. Any explanation ? Laurent
Re: [Pharo-dev] [Pharo-users] Tiling Window Manager in 3.0: working but still issues with WorldMorph
Hi Phil, with latest ConfigurationOfTilingWindow manager World management (almost) works. Still a little display issue when creating a new world (need to change back and forth, seems to be some World repaint issue). I've also merged some experiments with GrowlMorph. Laurent Le mardi 11 mars 2014, 13:27:57 Laurent Laffont a écrit : Thanks a lot Phil. I will try to have a look. Laurent Le samedi 8 mars 2014, 11:57:30 p...@highoctane.be a écrit : TWM works in 3.0 after some work on icons and updating menus. Gofer new smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager'; configuration; load. ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: '3.0') load You can also use ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: #development) load but this will for sure change over time. There is the World management icon which is still there and it looks like it can create worlds but switching between them just breaks havoc. Maybe should we just remove that feature from TWM as 3.0 doesn't seem to be multiworld friendly. Nothing done on tests nor themeing (which appears to be not that working well in 3.0 either due to theming changes); At least the thing is back :-) [I missed it...] Phil
Re: [Pharo-dev] ComposableModelinitialExtent
As far as I see, it seems safe to remove ComposableModelinitialExtent Spec tests green, TWM tests green and I haven't seen any problem yet. What do you think ? Laurent Le mercredi 12 mars 2014, 17:36:20 Benjamin a écrit : The first answer is: ComposableModel was not a subclass of model at first :P Ben On 12 Mar 2014, at 13:09, Laurent Laffont laurent.laff...@gmail.com wrote: Hi, I'm trying to have tests green for TWM. I found: ComposableModelinitialExtent ^ nil on superclass Model there's ModelinitialExtent ^ RealEstateAgent standardWindowExtent that sounds good. So I don't understand why ComposableModel redefine #initialExtent to answer nil. Any explanation ? Laurent
Re: [Pharo-dev] [Pharo-users] Tiling Window Manager in 3.0: working but still issues with WorldMorph
Thanks a lot Phil. I will try to have a look. Laurent Le samedi 8 mars 2014, 11:57:30 p...@highoctane.be a écrit : TWM works in 3.0 after some work on icons and updating menus. Gofer new smalltalkhubUser: 'LaurentLaffont' project: 'TilingWindowManager'; configuration; load. ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: '3.0') load You can also use ((Smalltalk at:#ConfigurationOfTilingWindowManager) project version: #development) load but this will for sure change over time. There is the World management icon which is still there and it looks like it can create worlds but switching between them just breaks havoc. Maybe should we just remove that feature from TWM as 3.0 doesn't seem to be multiworld friendly. Nothing done on tests nor themeing (which appears to be not that working well in 3.0 either due to theming changes); At least the thing is back :-) [I missed it...] Phil
Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner
Hi Carla, this is cool ! Is there a ready Pharo + Mars image built by jenkins server ? Cheers, Laurent On Tue, Sep 24, 2013 at 4:42 AM, Carla F. Griggio carla.grig...@gmail.comwrote: Hi everyone! I want to let you know that I've just posted a screencast in my blog about the new Mars Package Browser and Test Runnerhttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/ . These examples are not really intended as being the definitive package browser or test runner, but to start experiencing how is it to build a real application using Mars and to showcase some widgets. Anyway, it's cool :) The Package browser is not so different to the system browser example I showed before, but the Test Runner is definitely my favorite example so far. I give more details in the screencasthttp://www.youtube.com/watch?v=RlBr42uaqxEand the blog posthttp://marsonpharo.wordpress.com/2013/09/24/marspackagebrowser-and-marstestrunner-fresh-new-examples-by-the-end-of-gsoc-2013/. Any feedback is appreciated! Cheers, Carla. ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner
Same error here on ArchLinux. Laurent On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote: yeah it fails with error after executing : Gofer it url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main'; package: 'ConfigurationOfMars'; load. ConfigurationOfMars loadBleedingEdge: 'All'. Error : nil cannot be found in Smalltalk dictionary here is the stack trace http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN Carla F. Griggio wrote Hi! For Ubuntu read this blog entry where I explain the setup I had to do: http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/ It's a little outdated because it was one of the first things I did, but if something doesn't work just let me know or comment on the blog post. Thanks for the comments, everybody. On Tue, Sep 24, 2013 at 11:06 AM, kilon thekilon@.co wrote: ok found it in smalltalkhub and load it to the image, but trying CofigurationOfMars loadBleedingEdge gives me an error error: name not found unix . How I load it ? I am on Ubuntu 13.04 amd64. -- View this message in context: http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. -- View this message in context: http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] [Esug-list] New Mars examples: Package Browser and Test Runner
I've tried on Pharo 3.0. On Pharo2.0 one click it loads correctly. Laurent On Tue, Sep 24, 2013 at 1:06 PM, Carla F. Griggio carla.grig...@gmail.comwrote: I'm checking that error and it's weird. First, I could load the project with no problems in the last Pharo 2.0 image I downloaded from pharo-project.org. But I checked your stacktrace and I see that the error comes from here: ExternalObject classinitialize ExternalObject initialize Smalltalk addToStartUpList: self after: ShortRunArray. That is a class from the FFI-Kernel package, and ShortRunArray (the class that is not found in your stacktrace, I assume) is in the package Balloon-Collections. Maybe there's a problem with FFI dependencies? On Tue, Sep 24, 2013 at 12:32 PM, Carla F. Griggio carla.grig...@gmail.com wrote: Santiago: yes! Germán said the same thing :P It would be awesome. Maybe filling the potion is more difficult, but at least I can change the color :P Kilon and laurent: I will try it in a new image and get back to you, thanks for trying it (or trying to try it :P). On Tue, Sep 24, 2013 at 12:30 PM, laurent laffont laurent.laff...@gmail.com wrote: Same error here on ArchLinux. Laurent On Tue, Sep 24, 2013 at 12:06 PM, kilon theki...@yahoo.co.uk wrote: yeah it fails with error after executing : Gofer it url: 'http://www.smalltalkhub.com/mc/estebanlm/Mars/main'; package: 'ConfigurationOfMars'; load. ConfigurationOfMars loadBleedingEdge: 'All'. Error : nil cannot be found in Smalltalk dictionary here is the stack trace http://pastebin.com/yyHSVntN http://pastebin.com/yyHSVntN Carla F. Griggio wrote Hi! For Ubuntu read this blog entry where I explain the setup I had to do: http://marsonpharo.wordpress.com/2013/06/19/setting-up-the-environment/ It's a little outdated because it was one of the first things I did, but if something doesn't work just let me know or comment on the blog post. Thanks for the comments, everybody. On Tue, Sep 24, 2013 at 11:06 AM, kilon thekilon@.co wrote: ok found it in smalltalkhub and load it to the image, but trying CofigurationOfMars loadBleedingEdge gives me an error error: name not found unix . How I load it ? I am on Ubuntu 13.04 amd64. -- View this message in context: http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4709977.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com. -- View this message in context: http://forum.world.st/New-Mars-examples-Package-Browser-and-Test-Runner-tp4709937p4710003.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Re: [Pharo-dev] How to test the same behavior with different data
Hi, in phpunit there's a @dataProvider annotation, so one method returns a several data sets for a test method. I'm not sure that's the best design but it's nice to have one unit test result per data set. See http://phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers Translating the example to Pharo that should give something like: TestCase subclass: #DataTest DataTesttestAdd: a to: b shouldAnswer: c dataProvider: #provider self assert: c equals: a + b DataTestprovider ^ { {0. 0. 0}. {1. 0. 1}. {0. 1. 1}. {1. 2. 3} } It may not be to difficult to implement in SUnit. What do you think about this ? Laurent On Sat, Sep 21, 2013 at 1:47 PM, Jan Vrany jan.vr...@fit.cvut.cz wrote: Hi, I actually already thought on this as I have similar problems. So far I just create a bunch of tests, passing the actual set of parameters to a common test method as message arguments. For different framework (not SUnit, but similar spirit), I introduced a notion of parameter, each having a domain. When running test, the runner computes all possible combinations of parameter values and run the test on each such combination. I would like to have something similar in SUnit, but there are some issues. This is the feature I would like to see in SUnit 6.x, but I/we have to finish 5.0 first - I wonder if I ever find a time to do push it :-( On 21/09/13 11:06, Noury Bouraqadi wrote: Hi, Last ESUG I attended the cool katas session organized by Stephan Eggermont and Laurent Laffont. That was a good opportunity to step back and think about my TDD practices . To experiment with the style proposed by Laurent, I started writing tests for a pong. I ended up having groups of nearly identical tests: -they use exactly the same objects, send the same messages, -but they differ only by values. An example, is testing the motion of the ball towards different directions or collisions with obstacles at different locations or speeds. Now, I wonder what is the best way to express those similar tests? In a short discussion before I leave, Stephane told me about tables of values. It seem that there is such a support in the ruby world in the cucumber framework. Do we have anything similar in Smalltalk world? BTW, the full ESUG conference was great. Thanx to local organizers, and all people that contributed to make it a success. Thanx, Noury Ecole des Mines de Douai http://car.mines-douai.fr/**noury http://car.mines-douai.fr/noury --
[Pharo-dev] Cloning a git repo with FileSystem-Git
Hi, I want to be able to clone Amber github repo from Pharo for AmberOneClick ( http://www.smalltalkhub.com/#!/~LaurentLaffont/AmberOneClick) This: ConfigurationOfFileSystemGit loadBleedingEdge. git := GitAbstractProtocol url: ' https://github.com/amber-smalltalk/amber.git'. git want: git head. seems to get data from the git repo, but I do not understand how to create the directory / local repo on my hard drive. Any hint ? Regards, Laurent
Re: [Pharo-dev] [Esug-list] Camp Smalltalk Roadtrip!
Hi, I've added some informations for the travel: http://esug.org/wiki/pier/Conferences/2013/Travel-to-Annecy Tell me if you need more details plans. Laurent On Tue, Aug 20, 2013 at 11:05 PM, DeNigris Sean s...@clipperadams.comwrote: Cool... Worst-case scenario, it seems that a taxi would be 100 euros or less, so if we can get three or four people, it would actually be pretty cheap! On Aug 20, 2013, at 4:54 PM, Alejandro Infante alejandroinfant...@gmail.com wrote: I was planning to travel to Annecy that Sunday morning from Geneva, but i didn't know that there were no available bus. Would be great to team up with someone. Cheers, Alejandro 2013/8/20 DeNigris Sean s...@clipperadams.com (cross-posted to pharo dev and esug lists) Countdown to ESUG!!! My plane lands in Geneva at 1020 on 8 September. I was planning on taking the bus to Annecy, but apparently there is only one bus that Sunday, which arrives at 2200. Is anyone traveling that morning from the direction of Geneva who would like to team up e.g. share a taxi, meet somewhere along the way, etc? Thanks! Sean ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Re: [Pharo-dev] [Esug-list] Camp Smalltalk Roadtrip!
Tom, you have to look at the colums Lundi à Dimanche, there's only 2 buses on sunday from the airport, 4 from Train station / Gare routières (you can go from airport to train station using local buses). Maybe you can team with someone to take a taxi ? Laurent On Tue, Aug 20, 2013 at 11:32 PM, Tom Robinson zxrobin...@gmail.com wrote: Sean, Look at http://www.frossard.eu/plans_lignes_fr.phtml. Click on the second route on the right - Annecy - Cruseilles-Geneve to download the schedule. The second page is the Geneva to Annecy schedule. It looks like the blue columns are Monday - Sunday... Hope this helps. And if someone local from the Annecy area knows why I'm wrong, please speak up On 8/20/13 3:05 PM, DeNigris Sean wrote: Cool... Worst-case scenario, it seems that a taxi would be 100 euros or less, so if we can get three or four people, it would actually be pretty cheap! On Aug 20, 2013, at 4:54 PM, Alejandro Infante alejandroinfant...@gmail.com wrote: I was planning to travel to Annecy that Sunday morning from Geneva, but i didn't know that there were no available bus. Would be great to team up with someone. Cheers, Alejandro 2013/8/20 DeNigris Sean s...@clipperadams.com (cross-posted to pharo dev and esug lists) Countdown to ESUG!!! My plane lands in Geneva at 1020 on 8 September. I was planning on taking the bus to Annecy, but apparently there is only one bus that Sunday, which arrives at 2200. Is anyone traveling that morning from the direction of Geneva who would like to team up e.g. share a taxi, meet somewhere along the way, etc? Thanks! Sean ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org ___ Esug-list mailing listesug-l...@lists.esug.orghttp://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org ___ Esug-list mailing list esug-l...@lists.esug.org http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
Re: [Pharo-dev] WhatsUp from: 2013-08-19 until: 2013-08-31
### Here's what I've been up to since the last WhatsUp: - Learn NativeBoost to bind XLib - Write a chapter on the subject for Pharo for the enterprise book, see https://ci.inria.fr/pharo-contribution/job/PharoForTheEnterprise/lastSuccessfulBuild/artifact/NativeBoost/ - Start an X11 window manager using Pharo ### What's next, until 2013-08-31 (*): - Improve the chapter - More PWM - See how to merge my NBXLib fork with existing one. Laurent
Re: [Pharo-dev] WhatsUp from: 2013-08-19 until: 2013-08-31
On Mon, Aug 19, 2013 at 12:34 PM, Alexandre Bergel alexandre.ber...@me.comwrote: - More PWM What is that? Pharo Window Manager. http://smalltalkhub.com/#!/~LaurentLaffont/PWM - See how to merge my NBXLib fork with existing one. A two sentence description of these forks? While learning NativeBoost Xlib, I've tried several ways to have more object-oriented bindings to Xlib (see PWM repo NativeBoost chapter). I'm still not sure that is the best way to go, as primitives are scattered among classes and makes things far less testable. Anyway, we can talk about it during ESUG. Laurent Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Re: [Pharo-dev] is there anyone who can use SimpleMIDIPort on Mac OSX 10.6.8?
Hi, I was looking about MIDI on Linux today, and may be that's related. On Linux, for the MIDI plugin, there's 2 files: - sqUnixMIDIALSA.inc - sqUnixMIDINone.inc it seems sqUnixMIDINone is build, and not ALSA one. In /platforms/unix/plugins/MIDIPlugin/sqUnixMIDI.c: #if defined(USE_MIDI_ALSA) # include sqUnixMIDIALSA.inc #else # include sqUnixMIDINone.inc #endif USE_MIDI_ALSA is set in a configure script, and if I understand correctly, it is not used with the cmake process ? Anyway, I've changed to: #include sqUnixMIDIALSA.inc and the file compile, but fail to link. It seems gcc doesn't have the needed -l flag to link to alsa lib, but I don't know where to specify this (I suppose somewhere in VMMaker ?) Cheers, Laurent On Sun, Aug 4, 2013 at 5:09 PM, NISHIHARA Satoshi goo...@gmail.com wrote: is there anyone who can use SimpleMIDIPort on Mac OSX 10.6.8? Stéphane Ducasse san told me that it can use MIDIPlugin in Pharo 2.0 on Mac 10.8.3. but I can't use MIDIPlugin on Mac OSX 10.6.8. SimpleMIDIPort#midiIsSupported - false SimpleMIDIPort#primPortCount - 0 vm: Pharo.app(13/03/13) Pharo-126.app(13/05/04) Pharo-145.app(13/05/31) Pharo-169.app(13/07/10) Pharo-186.app(13/07/15) Pharo-187.app(13/07/19) Pharo-188.app(13/07/31) I would like to know whether it is a problem of all those that are using 10.6.8 or personal trouble. -p.s.- On Eliot Miranda san's CogMT.r2761.app and Cog.r2761.app, SimpleMIDIPort#midiIsSupported - true SimpleMIDIPort#primPortCount - 1 regards.
[Pharo-dev] X11 window manager in Pharo
Hi, I will have one full week dedicated to Pharo, now I must decide what to do. One fun thing would be to write a X11 window manager (based on TilingWindowManager), so I could run Emacs, shells and all stuff in Pharo, even Pharo in Pharo :) I've tried some months ago to translate this example https://github.com/mackstann/tinywm/blob/master/annotated.c but I lack of NativeBoost knowledge (I suppose it's the right tool to use). Has anyone tried this before ? Hints ? Laurent
Re: [Pharo-dev] X11 window manager in Pharo
I will have one full week dedicated to Pharo, now I must decide what to do. One fun thing would be to write a X11 window manager (based on TilingWindowManager), so I could run Emacs, shells and all stuff in Pharo, even Pharo in Pharo :) You mean implementing a native interface using X11? No. Just write an alternative to all this stuff https://en.wikipedia.org/wiki/X_window_manager#X_window_managers ... but in Pharo. Laurent I've tried some months ago to translate this example https://github.com/mackstann/tinywm/blob/master/annotated.c but I lack of NativeBoost knowledge (I suppose it's the right tool to use). I think so too :) Has anyone tried this before ? Hints ? The only thing I know is that Carla Griggio is working on Mars for Gsoc, and for that she is working on Gtk bindings in linux... But I cannot tell more because I really do not understand what you want to do with X11 :). Laurent
[Pharo-dev] SmalltalkHub browser ?
Hi, I would like a sort of dedicated metacello browser for SmalltalkHub that only shows my projects watch projects on SmalltalkHub. So the scenario is: - open SmalltalkHub browser - first time enter login password - voilà, all my projects can be downloaded saved (no more add repository, add to package, bla bla bla). - select a project / package in the browser - open in nautilus I ask that because I had to evaluate many projects of my students in different repositories packages, tiring :) Is there's an ongoing project for that ? If not, is there an API for SmalltalkHub to get needed data ? Cheers, Laurent