[Pharo-users] Re: Too many parenthesis - a matter of syntax

2022-01-26 Thread jtuc...@objektfabrik.de
Kasper, I wouldn't say your suggestion looks any more readable than the many parentheses of the original expression. The whole operation is complex enough to be hard to understand. So I agree with both Richard and Sebastian - you should either make the steps readable by giving the intermediate

[Pharo-users] Re: Silly question about storing and displaying currency amounts?

2021-08-30 Thread jtuc...@objektfabrik.de
Hi Sven, I just tried 46.79 asScaledDecimal and 46.79 asScaledDecimal: 2 in both VAST and Pharo and see quite different results. In VAST, not providing a scale returns 46.79, but with a scale of 14 (46.79s14). But it is still 46.79. What's good is that the results of "asScaledDecimal: 2" yie

[Pharo-users] Re: The Greatest Contributors to Smalltalk since 1980

2021-07-25 Thread jtuc...@objektfabrik.de
I guess I agree on the question being wrong. There are quiet a few people I think did incredibly important things, not only to Smalltalk. What about the people behind the Refactoring Browser (John Brant? and I guess a few less prominent people who did some of the groundwork), for example? Seas

[Pharo-users] Re: Whats the easiest/cheapest way to run a Pharo web app in 2021?

2021-04-13 Thread jtuc...@objektfabrik.de
Norbert, you nailed it ;-) Easy and cheap and lots of layers of magic infrastructure nailed and hammered onto each other don't go well with each other. I am still a fan of having some server - virtual or physical - that I can reinstall from scratch and as little moving parts as possible on to

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-22 Thread jtuc...@objektfabrik.de
Tim, Am 22.01.21 um 10:22 schrieb Tim Mackinnon: I’m not doing any CSV processing at the moment, but have in the past - so was interested in this thread. @Kasper, can’t you just use #readHeader upfront, and do the assertion yourself, and then proceed to loop through your records? It would

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-21 Thread jtuc...@objektfabrik.de
Kasper, I think this is somewhat close to another thing I am describing here: https://github.com/svenvc/NeoCSV/issues/20 The problem with extending NeoCSV endlessly is that some of the things we need with "real-life" CSV files is the fact that the

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-06 Thread jtuc...@objektfabrik.de
ve also found it necessary to skip multiple lines at the beginning and/or end. (Really, some government agencies seem to have NO idea that anyone might want to do more with a CSV file than eyeball it in Excel.) If there is a benchmark suite I can use to improve CSVDecoder, I w

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-06 Thread jtuc...@objektfabrik.de
thub about the conversion errors, I hope that is a convenient place for such comments/ideas? Joachim Am 05.01.21 um 21:06 schrieb jtuc...@objektfabrik.de: Sven, I tested your change with the file and filter (our own way of defining csv mappings by the end users) which used to send our a

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-06 Thread jtuc...@objektfabrik.de
d.  (Really, some government agencies seem to have NO idea that anyone might want to do more with a CSV file than eyeball it in Excel.) If there is a benchmark suite I can use to improve CSVDecoder, I would like to try it out. On Tue, 5 Jan 2021 at 02:36, jtuc...@objektfabrik.de <mailto:jtuc...@ob

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-05 Thread jtuc...@objektfabrik.de
19:52 schrieb jtuc...@objektfabrik.de: Hi Sven, all I can say is: wow. I have no words. I will have to learn a bit about Pharo and github real quick now in order to try your changes Thank you very much. I'll give you feedback as fast as I can. (And forget my questions

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-05 Thread jtuc...@objektfabrik.de
ghe: Hi Joachim, Have a look at the following commit: https://github.com/svenvc/NeoCSV/commit/a3d6258c28138fe3b15aa03ae71cf1e077096d39 and specifically the added unit tests. These should help clarify the new behaviour. If anything is not clear, please ask. HTH, Sven On 5 Jan 2021, at 08:49

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-04 Thread jtuc...@objektfabrik.de
or now, I will come back to you. Regards, Sven On 4 Jan 2021, at 14:46, jtuc...@objektfabrik.de wrote: Please find attached a small test case to demonstrate what I mean. There is just some nonsense Business Object class and a simple test case in this fileout. Am 04.01.21 um 14:36 schrieb jtuc...@

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-04 Thread jtuc...@objektfabrik.de
Paul, thank you very much for this idea. Your suggestion is probably "good enough" to at least catch errors when the number of columns doesn't match in the whole file or the first row. For my use case, it wouldn't make any difference if the first row contains header information or not. There

[Pharo-users] Re: NeoCSVReader and wrong number of fieldAccessors

2021-01-04 Thread jtuc...@objektfabrik.de
Please find attached a small test case to demonstrate what I mean. There is just some nonsense Business Object class and a simple test case in this fileout. Am 04.01.21 um 14:36 schrieb jtuc...@objektfabrik.de: Happy new year to all of you! May 2021 be an increasingly less crazy year than

