[Pharo-users] Re: Sacrilegeous question : what are compelling use cases for Pharo

2023-01-25 Thread Konrad Hinsen
"Richard O'Keefe" writes: > Thus I hypothesise that there is room for Smalltalk as a tool for > *generating* and configuring HPC code. Yes. But it will be hard to convince people that Smalltalk is a better choice than Python (well established in HPC as you say) for this use case. > My main

[Pharo-users] Re: Omnibase/Monibase repository removal

2022-08-09 Thread Konrad Hinsen
Hi Norbert, > This means that I will remove the Omnibase repositories in few weeks from > > https://github.com/ApptiveGrid/MoniBase > > > and > > https://github.com/pharo-nosql/OmniBase > I hope you are aware

[Pharo-users] SmaCC: Adding conditions to production rules

2022-05-22 Thread Konrad Hinsen
Hi everyone, I am stuck with a problem in SmaCC (of which I am a newbie user). Hoping for suggestions from experts, any kind of pointer is welcome! I have a production rule for infix operators: Term : NonInfixTerm 'arg' ( 'opName' NonInfixTerm 'arg') * {{InfixOpTerm}} | NonInfixTerm

[Pharo-users] Re: Intended behaviour of flatten and flatCollect:

2022-04-12 Thread Konrad Hinsen
Hi Kasper, Thanks for your reply! > Sorry, but which version of Pharo are we talking about. Sorry, I forgot to say that I am still using Pharo 9. > I just tried with Pharo 10, which has no flatten method for arrays at Interesting. So I double-checked - and found that the "flatten" in my

[Pharo-users] Intended behaviour of flatten and flatCollect:

2022-04-12 Thread Konrad Hinsen
Hi everyone, I am getting surprising results trying to flatten nested arrays. So I read the docstrings. And now I understand even less how flatten and flatCollect are supposed to work. flatten says: "Recursively collect each non-collection element of the receiver and its descendant

[Pharo-users] Re: Introducing new feature dataTypes for the PolyMath/DataFrame project

2021-08-09 Thread Konrad Hinsen
"Richard O'Keefe" writes: > Neither of those use cases actually works. In practice, they do. > Consider the following partial class hierarchy from my Smalltalk system: That's not what I have to deal with in practice. My data comes in as a CSV file or a JSON file, i.e. formats with very

[Pharo-users] Re: Introducing new feature dataTypes for the PolyMath/DataFrame project

2021-08-08 Thread Konrad Hinsen
"Richard O'Keefe" writes: > My difficulty is that from a statistics/data science perspective, > it doesn't seem terribly *useful*. There are two common use cases in my experience: 1) Error checking, most frequently right after reading in a dataset. A quick look at the data types of all

[Pharo-users] Re: Introducing new feature dataTypes for the PolyMath/DataFrame project

2021-08-08 Thread Konrad Hinsen
Hi Balaji, > Thanks for pointing this out. You are right with how the data types are > calculated, similar to collection >> commonSuperClass. But this time, it is > calculated only during the creation of DataFrame once and for all. That sounds good. > A nil value, or a Series of nil values

[Pharo-users] Re: Introducing new feature dataTypes for the PolyMath/DataFrame project

2021-08-07 Thread Konrad Hinsen
Hi Balaji, > Please go through the following blog post. Any kind of suggestion or > feedback is welcome. That's a nice description, easy to follow. But there is a missing piece: how do you actually find the dataType for a series of values? My first guess was that you are using the same method as

[Pharo-users] Re: Rounding in Floats

2021-06-16 Thread Konrad Hinsen
Sven Van Caekenberghe writes: > It would be possible (and maybe it has already been done) to > implement/add such a decimal floating point number to Pharo. It would > require reimplementing all operations from scratch (esp. sin/cos/tan > log/exp and so on), it would be slow, but interesting.

[Pharo-users] Re: Rounding in Floats

2021-06-16 Thread Konrad Hinsen
On 16/06/2021 15:52, Sven Van Caekenberghe wrote: I am also a bit intrigued by this. Like you said: several other programming languages (I tried a couple of Common Lisp and Scheme implementations) do the same as Pharo, but handheld calculators, normal and scientific, do not. Handheld

