Re: [Pharo-users] What would be the first code snippet you would show
Stef: +1 about using somethign with ZnClient. Manipulating web pages (getting data, or filling out forms) is something all students can understand and get excited about (versus some of the other traditional code snippets in books). Sven: Wow, nice link! Those are excellent snippets. On Wed, Jun 17, 2015 at 4:13 PM, Sven Van Caekenberghe wrote: > Here are some more > > https://medium.com/concerning-pharo/elegant-pharo-code-bb590f0856d0 > > Maybe for teaching, the example should somehow be familiar, recognisable. > On the other hand, that might be confusing and lead to too many > comparisons. > > > On 17 Jun 2015, at 21:53, stepharo wrote: > > > > Hi > > > > For the mooc I have a lecture called Pharo Syntax in a nutshell and I > would love to get a couple of simple examples > > that show the syntax but are not totally boring. > > > > I thought about something like > > > > > >ZnClient new > >url: 'http://localhost:8080/books/1'; > >formAt: 'author' put: 'SquareBracketAssociates'; > >formAt: 'title' put: 'Pharo For The Enterprise'; > >put > > > > > > > > Stef > > > > >
Re: [Pharo-users] protobufs for Pharo
I'm pretty sure there isn't a protobuf library for Pharo. If you're planning on implementing one, I'd love to collaborate (I could certainly use one for Phriak (driver for the Riak nosql db)). On Mon, May 11, 2015 at 2:46 PM, Benjamin Pollack wrote: > On Mon, May 11, 2015, at 12:27 PM, Paul DeBruicker wrote: > > If you've gotta have prorobuf then you've gotta have protobuf but there > > is a > > thrift implementation (https://thrift.apache.org/) and also a message > > pack > > implementation (https://code.google.com/p/stomp-serializer/) > > > > There are unfortunately a lot of protocols (including the one I > mentioned used by RethinkDb) that are protobuf-based, so using one of > those won't work too well. If interfacing with a third-party tool > *weren't* necessary, I'd honestly probably just use Fuel, anyway. > > --Benjamin > >
Re: [Pharo-users] [ANN] MorphicDoc : A project to document Morphic
kilon -- That's awesome! How would you feel about also adding some of those docs into the Morphic chapter of PBE? (Or, if you dont have the bandwidth, would you be opposed to someone else doing that?) On Saturday, April 11, 2015, kilon alios wrote: > One of the frequent questions we get asked is how to use Morphic. > Unfortunately there is very little documentation for Morphic around and > barely touches the most interesting concepts. > > I decided to start my own project called MorphicDoc . MorphicDoc is very > easy to install with Configuration Browser and it works in 2 ways. a) open > the Help tool (World Menu => Help => Help Browser ) and there you will find > a new section called "Morphic Doc by Kilon" b) open System Browser go to > MorphicDoc package and look at the class side of MorphicDocExamples class , > each method is an example taken from the tutorial in help tool and you can > easily execute by clicking the green arrow next to its name. > > Right now only 3 pages have been added but slowly and steadily more will > be added. To get new pages and even new chapters make sure you reinstall > the same very simple way like installing just open Configuration Browser > and click "Install Stable Version" after you selected MorphicDoc. > > I will try to add 1 page per day and at least 1 page per week depending on > my free time. So make sure you update at least once per week to get the > latest version of MorphicDoc. > > You can report issues , advice and requests at the project page in > https://github.com/kilon/MorphicDoc. Of course pull requests are more > than welcomed. > >
Re: [Pharo-users] pillar internal link
On Friday, April 10, 2015, Damien Cassou wrote: > website is clearer. Something you could do however is to add links for > each project in the todo: these links go target mailing list discussions > (or a github tracker or both if we go that > Sure! Happy to add links. Just to double-check, though - do you mean link em to existing discussions, or start a discussion for each item, as it's being worked on?
Re: [Pharo-users] pillar internal link
On Thu, Apr 9, 2015 at 11:02 AM, Damien Cassou wrote: > > > So, any chance to make them multi-line capable? > > that's a feature I would also like to see. Would you please add this to > the list of feature requests? > http://www.smalltalkhub.com/#!/~Pier/Pillar. I've just added > DmitriZagidulin to the Pier members. The next step would be for you to > add the corresponding automated tests. > Oh, thanks! Appreciated. I added that item to the TODO list on the Pillar SH repo. How do you feel about also having a GitHub repo for the Pillar project? That way, we could open individual issues for those to-do items, and have discussions on each one, assign them to people who are working on them (instead of emailing you), etc?
Re: [Pharo-users] pillar internal link
Ahh, that's very cool! Though this is way off-topic from internal links (but I'm not sure where to bring this up, if there's a pillar repo somewhere) -- is there any way you can implement multi-line annotations? (and multi-line list items, for that matter). Using either an open/close syntax, or Markdown style (where if the next line begins with 4 spaces, it's counted as a continuation of the previous line. I bump into this a lot, with the PBE book. Working on a large text file using GitHub for version control kind of neccesitates hard line breaks at 80 chars. (Otherwise it's very awkward to see diffs, since long lines require scrolling horizontally). Regular Pillar paragraphs can be hard-wrapped at 80 chars no problem. But annotation lines or list item lines cannot. So one is stuck either avoiding them altogether (and emulating them using bold / italic / etc), or having to deal with the difficulty with diffs. So, any chance to make them multi-line capable? Thanks again! On Thursday, April 9, 2015, Cyril Ferlicot wrote: > Hi. > With Damien we're working on the creation of Annotation and Transformers. > > Now you can use this Annotation's tag : > ${inputFile:myFile.pillar}$ > on your file to include your myFile.pillar. > > That still can change a bit, i'm working on it and i still need to do the > tests. > > On 7 April 2015 at 18:40, Dmitri Zagidulin > wrote: > >> Thanks, Cyril! >> >> We bumped into the internal link (with label) limitation, too, in Updated >> Pharo by Example ( >> https://github.com/SquareBracketAssociates/UpdatedPharoByExample/issues/10#issuecomment-89044176 >> ). >> >> So, +1 interest to that feature, here :) >> >> >> >> >> On Tue, Apr 7, 2015 at 11:03 AM, Cyril Ferlicot > > wrote: >> >>> Hi ! >>> Inter-File link are on the TODO list of pillar. Currently you can't. >>> I'm working on Pillar now, if i add inter-file link i'll say it to you ! >>> >>> On 7 April 2015 at 16:45, Peter Uhnák >> > wrote: >>> >>>> Hi, >>>> >>>> how does one add an internal link? >>>> I have chapter 'Framework' (and file 'Framework/Framework.pillar') and >>>> 'Palette' (and file 'Palette/Palette.pillar') >>>> >>>> Can I in Framework.pillar write something like *Palette/Palette* to >>>> create a link? >>>> Currently it fails at >>>> >>>> *** Warning: PRReferenceNotFound: Can't find anchor named >>>> 'Palette/Palette' >>>> >>>> Thanks, >>>> Peter >>>> >>>> >>> >>> -- >>> Cheers >>> Cyril Ferlicot >>> >> >> > > > -- > Cheers > Cyril Ferlicot >
Re: [Pharo-users] pillar internal link
Thanks, Cyril! We bumped into the internal link (with label) limitation, too, in Updated Pharo by Example ( https://github.com/SquareBracketAssociates/UpdatedPharoByExample/issues/10#issuecomment-89044176 ). So, +1 interest to that feature, here :) On Tue, Apr 7, 2015 at 11:03 AM, Cyril Ferlicot wrote: > Hi ! > Inter-File link are on the TODO list of pillar. Currently you can't. > I'm working on Pillar now, if i add inter-file link i'll say it to you ! > > On 7 April 2015 at 16:45, Peter Uhnák wrote: > >> Hi, >> >> how does one add an internal link? >> I have chapter 'Framework' (and file 'Framework/Framework.pillar') and >> 'Palette' (and file 'Palette/Palette.pillar') >> >> Can I in Framework.pillar write something like *Palette/Palette* to >> create a link? >> Currently it fails at >> >> *** Warning: PRReferenceNotFound: Can't find anchor named >> 'Palette/Palette' >> >> Thanks, >> Peter >> >> > > -- > Cheers > Cyril Ferlicot >
Re: [Pharo-users] Eating your own dog food (Site/Blog)
You may also want to take a look at PillarHub ( http://smalltalkhub.com/#!/~mikefilonov/PillarHub ) CMS. On Tue, Apr 7, 2015 at 5:05 AM, p...@highoctane.be wrote: > On Tue, Apr 7, 2015 at 9:28 AM, Yuriy Tymchuk > wrote: > >> Hi, >> >> if I want to create a site/blog in pharo… What do I use? I know that >> there is Pier, but when you check its webpage, the last update is in 2011. >> Pharo website is built with Marina, but when I check the repo, the last >> commit was done by me and it was 2 month ago. Will Marina continue to >> evolve? And is anyone else using Marina? >> >> I had a look, but there was too much unsupported tech in there. > > I think http://www.samadhiweb.com/blog/ is using a Smalltalk engine. But > I do not know if it is public. > > Phil > >> Uko >> >
Re: [Pharo-users] [Pharo-dev] Pharo sprint on Friday, 3rd April
On Fri, Apr 3, 2015 at 12:41 PM, Martin Bähr < mba...@email.archlab.tuwien.ac.at> wrote: > > nice ideas. though beginners may not have any favourite projects. > are there any stats on which projects are popular so those can be chosen > for > testing? You're right. I think by 'favorite', I meant more like 'areas you care about in general, even outside of Pharo'. For example, say you're interested in data processing in general. You can ask, "How would I go about downloading a comma-separated (CSV) file, read it into Pharo, and display a graph?" This involves learning how to do File I/O, checking to see if there's a CSV library compatible with Pharo, and checking to see what sort of graphing libraries exist (I believe one was mentioned recently on the mailing list, Roassal or something). In similar vein, you can check out XML parsers, JSON parsers, etc, etc. Or you can ask "How do I connect to a relational database? I've heard Glorp mentioned, and OpenDBX, etc, so which of these would actually work in Pharo 4?". Or, For example, maybe you care about social media APIs. You can then think, "Hey I wonder if there are any Twitter or Facebook client libraries for Pharo. Maybe there's an Open Social API ( http://en.wikipedia.org/wiki/OpenSocial ) library that I can check out." That sort of thing. > > * Write blog posts in general! Write tutorials and walkthroughs on how to > > use some of the new 4.0 features. > same problem here, being new to pharo, i would not even know what the new > features are. this should be documented in release-notes probably. > Of course, understood. Then write posts about new user impressions of Pharo 4 (keeping in mind the usual "this is open source software" / "the devs are busy so don't be too harsh on them" sort of stuff). Or short tutorials on the various small things that you've figured out to do. (Like a cron job that fires up your Pharo image on the command line).
Re: [Pharo-users] [Pharo-dev] Pharo sprint on Friday, 3rd April
Ideas for beginners, for Sprints etc: * Adding class comments/documentation, as mentioned, is a fantastic idea. Maybe we can provide some code snippets, that will bring up a list of classes with missing comments (or with too-short comments, less than X characters). People can coordinate (on IRC, or via something like EtherPad) on who's working on which classes. * Not related to core Pharo code itself, but still very helpful: Test various libraries for compatibility with Pharo 4.0. Pick your favorite pharo-related project or library off of SmalltalkHub (or SqueakSource, etc), try to load it into Pharo 4. Run the unit tests. Fix stuff until it loads fine in 4.0.Try and use the library in a simple demo project. Best yet, write a blog post about it. The success of Pharo largely depends on the success of its ecosystem of libraries and projects. * Benchmark things. Which JSON library (of the several available) is faster at parsing large json objects in Pharo 4? That sort of thing. * Write blog posts in general! Write tutorials and walkthroughs on how to use some of the new 4.0 features. Do programming puzzles / interview questions and post about em. Share tips on how you theme and customize your Pharo images, which tools you use most, and so on. * As mentioned before, at least browse the open 4.0 issues on the pharo FogBugz. Try to think about how you'd go about discovering how to solve them. You'll learn a lot about the system. Also, once the issues are fixed, you can help test and confirm the fix (if you can figure out the 'how to reproduce' steps). Follow the 'to reproduce' steps to make sure you reproduce the error/issue. Then load the slice containing the fix from the pharo inbox repo, and redo the steps again to make sure it was fixed. On Fri, Apr 3, 2015 at 8:54 AM, Marcus Denker wrote: > > > On 03 Apr 2015, at 14:36, Jigyasa Grover > wrote: > > > > Ohk. > > No issues :) > > Looking forward to other Pharo Sprints focusing on beginners :D > > > > Yes… maybe other people have ideas? > > Marcus > > >
Re: [Pharo-users] quick poll - which OS do you use for Pharo?
I'm curious what the single vote for Other is :) On Tue, Mar 31, 2015 at 8:34 AM, Mariano Martinez Peck < marianop...@gmail.com> wrote: > I agree to the comments saying that there should be one choice for > development and one for deploying. > > On Tue, Mar 31, 2015 at 5:24 AM, Stephan Eggermont > wrote: > >> On 31/03/15 07:58, kilon alios wrote: >> >>> more linux than mac ? thats a surprise . >>> >> >> As a development desktop I recently build >> a silent 4790K i7 with a Philips 40" UHD. >> That was about half the price of the mac >> equivalent. I strongly prefer the mac >> interface, but this is more similar to >> the server. The laptops are all macs. >> Just pragmatic choices. If there had >> been a 4-core mac-mini with 60Hz 4K, >> I would have bought that. >> >> Stephan >> >> >> > > > -- > Mariano > http://marianopeck.wordpress.com >
Re: [Pharo-users] Syslog client
YES! Awesome! :) I was just about to look to see if there was a decent Syslog client for Pharo! On Tue, Mar 31, 2015 at 4:46 AM, olivier auverlot < olivier.auver...@gmail.com> wrote: > Hi, > > I just released an UDP client for the Syslog network protocol (RFC5424). > The product is available on SmalltalkHub. > > http://smalltalkhub.com/#!/~olivierauverlot/Syslog > > Best regards > Olivier ;-) >