[Pharo-users] NeoCSVReader and wrong number of fieldAccessors

2021-01-04 Thread jtuc...@objektfabrik.de
Happy new year to all of you! May 2021 be an increasingly less crazy year than 2020... I have a question that sounds a bit strange, but we have two effects with NeoCSVReader related to wrong definitions of the reader. One effect is that reading a Stream #upToEnd leads to an endless loop, th

[Pharo-users] Re: [Pharo-dev] [Ann] Pharo new version available & mooc needs subtitle translaters

2020-11-10 Thread jtuc...@objektfabrik.de
YEs, you miss the year ;-) It says 2021 Am 10.11.20 um 10:13 schrieb Steffen Märcker: Hi! Is it still possible to attend / watch the Mooc? The page (https://www.fun-mooc.fr/courses/course-v1:inria+41024+session01/about) tells that registration ended on nov 07. Or do I miss other ways to ac

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread jtuc...@objektfabrik.de
achim It does seem to be getting marginally better at least, but I do wish there was super easy setup with all the pieces nicely in place so it was just your idea that you could focus on… Anyway, that login screen… oh crap I have to write one of those… Tim On 6 Oct 2020, at 20:56, jtuc...

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread jtuc...@objektfabrik.de
Sean, thanks for your short overview of what SimplePersistence does. Sounds useful for quite a few scenarios and might even carry you well through production stages for some projects. What I was talking about is also not meant to frustrate people. I've only played with Mongo/Voyage for a few h

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread jtuc...@objektfabrik.de
- Choose Boring Technology - http://boringtechnology.club/ This made my day. Thank you :-) Had never heard of this guy, but his site feels like home to me. Makes me a proud user of Smalltalk and DB2 after 25+ years ;-) He forgot to mention that boring technology can be quite interesting and

[Pharo-users] Re: Easiest light weight cloud/web persistence for Pharo?

2020-10-06 Thread jtuc...@objektfabrik.de
Tim, Am 06.10.20 um 14:47 schrieb Tim Mackinnon: Some great answers everyone - really appreciate it. I think that all things considered, SimplePersistence seems like a very easy place to start, and then I can "upgrade" when my super awesome idea (not), exceeds its bounds. Sigh. Forget about

[Pharo-users] Re: where are the nills come from and how do I get rid of them

2020-09-21 Thread jtuc...@objektfabrik.de
lp in finding out if I (or anybody else) can help. And it may help the right answer to your question. Joachim Am 22.09.20 um 07:53 schrieb Roelof Wobben via Pharo-users: Thanks, I will look further then how to make the tests green Roelof Op 21-9-2020 om 08:24 schreef jtuc...@objektfabri

[Pharo-users] Re: where are the nills come from and how do I get rid of them

2020-09-20 Thread jtuc...@objektfabrik.de
Roelof, I guess your are taking about what you see in the inspector... There is nothing to worry about. Try inspecting wordBag asOrderedCollection and see if there are still nils. Or ask the Bad for occurencesOf: nil. It is completely normal to see nils in an Inspector on a Set or Bag. Has

Re: [Pharo-users] how can I divide a string in parts of 5

2020-09-10 Thread jtuc...@objektfabrik.de
Look at implementors and senders of #to:by:do: as a start. You can iterate over a Collection (String is a Collection) making bigger steps. Or look around for ReadStream and methods like #atEnd and #next: HTH Joachim Am 10.09.20 um 13:48 schrieb Roelof Wobben via Pharo-users: Hello, For ano

Re: [Pharo-users] Can it do this way ?

2020-09-01 Thread jtuc...@objektfabrik.de
Roelof, I don't think so. A Class cannot access instance variables. Why? because a Class doesn't know which of its instances to ask for it. Ask yourself: who is "self" in a Class method? Is it the Class or is it an individual instance of the Class? (Hint: in a Class, #self is the Class, whil

Re: [Pharo-users] Scaled decimals comparisons

2020-08-31 Thread jtuc...@objektfabrik.de
Interesting. Your expression evaluates to true in VA Smalltalk. Am 01.09.20 um 06:17 schrieb Esteban Maringolo: As a follow up to this, adding a roundTo: before converting into a ScaledDecimal does not work. (((91 - (2 * 35.9) - (0 / 2) * (113/121)) roundTo: 0.1) asScaledDecimal: 1) = 17.9s1

Re: [Pharo-users] [ANN] PharoPro

2020-06-17 Thread jtuc...@objektfabrik.de
Norbert, this is a great initiaitive and a much-needed step in the right direction. An LTS Pharo is really a must for many commercial projects. I wish you best of luck and success! A little side note on the "Why PharoPro?" section on your website: The commercial entity behind Ubuntu is Canon

Re: [Pharo-users] DateTime now nanos

2020-06-14 Thread jtuc...@objektfabrik.de
Jeff, I can't comment on the problem per se, as I am not a frequent Pharo user. But whenever something would be all over the place, I'd suggest thinking about wrapping the problem into its own class, so that your point in time is not an instance of DateAndTime but one of your wrapper class. T

Re: [Pharo-users] Refactor without formatting

2020-05-20 Thread jtuc...@objektfabrik.de
Am 20.05.20 um 10:45 schrieb Guillermo Polito: Hi, El 20 may 2020, a las 1:54, Ben Coman > escribió: That seems to violate the Principal Of Least Surprise. Yes, I happen to also not like that behaviour :( me too. Although I am not on Pharo ;-) Whether or no

Re: [Pharo-users] Ballooning image size! Approaching 400MB

2020-04-01 Thread jtuc...@objektfabrik.de
gc’d (that’s what I vaguely recall anyway). (This was in early VA from the OTI guys, but maybe that gets handled better in modern VA, as I think become: is two way in VA right?) Tim On 1 Apr 2020, at 08:11, jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de> wrote: Tim, out of curios

Re: [Pharo-users] Ballooning image size! Approaching 400MB

2020-04-01 Thread jtuc...@objektfabrik.de
Tim, out of curiosity: why do you suggest to create hundreds of thousands of Strings instead of become: nil? Does Pharo do two-way become: ? I'be been nilling instances for a little over 2 decades in VAST so far and never had any troubles with it... Other than that: the become: nil (or Stri

Re: [Pharo-users] Why Smalltalk is so easy to evangelize

2020-01-10 Thread jtuc...@objektfabrik.de
Am 10.01.20 um 10:16 schrieb Marten Feldtmann: That happened once in the history of Smalltalk and the big player was IBM ... Well, twice actually ;-) Many people might not know that HP once was a Smalltalk vendor with their distributed Smalltalk (which was actually a white-label copy of Visua

Re: [Pharo-users] why is masses not found?

2019-12-31 Thread jtuc...@objektfabrik.de
12:26 schrieb Roelof Wobben: Thanks. I think I misunderstood you. There is a instance method called masses where all the numbers are mentioned. The class variable masses that I used there was just because masses were not understood but that one can be deleted. Roelof Op 31-12-2019 o

Re: [Pharo-users] why is masses not found?

2019-12-31 Thread jtuc...@objektfabrik.de
I only skimmed over your code briefly. It seems you implemented a class method #masses which returns stuff, but never call that method. You reference the class var #masses which is never initialized. So I guess there should be some place where you assign the return value of #masses to the mass

Re: [Pharo-users] voyage mongo and transactionality

2019-10-12 Thread jtuc...@objektfabrik.de
t would solve our problems for more complex graphs, or even a general one... If you find something, let us know! Joachim Kind regards, Jonathan van Alteren Founding Member | Object Guild jvalte...@objectguild.com On 9 Oct 2019, 16:49 +0200, jtuc...@objektfabrik.de , wrote: This is a

Re: [Pharo-users] Running a teapot instance remotely

2019-10-10 Thread jtuc...@objektfabrik.de
Vince, I guess this has its roots in long-ongoing discussions about the anticipated disadvantages of image-based development in general. It tries to explain that Smalltalk has mechanisms for recovering code after an image crashes. It is not indicating that images do actually crash more often

Re: [Pharo-users] voyage mongo and transactionality

2019-10-09 Thread jtuc...@objektfabrik.de
Am 09.10.19 um 16:48 schrieb jtuc...@objektfabrik.de: In my experience, this problem area makes for the other 70% of the time spent on developing GUI or Web applications, besides the 60% for GUI design and implementation and 25% business logic... I forgot the 30% for O/R Mapping when you

Re: [Pharo-users] voyage mongo and transactionality

2019-10-09 Thread jtuc...@objektfabrik.de
This is a tricky mine field. Sometimes you need a lot of business functionality in objects referenced in your objects that are currently in the editor. So I'm still to see a project in which the memento pattern really worked for more complex scenarios. How deep do you dive to have enough meme

Re: [Pharo-users] Warning Newbie Question: Bootstrap Navbar example works my copy and paste fails?

2019-07-28 Thread jtuc...@objektfabrik.de
Ian, the first thing to do (imo) is to look for implementers of #navigationBar. I would guess there is none to be found in your image. That would mean you most probably don't have the code required for Seaside/Bootstrap loaded into your image. I am not a Pharo user, so I cannot tell you exac

Re: [Pharo-users] Fwd: Re: How to prevent Mustache from replacing & with & etc.?

2019-04-17 Thread jtuc...@objektfabrik.de
plement here, this still helps me a lot in achieving what I need. Joachim Am 17.04.19 um 10:52 schrieb Norbert Hartl: Joachim, I put the comments inline. Am 17.04.2019 um 10:34 schrieb jtuc...@objektfabrik.de: So I think I found a solution for my problem which seems to work. Thank

Re: [Pharo-users] Fwd: Re: How to prevent Mustache from replacing & with & etc.?

2019-04-17 Thread jtuc...@objektfabrik.de
So I think I found a solution for my problem which seems to work. Thanks for listening and your input of ideas. What I did was to follow this idea: I am thinking of introducing a modifier, say § to switch the html entity encoding for another one which I of course have to implement on my own

[Pharo-users] Fwd: Re: How to prevent Mustache from replacing & with & etc.?

2019-04-17 Thread jtuc...@objektfabrik.de
s if this is a feasible/clever idea or not. Joachim Am 17.04.19 um 08:31 schrieb Norbert Hartl: Joachim, Am 17.04.2019 um 07:56 schrieb jtuc...@objektfabrik.de: Norbert, thanks for answering. I had tried the {{{ }}} option. In case of LaTeX, this is not so easy, however, because {{{ and }}}

Re: [Pharo-users] How to prevent Mustache from replacing & with & etc.?

2019-04-16 Thread jtuc...@objektfabrik.de
So writing my answer I came to the conclusion to visithttps://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Mustache/Mustache.html again. BTW: Good work, thanks for both implementing and documenting Mustache this nicely! And I found {{& which

Re: [Pharo-users] How to prevent Mustache from replacing & with & etc.?

2019-04-16 Thread jtuc...@objektfabrik.de
Mustache with something that will not irritate LaTeX? Any ideas? Joachim Am 16.04.19 um 12:00 schrieb Norbert Hartl: Hi, Am 16.04.2019 um 09:02 schrieb jtuc...@objektfabrik.de: Hi Pharoers, I may be a bit wrong on this list. I try anyways. I am using Mustache to fill text into a

[Pharo-users] How to prevent Mustache from replacing & with & etc.?

2019-04-16 Thread jtuc...@objektfabrik.de
Hi Pharoers, I may be a bit wrong on this list. I try anyways. I am using Mustache to fill text into a String which will then be handed over to LaTeX. The Data I fill in comes from the Database. Now the problem is this: if a String from the database contains an ampersand (like in 'Katz & Ma

Re: [Pharo-users] [Pharo-dev] [OT] (slightly) What makes other dialects "enjoyable" for you? (WAS: difference between double dispatch...)

2019-04-11 Thread jtuc...@objektfabrik.de
+1 on the long term support and stability topic. ... and if I remember correctly, either Stephane or Marcus once talked about plans for some kind of LTS version at ESUG two or three years ago...? Am 11.04.19 um 15:29 schrieb Mariano Martinez Peck: Hi Esteban, We talk this privately a couple

Re: [Pharo-users] [OT] (slightly) What makes other dialects "enjoyable" for you? (WAS: difference between double dispatch...)

2019-04-10 Thread jtuc...@objektfabrik.de
Richard, as a comment on VA Smalltalk: you are referring to the Linux version, which is also your Screenshot. I agree that Linux version of VA Smalltalk is far from what I'd call enjoyable or beautiful. If you take a look at the Windows version of VAST, you'll immediately realize that Linux u

Re: [Pharo-users] [OT] (slightly) What makes other dialects "enjoyable" for you? (WAS: difference between double dispatch...)

2019-04-10 Thread jtuc...@objektfabrik.de
Esteban, I can, of course, only speak for myself and I must admit I never really used Dolphin for more extensive projects. What I always was envious of as a long-time VA Smalltalk-user was the nice look & feel of Dolphin. It just felt like Windows, acted and looked like Windows and offered all

Re: [Pharo-users] How to catch and handle multiple exceptions

2019-04-08 Thread jtuc...@objektfabrik.de
Am 08.04.19 um 14:39 schrieb Richard O'Keefe: > > It's easy enough to add your own methods like > on: exn1 do: act1 on: exn2 do: act2 >     "An imperfect emulation of VAST's #when:do:when:do:" >     ^[self on: exn1 do: act1] on: exn2 do: act2 > > on: exn1 do: act1 on:

Re: [Pharo-users] The confusing state of SUnit

2019-02-26 Thread jtuc...@objektfabrik.de
So you are suggesting an extension of SUnit. Great. You just forgot to attach your code ;-) BTW: I think the current imnplementations of SUnit already carry a large amount of pollution. Just because JUnit and friends introduced special methods for testing equality and such, we also have this n

Re: [Pharo-users] Transforming objects

2019-01-16 Thread jtuc...@objektfabrik.de
Loïc, Am I correct in assuming you are thinking about a model in which a plant can have a growing and shrinking list of organs over time and some of them even have (a growing list of) stages? I am not an expert on the matter, but to me the stages idea sounds good. It even allows for historic

Re: [Pharo-users] Why is the root class of tests named TestAsserter?

2018-10-09 Thread jtuc...@objektfabrik.de
I am neither an expert nor do I know what the reasoning behind the naming initially was. But my initial thought about your question was that a single method named tesXXX is actually a test, and the class containing all these tests is intended to check the assertions that are formulated in the i

Re: [Pharo-users] Microservices using Pharo

2018-06-27 Thread jtuc...@objektfabrik.de
Norbert, thanks for your insighgts, explanations and thoughts. It is good to read and learn from people who are a step or two ahead... Am 27.06.18 um 09:31 schrieb Norbert Hartl: Joachim, Am 27.06.2018 um 07:42 schrieb jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de>: N

Re: [Pharo-users] Microservices using Pharo

2018-06-26 Thread jtuc...@objektfabrik.de
Norbert, Am 26.06.18 um 21:41 schrieb Norbert Hartl: Am 26.06.2018 um 20:44 schrieb Andrei Stebakov >: What would be an example for load balancer for Pharo images? Can we run multiple images on the same server or for the sake of balancing configuration we can on

Re: [Pharo-users] Microservices using Pharo

2018-06-26 Thread jtuc...@objektfabrik.de
Am 26.06.18 um 20:47 schrieb Andrei Stebakov: I guess for multiple images on the same server we need to spawn off images listening on different ports. exactly. We use Apache mod_proxy_balancer with sticky sessions for our configuration. The sticky session part is important if you use Seaside

Re: [Pharo-users] Some random musings

2018-04-16 Thread jtuc...@objektfabrik.de
Sven, Serge, Especially in the case of Floats, I think between:and: is *not* a good name. As always, the question is if between:and: is exclusive or inclusive of the border values... So I think the better name is from:to:. I think this name indicates it includes the border values. Joachim

Re: [Pharo-users] Pharo News Page Outage

2018-03-15 Thread jtuc...@objektfabrik.de
yes Am 15.03.18 um 09:47 schrieb Gerald Klix: Hi, I experience problems when I try to browse http://pharo.org/news, that is: I consistently hit Cloudflare's error handling page. Can anybody confirm this behaviour? Best Regards, Gerald -- ---

Re: [Pharo-users] adding 1 year to the date - bug?

2018-02-26 Thread jtuc...@objektfabrik.de
Am 26.02.18 um 11:13 schrieb Petr Fischer: So "date addMonths: 12" behaves better for my needs. Thanks Hmm. We've had this discussion just the other day at Lunch. What is a month? Should addMonths: 1 and then subtractMonths: 1 on January 31st bring you back to January 31st? How would you implem

Re: [Pharo-users] canonical way to convert Symbol into Class (retrieve class by its name)

2018-02-10 Thread jtuc...@objektfabrik.de
Peter, I have no answer for you as I am not a Pharo expert. It may be part of an answer to your question "why?", however. I think most if not all of the alternatives you mention are equally good as long as you assume there is only one place to look for Classes. As soon as you introduce namesp

Re: [Pharo-users] Breakpoints in Pharo

2017-12-26 Thread jtuc...@objektfabrik.de
Ben, I don't think you can compare #halt with Breakpoints. Breakpoints have two main advantages over halts: * They do not change source code, so there is no diff between a method version with and without this debugging aid. Helps a lot, especially in times when you urgenztly need to fix

Re: [Pharo-users] NeoCSVWriter: how to output an empty quoted field

2017-12-23 Thread jtuc...@objektfabrik.de
fields normally write as 'empty quoted fields': String streamContents: [ :out | (NeoCSVWriter on: out) nextPut: #(nil nil nil) ]. => '"","",""' Is this not what you want/need ? Sven On 22 Dec 2017, at 15:05, jtuc...@objektfabrik.de wrot

[Pharo-users] NeoCSVWriter: how to output an empty quoted field

2017-12-22 Thread jtuc...@objektfabrik.de
Hi, I need to write a number of empty quoted fields in a CSV export. The receiving application will complain about missing quotes for empty text fields... (don't ask, I've done all the eye rolling for you already) My frst attempt was: writer addConstantField: '""'. But this doesn't write t

Re: [Pharo-users] Pharo-users Digest, Vol 55, Issue 94

2017-11-12 Thread jtuc...@objektfabrik.de
Stef, Am 12.11.17 um 16:05 schrieb Stephane Ducasse: Joachim We are focused on deployment but not the same way. We are the first system that bootstrap a core and can load dependencies on this core. I may have chosen the wrong words, sorry for that. The OPs comments sounded so much like "why do

Re: [Pharo-users] Pharo-users Digest, Vol 55, Issue 94

2017-11-11 Thread jtuc...@objektfabrik.de
Am 11.11.17 um 22:29 schrieb Викентий Потапов: Vikenti, And also i mean some simple and understandable deployment tool (as in Cincom VW exists) but not manual-written bash scripts. This tool asks me what class\accessor send open message, asks what to strip and how to pack my image. Few simpl

Re: [Pharo-users] Pharo-users Digest, Vol 55, Issue 94

2017-11-11 Thread jtuc...@objektfabrik.de
Am 11.11.17 um 22:29 schrieb Викентий Потапов: I want to get these esug videos, but i've searched through the whole pharo site and i haven't found them ... :( ESUG and Pharo are still two separate entities, both legally and from the perspective of their goals. The ESUG conference was run by ESU

Re: [Pharo-users] perspective request for those earning a living fromSmalltalk

2017-11-05 Thread jtuc...@objektfabrik.de
Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 *From: *jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de> *Sent: *Monday, October 23, 2017 3:32 AM *To: *Any question about pharo is welcome <mailto:pharo-users@lists.pharo.org> *Su

Re: [Pharo-users] Smalltalk Argument

2017-11-05 Thread jtuc...@objektfabrik.de
Phil, Am 26.10.17 um 08:17 schrieb p...@highoctane.be: Now we miss the boat on mobile and bigdata, but this is solvable. You know, "It's solvable, and it's even easy in Smalltalk" has been what we've been shouting down at those worms in the C++/Java swamp for decades. We just never really

Re: [Pharo-users] Smalltalk Argument

2017-11-05 Thread jtuc...@objektfabrik.de
stand right now. -- Peter On Fri, Oct 20, 2017 at 3:23 AM, jtuc...@objektfabrik.de <mailto:jtuc...@objektfabrik.de> <mailto:jtuc...@objektfabrik.de>> wrote: First of all: I'd say the question itself is not a question but an excuse. I am not arguing there are e

Re: [Pharo-users] Smalltalk Argument

2017-10-26 Thread jtuc...@objektfabrik.de
to give you that mobile app/browser app experience.  As with others, we're not there yet, but getting there.  See http://pharojs.org The 67% loved means that 67% of people using Smalltalk (or perhaps have ever used it) want to continue - so it's presumably a high percentage of a smallish numb

Re: [Pharo-users] Glorp: #includesKey:

2017-10-24 Thread jtuc...@objektfabrik.de
Herby, I must admit I've never used Dictionary Mappings with Glorp, so I don't have an answer. But I am a bit confused by your code examples. See below Am 24.10.17 um 20:27 schrieb Herby Vojčík: Hello! I am using a DictionaryMapping in my code, and I wanted to use #includesKey: in #where:

Re: [Pharo-users] perspective request for those earning a living from Smalltalk

2017-10-23 Thread jtuc...@objektfabrik.de
Petr, I've been working as a Consultant for many big corporations (mainly in VA Smalltalk) since 1996. The situation you describe is very well known to me. But in my opinion there is no technical reason for this. It's a managerial problem. Ever since IBM went out to their customers and told t

Re: [Pharo-users] Smalltalk Argument

2017-10-20 Thread jtuc...@objektfabrik.de
First of all: I'd say the question itself is not a question but an excuse. I am not arguing there are enough Smalltalkers or cheap ones. But I think the question is just a way of saying "we don't want to do it for reasons that we ourselves cannot really express". If you are a good developer, le

Re: [Pharo-users] "Building-With versus Building-on"

2017-10-13 Thread jtuc...@objektfabrik.de
Am 12.10.17 um 20:04 schrieb Dimitris Chloupis: Eclispe , which I will disagree with your that is not the worst IDE, started as a smalltalk IDE and then it got Eclipsed. I am sure those people had a "build on" environment , still it got messy. We can blame porting to Java, but can we really

Re: [Pharo-users] [TechTalk] 17th Oct: Artificial Intelligence

2017-10-11 Thread jtuc...@objektfabrik.de
Will this TechTalk be recorded? I will most likely not have time at that time... Joachim Am 11.10.17 um 09:47 schrieb Marcus Denker: Pharo TechTalk: Artificial Intelligence A regular chat about Pharo. Happens on Discord. Topic: Artificial Intelligence. This is an i

Re: [Pharo-users] Need help with NeoJSON reader definition

2017-09-26 Thread jtuc...@objektfabrik.de
termost {} object to? I also tried variations of for:customDo: for the mapping of the #TransferMessage and had no success so far. Any ideas? Joachim Am 26.09.17 um 08:29 schrieb jtuc...@objektfabrik.de: Hi there, I am having a hard time configuring a NeoJSONReader for a JSON file like t

[Pharo-users] Need help with NeoJSON reader definition

2017-09-25 Thread jtuc...@objektfabrik.de
Hi there, I am having a hard time configuring a NeoJSONReader for a JSON file like this: {     "Paging": { someStuff    },     "ErrorMessage": null,     "ErrorCode": 0,     "Data": [     {object1},         {object2}         ] } Where I want to ignore everything but the list named

Re: [Pharo-users] How to find if a method is being executed in a given process

2017-09-25 Thread jtuc...@objektfabrik.de
Steven You could add use a semaphore if changing code is an option. We once used MethodWrappers in VAST to answer a similar question regarding whether a body of code can be removed from a system. Joachim Am 25.09.17 um 12:06 schrieb Steven Costiou: Hi, how can i know if a given method i

Re: [Pharo-users] Web stack practices (Glorp / QCMagritte)

2017-09-18 Thread jtuc...@objektfabrik.de
Laurent, I don't have answers to all your questions, but we use Glorp & Seaside (no Magritte) on VA Smalltalk for our cloud service (http://kontolino.de). Am 18.09.17 um 12:22 schrieb laurent: Hi all, it's been a long time :) At work we are currently comparing several technologies to star

Re: [Pharo-users] Glorp: Is there some way to do insert-or-update?

2017-08-23 Thread jtuc...@objektfabrik.de
Am 23.08.17 um 11:08 schrieb Herby Vojčík: jtuchel wrote: Herby, as Esteban already said, UPSERT doesn't make any sense in an ORM. It I don't know... I just create new object (with same "primary key") and register it (yes, I know I get an error - maybe I should be able to set the policy to

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread jtuc...@objektfabrik.de
Am 17.08.17 um 11:31 schrieb Esteban Lorenzano: On 17 Aug 2017, at 11:28, jtuc...@objektfabrik.de wrote: Herby, back when Alan was maintaining Glorp, he took care for portability, he even maintained the port to VA Smalltalk, IIRC. Niall and Tim(?) at Cincom also try not to break any dialect

Re: [Pharo-users] What is proper fix for this?

2017-08-17 Thread jtuc...@objektfabrik.de
Herby, back when Alan was maintaining Glorp, he took care for portability, he even maintained the port to VA Smalltalk, IIRC. Niall and Tim(?) at Cincom also try not to break any dialect in their changes and they also work on keeping things portable. I am not sure there ever was any (semi-)au

Re: [Pharo-users] What is proper fix for this?

2017-08-16 Thread jtuc...@objektfabrik.de
Herby, my ccomments were not meant to say you are not competent enough to fix Glorp. I know you have been active as the maintainer of Amber for quite a while now and know you are an experienced Smalltalker. So this is not an attempt to make you look incompetent or "unqualified". I just wante

Re: [Pharo-users] What is proper fix for this?

2017-08-16 Thread jtuc...@objektfabrik.de
Am 16.08.17 um 19:33 schrieb Esteban Lorenzano: is asking for, I encourage to keep discussion also here, then solution can hit both platforms. No complains about having the discussion on both groups in parallel ;-) I just don't like the idea of private fixes to Glorp on any of the non-Cinco

Re: [Pharo-users] What is proper fix for this?

2017-08-16 Thread jtuc...@objektfabrik.de
Am 16.08.17 um 18:08 schrieb Esteban Lorenzano: but if he is using Glorp for Pharo and cincom takes the bug and fixes it, it still will not hit Pharo until someone ports it. OTOH: if nobody at Cincom reads about it, chances are you do a complete fork of Glorp for Pharo. Not sure I like that i

Re: [Pharo-users] What is proper fix for this? (was: Re: Big Glorp problem w/ type coercion, pls help)

2017-08-15 Thread jtuc...@objektfabrik.de
Herby, I think the better place to discuss fixes to Glorp is the Glorp Mailing list, where some Cincomers are also reading: https://groups.google.com/forum/#!forum/glorp-group Joachim Am 15.08.17 um 13:30 schrieb Herby Vojčík: Hello! I think I f

Re: [Pharo-users] Honest question, new to ecosystem: are Glorp and Garage alive?

2017-08-14 Thread jtuc...@objektfabrik.de
Herby, I cannot say anaything good or bad about Garage, since I am not using Pharo regularly. Glorp is maintained by CIncom employees and Cincom uses Glorp for their source control management, so at least from a bug fixing perspective, Glorp is in good shape. It does lack features like multipl

Re: [Pharo-users] Glorp: how to reconnect after image shutdown / load?

2017-08-01 Thread jtuc...@objektfabrik.de
Herby, I am not aware of any automatic reconnect tools. Kepping a DB connection alive after an image is closed is surely not desired and chances are the DB will close the inactive session eventually anyways. So it's probably best to make the DB connections reconnect on demand. That means tha

Re: [Pharo-users] About patterns, UML and documentation

2017-06-07 Thread jtuc...@objektfabrik.de
I think the key to this is intention revealing names and comments. And shipping unit tests that are the best example of "running documentation". Take Sven's NeoCSV package as an example. Great documentation and very good method names. and a complete set of tests. Sounds frightening at first i

Re: [Pharo-users] [Seaside] Strange behaviours?

2017-05-30 Thread jtuc...@objektfabrik.de
Am 30.05.17 um 10:21 schrieb Alidra Abdelghani via Pharo-users: Alidra, it is a well documented "weirdness" of Seaside that #with: always has to be the last send to an element. I forgot about the details... Joachim

Re: [Pharo-users] Intro to git-only Pharo

2017-05-11 Thread jtuc...@objektfabrik.de
Hi again, seems like I am too early. I just downloaded Pharo-60484 and loaded Iceberg from the Catalog Browser and I get a Walkbacks as answer to almost any click I perform ;-) So I'll better start with the docs suggested in this thread to be ready once Iceberg is ;-) Joachim Am 10.05.17

Re: [Pharo-users] Intro to git-only Pharo

2017-05-10 Thread jtuc...@objektfabrik.de
Hi Norbert, thanks for your explanations. So it seems liek I should start by using Pharo6 and load Iceberg and just take a look. Joachim Am 10.05.17 um 10:34 schrieb Norbert Hartl: Hi Joachim, I think your timing is quite good. We had some changes in the last years and it is getting bett

Re: [Pharo-users] Intro to git-only Pharo

2017-05-10 Thread jtuc...@objektfabrik.de
Peter, thanks for your view and links. Helps me sort things out and find what's remained and keeps being relevant ;-) Joachim Am 10.05.17 um 10:08 schrieb Peter Uhnak: Hi, this is my (=not canonical) perspective On Wed, May 10, 2017 at 07:56:19AM +0200, Joachim Tuchel wrote: Hi guys, ple

Re: [Pharo-users] Intro to git-only Pharo

2017-05-10 Thread jtuc...@objektfabrik.de
Stef, thanks for answering. Am 10.05.17 um 08:59 schrieb Stephane Ducasse: Hi joachim There is a distinction between managing projects and pharo. Pharo 60 is managed with Monticello. Pharo 70 will not. Okay, I came from the perspective of an application developer and not so much as a contri

Re: [Pharo-users] Out of image IDE

2017-05-04 Thread jtuc...@objektfabrik.de
Denis, IIUC, mails from the Mailing List will be replicated to Nabble, but if you post to the list from Nabble and are not subscribed to the list, your message won't make it onto the list. So your message should occur on Nabble ;-) Joachim Am 04.05.17 um 10:09 schrieb Denis Kudriashov: Hi

Re: [Pharo-users] type checking in Smalltalk

2017-03-31 Thread jtuc...@objektfabrik.de
Marc, you should definitely go and understand method lookup and handling of unknown messages. This is the fun part of Smalltalk ;-) Just don't overuse it, because you can do things that are so cool you won't be able to understand your own code any more ;-) Joachim -- -