[Pharo-users] Re: Rounding in Floats

2021-06-16 Thread Konrad Hinsen
On 15/06/2021 16:05, Esteban Maringolo wrote: And in this particular case, it might cause issues, since the "full precision" (whatever that means) must be retained when using such a number to derive another one. To me, "full precision" means "no precision is ever lost in arithmetic

[Pharo-users] Re: Rounding in Floats

2021-06-14 Thread Konrad Hinsen
On 15/06/2021 01:03, Esteban Maringolo wrote: Sure, but what initiated this thread was a reference to roundTo: 0.1 which produced a "wrong" output. (9.1 + (-2.0)) roundTo: 0.1 "=> 7.1005" 7.1 roundTo: 0.1 "=> 7.1005" However, at this point I know that Pharo "does the

[Pharo-users] Re: Can a class be not equal to itself?

2021-01-02 Thread Konrad Hinsen
"Richard O'Keefe" writes: > Well, when you talk about "THE copying machinery" you have to be a bit more > specific. There is no such thing as #deepCopy or #shallowCopy in the ANSI > Smalltalk standard. Many Smalltalks have I am referring only to Pharo, which is the only Smalltalk I have ever

[Pharo-users] Re: Can a class be not equal to itself?

2021-01-01 Thread Konrad Hinsen
"Richard O'Keefe" writes: > #deepCopy is one of those things that is best avoided, > because it violates the key principle of OOP that an In the abstract, I agree. In practice, I don't see what else I could do for my use case. I have an object whose internal state is updated by incoming

[Pharo-users] Re: Can a class be not equal to itself?

2020-12-31 Thread Konrad Hinsen
On 31/12/2020 12:19, Konrad Hinsen wrote: It's been a while since I have encountered mysterious behavior in Pharo, but today it happened. I set up a dictionary with classes as keys, and got "Key not found" errors for keys that were definitely in my dictionary. A quick debugging sess

[Pharo-users] Can a class be not equal to itself?

2020-12-31 Thread Konrad Hinsen
Hi everyone, It's been a while since I have encountered mysterious behavior in Pharo, but today it happened. I set up a dictionary with classes as keys, and got "Key not found" errors for keys that were definitely in my dictionary. A quick debugging session showed the underlying issue: I had

Re: [Pharo-users] Rounding in Floats

2020-09-07 Thread Konrad Hinsen
Hi Esteban, > It is not for printing but for testing. I want to assert that a > certain calculation gives the expected result. > And then it fails because of the difference above when it is > "semantically" correct. If you want reliable precision tests with IEEE floats, you should use rounding

Re: [Pharo-users] Pharo at JPL

2020-08-30 Thread Konrad Hinsen
Hi Ted, > I'm the person at JPL who (somehow) got "The Powers That Be" here to agree > to join the Consortium. Congratulations! That must have been a significant effort. > I'm also the major champion of Pharo at JPL, and am leading an effort to get > Pharo introduced & infused at JPL. That's

[Pharo-users] Pharo at JPL

2020-08-28 Thread Konrad Hinsen
Hi everyone, I just saw the news (on Twitter) that JPL (NASA's Jet Propulsion Laboratory) has joined the Pharo Consortium. Does anyone here know what JPL is doing with Pharo? If it's related to scientific/engineering applications, that would be a nice marketing argument in the

Re: [Pharo-users] [ANN] Smalltalk's Successor

2020-08-12 Thread Konrad Hinsen
Am 12.08.20 um 06:28 schrieb Richard O'Keefe: The contrast between "flexibility of choice" and "tyranny of one standard" is, um, a little over-drawn.  I have three different Common Lisp systems on this laptop: CMUCL, SBCL, and CCL.  I have the flexibility of choice between them *because* the

Re: [Pharo-users] New type of web application using HTML, CSS and Smalltalk

2020-05-05 Thread Konrad Hinsen
Hi Craig, >> ...Even better, a standalone application that could be hosted on >> a plain static server, since all the code would run client-side. > > E.g., https://caffeine.js.org/3d Yes, caffeine is impressive, but also something very different from a standard single-page Web app showing

Re: [Pharo-users] New type of web application using HTML, CSS and Smalltalk

2020-05-05 Thread Konrad Hinsen
Hi Erik, > So it could be a way of creating standalone web applications. If that was > the thought behind the question. Exactly. Even better, a standalone application that could be hosted on a plain static server, since all the code would run client-side. > I did use this mechanism of creating

Re: [Pharo-users] New type of web application using HTML, CSS and Smalltalk

2020-05-04 Thread Konrad Hinsen
Hi Erik, I have published my first demo of a new type of webapplication based on a tiny Smalltalk image running in the browser, acting as the JS-engine. Create a dynamic application using Smalltalk only, with the direct manipulation you're familiar with from Smalltalk. And ...(in the near

Re: [Pharo-users] Pharo #sum vs #sumNumbers and the consequence of #average

2020-03-23 Thread Konrad Hinsen
Am 23.03.20 um 14:45 schrieb James Foster: On Mar 23, 2020, at 6:06 AM, Sven Van Caekenberghe wrote: What you found out now is that the clever trick used to avoid picking an additive identity (picking an element, counting it twice and then subtracting it) leads to a loss of precision when

Re: [Pharo-users] Pharo 8.0 via get.pharo.org

2020-02-07 Thread Konrad Hinsen
Hi Esteban, > No it doesn’t :) > What you are getting looks like an error that happen when you try to execute > zeroconf on top of an already existing zeroconf. Ahhh That explains everything. Here's what happened: - I tried downloading in a fresh directory - A second later, I had a power

Re: [Pharo-users] Pharo 8.0 via get.pharo.org

2020-02-06 Thread Konrad Hinsen
Norbert Hartl writes: >> which contains Pharo.app, not the VM to run from the command >> line. >> > This the same thing actually. For MacOS it is a bit cumbersome. You can start > the vm with > > ./Pharo.app/Contents/MacOS/Pharo OK, so the distribution format has changed from Pharo 7? What I

[Pharo-users] Pharo 8.0 via get.pharo.org

2020-02-05 Thread Konrad Hinsen
Hi everyone, it looks like get.pharo.org suffers from some confusion about its own files. Here's what happens when I try to download the stable VM for macOS: url https://get.pharo.org/64/vm80 | bash [8:01:43] % Total% Received % Xferd Average Speed TimeTime

Re: [Pharo-users] Floating point arithmetic

2020-01-12 Thread Konrad Hinsen
On 12/01/2020 21:13, Donald Howard wrote: "Evaluate this in a playground and you'll see this is what  floating point arithmetic produces --the first two are wrong, every one after is correct" 0.09560268 - 0.005 "=> 0.090602679". 0.0956026 - 0.005  "=> 0.090602599". 0.095602 -

Re: [Pharo-users] Ring, Athena, Rubric, Calypso, Morphic, Block,…

2019-12-05 Thread Konrad Hinsen
On 05/12/2019 14:27, Kasper Østerbye wrote: I was wondering if there is somewhere all these subparts of Pharo are listed, and if it is also listed (and maintained) which ones are on their way out, and which are being updated and to what. I still find it truly  baffling. Such a list would be

Re: [Pharo-users] [ANN] GitBridge

2019-07-17 Thread Konrad Hinsen
Am 16.07.19 um 22:07 schrieb Cyril Ferlicot D.: Today I released the v1 of a project I wanted to do since a long time: GitBridge. The goal of the project is to easily access external resources stored in the git repository of the project and other information. Excellent - that's a

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-13 Thread Konrad Hinsen
Marcus Denker writes: > Indeed. Another thing to try: if someone has a local IPFS running, would it > cache > only those images that either this machine or near machines requested? Yes. But note that "nearby" is probably not what you expect, since IPFS connects more or less randomly to other

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-13 Thread Konrad Hinsen
Stephan Eggermont writes: >> All of http://files.pharo.org/ ? So how many GB is that? > > It is only a few thousand changes per release. There is no reason why that > shouldn’t compress well Did anybody try? In IPFS, files are cut into blocks of roughly 256 KB. Blocks shared between multiple

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-12 Thread Konrad Hinsen
On 11/06/2019 18:07, Stephan Eggermont wrote: Konrad Hinsen wrote: : . To make this effective, you have to think a bit about good data management strategies. Few people will want to mirror all the history of Pharo. Why? Fits on an SD card in a raspberry pi All of http://files.pharo.org

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-11 Thread Konrad Hinsen
serge.stinckw...@gmail.com writes: > I would like something like that for Pharo images. Can you sync > files.pharo.org on ipfs ? That should be straightforward using nothing but the IPFS command-line client. But it's worth thinking about the goals. What are you trying to improve exactly? The