Re: [Pharo-users] small user experience behavior

2017-03-14 Thread jtuc...@objektfabrik.de
Raffaello, not sure if it really is what you want, but why not instead of clicking on another class search for implementors of the method you are currently browsing? Joachim Am 14.03.17 um 13:56 schrieb Raffaello Giulietti: Hi, here's a situation I'm facing quite often: I'm reading the cod

Re: [Pharo-users] Seaside : including a static stylesheet.

2017-03-07 Thread jtuc...@objektfabrik.de
Hi Sabine, this raises my interest. So you have two web servers listening to the same port, one being macOS X' built in web server (how did you activate/configure it?) and Seaside? If I visit localhost:8080 on my mac (no pharo image or anything running), I get no answer, although there are f

Re: [Pharo-users] Voyage and duplicated entry

2017-03-06 Thread jtuc...@objektfabrik.de
What about a simple test? Load one of those objects anad assign it to a variable. Then change one of ist values and check if the one you have now is still == the other. ..it's a bit hard to explain, but I guess you know what I mean. Joachim Am 06.03.17 um 18:03 schrieb Hilaire: The more I t

Re: [Pharo-users] Voyage and duplicated entry

2017-03-06 Thread jtuc...@objektfabrik.de
Hilaire, as soon as the hash of an object changes because you change an attribute that is used in the hash function, the object is not identical to its older ego any more, so Voyage cannot know it still is the same object (nor any other caching solution). Or am I wrong about this whole hash/=

Re: [Pharo-users] singleton trait

2017-01-19 Thread jtuc...@objektfabrik.de
Am 19.01.17 um 15:51 schrieb Siemen Baader: Wouldn't a class instance variable be better? I want new singletons for every subclass. http://rmod-pharo-mooc.lille.inria.fr/MOOC/Slides/Week3/C019-W3S03-Basic-Variables.pdf I would also have used super new, why BasicNew? But my wish to create su

Re: [Pharo-users] Google visibility?

2017-01-15 Thread jtuc...@objektfabrik.de
Steph, Sven, Sean and everybody else, Am 15.01.17 um 09:41 schrieb stepharong: On Sun, 15 Jan 2017 06:22:59 +0100, Sean P. DeNigris wrote: Sven Van Caekenberghe-2 wrote so it is not a good idea for an open source project, as I feared. +1. I was concerned from the beginning that our conver

  1   2   3   >