Re: [Pharo-users] An IPFS interface for Pharo

2019-06-06 Thread Konrad Hinsen
Am 06.06.19 um 19:37 schrieb Serge Stinckwich: Great work ! I think Marcus was interested to have something like that. It is a solution to distribute scientific datasets ? That's what I am trying to explore. But IPFS is a nice basis for many more applications. I have seen an IPFS-based

[Pharo-users] An IPFS interface for Pharo

2019-06-06 Thread Konrad Hinsen
Hi everyone, Over the last weeks I have started to explore IPFS more seriously. IPFS, the Inter-Planetary File System, is supposed to be the next-generation Web: a decentralized content-addressed database. Since there is nothing better then Pharo for exploring databases, I have started to write

Re: [Pharo-users] Bloc of code in tiers programming language

2019-05-15 Thread Konrad Hinsen
Am 15.05.19 um 15:26 schrieb Atharva Khare: I think in python, you use Lambda Expressions. Here is how I would do it in python3: import math f = lambda x: math.cos(x) + x d_f = lambda x: (f(x + 1e-8) - f(x)) * 1e8 Lambda expressions are indeed Python's anonymous functions, but no Python

Re: [Pharo-users] Creating a dictionary from a list of associations

2019-05-03 Thread Konrad Hinsen
Hi everyone, > About twice a week I start looking for a straightforward way to > turn a list of associations into a dictionary, spend a while searching, > and give up, ending up with a messy explicit loop. Thanks for all the replies with interesting suggestions! Gabriel Cotelli writes: >

[Pharo-users] Creating a dictionary from a list of associations

2019-05-02 Thread Konrad Hinsen
Hi everyone, About twice a week I start looking for a straightforward way to turn a list of associations into a dictionary, spend a while searching, and give up, ending up with a messy explicit loop. Example: | words lengths | words := #('abc' 'defg'). lengths := Dictionary new.

Re: [Pharo-users] Iceberg for files other than code?

2019-04-08 Thread Konrad Hinsen
Hi Tim, > Hi Konrad - I think you can do what you describe - I think the > ICeRepository entry for your project will have the path you want. Indeed. Here's how to get the repository for class MyClass: repo := IceRepository registeredRepositoryIncludingPackage: MyClass package. And then the

Re: [Pharo-users] Iceberg for files other than code?

2019-04-07 Thread Konrad Hinsen
Hi Christopher and Tim, Thanks for your comments! I agree that managing the README from Pharo is not the most important use case, I just mentioned it because everyone know what a README is. A better example of what I want to do is Pharo's Help system. It stores the individual pages as methods

[Pharo-users] Iceberg for files other than code?

2019-04-06 Thread Konrad Hinsen
Hi everyone, Is it possible to read and modify files not containing Pharo code in a repository managed by Iceberg? I am thinking of reading the repository's README file, for example, or storing data files read by my code alongside the code itself. Konrad.

Re: [Pharo-users] [ANN] Pharo Days 2019 is online!

2019-03-25 Thread Konrad Hinsen
Esteban Lorenzano writes: > Currently we have 57 registrations. > Let’s make it 60! Or 70! (Round numbers are better :P) I'd love to join but I have an agenda conflict with some classes I teach. If you figure out a way to enable remote participation, I could help increment that number ;-)

Re: [Pharo-users] UI Frameworks

2019-03-13 Thread Konrad Hinsen
Bob Cowdery writes: > I also found Block and Brick which say they are next generation, Block > being for graphics and  Brick for widgets. These are not yet in Pharo > and again I couldn't find any info although there is a tutorial for > Block but not for Brick. Having forgotten most

Re: [Pharo-users] FUEL serialization to a file

2019-03-10 Thread Konrad Hinsen
Hi Sven, Thanks for all that background information on the history of streams. It makes everything a lot clearer for me. > But first, it would help a lot that you give a self-contained > reproducible snippet that raises your problem, like mine. I tried > reproducing your failure but could not.

Re: [Pharo-users] FUEL serialization to a file

2019-03-09 Thread Konrad Hinsen
Am 09.03.19 um 08:16 schrieb Konrad Hinsen: In the second line, it sends nextBytesPutAll: to the unbuffered stream. Which should be fine if it inherits from Stream. But ZnBufferedWriteStream does not inherit from Stream. The fix I found is simple, but I don't understand the whole system well

Re: [Pharo-users] FUEL serialization to a file

2019-03-08 Thread Konrad Hinsen
Sven Van Caekenberghe writes: > FUEL is a binary serialiser, in the new Pharo 7 stream approach, a > stream is either binary or textual, not both, nor can they be switched > on the fly. OK, thanks for confirming my suspicion that there was a change in Pharo. > FileLocator temp / 'test.fuel'

[Pharo-users] FUEL serialization to a file

2019-03-08 Thread Konrad Hinsen
Hi everyone, after playing with FUEL in-memory (byte arrays) for a while, I am ready to attack files. But... that's not so easy. At https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Fuel/Fuel.html I find the basic exxample 'demo.fuel'

Re: [Pharo-users] Serializing classes with Fuel

2019-03-06 Thread Konrad Hinsen
Hi Mariano, > Yes, that's the "default" behavior. To fully serialize classes you need > FuelMetalevel packages. This brings a new visitors and mappers to allow you > to fully serialize methods, classes, contexts, etc. Thanks for the pointer - I will explore FuelMetalevel. Konrad.

[Pharo-users] Serializing classes with Fuel

2019-03-05 Thread Konrad Hinsen
Hi everyone, does anyone here have some experience with Fuel? Its Web site says "It can serialize/materialize not only plain objects but also classes, traits, methods, closures, contexts, packages, etc.". So I should be able to serialize a class somehow, right? But classes are by default

Re: [Pharo-users] Interval form: x to: y when x > y - or how to count down...

2019-02-22 Thread Konrad Hinsen
On 22/02/2019 15:57, Tim Mackinnon wrote: I've just been caught out with Intervals - why can't you do: 5 to: 1 do: [ :i | Transcript show: i printString] (eg a negative interval)? if you want to iterate down a series of numbers do you really have to do: 5 to: 1 by: -1 do: [… I always assumed

Re: [Pharo-users] Iceberg working with forks - can it be easier?

2019-02-17 Thread Konrad Hinsen
Am 18.02.19 um 01:19 schrieb Tim Mackinnon: Hey Ben - I’m not sure that this actually does the same thing. I just tried it now, and it resulted in an extra merge in my forked repo - as I think this effectively pulls down from upstream into pharo and then if you have any differences in your

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Konrad Hinsen
Marcus Denker writes: > It is amazing how much better this feels now that Traits can define state, > too… (compared to before where it was just methods). > > > https://github.com/khinsen/SingletonTrait/blob/master/SingletonTrait/SingletonTrait.trait.st > > I would even want to have (and

Re: [Pharo-users] Traits for class methods?

2019-02-13 Thread Konrad Hinsen
On 11/02/2019 17:18, Cyril Ferlicot wrote: A quick question: is it possible to use traits to define class methods? For example, could the popular singleton pattern consisting of the three class methods #uniqueInstance, #new, and #reset plus the instance variable uniqueInstance be packaged as a

[Pharo-users] Traits for class methods?

2019-02-11 Thread Konrad Hinsen
Hi everyone, A quick question: is it possible to use traits to define class methods? For example, could the popular singleton pattern consisting of the three class methods #uniqueInstance, #new, and #reset plus the instance variable uniqueInstance be packaged as a trait? Konrad.

Re: [Pharo-users] PetitParser question

2019-01-30 Thread Konrad Hinsen
Tudor Girba writes: > Would this not work: It works. And as much as I hate to admit it, my version of yesterday was very similar except ... that it lacked a set of parentheses :-( > Please note that I used PetitParser2 for this one because it also > addresses the failure message issue you

Re: [Pharo-users] PetitParser question

2019-01-29 Thread Konrad Hinsen
Hi Doru, Thanks for pointing out the use case in XML, which gave me an opportunity to play around with this with almost no effort. Unfortunately there seems to be a bug in how PPXmlParser constructs the PPFailure message (freshly reported:

Re: [Pharo-users] PetitParser question

2019-01-27 Thread Konrad Hinsen
Dear Tomo, This post might help you. In case of PetitParser2, it's PP2Failure instead of PPFailure. https://stackoverflow.com/questions/15371334/how-can-a-petitparser-parse-rule-signal-an-error That's indeed a possible solution: parse for arbitrary operators, and then add a test for equality

[Pharo-users] PetitParser question

2019-01-26 Thread Konrad Hinsen
Dear parsing experts, I have been working on a medium-size parser using the PetitParser framework, which so far has been a very productive environment. But now I have a problem to which I could not find the solution in "Deep into Pharo", nor by searching around in the code. One of my production

Re: [Pharo-users] [Iceberg] Loading my git project into a new image

2019-01-21 Thread Konrad Hinsen
Am 21.01.19 um 14:59 schrieb sergio ruiz: I am not able to get the packages view to load on my project. How would I go about creating a baseline? Check out this explanation (with examples) : https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md Konrad.

Re: [Pharo-users] Documentation on Traits

2019-01-09 Thread Konrad Hinsen
Cyril Ferlicot writes: > There is documentation on Traits here: > https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Traits.md Great, thanks! Konrad.

[Pharo-users] Documentation on Traits

2019-01-09 Thread Konrad Hinsen
Dear Pharo experts, Is there any documentation on traits as implemented in Pharo 7? It's easy to find discussions about the trait feature over the years, plus slides and related stuff, but I am not sure what the current actually implemented version is. I did manage to write and use a first trait

Re: [Pharo-users] Updating singletons

2019-01-09 Thread Konrad Hinsen
Hi Steffen, > However, there is another fun possibility to figure out that a change > happened that does not involve configuration - though, a bit hacky. ;-) > You could write the accessor method such that it recompiles itself with > the first access after loading new code. For example: >

Re: [Pharo-users] Updating singletons

2019-01-08 Thread Konrad Hinsen
Dale, > Did you try what I suggested and did it solve your problem? I tried, but I see no difference. The postload method is still not executed. Konrad.

Re: [Pharo-users] Updating singletons

2019-01-05 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Dale, > This looks like a case where you are using a metadata-less repository > ... if so you, should add the following method to your baseline class: Sorry, that's way above my understanding of baselines and repository handling in general. I started from

Re: [Pharo-users] Updating singletons

2019-01-04 Thread Konrad Hinsen
Hi Steffen, Have you considered to yield (an) proxy object(s) instead of the actual > Singleton in uniqueInstance? This way it suffices to update the proxy > with each update of the code. I am not sure I understand what you are proposing. My problem is figuring out how to change in-memory

Re: [Pharo-users] Updating singletons

2019-01-04 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- H Cyril, > Fetching, loading and post loads should leave a trace during the > execution in the Transcript. Thanks, that helps to confirm that my postload is never executed when I update a package + baseline in an image that already had an earlier version loaded. Nothing at

Re: [Pharo-users] Updating singletons

2019-01-03 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Ben, > You might use a Baseline #postLoadDoIt: > https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md Thanks, that looks like exactly what I need... except that it doesn't seem to work. My postload method is not run when a new version of

[Pharo-users] Updating singletons

2019-01-03 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Dear Pharo experts, I am wondering if there is a good way to deal with singleton objects whose value needs to be updated following changes in the code that initializes it. Following the model of many examples in Pharo itself, I have defined a singleton class with a

Re: [Pharo-users] [Moose-dev] glamorous toolkit: v0.4.0

2019-01-02 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Hi Doru and Offray, Tudor Girba via Pharo-users writes: > A separate editor is needed when the markup has little resemblance > with the output, which is the case for HTML. In this case, > bidirectional editing, as shown in Sketch-n-Sketch, is indeed a very > nice thing.

Re: [Pharo-users] [Moose-dev] glamorous toolkit: v0.4.0

2019-01-01 Thread Konrad Hinsen
Hi Offray and Doru, allow me to chirp in on a topic that I have been thinking about for a while: >> Interesting observation. The linked tools as all other notebook >> technologies I saw rely on two distinct modes for edit and view that >> reside in two distinct widgets (editor and viewer). They

Re: [Pharo-users] (no subject)

2019-01-01 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Offray, > It's really nice to have you hear. I remember some of our Twitter Thanks for the welcome! > I restarted with Pharo in 2014, after a short revealing experience with > Squeak, EToys and Bots Inc in 2006-2007 and now I'm enjoying the Joyride[1] > > [1]

Re: [Pharo-users] (no subject)

2018-12-31 Thread Konrad Hinsen via Pharo-users
--- Begin Message --- Thanks to everyone who replied - the sum of the answers is actually a lot more useful than each one individually, as each one points to a part of the puzzle that Pharo is (for me, at least, after roughly one month of use). Ben Coman writes: > This may not be what you are

Re: [Pharo-users] (no subject)

2018-12-28 Thread Konrad Hinsen
Richard Sargent writes: > I understand your desire to utilize the existing Smalltalk mechanisms. But, > I think the most important thing is modelling consistency. > > What are the behaviours you expect from Expression, SumExpression, and > ProductExpression? Do they know their parent expression?

[Pharo-users] (no subject)

2018-12-27 Thread Konrad Hinsen
Hi everyone, I am confronted with an implementation choice that I expect to be not so rare, and I wonder what "the Pharo way" is for dealing with it. I will use a toy example for illustration, my real case is more complex but not fundamentally different. Suppose I want to represent arithmetic

Re: [Pharo-users] Playing with Pharo 7

2018-12-14 Thread Konrad Hinsen
On 26/11/2018 21:47, Cyril Ferlicot D. wrote: > There is also a recent guide here: > https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/blob/master/General/Baselines.md > > I don't know if it is more beginner friendly. Feedback is welcome. I did the ultimate test: I wrote my own

Re: [Pharo-users] Pharo 7 under Linux

2018-12-13 Thread Konrad Hinsen
Hi Esteban, > While it should not crash (just disable iceberg), it will be useful to > know which kind of linux are you using. It's Ubuntu 18.10. And it doesn't crash in the sense of crashing the VM, there's just an error message that pops up when I start the image. I didn't try to use that

Re: [Pharo-users] Playing with Pharo 7

2018-11-29 Thread Konrad Hinsen
"Cyril Ferlicot D." writes: > There is also a recent guide here: > https://github.com/pharo-tips-and-tricks/pharo-tips-and-tricks/blob/master/General/Baselines.md > > I don't know if it is more beginner friendly. Feedback is welcome. Yes, it's a lot better for beginners because it actually

Re: [Pharo-users] Playing with Pharo 7

2018-11-26 Thread Konrad Hinsen
Am 25.11.18 um 22:35 schrieb Paul DeBruicker: For #1: Set up a Metacello Baseline for your project and then you can automatically load your packages and settings into as many images as you like. https://github.com/Metacello/metacello Thanks for the pointer! Unfortunately all the

[Pharo-users] Playing with Pharo 7

2018-11-25 Thread Konrad Hinsen
Hi everyone, after finishing the Pharo MOOC, I have started to play with a simple project of my own, initially using Pharo 6.1. Since Pharo 7 seems to be coming soon, I wanted to try it out, and that lead to a few practical questions. 1) How do you move your personal environment to a new image?