Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
October 2017
- 102 participants
- 822 messages
Re: [Pharo-users] [ANN] Grafoscopio is now also an indexed publication
by Offray Vladimir Luna Cárdenas
Thanks Stephan,
As told many times. This community has been really empowering to
prototype the artifacts for my PhD (which is *not* in software [1]). Is
good to count with such proactive and helpful community.
[1] http://www.doctoradoendiseno.com/en
This learning process is just starting.
Cheers,
Offray
On 28/10/17 09:27, Stephane Ducasse wrote:
> well done.
>
>
> On Sat, Oct 28, 2017 at 12:58 AM, Offray Vladimir Luna Cárdenas
> <offray.luna(a)mutabit.com> wrote:
>> Hi,
>>
>> I would like to share with you the recent acceptation of Grafoscopio in the
>> Journal of Open Source Software (JOSS), which makes it also an indexed
>> publication. More details at:
>>
>> http://joss.theoj.org/papers/10.21105/joss.00251
>>
>> I would like to thank Serge Stinchwich (from this community) and Arfon
>> Smith (from JOSS) for reviewing the software and helping me with the
>> publication process.
>>
>> Cheers,
>>
>> Offray
>>
>> ===
>>
>> About JOSS (http://joss.theoj.org/about)
>>
>> "The Journal of Open Source Software (JOSS) is a developer friendly journal
>> for research software packages.
>>
>> [...] The Journal of Open Source Software (JOSS) is an academic journal
>> (ISSN 2475-9066) with a formal peer review process that is designed to
>> improve the quality of the software submitted. Upon acceptance into JOSS, a
>> CrossRef DOI is minted and we list your paper on the JOSS website."
>>
>> ===
>
Oct. 28, 2017
Re: [Pharo-users] [ANN] Grafoscopio is now also an indexed publication
by Stephane Ducasse
well done.
On Sat, Oct 28, 2017 at 12:58 AM, Offray Vladimir Luna Cárdenas
<offray.luna(a)mutabit.com> wrote:
> Hi,
>
> I would like to share with you the recent acceptation of Grafoscopio in the
> Journal of Open Source Software (JOSS), which makes it also an indexed
> publication. More details at:
>
> http://joss.theoj.org/papers/10.21105/joss.00251
>
> I would like to thank Serge Stinchwich (from this community) and Arfon
> Smith (from JOSS) for reviewing the software and helping me with the
> publication process.
>
> Cheers,
>
> Offray
>
> ===
>
> About JOSS (http://joss.theoj.org/about)
>
> "The Journal of Open Source Software (JOSS) is a developer friendly journal
> for research software packages.
>
> [...] The Journal of Open Source Software (JOSS) is an academic journal
> (ISSN 2475-9066) with a formal peer review process that is designed to
> improve the quality of the software submitted. Upon acceptance into JOSS, a
> CrossRef DOI is minted and we list your paper on the JOSS website."
>
> ===
Oct. 28, 2017
Linear solvers
by Ben Coman
While reading around on Cassowary for constraint based UI, I noticed the
original author and others expanded their work to a more general linear
solver system Balsberg. Maybe something useful to many business, so just
thought I'd drop some links...
* Solving Interactive Logic Puzzles With Object-Constraints
https://www.hpi.uni-potsdam.de/hirschfeld/publications/media/GraberFelgentr…
* https://github.com/babelsberg/babelsberg-s
*
https://homes.cs.washington.edu/~borning/papers/felgentreff-babelsberg-sema…
*
https://www.hpi.uni-potsdam.de/hirschfeld/publications/media/FelgentreffLeh…
btw, what does PolyMath/SciSmalltalk offer in the way of linear solvers?
cheers -ben
Oct. 28, 2017
Re: [Pharo-users] Smalltalk Argument
by henry
I referred to a Lambda Architecture, not the availability of Lambdas in the language. Pharo has the best with BlockClosures.
- HH
> -------- Original Message --------
> Subject: RE: [Pharo-users] Smalltalk Argument
> Local Time: October 27, 2017 11:10 PM
> UTC Time: October 28, 2017 3:10 AM
> From: aglynn42(a)gmail.com
> To: henry <henry(a)callistohouse.club>, Any question about pharo iswelcome <pharo-users(a)lists.pharo.org>
>
> Last point. Blocks are already better lambdas than lambdas in Java.
>
> Have a look at this code from rxJava, which includes the Java 8 lambda version and a Java 7 version using an anonymous inner class:
>
> Java 8 code
>
> package
>
> rxjava.examples
>
> ;
>
>
>
> import
>
> io.reactivex.*
>
> ;
>
>
>
> public
>
> class
>
> HelloWorld
>
> {
>
>
>
> public
>
> static
>
> void
>
> main
>
> (
>
> String
>
> []
>
> args
>
> ) {
>
>
>
> Flowable
>
> .
>
> just(
>
> "
>
> Hello world
>
> "
>
> )
>
> .
>
> subscribe(
>
> System
>
> .
>
> out
>
> ::
>
> println);
>
> }
>
> }
>
> Java 7 code
>
> import
>
> io.reactivex.functions.Consumer
>
> ;
>
>
>
> Flowable
>
> .
>
> just(
>
> "
>
> Hello world
>
> "
>
> )
>
> .subscribe(
>
> new
>
> Consumer<
>
> String
>
>>
>
> () {
>
>
>
> @Override
>
> public
>
> void
>
> accept
>
> (
>
> String
>
> s
>
> ) {
>
>
>
> System
>
> .
>
> out
>
> .
>
> println(s);
>
> }
>
> });
>
> Are they equivalent? How would you know?
>
> In fact, they arenât, worse, the results of the difference depend on the target, whether itâs Java SE (including Spring based apps) or JavaEE.
>
> The Java 8 version doesnât create an anonymous inner class but a generically named class with generically named methods. As a result, it will be most often faster. However itâs less safe, because particularly in clustered environments, and unpredictably, it can create conflicts due to the same generic names being used by two different JVMâs. The Java 7 version will be as fast, in JavaEE, and safer. In Java SE theyâre close to equivalently safe, but the Java 7 version will be significantly slower in most cases.
>
> RxJava itself, as well, is unnecessary in Pharo, since the Announcer already implements the same pattern, and does so in a more efficient and more consistent way.
>
> Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10
>
> From: [henry](mailto:henry@callistohouse.club)
> Sent: Friday, October 27, 2017 5:03 PM
> To: [Any question about pharo is welcome](mailto:pharo-users@lists.pharo.org)
> Subject: Re: [Pharo-users] Smalltalk Argument
>
> Elastic search JSON integration would be another good one. I heard there was a Kafka integration, is that true? Where could I find that, I used to use Kafka.
>
> Kafka is a great event channel for input to BigData. Using Kafka, it is well in crafting a Lamda Architecture. Imagine Pharo where Storm resides.
>
> [webkit-fake-url://502df029-af7a-484e-b157-43970b30a0a1/imagejpeg]
>
> - HH
>
> On Fri, Oct 27, 2017 at 16:51, henry <henry(a)callistohouse.club> wrote:
>
>> How about Kerberos? Can we get a team to look closely at bringing integration for enterprise users? That would be helpful, or can you just put it behind a Kerberos wrapper? If that would work, collecting a demo, that could unlock more corporate wallets , for investment.
>>
>> - HH
>>
>> On Fri, Oct 27, 2017 at 16:41, henry <[henry@callistohouse.club](%22mailto:henry@callistohouse.club%22)> wrote:
>>
>>> How is there no steering committee to accumulate wrapping 3rd party libraries in Alien to gain benefits of code in other languages? Do not assume that code is not extremely well written in that particular language for that particular task and that particular deployment mechanism.
>>>
>>> Can Pharo be called as a shared library from Java JNA?
>>>
>>> - HH
>>>
>>> On Fri, Oct 27, 2017 at 15:47, Andrew Glynn <[aglynn42@gmail.com](%22mailto:aglynn42@gmail.com%22)> wrote:
>>>
>>>> Iâm not claiming I donât or havenât been affected, only that I no long allow myself to be. Does that cause issues? Of course. But Iâd rather deal with those than do things I donât enjoy. However I only got to that point after 26 years in the industry, so I donât expect that everyone will feel that way.
>>>>
>>>> Cheers
>>>>
>>>> Andrew
>>>>
>>>> Sent from [Mail](%22https:/go.microsoft.com/fwlink/?LinkId=550986%22) for Windows 10
>>>>
>>>> From: [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>> Sent: Thursday, October 26, 2017 8:14 AM
>>>> To: [pharo-users@lists.pharo.org](%22mailto:pharo-users@lists.pharo.org%22)
>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>
>>>> Andrew,
>>>>
>>>> Am 26.10.17 um 00:46 schrieb Andrew Glynn:
>>>>
>>>>> Thereâs other questions that are relevant to me:
>>>>
>>>> I am glad you opened your words with this sentence. Other peoplesâ mileages may vary a lot.
>>>>
>>>>> Do I give a f*** about cool looking web apps? No, I donât use web apps if in any way I can avoid it.
>>>>
>>>> Some people canât. I canât. I am making my living with a web based application. And I like it.
>>>>
>>>>> Do I give a f*** about mobile apps? No, the screenâs too small to read anything longer than a twit, or anyone with anything worthwhile to say.>
>>>>
>>>> So you are in the lucky position that neither mobile nor web nor integration matters to you or you have enough resources to do all that stuff yourself. I am envyous. I need to build web pages and people ask me whether we can ship an iPhone App. I do customer-facing stuff and sex sells much more than we like to think.
>>>>
>>>> Your comments on the crappiness of libs in other languages is a great fit for Smalltalk. Not invented here, therefor rubbish. We came a long way with this way of thinking. But these rubbish makers dance circles around us while we try to do our first hello world for an iPad. They laugh at us when we try to reinvent MVC on top of Seaside (although MVC is closesly related to Smalltalk). Because they are back home and watch Netflix while we debug our homegrown base libraries that are, of course, much better than theirs because they are written in Smalltalk.
>>>>
>>>> I am not arguing that maintaining Smalltalk code is far superior to most technolgies out there. But depending on the needs of our projects we have to learn and use those crappy technologies to accomplish what they offer. Because, sometimes (especially if you have to pay bills), an existing library with flaws is better than none.
>>>>
>>>> So if I have to use Javascript or C# or Dart or Swift to do the frontend part of my system, is there still much benefit in using these together with Smalltalk? Or is there - at least from a managerâs point of view - not a reasonable amount of sense in choosing the frontend technology also for the logic and compensate the loss in productivity with a gain in avoided complexity?
>>>>
>>>> Your answer delivers a lot of food for thought, but I donât buy all of it. And I donât expect you to buy all of mine ;-)
>>>>
>>>> Joachim
>>>>
>>>>>
>>>>>
>>>>> Do I give a f*** about the number of libraries in other languages? No, because most of them are crap in every language Iâve had to work in, and the base languages are crap so they have to keep changing radically, and libraries and frameworks therefore also have to and never get any better. The few that are worthwhile I can almost always use from Smalltalk without a problem (read, Blender, ACT-R and Synapse, since every other library/framework Iâve used outside Smalltalk has been a waste of time).
>>>>>
>>>>> Do I give a f*** about implementing a complex piece of machine learning software in 22 hours, compared to 3 months for the Java version? Well, actually yes, I do, because that was 3 months of my life down the toilet for something that is too slow to be useful in Java.
>>>>>
>>>>> Any argument depends on your priorities. Iâve written tons of web apps, because I needed to get paid. Iâve written better shitty mobile apps than the average shitty mobile apps. However, Iâm not going to do any of that any longer in crap that never improves, because after 26 years the irritability it produces is more than itâs worth.
>>>>>
>>>>> A few weeks ago, a recruiter that specializes in Smalltalk called me about a job, although they were well aware I live 1500 miles away from the city I lived in when I had worked through them, to see if Iâd be willing to move back there for a job. That sounds like another âthere arenât enough Smalltalk developers", but it wasnât, because the job wasnât writing Smalltalk. It was writing Java.
>>>>>
>>>>> The person hiring, though, wouldnât look at anyone who didnât write Smalltalk, because "people who grew up with Java donât know how to write code". I donât agree with that, Iâve known a (very few) good Java developers. I would say, though, that Iâve known far more incompetent ones than good ones, and I canât think of any incompetent Smalltalk developers off the top of my head.
>>>>>
>>>>> Nor have I ever heard a developer in Smalltalk, or Haskell, or LISP, or even C, complain about how hard maintaining state is or coming up with various hacks to avoid it, which seems to be the main point of every JavaScript based âtechnologyâ. An application is by definition a state-machine, which implies plenty about JS developers on the whole.
>>>>>
>>>>> If youâre a good developer you can write good code in (nearly) anything. My question then is why would you want to write in crap? The better question is why arenât there more good developers in any language?
>>>>>
>>>>> Every project I have been able to do in Smalltalk, though, has had one thing in common, the "shit has to work". Companies do use it, in fact I could name 4 large enterprises Iâve worked for whoâve written their own dialects, and they all use it only when "shit has to work". They know itâs more productive, they also know using it for more things would increase the availability of Smalltalk developers.
>>>>>
>>>>> Why do they not do it? One reason, though it takes a while to recognize it, because management doesnât admit even to themselves why they do it, or not very often. Being inefficient, as long as it doesnât âreallyâ matter, is an advantage to large enterprises because they have resources smaller competitors donât.
>>>>>
>>>>> Why donât their competitors do it? Because they canât see past an hourly rate, whatâs fashionable, or just new, or because their customers canât. Put more generally, average stupidity that isnât corrected by the market. Fashion affects smaller companies more than larger ones, because they canât afford a few customers walking away because they wanted an app in Electron, even if they canât give any relevant reason for wanting it, and even the samples on the Electron site donât work.
>>>>>
>>>>> Enterprises can, and do use Smalltalk when it matters. When it doesnât, itâs to their advantage to promote things that are inefficient, buggy and unreliable.
>>>>>
>>>>> Cost is relevant, but not in the simple way people look at things. A crucial but rarely mentioned perspective on its relevance is that while Java based software runs TV set top boxes, Smalltalk based software runs things like medical equipment, automated defense systems, tanks, etc. Cost becomes largely irrelevant when âshit has to workâ.
>>>>>
>>>>> Productivity is primarily relevant to less talented developers, in an inversely sense, since unproductive environments and attitudes have a leveling tendency in general, and more specifically make accomplishing what the less talented are capable of in any environment sufficiently laborious for them to have a role. Capability in Smalltalk, as implied by the person hiring for the Java role I mentioned, is a fairly decent means of judging whether someone is a so-so developer or a good one.
>>>>>
>>>>> The productivity argument is realistically only relevant in the context of an already higher hourly cost. Given that it is relevant at that point, companies that know Smalltalk is more productive would use it outside things that have to be 100%, if their own productivity were relevant to the same degree that competitorsâ productivity is inversely relevant.
>>>>>
>>>>> All these ways of looking at it are contingent perspectives though. Yes, if the number of libraries is relevant to you, Smalltalk is less attractive, but thatâs only a contingent phenomenon based on the relative popularity of Java and JavaScript, as a result it canât be used as explanatory for that popularity. All the ways of looking at it that are fully determinate are determinate via contingencies of that kind, which for the most part are precisely the other perspectives, including productivity, cost, availability of developers, etc. None of them is in itself anything but a result of the others.
>>>>>
>>>>> If availability of developers is contingent on popularity (and further, popularity contingent on industry attitudes), to use an example already mentioned in Joachimâs post, then his simultaneous posit of library availability is if anything more contingent on the same popularity, so positing it as a cause and not a result, or merely a correlate, of popularity is incoherent. We can go one step further, and demonstrate that even when large enterprises make something that works reliably available, they fail to promote and support it, which destroys the market for reliable tooling by simultaneously owning it while not promoting it, something IBM is particularly good at. But IBM canât (and if they canât, neither can any other company) operate that way without the tacit agreement of the industry.
>>>>>
>>>>> To understand it in a more general way, software development has to be looked at in the context where it occurs, and how itâs determined to a large degree by that context, with a specific difference. That difference is itself implicit in the context, i.e. capitalism, but only purely effective in software development. Itâs a result of virtualization as an implicit goal of capitalism, and the disruptions implicit in the virtual but so far only realized completely in software. In terms of that understanding, the analysis of virtualization and disruption as inherent to capitalism is better accomplished in Kapital than in any more recent work.
>>>>>
>>>>> Or you can simply decide, as Iâve done recently, that working in ways and with tools that prevent doing good work in a reasonable timeframe isnât worthwhile to you, no matter how popular those ways and tools might be, or what the posited reasons are, since at the end popularity is only insofar as it already is. What those tools and methods are depends to a degree on your priorities, but if developers are engineers those priorities canât be completely arbitrary. Engineers are defined by their ability to make things work.
>>>>>
>>>>> Software as virtual is inherently disruptive, and the software industry disrupts itself too often and too easily to build on anything. A further disruption caused by developers, as engineers, refusing to work with crap that doesnât, i.e. insisting on being engineers, while in itself merely an aggravation of the disruptive tendencies, might have an inverse result.
>>>>>
>>>>> Using a stable core of technologies as the basis for a more volatile set of products, in the way nearly every other industry does, is the best means we know of to build things both flexibly and reasonably efficiently. The computer hardware industry is the extreme example of this, while the software industry is the extreme contradiction.
>>>>>
>>>>> From: Pharo-users [<pharo-users-bounces(a)lists.pharo.org>](%22mailto:pharo-users-bounces@lists.pharo.org%22) on behalf of David Mason [<dmason(a)ryerson.ca>](%22mailto:dmason@ryerson.ca%22)
>>>>> Reply-To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Date: Tuesday, October 24, 2017 at 11:52 AM
>>>>> To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>>
>>>>> PharoJS is working to give you that mobile app/browser app experience. As with others, weâre not there yet, but getting there. See [http://pharojs.org](%22http:/pharojs.org%22)
>>>>>
>>>>> 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 number of people.
>>>>>
>>>>> On 20 October 2017 at 03:23, [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22) <[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)> wrote:
>>>>>
>>>>>> 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, learning Smalltalk is easy. If you are a good developer youâve heard the sentence "weâve taken the goos parts from x,y,z and Smalltalk" at least twice a year. So you most likely would like to learn it anyways.
>>>>>>
>>>>>> A shortage of developers doesnât exist. What exists is an unwillingness of companies to get people trained in a technology. If Smalltalk was cool and great in their opinion, they wouldnât care. Itâs that simple. As a consultant, Iâve heard that argument so often. Not ferom Startups, but from insurance companies, Banks or Car manufacturers who spend millions on useless, endless meetings and stuff instead of just hiring somebody to teach a couple of developers Smalltalk. Itâs just a lie: the shortage of Smalltalk developers is not a problem.
>>>>>>
>>>>>> And, to be honest: what is it we actually are better in by using Smalltalk?
>>>>>> Can we build cool looking web apps in extremely short time? No.
>>>>>> Can we build mobile Apps with little effort? No.
>>>>>> Does our Smalltalk ship lots of great libraries for all kinds of things that are not availabel in similar quality in any other language?
>>>>>> Are we lying when we say we are so extremely over-productive as compared to other languages?
>>>>>>
>>>>>> I know, all that live debugging stuff and such is great and it is much faster to find & fix a bug in Smalltalk than in any other environment Iâve used so far. But that is really only true for business code. When I need to connect to things or want to build a modern GUI or a web application with a great look&feel, I am nowhere near productive, because I simply have to build my own stuff or learn how to use other external resources. If I want to build something for a mobile device, I will only hear that somebody somewhere has done it before. No docs, no proof, no ready-made tool for me.
>>>>>>
>>>>>> Shortage of developers is not really the problem. If Smalltalk was as cool as we like to make ourselves believe, this problem would be non-existent. If somebody took out their iPad and told an audience: "We did this in Smalltalk in 40% of the time it would have taken in Swift", and if that something was a must-have for people, things would be much easier. But nobody has.
>>>>>>
>>>>>> I am absolutely over-exaggerating, because I make my living with an SaaS product written in Smalltalk (not Pharo). I have lots of fun with Smalltalk and - as you - am convince that many parts of what weâve done so far wouldâve taken much longer or even be impossible in other languages. But the advantage was eaten by our extremely steep learning curve for web technologies and for building something that works almost as well as tools like Angular or jQuery Mobile.
>>>>>>
>>>>>> Smalltalk is cool, and the day somebody shows me something like Googleâs flutter in Smalltalk, I am ready to bet a lot on a bright future for Smalltalk. But until then, Iâd say these arguments about productivity are just us trying to make ourselves believe weâre still the top of the food chain. Weâve done that for almost thirty years now and still arenât ready to stop it. But weâve been lying to ourselves and still do so.
>>>>>>
>>>>>> I donât think there is a point in discussing about the usefulness of a language using an argument like the number or ready-made developers. That is just an argument they know you canât win. The real question is and should be: what is the benefit of using Smalltalk. Our productivity argument is a lie as soon as we have to build something that uses or runs on technology that has been invented after 1990.
>>>>>>
>>>>>> Okay, shoot ;-)
>>>>>>
>>>>>> Joachim
>>>>>>
>>>>>> â
>>>>>> ââââââââââââââââââââââââ
>>>>>> Objektfabrik Joachim Tuchel mailto:[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>>> Fliederweg 1 [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>>> D-71640 Ludwigsburg [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>>> Telefon: [+49 7141 56 10 86 0](%22tel:%2B49%207141%2056%2010%2086%200%22) Fax: [+49 7141 56 10 86 1](%22tel:%2B49%207141%2056%2010%2086%201%22)
>>>>
>>>> â
>>>>
>>>> ââââââââââââââââââââââââ
>>>>
>>>> Objektfabrik Joachim Tuchel
>>>> [mailto:jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>
>>>> Fliederweg 1
>>>> [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>
>>>> D-71640 Ludwigsburg
>>>> [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>
>>>> Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
Oct. 28, 2017
Re: [Pharo-users] Netstyle/Workflow Package discovery - (was: Business process (declaration and orchestration), ontology/taxonomy)
by Stephane Ducasse
Hi
I do not see why these classes would be mandatory for a workflow.
There seems to be left over from the extraction.
stef
On Sat, Oct 28, 2017 at 12:11 PM, Cédrick Béler <cdrick65(a)gmail.com> wrote:
>
>> ok for now publish your changes on smalltalkhub somewhere so that they
>> do not stay on your machine.
>
> Even if very very experimental :)
>
> Iâll do. Just need a bit more work and comment what I did.
>
> I have unsolved references to this classes too.
> DomBuilder
> IDBasicManager
> IDCurrentManager
>
> Any ideas ?
> Iâll read more carefully the white paper and see if XMLParser can help here. But is someone knows about this classesâ¦
>
> Cheers,
>
> Cédrick
>
>
>
>>
>> On Sat, Oct 28, 2017 at 7:52 AM, Cédrick Béler <cdrick65(a)gmail.com> wrote:
>>>
>>>>
>>>> Did you send pull requests?
>>>
>>> Euh, actually I still donât really know how to use git.
>>>
>>> I loaded it through metacello. Can I simply a sunlit code that way ?
>>>
>>> The code is quite documented already and there are tests.
>>>
>>> I kind of fixed some tests but not sure this was the way to do so (beginHistory has no action for instance).
>>>
>>> All the xpdl import/export fail but this is due to one method that need a DOMbuilder and two other class I have no clue.
>>>
>>> And I still havenât find how to execute a process ^^
>>>
>>> Iâll have another look today.
>>>
>>> Cheers,
>>>
>>> Cédrick
>>>
>>>>
>>>> Stef
>>>>
>>>>> On Fri, Oct 27, 2017 at 2:32 PM, Cédrick Béler <cdrick65(a)gmail.com> wrote:
>>>>> A pleasure to discover ! To me, a wonderful(ly engineered) library.
>>>>>
>>>>> Big thanks to Netstyle !
>>>>>
>>>>> Iâm just getting my hands around, but it looks to me like a great general purpose BP tool (modeling + engine + xpdl import export).
>>>>> It would be very useful for IS in industrial contexts (*). And before all a superb starting point to model my simple personal routines as executable processes.
>>>>>
>>>>> On the practical aspects, just a problem loading because of WADynamicVariable, but it kinds of load on Pharo 6.
>>>>> Running tests, there are (naturally) some failures. I think most come from the removed links to Omnibase/History support and seaside (WADynamicVariable).
>>>>>
>>>>> Some stuffs that are missing:
>>>>> #isOmniBaseTransaction
>>>>> #markDirty
>>>>> A reference to TimeStamp fixed:
>>>>> #beginInHistory
>>>>> â¦
>>>>>
>>>>> Need to fix WADynamicVariable with shouldnât be hard.
>>>>> The History link (persistence) is a bit more difficult as I donât know its importance in the engine.
>>>>> All Workflow object are managed object which (if I understand well) are persistent object. So maybe It need a (local) persistent alternative, a stub ?
>>>>>
>>>>> Anyway, I need to understand more and I will probably come back with some questions about the dependencies and how to fix them.
>>>>>
>>>>>
>>>>> Cheers and thanks again, enligthening code :)
>>>>>
>>>>> Cédrick
>>>>>
>>>>>
>>>>>
>>>>> * Interoperability of is a field I try carefully not to enter because I found not really fun (as most of the tool Iâve soon were java based ⦠and slow⦠and java world !) but if only I had similar tools in pharo that could bring the fun back :)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Le 27 oct. 2017 à 09:37, Cédrick Béler <cdrick65(a)gmail.com> a écrit :
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> I thons this just perfect as a starting point !
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Cedrick
>>>>>>
>>>>>> Envoyé de mon iPhone
>>>>>>
>>>>>>> Le 26 oct. 2017 à 19:38, Paul DeBruicker <pdebruic(a)gmail.com> a écrit :
>>>>>>>
>>>>>>> Maybe the package described here has what you're looking for :
>>>>>>>
>>>>>>> http://forum.world.st/Ann-Workflow-td4963635.html
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Cédrick Béler wrote
>>>>>>>> Hi again, this is my last question and the more general one of the day :-)
>>>>>>>>
>>>>>>>>
>>>>>>>> Iâm looking for way of representing and executing simple "business
>>>>>>>> processes" in Pharo and a way of declaring domain ontologies/taxonomies.
>>>>>>>>
>>>>>>>> I didnât find any lib around this subjects except some projects in other
>>>>>>>> smalltalk dialects.
>>>>>>>>
>>>>>>>> I just wander if somebody has done some work in these field. Iâm also
>>>>>>>> interested in (KISS) design discussions around these topics, hence this
>>>>>>>> email.
>>>>>>>>
>>>>>>>> I donât want to do a full fledged business process middleware.
>>>>>>>>
>>>>>>>> I would need :
>>>>>>>> - a way to represent simple business processes (succession of activities
>>>>>>>> with logic gates (and/or/xor) => I might be able to do that by myself).
>>>>>>>> - a way to execute these processes (routines) in a semi-aotumatic manner
>>>>>>>> => This looks more difficult to do to me.
>>>>>>>> => my aim is to execute recurrent routines (my routines) with the help of
>>>>>>>> a Pharo application
>>>>>>>>
>>>>>>>>
>>>>>>>> For such a system, I also need a way to categorize information context.
>>>>>>>> Again, I donât think I need a full fledged ontology implementation like
>>>>>>>> Description Logic (or whatever). I think Iâll be happy with information
>>>>>>>> tagging according to a predefined taxonomy. Instead of flat tags, Iâd like
>>>>>>>> them to implement some sort of multiple inheritance. For instance, I may
>>>>>>>> need a tag #soccer that "inherit" #sport.
>>>>>>>>
>>>>>>>> Any information regarding taxonomy tagging in Pharo ? (Or eventually
>>>>>>>> ontology?).
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> TIA,
>>>>>>>>
>>>>>>>> Cédrick
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>
Oct. 28, 2017
Re: [Pharo-users] Smalltalk Argument
by henry
I used Kafka as was illustrated in the image, as a durable event source for BigData to RDB, Hadoop and other facilities. Our Kafka consumers were writing into Hadoop and had no concept of map/reduce.
I agree that if we had a map/reduce feature then Pharo could operate against HDB and Hadoop in the Hadoop constellation of tools. That would be powerful.
I need and wish to ask your opinion, for steering Pharo into an enterprise solution, what features does Pharo need to be a better player?
- HH
> -------- Original Message --------
> Subject: RE: [Pharo-users] Smalltalk Argument
> Local Time: October 27, 2017 11:10 PM
> UTC Time: October 28, 2017 3:10 AM
> From: aglynn42(a)gmail.com
> To: henry <henry(a)callistohouse.club>, Any question about pharo iswelcome <pharo-users(a)lists.pharo.org>
>
> Thereâs a million ways of accomplishing such things, but you need to pick the appropriate way to do it, given restrictions in Pharo and limitations in whatâs itâs calling.
>
> You can utilize Kafka or Kerberos authentication via Synapse, for instance, you can access virtually any authentication mechanism via WSO2 IS (itself built on Synapse).
>
> Another way of accessing the same things (plus numerous others) is via Vert.x, also directly supported from the Pharo catalog. Iâve used that methodology as well, though I had to overcome Vert.xâs own limitations by mapping it to the more capable Apache River (formerly JINI).
>
> You can access Hadoop / Cassandra / MongoDB via the same methods Kafka, Storm and Spark do, without the problems introduced by the JVM. MongoDB and Cassandra have libraries already available in Pharo, and they work better than those available elsewhere.
>
> There are even ways to directly access the Open Telephony API in ERLAN.
>
> Sometimes you need to be creative, and every time you need to understand the strengths and limitations of both what youâre using, and what youâre accessing.
>
> Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10
>
> From: [henry](mailto:henry@callistohouse.club)
> Sent: Friday, October 27, 2017 5:03 PM
> To: [Any question about pharo is welcome](mailto:pharo-users@lists.pharo.org)
> Subject: Re: [Pharo-users] Smalltalk Argument
>
> Elastic search JSON integration would be another good one. I heard there was a Kafka integration, is that true? Where could I find that, I used to use Kafka.
>
> Kafka is a great event channel for input to BigData. Using Kafka, it is well in crafting a Lamda Architecture. Imagine Pharo where Storm resides.
>
> [webkit-fake-url://502df029-af7a-484e-b157-43970b30a0a1/imagejpeg]
>
> - HH
>
> On Fri, Oct 27, 2017 at 16:51, henry <henry(a)callistohouse.club> wrote:
>
>> How about Kerberos? Can we get a team to look closely at bringing integration for enterprise users? That would be helpful, or can you just put it behind a Kerberos wrapper? If that would work, collecting a demo, that could unlock more corporate wallets , for investment.
>>
>> - HH
>>
>> On Fri, Oct 27, 2017 at 16:41, henry <[henry@callistohouse.club](%22mailto:henry@callistohouse.club%22)> wrote:
>>
>>> How is there no steering committee to accumulate wrapping 3rd party libraries in Alien to gain benefits of code in other languages? Do not assume that code is not extremely well written in that particular language for that particular task and that particular deployment mechanism.
>>>
>>> Can Pharo be called as a shared library from Java JNA?
>>>
>>> - HH
>>>
>>> On Fri, Oct 27, 2017 at 15:47, Andrew Glynn <[aglynn42@gmail.com](%22mailto:aglynn42@gmail.com%22)> wrote:
>>>
>>>> Iâm not claiming I donât or havenât been affected, only that I no long allow myself to be. Does that cause issues? Of course. But Iâd rather deal with those than do things I donât enjoy. However I only got to that point after 26 years in the industry, so I donât expect that everyone will feel that way.
>>>>
>>>> Cheers
>>>>
>>>> Andrew
>>>>
>>>> Sent from [Mail](%22https:/go.microsoft.com/fwlink/?LinkId=550986%22) for Windows 10
>>>>
>>>> From: [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>> Sent: Thursday, October 26, 2017 8:14 AM
>>>> To: [pharo-users@lists.pharo.org](%22mailto:pharo-users@lists.pharo.org%22)
>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>
>>>> Andrew,
>>>>
>>>> Am 26.10.17 um 00:46 schrieb Andrew Glynn:
>>>>
>>>>> Thereâs other questions that are relevant to me:
>>>>
>>>> I am glad you opened your words with this sentence. Other peoplesâ mileages may vary a lot.
>>>>
>>>>> Do I give a f*** about cool looking web apps? No, I donât use web apps if in any way I can avoid it.
>>>>
>>>> Some people canât. I canât. I am making my living with a web based application. And I like it.
>>>>
>>>>> Do I give a f*** about mobile apps? No, the screenâs too small to read anything longer than a twit, or anyone with anything worthwhile to say.>
>>>>
>>>> So you are in the lucky position that neither mobile nor web nor integration matters to you or you have enough resources to do all that stuff yourself. I am envyous. I need to build web pages and people ask me whether we can ship an iPhone App. I do customer-facing stuff and sex sells much more than we like to think.
>>>>
>>>> Your comments on the crappiness of libs in other languages is a great fit for Smalltalk. Not invented here, therefor rubbish. We came a long way with this way of thinking. But these rubbish makers dance circles around us while we try to do our first hello world for an iPad. They laugh at us when we try to reinvent MVC on top of Seaside (although MVC is closesly related to Smalltalk). Because they are back home and watch Netflix while we debug our homegrown base libraries that are, of course, much better than theirs because they are written in Smalltalk.
>>>>
>>>> I am not arguing that maintaining Smalltalk code is far superior to most technolgies out there. But depending on the needs of our projects we have to learn and use those crappy technologies to accomplish what they offer. Because, sometimes (especially if you have to pay bills), an existing library with flaws is better than none.
>>>>
>>>> So if I have to use Javascript or C# or Dart or Swift to do the frontend part of my system, is there still much benefit in using these together with Smalltalk? Or is there - at least from a managerâs point of view - not a reasonable amount of sense in choosing the frontend technology also for the logic and compensate the loss in productivity with a gain in avoided complexity?
>>>>
>>>> Your answer delivers a lot of food for thought, but I donât buy all of it. And I donât expect you to buy all of mine ;-)
>>>>
>>>> Joachim
>>>>
>>>>>
>>>>>
>>>>> Do I give a f*** about the number of libraries in other languages? No, because most of them are crap in every language Iâve had to work in, and the base languages are crap so they have to keep changing radically, and libraries and frameworks therefore also have to and never get any better. The few that are worthwhile I can almost always use from Smalltalk without a problem (read, Blender, ACT-R and Synapse, since every other library/framework Iâve used outside Smalltalk has been a waste of time).
>>>>>
>>>>> Do I give a f*** about implementing a complex piece of machine learning software in 22 hours, compared to 3 months for the Java version? Well, actually yes, I do, because that was 3 months of my life down the toilet for something that is too slow to be useful in Java.
>>>>>
>>>>> Any argument depends on your priorities. Iâve written tons of web apps, because I needed to get paid. Iâve written better shitty mobile apps than the average shitty mobile apps. However, Iâm not going to do any of that any longer in crap that never improves, because after 26 years the irritability it produces is more than itâs worth.
>>>>>
>>>>> A few weeks ago, a recruiter that specializes in Smalltalk called me about a job, although they were well aware I live 1500 miles away from the city I lived in when I had worked through them, to see if Iâd be willing to move back there for a job. That sounds like another âthere arenât enough Smalltalk developers", but it wasnât, because the job wasnât writing Smalltalk. It was writing Java.
>>>>>
>>>>> The person hiring, though, wouldnât look at anyone who didnât write Smalltalk, because "people who grew up with Java donât know how to write code". I donât agree with that, Iâve known a (very few) good Java developers. I would say, though, that Iâve known far more incompetent ones than good ones, and I canât think of any incompetent Smalltalk developers off the top of my head.
>>>>>
>>>>> Nor have I ever heard a developer in Smalltalk, or Haskell, or LISP, or even C, complain about how hard maintaining state is or coming up with various hacks to avoid it, which seems to be the main point of every JavaScript based âtechnologyâ. An application is by definition a state-machine, which implies plenty about JS developers on the whole.
>>>>>
>>>>> If youâre a good developer you can write good code in (nearly) anything. My question then is why would you want to write in crap? The better question is why arenât there more good developers in any language?
>>>>>
>>>>> Every project I have been able to do in Smalltalk, though, has had one thing in common, the "shit has to work". Companies do use it, in fact I could name 4 large enterprises Iâve worked for whoâve written their own dialects, and they all use it only when "shit has to work". They know itâs more productive, they also know using it for more things would increase the availability of Smalltalk developers.
>>>>>
>>>>> Why do they not do it? One reason, though it takes a while to recognize it, because management doesnât admit even to themselves why they do it, or not very often. Being inefficient, as long as it doesnât âreallyâ matter, is an advantage to large enterprises because they have resources smaller competitors donât.
>>>>>
>>>>> Why donât their competitors do it? Because they canât see past an hourly rate, whatâs fashionable, or just new, or because their customers canât. Put more generally, average stupidity that isnât corrected by the market. Fashion affects smaller companies more than larger ones, because they canât afford a few customers walking away because they wanted an app in Electron, even if they canât give any relevant reason for wanting it, and even the samples on the Electron site donât work.
>>>>>
>>>>> Enterprises can, and do use Smalltalk when it matters. When it doesnât, itâs to their advantage to promote things that are inefficient, buggy and unreliable.
>>>>>
>>>>> Cost is relevant, but not in the simple way people look at things. A crucial but rarely mentioned perspective on its relevance is that while Java based software runs TV set top boxes, Smalltalk based software runs things like medical equipment, automated defense systems, tanks, etc. Cost becomes largely irrelevant when âshit has to workâ.
>>>>>
>>>>> Productivity is primarily relevant to less talented developers, in an inversely sense, since unproductive environments and attitudes have a leveling tendency in general, and more specifically make accomplishing what the less talented are capable of in any environment sufficiently laborious for them to have a role. Capability in Smalltalk, as implied by the person hiring for the Java role I mentioned, is a fairly decent means of judging whether someone is a so-so developer or a good one.
>>>>>
>>>>> The productivity argument is realistically only relevant in the context of an already higher hourly cost. Given that it is relevant at that point, companies that know Smalltalk is more productive would use it outside things that have to be 100%, if their own productivity were relevant to the same degree that competitorsâ productivity is inversely relevant.
>>>>>
>>>>> All these ways of looking at it are contingent perspectives though. Yes, if the number of libraries is relevant to you, Smalltalk is less attractive, but thatâs only a contingent phenomenon based on the relative popularity of Java and JavaScript, as a result it canât be used as explanatory for that popularity. All the ways of looking at it that are fully determinate are determinate via contingencies of that kind, which for the most part are precisely the other perspectives, including productivity, cost, availability of developers, etc. None of them is in itself anything but a result of the others.
>>>>>
>>>>> If availability of developers is contingent on popularity (and further, popularity contingent on industry attitudes), to use an example already mentioned in Joachimâs post, then his simultaneous posit of library availability is if anything more contingent on the same popularity, so positing it as a cause and not a result, or merely a correlate, of popularity is incoherent. We can go one step further, and demonstrate that even when large enterprises make something that works reliably available, they fail to promote and support it, which destroys the market for reliable tooling by simultaneously owning it while not promoting it, something IBM is particularly good at. But IBM canât (and if they canât, neither can any other company) operate that way without the tacit agreement of the industry.
>>>>>
>>>>> To understand it in a more general way, software development has to be looked at in the context where it occurs, and how itâs determined to a large degree by that context, with a specific difference. That difference is itself implicit in the context, i.e. capitalism, but only purely effective in software development. Itâs a result of virtualization as an implicit goal of capitalism, and the disruptions implicit in the virtual but so far only realized completely in software. In terms of that understanding, the analysis of virtualization and disruption as inherent to capitalism is better accomplished in Kapital than in any more recent work.
>>>>>
>>>>> Or you can simply decide, as Iâve done recently, that working in ways and with tools that prevent doing good work in a reasonable timeframe isnât worthwhile to you, no matter how popular those ways and tools might be, or what the posited reasons are, since at the end popularity is only insofar as it already is. What those tools and methods are depends to a degree on your priorities, but if developers are engineers those priorities canât be completely arbitrary. Engineers are defined by their ability to make things work.
>>>>>
>>>>> Software as virtual is inherently disruptive, and the software industry disrupts itself too often and too easily to build on anything. A further disruption caused by developers, as engineers, refusing to work with crap that doesnât, i.e. insisting on being engineers, while in itself merely an aggravation of the disruptive tendencies, might have an inverse result.
>>>>>
>>>>> Using a stable core of technologies as the basis for a more volatile set of products, in the way nearly every other industry does, is the best means we know of to build things both flexibly and reasonably efficiently. The computer hardware industry is the extreme example of this, while the software industry is the extreme contradiction.
>>>>>
>>>>> From: Pharo-users [<pharo-users-bounces(a)lists.pharo.org>](%22mailto:pharo-users-bounces@lists.pharo.org%22) on behalf of David Mason [<dmason(a)ryerson.ca>](%22mailto:dmason@ryerson.ca%22)
>>>>> Reply-To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Date: Tuesday, October 24, 2017 at 11:52 AM
>>>>> To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>>
>>>>> PharoJS is working to give you that mobile app/browser app experience. As with others, weâre not there yet, but getting there. See [http://pharojs.org](%22http:/pharojs.org%22)
>>>>>
>>>>> 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 number of people.
>>>>>
>>>>> On 20 October 2017 at 03:23, [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22) <[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)> wrote:
>>>>>
>>>>>> 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, learning Smalltalk is easy. If you are a good developer youâve heard the sentence "weâve taken the goos parts from x,y,z and Smalltalk" at least twice a year. So you most likely would like to learn it anyways.
>>>>>>
>>>>>> A shortage of developers doesnât exist. What exists is an unwillingness of companies to get people trained in a technology. If Smalltalk was cool and great in their opinion, they wouldnât care. Itâs that simple. As a consultant, Iâve heard that argument so often. Not ferom Startups, but from insurance companies, Banks or Car manufacturers who spend millions on useless, endless meetings and stuff instead of just hiring somebody to teach a couple of developers Smalltalk. Itâs just a lie: the shortage of Smalltalk developers is not a problem.
>>>>>>
>>>>>> And, to be honest: what is it we actually are better in by using Smalltalk?
>>>>>> Can we build cool looking web apps in extremely short time? No.
>>>>>> Can we build mobile Apps with little effort? No.
>>>>>> Does our Smalltalk ship lots of great libraries for all kinds of things that are not availabel in similar quality in any other language?
>>>>>> Are we lying when we say we are so extremely over-productive as compared to other languages?
>>>>>>
>>>>>> I know, all that live debugging stuff and such is great and it is much faster to find & fix a bug in Smalltalk than in any other environment Iâve used so far. But that is really only true for business code. When I need to connect to things or want to build a modern GUI or a web application with a great look&feel, I am nowhere near productive, because I simply have to build my own stuff or learn how to use other external resources. If I want to build something for a mobile device, I will only hear that somebody somewhere has done it before. No docs, no proof, no ready-made tool for me.
>>>>>>
>>>>>> Shortage of developers is not really the problem. If Smalltalk was as cool as we like to make ourselves believe, this problem would be non-existent. If somebody took out their iPad and told an audience: "We did this in Smalltalk in 40% of the time it would have taken in Swift", and if that something was a must-have for people, things would be much easier. But nobody has.
>>>>>>
>>>>>> I am absolutely over-exaggerating, because I make my living with an SaaS product written in Smalltalk (not Pharo). I have lots of fun with Smalltalk and - as you - am convince that many parts of what weâve done so far wouldâve taken much longer or even be impossible in other languages. But the advantage was eaten by our extremely steep learning curve for web technologies and for building something that works almost as well as tools like Angular or jQuery Mobile.
>>>>>>
>>>>>> Smalltalk is cool, and the day somebody shows me something like Googleâs flutter in Smalltalk, I am ready to bet a lot on a bright future for Smalltalk. But until then, Iâd say these arguments about productivity are just us trying to make ourselves believe weâre still the top of the food chain. Weâve done that for almost thirty years now and still arenât ready to stop it. But weâve been lying to ourselves and still do so.
>>>>>>
>>>>>> I donât think there is a point in discussing about the usefulness of a language using an argument like the number or ready-made developers. That is just an argument they know you canât win. The real question is and should be: what is the benefit of using Smalltalk. Our productivity argument is a lie as soon as we have to build something that uses or runs on technology that has been invented after 1990.
>>>>>>
>>>>>> Okay, shoot ;-)
>>>>>>
>>>>>> Joachim
>>>>>>
>>>>>> â
>>>>>> ââââââââââââââââââââââââ
>>>>>> Objektfabrik Joachim Tuchel mailto:[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>>> Fliederweg 1 [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>>> D-71640 Ludwigsburg [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>>> Telefon: [+49 7141 56 10 86 0](%22tel:%2B49%207141%2056%2010%2086%200%22) Fax: [+49 7141 56 10 86 1](%22tel:%2B49%207141%2056%2010%2086%201%22)
>>>>
>>>> â
>>>>
>>>> ââââââââââââââââââââââââ
>>>>
>>>> Objektfabrik Joachim Tuchel
>>>> [mailto:jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>
>>>> Fliederweg 1
>>>> [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>
>>>> D-71640 Ludwigsburg
>>>> [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>
>>>> Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
Oct. 28, 2017
Re: [Pharo-users] Binary Decision Diagram Package in Smalltalk
by Stephane Ducasse
I think that andrew would like to improve smacc when parsing inputs
containing utf-8 characters.
On Sat, Oct 28, 2017 at 1:46 PM, Steffen Märcker <merkste(a)web.de> wrote:
> I see. What is the task in detail? Are some of the set fixed or known in
> advance? What's the argument against a bitset-based solution?
>
> Cheers, Steffen
>
>
>
> Am 27. Oktober 2017 19:10:35 MESZ schrieb Stephane Ducasse
> <stepharo.self(a)gmail.com>:
>>
>> It was for test inclusion of UTF-8 characters so we do not want to
>> rely on external libraries.
>>
>> On Fri, Oct 27, 2017 at 1:54 PM, Steffen Märcker <merkste(a)web.de> wrote:
>>>
>>> Dear Andrew,
>>>
>>> I didn't find time to answer earlier. Some time ago, I was looking for a
>>> (MT)BDD package in ST as well. I didn't found one. So the only two
>>> options
>>> left are
>>>
>>> 1) implementing a new BDD lib in ST and
>>> 2) doing FFI to some existing lib, e.g. CUDD, Sylvan, Jinc
>>>
>>> I'd prefer 2) since the existing libraries are feature-rich and highly
>>> optimized - which took quite some time. As a bonus, a solution could
>>> potentially switch between those backends. The biggest hurdle, in my
>>> option,
>>> is memory management, since most libs use some sort of reference
>>> counting.
>>> And you do not want to end up with nightmarish dozens of ref(bddNode)
>>> deref(bddNode) in your application code (like the probabilistic model
>>> checker PRISM does). This introduces hard to track bugs easily. However,
>>> I
>>> have an idea in mind how to tackle this but I didn't found the time to
>>> put
>>> it into code yet.
>>>
>>> May I ask, which sort of application do you have in mind?
>>>
>>> Best, Steffen
>>>
>>>
>>>
>>>
>>> Am .10.2017, 07:54 Uhr, schrieb Prof. Andrew P. Black
>>> <black(a)cs.pdx.edu>:
>>>
>>>> Thanks for the responses so far. I see that I need to clarify my
>>>> enquiry.
>>>>
>>>> B-Trees and BDDs are not the same. BDDs are an efficient and compact
>>>> representations for Boolean functions, sometimes used in SAT-solvers
>>>> and
>>>> electronics design. The key idea is that since the output must be 0
>>>> or 1,
>>>> you can represent any Boolean function as a tree whose depth is the
>>>> same as
>>>> the number of bits in the input.
>>>>
>>>> To make the tree small and efficient, though, you need to eliminate any
>>>> node whose two children are the same, and to share subtrees, so that
>>>> you
>>>> really get a DAG, not a tree. The full name for these efficient
>>>> compressed
>>>> trees is âReduced Order Binary Decision Diagramsâ, or ROBDDs. I was
>>>> hoping
>>>> that someone else had implemented the algorithms necessary to build
>>>> this
>>>> representation.
>>>>
>>>> Because sets can be considered to be Booleans functions (true =>
>>>> argument
>>>> is in the set), you can use ROBDDs to efficiently represent large sets.
>>>>
>>>> To be clear, despite the word âdiagramâ in the name, one is not
>>>> normally
>>>> interested in drawing the BDD â except in the documentation for the
>>>> package
>>>> ;-). Normally, BDDs they are used to represent sets, or functions,
>>>> where
>>>> the drawing would be hopelessly large.
>>>>
>>>> The BuDDy package (http://buddy.sourceforge.net/manual/main.html) is an
>>>> example of what Iâm looking for, but unfortunately itâs in C++.
>>>>
>>>> Andrew
>>>>
>>>>
>>>>> On 25 Oct 2017, at 21:39 , Stephane Ducasse <stepharo.self(a)gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi andrew
>>>>>
>>>>> I think that Avi did a package about BDD (but I thought it was special
>>>>> binary trees) so this is probably the same.
>>>>> Did you check on Squeaksource?
>>>>> http://www.squeaksource.com/BTree.html
>>>>> If this is what you are looking for I can help porting it to Pharo.
>>>>>
>>>>> Stef
>>>>>
>>>>>
>>>>> On Wed, Oct 25, 2017 at 9:02 PM, Prof. Andrew P. Black
>>>>> <black(a)cs.pdx.edu>
>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> Does anyone know of a BDD â thatâs Binary Decision Diagram â package
>>>>>> written in Smalltalk?
>>>>>>
>>>>>> Andrew
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
Oct. 28, 2017
Re: [Pharo-users] Smalltalk Argument
by henry
I looked and was not able to find it. Which version of Pharo are we talking about? What is the name of the kafka integration?
- HH
> -------- Original Message --------
> Subject: RE: [Pharo-users] Smalltalk Argument
> Local Time: October 27, 2017 11:10 PM
> UTC Time: October 28, 2017 3:10 AM
> From: aglynn42(a)gmail.com
> To: henry <henry(a)callistohouse.club>, Any question about pharo iswelcome <pharo-users(a)lists.pharo.org>
>
> The Kafka integration is right in the Pharo catalog.
>
> Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10
>
> From: [henry](mailto:henry@callistohouse.club)
> Sent: Friday, October 27, 2017 5:03 PM
> To: [Any question about pharo is welcome](mailto:pharo-users@lists.pharo.org)
> Subject: Re: [Pharo-users] Smalltalk Argument
>
> Elastic search JSON integration would be another good one. I heard there was a Kafka integration, is that true? Where could I find that, I used to use Kafka.
>
> Kafka is a great event channel for input to BigData. Using Kafka, it is well in crafting a Lamda Architecture. Imagine Pharo where Storm resides.
>
> [webkit-fake-url://502df029-af7a-484e-b157-43970b30a0a1/imagejpeg]
>
> - HH
>
> On Fri, Oct 27, 2017 at 16:51, henry <henry(a)callistohouse.club> wrote:
>
>> How about Kerberos? Can we get a team to look closely at bringing integration for enterprise users? That would be helpful, or can you just put it behind a Kerberos wrapper? If that would work, collecting a demo, that could unlock more corporate wallets , for investment.
>>
>> - HH
>>
>> On Fri, Oct 27, 2017 at 16:41, henry <[henry@callistohouse.club](%22mailto:henry@callistohouse.club%22)> wrote:
>>
>>> How is there no steering committee to accumulate wrapping 3rd party libraries in Alien to gain benefits of code in other languages? Do not assume that code is not extremely well written in that particular language for that particular task and that particular deployment mechanism.
>>>
>>> Can Pharo be called as a shared library from Java JNA?
>>>
>>> - HH
>>>
>>> On Fri, Oct 27, 2017 at 15:47, Andrew Glynn <[aglynn42@gmail.com](%22mailto:aglynn42@gmail.com%22)> wrote:
>>>
>>>> Iâm not claiming I donât or havenât been affected, only that I no long allow myself to be. Does that cause issues? Of course. But Iâd rather deal with those than do things I donât enjoy. However I only got to that point after 26 years in the industry, so I donât expect that everyone will feel that way.
>>>>
>>>> Cheers
>>>>
>>>> Andrew
>>>>
>>>> Sent from [Mail](%22https:/go.microsoft.com/fwlink/?LinkId=550986%22) for Windows 10
>>>>
>>>> From: [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>> Sent: Thursday, October 26, 2017 8:14 AM
>>>> To: [pharo-users@lists.pharo.org](%22mailto:pharo-users@lists.pharo.org%22)
>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>
>>>> Andrew,
>>>>
>>>> Am 26.10.17 um 00:46 schrieb Andrew Glynn:
>>>>
>>>>> Thereâs other questions that are relevant to me:
>>>>
>>>> I am glad you opened your words with this sentence. Other peoplesâ mileages may vary a lot.
>>>>
>>>>> Do I give a f*** about cool looking web apps? No, I donât use web apps if in any way I can avoid it.
>>>>
>>>> Some people canât. I canât. I am making my living with a web based application. And I like it.
>>>>
>>>>> Do I give a f*** about mobile apps? No, the screenâs too small to read anything longer than a twit, or anyone with anything worthwhile to say.>
>>>>
>>>> So you are in the lucky position that neither mobile nor web nor integration matters to you or you have enough resources to do all that stuff yourself. I am envyous. I need to build web pages and people ask me whether we can ship an iPhone App. I do customer-facing stuff and sex sells much more than we like to think.
>>>>
>>>> Your comments on the crappiness of libs in other languages is a great fit for Smalltalk. Not invented here, therefor rubbish. We came a long way with this way of thinking. But these rubbish makers dance circles around us while we try to do our first hello world for an iPad. They laugh at us when we try to reinvent MVC on top of Seaside (although MVC is closesly related to Smalltalk). Because they are back home and watch Netflix while we debug our homegrown base libraries that are, of course, much better than theirs because they are written in Smalltalk.
>>>>
>>>> I am not arguing that maintaining Smalltalk code is far superior to most technolgies out there. But depending on the needs of our projects we have to learn and use those crappy technologies to accomplish what they offer. Because, sometimes (especially if you have to pay bills), an existing library with flaws is better than none.
>>>>
>>>> So if I have to use Javascript or C# or Dart or Swift to do the frontend part of my system, is there still much benefit in using these together with Smalltalk? Or is there - at least from a managerâs point of view - not a reasonable amount of sense in choosing the frontend technology also for the logic and compensate the loss in productivity with a gain in avoided complexity?
>>>>
>>>> Your answer delivers a lot of food for thought, but I donât buy all of it. And I donât expect you to buy all of mine ;-)
>>>>
>>>> Joachim
>>>>
>>>>>
>>>>>
>>>>> Do I give a f*** about the number of libraries in other languages? No, because most of them are crap in every language Iâve had to work in, and the base languages are crap so they have to keep changing radically, and libraries and frameworks therefore also have to and never get any better. The few that are worthwhile I can almost always use from Smalltalk without a problem (read, Blender, ACT-R and Synapse, since every other library/framework Iâve used outside Smalltalk has been a waste of time).
>>>>>
>>>>> Do I give a f*** about implementing a complex piece of machine learning software in 22 hours, compared to 3 months for the Java version? Well, actually yes, I do, because that was 3 months of my life down the toilet for something that is too slow to be useful in Java.
>>>>>
>>>>> Any argument depends on your priorities. Iâve written tons of web apps, because I needed to get paid. Iâve written better shitty mobile apps than the average shitty mobile apps. However, Iâm not going to do any of that any longer in crap that never improves, because after 26 years the irritability it produces is more than itâs worth.
>>>>>
>>>>> A few weeks ago, a recruiter that specializes in Smalltalk called me about a job, although they were well aware I live 1500 miles away from the city I lived in when I had worked through them, to see if Iâd be willing to move back there for a job. That sounds like another âthere arenât enough Smalltalk developers", but it wasnât, because the job wasnât writing Smalltalk. It was writing Java.
>>>>>
>>>>> The person hiring, though, wouldnât look at anyone who didnât write Smalltalk, because "people who grew up with Java donât know how to write code". I donât agree with that, Iâve known a (very few) good Java developers. I would say, though, that Iâve known far more incompetent ones than good ones, and I canât think of any incompetent Smalltalk developers off the top of my head.
>>>>>
>>>>> Nor have I ever heard a developer in Smalltalk, or Haskell, or LISP, or even C, complain about how hard maintaining state is or coming up with various hacks to avoid it, which seems to be the main point of every JavaScript based âtechnologyâ. An application is by definition a state-machine, which implies plenty about JS developers on the whole.
>>>>>
>>>>> If youâre a good developer you can write good code in (nearly) anything. My question then is why would you want to write in crap? The better question is why arenât there more good developers in any language?
>>>>>
>>>>> Every project I have been able to do in Smalltalk, though, has had one thing in common, the "shit has to work". Companies do use it, in fact I could name 4 large enterprises Iâve worked for whoâve written their own dialects, and they all use it only when "shit has to work". They know itâs more productive, they also know using it for more things would increase the availability of Smalltalk developers.
>>>>>
>>>>> Why do they not do it? One reason, though it takes a while to recognize it, because management doesnât admit even to themselves why they do it, or not very often. Being inefficient, as long as it doesnât âreallyâ matter, is an advantage to large enterprises because they have resources smaller competitors donât.
>>>>>
>>>>> Why donât their competitors do it? Because they canât see past an hourly rate, whatâs fashionable, or just new, or because their customers canât. Put more generally, average stupidity that isnât corrected by the market. Fashion affects smaller companies more than larger ones, because they canât afford a few customers walking away because they wanted an app in Electron, even if they canât give any relevant reason for wanting it, and even the samples on the Electron site donât work.
>>>>>
>>>>> Enterprises can, and do use Smalltalk when it matters. When it doesnât, itâs to their advantage to promote things that are inefficient, buggy and unreliable.
>>>>>
>>>>> Cost is relevant, but not in the simple way people look at things. A crucial but rarely mentioned perspective on its relevance is that while Java based software runs TV set top boxes, Smalltalk based software runs things like medical equipment, automated defense systems, tanks, etc. Cost becomes largely irrelevant when âshit has to workâ.
>>>>>
>>>>> Productivity is primarily relevant to less talented developers, in an inversely sense, since unproductive environments and attitudes have a leveling tendency in general, and more specifically make accomplishing what the less talented are capable of in any environment sufficiently laborious for them to have a role. Capability in Smalltalk, as implied by the person hiring for the Java role I mentioned, is a fairly decent means of judging whether someone is a so-so developer or a good one.
>>>>>
>>>>> The productivity argument is realistically only relevant in the context of an already higher hourly cost. Given that it is relevant at that point, companies that know Smalltalk is more productive would use it outside things that have to be 100%, if their own productivity were relevant to the same degree that competitorsâ productivity is inversely relevant.
>>>>>
>>>>> All these ways of looking at it are contingent perspectives though. Yes, if the number of libraries is relevant to you, Smalltalk is less attractive, but thatâs only a contingent phenomenon based on the relative popularity of Java and JavaScript, as a result it canât be used as explanatory for that popularity. All the ways of looking at it that are fully determinate are determinate via contingencies of that kind, which for the most part are precisely the other perspectives, including productivity, cost, availability of developers, etc. None of them is in itself anything but a result of the others.
>>>>>
>>>>> If availability of developers is contingent on popularity (and further, popularity contingent on industry attitudes), to use an example already mentioned in Joachimâs post, then his simultaneous posit of library availability is if anything more contingent on the same popularity, so positing it as a cause and not a result, or merely a correlate, of popularity is incoherent. We can go one step further, and demonstrate that even when large enterprises make something that works reliably available, they fail to promote and support it, which destroys the market for reliable tooling by simultaneously owning it while not promoting it, something IBM is particularly good at. But IBM canât (and if they canât, neither can any other company) operate that way without the tacit agreement of the industry.
>>>>>
>>>>> To understand it in a more general way, software development has to be looked at in the context where it occurs, and how itâs determined to a large degree by that context, with a specific difference. That difference is itself implicit in the context, i.e. capitalism, but only purely effective in software development. Itâs a result of virtualization as an implicit goal of capitalism, and the disruptions implicit in the virtual but so far only realized completely in software. In terms of that understanding, the analysis of virtualization and disruption as inherent to capitalism is better accomplished in Kapital than in any more recent work.
>>>>>
>>>>> Or you can simply decide, as Iâve done recently, that working in ways and with tools that prevent doing good work in a reasonable timeframe isnât worthwhile to you, no matter how popular those ways and tools might be, or what the posited reasons are, since at the end popularity is only insofar as it already is. What those tools and methods are depends to a degree on your priorities, but if developers are engineers those priorities canât be completely arbitrary. Engineers are defined by their ability to make things work.
>>>>>
>>>>> Software as virtual is inherently disruptive, and the software industry disrupts itself too often and too easily to build on anything. A further disruption caused by developers, as engineers, refusing to work with crap that doesnât, i.e. insisting on being engineers, while in itself merely an aggravation of the disruptive tendencies, might have an inverse result.
>>>>>
>>>>> Using a stable core of technologies as the basis for a more volatile set of products, in the way nearly every other industry does, is the best means we know of to build things both flexibly and reasonably efficiently. The computer hardware industry is the extreme example of this, while the software industry is the extreme contradiction.
>>>>>
>>>>> From: Pharo-users [<pharo-users-bounces(a)lists.pharo.org>](%22mailto:pharo-users-bounces@lists.pharo.org%22) on behalf of David Mason [<dmason(a)ryerson.ca>](%22mailto:dmason@ryerson.ca%22)
>>>>> Reply-To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Date: Tuesday, October 24, 2017 at 11:52 AM
>>>>> To: Any question about pharo is welcome [<pharo-users(a)lists.pharo.org>](%22mailto:pharo-users@lists.pharo.org%22)
>>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>>
>>>>> PharoJS is working to give you that mobile app/browser app experience. As with others, weâre not there yet, but getting there. See [http://pharojs.org](%22http:/pharojs.org%22)
>>>>>
>>>>> 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 number of people.
>>>>>
>>>>> On 20 October 2017 at 03:23, [jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22) <[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)> wrote:
>>>>>
>>>>>> 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, learning Smalltalk is easy. If you are a good developer youâve heard the sentence "weâve taken the goos parts from x,y,z and Smalltalk" at least twice a year. So you most likely would like to learn it anyways.
>>>>>>
>>>>>> A shortage of developers doesnât exist. What exists is an unwillingness of companies to get people trained in a technology. If Smalltalk was cool and great in their opinion, they wouldnât care. Itâs that simple. As a consultant, Iâve heard that argument so often. Not ferom Startups, but from insurance companies, Banks or Car manufacturers who spend millions on useless, endless meetings and stuff instead of just hiring somebody to teach a couple of developers Smalltalk. Itâs just a lie: the shortage of Smalltalk developers is not a problem.
>>>>>>
>>>>>> And, to be honest: what is it we actually are better in by using Smalltalk?
>>>>>> Can we build cool looking web apps in extremely short time? No.
>>>>>> Can we build mobile Apps with little effort? No.
>>>>>> Does our Smalltalk ship lots of great libraries for all kinds of things that are not availabel in similar quality in any other language?
>>>>>> Are we lying when we say we are so extremely over-productive as compared to other languages?
>>>>>>
>>>>>> I know, all that live debugging stuff and such is great and it is much faster to find & fix a bug in Smalltalk than in any other environment Iâve used so far. But that is really only true for business code. When I need to connect to things or want to build a modern GUI or a web application with a great look&feel, I am nowhere near productive, because I simply have to build my own stuff or learn how to use other external resources. If I want to build something for a mobile device, I will only hear that somebody somewhere has done it before. No docs, no proof, no ready-made tool for me.
>>>>>>
>>>>>> Shortage of developers is not really the problem. If Smalltalk was as cool as we like to make ourselves believe, this problem would be non-existent. If somebody took out their iPad and told an audience: "We did this in Smalltalk in 40% of the time it would have taken in Swift", and if that something was a must-have for people, things would be much easier. But nobody has.
>>>>>>
>>>>>> I am absolutely over-exaggerating, because I make my living with an SaaS product written in Smalltalk (not Pharo). I have lots of fun with Smalltalk and - as you - am convince that many parts of what weâve done so far wouldâve taken much longer or even be impossible in other languages. But the advantage was eaten by our extremely steep learning curve for web technologies and for building something that works almost as well as tools like Angular or jQuery Mobile.
>>>>>>
>>>>>> Smalltalk is cool, and the day somebody shows me something like Googleâs flutter in Smalltalk, I am ready to bet a lot on a bright future for Smalltalk. But until then, Iâd say these arguments about productivity are just us trying to make ourselves believe weâre still the top of the food chain. Weâve done that for almost thirty years now and still arenât ready to stop it. But weâve been lying to ourselves and still do so.
>>>>>>
>>>>>> I donât think there is a point in discussing about the usefulness of a language using an argument like the number or ready-made developers. That is just an argument they know you canât win. The real question is and should be: what is the benefit of using Smalltalk. Our productivity argument is a lie as soon as we have to build something that uses or runs on technology that has been invented after 1990.
>>>>>>
>>>>>> Okay, shoot ;-)
>>>>>>
>>>>>> Joachim
>>>>>>
>>>>>> â
>>>>>> ââââââââââââââââââââââââ
>>>>>> Objektfabrik Joachim Tuchel mailto:[jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>>> Fliederweg 1 [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>>> D-71640 Ludwigsburg [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>>> Telefon: [+49 7141 56 10 86 0](%22tel:%2B49%207141%2056%2010%2086%200%22) Fax: [+49 7141 56 10 86 1](%22tel:%2B49%207141%2056%2010%2086%201%22)
>>>>
>>>> â
>>>>
>>>> ââââââââââââââââââââââââ
>>>>
>>>> Objektfabrik Joachim Tuchel
>>>> [mailto:jtuchel@objektfabrik.de](%22mailto:jtuchel@objektfabrik.de%22)
>>>>
>>>> Fliederweg 1
>>>> [http://www.objektfabrik.de](%22http:/www.objektfabrik.de%22)
>>>>
>>>> D-71640 Ludwigsburg
>>>> [http://joachimtuchel.wordpress.com](%22http:/joachimtuchel.wordpress.com%22)
>>>>
>>>> Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
Oct. 28, 2017
Re: [Pharo-users] Actual Code to Improve the Pharo environment
by henry
Hi Andrew,
Are you working to bring a Capabilities model to Pharo? This is precisely what I am working to bring with Hubbub, running on top of my ParrotTalk. I derived these from erights.org's ELib and have been working on them for many years. Now that ParrotTalk has stabilized (layer 5) I am shifting to implementing marshalling of layer 6 objects using STON all to run on top of ParrotTalk. Once I get marshalling with scope substitutions, I will debug Hubbub to offer distributed Capabilities.
What work are you undertaking?
Regards,
- HH
> -------- Original Message --------
> Subject: Re: [Pharo-users] Actual Code to Improve the Pharo environment
> Local Time: October 28, 2017 9:12 AM
> UTC Time: October 28, 2017 1:12 PM
> From: aglynn42(a)gmail.com
> To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
>
> Writing that kind of code is another of the reasons I decided I donât want to work in anything else ð. Maybe more important than some of the others, both to myself and to other users.
>
> Iâve gained so much personally, mostly for nothing, even just considering the relatively few projects I have been able to work on in Pharo and previously in Squeak, VW and VA. Unfortunately in most I havenât been able to make the code public, since they were for entities like the government, DoD, etc.
>
> Not that VA attracts me quite so much to give back all that strongly, when a license is $8500+. Were it possible to give back to VA C++ or VA Java, it might be different, but neither were OSS although they werenât expensive. More relevantly, both are now abandonware (hence my comment about IBM, which is applicable to OS/2 as well, although that has quietly had a 5.0 version released in June of this year).
>
> I would, though, love a chance to give back to Pharo primarily, although I may port anything relevant to Squeak, and if I have sufficient time port it to VW, which although not OSS is at least affordable to most developers.
>
> Iâm nearly there on a couple of projects â one Iâm testing and making final tweaks, another is about 2/3dâs of the way.
>
> The first project you (and others on the list) may be more immediately interested in testing, since it requires little to no additional work to use it, and even if not perfect, since itâs intended to directly help work you are doing in Pharo, it may worthwhile. Iâm hoping to have it ready for public consumption by the middle of November.
>
> On a different but related topic, the article I wrote got a fair amount of interest considering I donât write nearly as well as Kenneth, for example. Including direct interest from some well known industry people, which canât hurt. In an indirect way it may even be helpful, but not in the real, direct way decent code is.
>
> Capabilities that wonât be available in anything else in an really usable way (because to be efficient they depend on capabilities not found in anything else), and in any case nowhere near as useful in anything else, will hopefully be more use than any article can be, never mind one I wrote, not just to me but also to other Pharo users and to Pharo itself.
>
> Cheers
>
> Andrew Glynn
>
> Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10
>
> From: [Stephane Ducasse](mailto:stepharo.self@gmail.com)
> Sent: Saturday, October 28, 2017 5:09 AM
> To: [Any question about pharo is welcome](mailto:pharo-users@lists.pharo.org)
> Subject: Re: [Pharo-users] Smalltalk Argument
>
> Hi andrew
>
> please take a project that would help to bring more companies and that you want to push and push it with us :).
>
> Stef
>
> On Sat, Oct 28, 2017 at 11:05 AM, Stephane Ducasse <stepharo.self(a)gmail.com> wrote:
>
>> Hi andrew
>>
>> you should contact esteban because he is writing an objective-C bridge.
>>
>> Stef
>>
>> On Sat, Oct 28, 2017 at 2:30 AM, Andrew Glynn <aglynn42(a)gmail.com> wrote:
>>
>>> One thing Iâm working on is a bridge between Pharo and F-Script. F-Script is, basically, a Smalltalk dialect, as is obvious from the screenshot. However for MacOS and iOS, it allows you to bypass the static Objective-C API interface and debug / modify or even write applications directly in the system. To do that you âinjectâ F-Script into the OS. The ability to so has a specific implication, though. MacOS and iOS are themselves written in and as a dialect of Smalltalk. (were it simply an overlay on Objective-C, it wouldnât be able to do things that are impossible in Objective-C, and it wouldnât need to be âinjectedâ in order to run). Every implementation of Objective-C , bar GNUâs useless imitation, compiles to Smalltalk. No surprise that Appleâs does, as well.
>>>
>>> In any event, it will allow Pharo code to be mapped to MacOS and iOS objects, injected into the system dynamically, and modified / debugged dynamically using the Pharo tools. The result, at least as far as iOS is concerned, may make Pharo actually the most powerful way to program it, well beyond XCode alone, along with doing the same for MacOS. Android is another issue, although the Raspbian port of Pharo should be relatively easy to port to it. For me, unless someone had a use case, I donât have one myself for Android. Iâve tried nearly every version, because Iâd love to support an OSS ecosystem, unfortunately using it compared to the iPhone is still like driving a Fiero based kit car compared to an actual Ferrari.
>>>
>>> As far as JNI, while I see your point, JNI is such a PITA that few Java developers know it. My usual workaround is to use Stamp and Synapse, which has the further advantage of allowing Java to âthrottleâ data that the JVM canât deal with at full speed.
>>>
>>> As far as dealing with other JVM languages, PetitParser or SmaCC can generate bytecode rather than Java or other JVM code, and that allows libs to be written that utilize Synapse to talk to Pharo. It isnât necessarily an ideal solution, but a possible one without having to support umpteen environments. Another potential way of accomplishing that is to use NetRexx, a declarative JVM language, which is both easy and terse, and like SQL, generates the actual bytecode rather than precompiling to it. For instance, imagine the code needed for a simple âhello worldâ in Java, then compare:
>>>
>>> Say âhello worldâ
>>>
>>> Since it generates virtually the same bytecode, it may be an easy way to do it.
>>>
>>> With the last statement, that expresses really well the exact reason I no longer want to work in most other environments ð.
>>>
>>> Tc
>>>
>>> Andrew
>>>
>>> Sent from [Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10
>>>
>>> From: phil(a)highoctane.be
>>> Sent: Thursday, October 26, 2017 2:19 AM
>>> To: [Any question about pharo is welcome](mailto:pharo-users@lists.pharo.org)
>>>
>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>
>>> I like that piece a lot, seeing exactly the described situation in large enterprises.
>>>
>>> I made a strategic decision to go with Pharo for the long run for my solutions because it is a stable base on which to build (ok, there are evolutions, but fundamentally, I can rely on it being under control and can maintain solutions in a version).
>>>
>>> The rationale is that at a deep level I am really fed up with having to deal with accidental complexity (now having to deal with Spark/Scala/sbt/Java/maven stuff) that makes the dev focus 80% technology drag and 20% net business contribution.
>>>
>>> One key thing is that a team needs guidance and Smalltalk makes it easier due to well known ways of doing things.
>>>
>>> Now we miss the boat on mobile and bigdata, but this is solvable.
>>>
>>> If we had an open Java bridge (and some people in the community have it for Pharo but do not open source it - so this is eminently doable) + Pharo as an embeddable piece (e.g. like Tcl and Lua) and not a big executable we would have a way to embed Pharo in a lot of places (e.g. in the Hadoop ecosystem where fast starting VMs and small footprint would make the cluster capacity x2 or x3 vs uberjars all over the place) this would be a real disruption.
>>>
>>> Think about being able to call Pharo from JNA https://github.com/java-native-access/jna the same way we use C with UFFI.
>>>
>>> Smalltalk argument for me is that it makes development bearable (even fun and enjoyable would I say) vs the other stacks. That matters.
>>>
>>> Phil
>>>
>>> On Thu, Oct 26, 2017 at 12:46 AM, Andrew Glynn <aglynn42(a)gmail.com> wrote:
>>>
>>>> Thereâs other questions that are relevant to me:
>>>>
>>>> Do I give a f*** about cool looking web apps? No, I donât use web apps if in any way I can avoid it.
>>>>
>>>> Do I give a f*** about mobile apps? No, the screenâs too small to read anything longer than a twit, or anyone with anything worthwhile to say.
>>>>
>>>> Do I give a f*** about the number of libraries in other languages? No, because most of them are crap in every language Iâve had to work in, and the base languages are crap so they have to keep changing radically, and libraries and frameworks therefore also have to and never get any better. The few that are worthwhile I can almost always use from Smalltalk without a problem (read, Blender, ACT-R and Synapse, since every other library/framework Iâve used outside Smalltalk has been a waste of time).
>>>>
>>>> Do I give a f*** about implementing a complex piece of machine learning software in 22 hours, compared to 3 months for the Java version? Well, actually yes, I do, because that was 3 months of my life down the toilet for something that is too slow to be useful in Java.
>>>>
>>>> Any argument depends on your priorities. Iâve written tons of web apps, because I needed to get paid. Iâve written better shitty mobile apps than the average shitty mobile apps. However, Iâm not going to do any of that any longer in crap that never improves, because after 26 years the irritability it produces is more than itâs worth.
>>>>
>>>> A few weeks ago, a recruiter that specializes in Smalltalk called me about a job, although they were well aware I live 1500 miles away from the city I lived in when I had worked through them, to see if Iâd be willing to move back there for a job. That sounds like another âthere arenât enough Smalltalk developersâ, but it wasnât, because the job wasnât writing Smalltalk. It was writing Java.
>>>>
>>>> The person hiring, though, wouldnât look at anyone who didnât write Smalltalk, because âpeople who grew up with Java donât know how to write codeâ. I donât agree with that, Iâve known a (very few) good Java developers. I would say, though, that Iâve known far more incompetent ones than good ones, and I canât think of any incompetent Smalltalk developers off the top of my head.
>>>>
>>>> Nor have I ever heard a developer in Smalltalk, or Haskell, or LISP, or even C, complain about how hard maintaining state is or coming up with various hacks to avoid it, which seems to be the main point of every JavaScript based âtechnologyâ. An application is by definition a state-machine, which implies plenty about JS developers on the whole.
>>>>
>>>> If youâre a good developer you can write good code in (nearly) anything. My question then is why would you want to write in crap? The better question is why arenât there more good developers in any language?
>>>>
>>>> Every project I have been able to do in Smalltalk, though, has had one thing in common, the âshit has to workâ. Companies do use it, in fact I could name 4 large enterprises Iâve worked for whoâve written their own dialects, and they all use it only when âshit has to workâ. They know itâs more productive, they also know using it for more things would increase the availability of Smalltalk developers.
>>>>
>>>> Why do they not do it? One reason, though it takes a while to recognize it, because management doesnât admit even to themselves why they do it, or not very often. Being inefficient, as long as it doesnât âreallyâ matter, is an advantage to large enterprises because they have resources smaller competitors donât.
>>>>
>>>> Why donât their competitors do it? Because they canât see past an hourly rate, whatâs fashionable, or just new, or because their customers canât. Put more generally, average stupidity that isnât corrected by the market. Fashion affects smaller companies more than larger ones, because they canât afford a few customers walking away because they wanted an app in Electron, even if they canât give any relevant reason for wanting it, and even the samples on the Electron site donât work.
>>>>
>>>> Enterprises can, and do use Smalltalk when it matters. When it doesnât, itâs to their advantage to promote things that are inefficient, buggy and unreliable.
>>>>
>>>> Cost is relevant, but not in the simple way people look at things. A crucial but rarely mentioned perspective on its relevance is that while Java based software runs TV set top boxes, Smalltalk based software runs things like medical equipment, automated defense systems, tanks, etc. Cost becomes largely irrelevant when âshit has to workâ.
>>>>
>>>> Productivity is primarily relevant to less talented developers, in an inversely sense, since unproductive environments and attitudes have a leveling tendency in general, and more specifically make accomplishing what the less talented are capable of in any environment sufficiently laborious for them to have a role. Capability in Smalltalk, as implied by the person hiring for the Java role I mentioned, is a fairly decent means of judging whether someone is a so-so developer or a good one.
>>>>
>>>> The productivity argument is realistically only relevant in the context of an already higher hourly cost. Given that it is relevant at that point, companies that know Smalltalk is more productive would use it outside things that have to be 100%, if their own productivity were relevant to the same degree that competitorsâ productivity is inversely relevant.
>>>>
>>>> All these ways of looking at it are contingent perspectives though. Yes, if the number of libraries is relevant to you, Smalltalk is less attractive, but thatâs only a contingent phenomenon based on the relative popularity of Java and JavaScript, as a result it canât be used as explanatory for that popularity. All the ways of looking at it that are fully determinate are determinate via contingencies of that kind, which for the most part are precisely the other perspectives, including productivity, cost, availability of developers, etc. None of them is in itself anything but a result of the others.
>>>>
>>>> If availability of developers is contingent on popularity (and further, popularity contingent on industry attitudes), to use an example already mentioned in Joachimâs post, then his simultaneous posit of library availability is if anything more contingent on the same popularity, so positing it as a cause and not a result, or merely a correlate, of popularity is incoherent. We can go one step further, and demonstrate that even when large enterprises make something that works reliably available, they fail to promote and support it, which destroys the market for reliable tooling by simultaneously owning it while not promoting it, something IBM is particularly good at. But IBM canât (and if they canât, neither can any other company) operate that way without the tacit agreement of the industry.
>>>>
>>>> To understand it in a more general way, software development has to be looked at in the context where it occurs, and how itâs determined to a large degree by that context, with a specific difference. That difference is itself implicit in the context, i.e. capitalism, but only purely effective in software development. Itâs a result of virtualization as an implicit goal of capitalism, and the disruptions implicit in the virtual but so far only realized completely in software. In terms of that understanding, the analysis of virtualization and disruption as inherent to capitalism is better accomplished in Kapital than in any more recent work.
>>>>
>>>> Or you can simply decide, as Iâve done recently, that working in ways and with tools that prevent doing good work in a reasonable timeframe isnât worthwhile to you, no matter how popular those ways and tools might be, or what the posited reasons are, since at the end popularity is only insofar as it already is. What those tools and methods are depends to a degree on your priorities, but if developers are engineers those priorities canât be completely arbitrary. Engineers are defined by their ability to make things work.
>>>>
>>>> Software as virtual is inherently disruptive, and the software industry disrupts itself too often and too easily to build on anything. A further disruption caused by developers, as engineers, refusing to work with crap that doesnât, i.e. insisting on being engineers, while in itself merely an aggravation of the disruptive tendencies, might have an inverse result.
>>>>
>>>> Using a stable core of technologies as the basis for a more volatile set of products, in the way nearly every other industry does, is the best means we know of to build things both flexibly and reasonably efficiently. The computer hardware industry is the extreme example of this, while the software industry is the extreme contradiction.
>>>>
>>>> From: Pharo-users <pharo-users-bounces(a)lists.pharo.org> on behalf of David Mason <dmason(a)ryerson.ca>
>>>> Reply-To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
>>>> Date: Tuesday, October 24, 2017 at 11:52 AM
>>>> To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
>>>> Subject: Re: [Pharo-users] Smalltalk Argument
>>>>
>>>> PharoJS is working 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 number of people.
>>>>
>>>> On 20 October 2017 at 03:23, jtuchel(a)objektfabrik.de <jtuchel(a)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 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, learning Smalltalk is easy. If you are a good developer you've heard the sentence "we've taken the goos parts from x,y,z and Smalltalk" at least twice a year. So you most likely would like to learn it anyways.
>>>>>
>>>>> A shortage of developers doesn't exist. What exists is an unwillingness of companies to get people trained in a technology. If Smalltalk was cool and great in their opinion, they wouldn't care. It's that simple. As a consultant, I've heard that argument so often. Not ferom Startups, but from insurance companies, Banks or Car manufacturers who spend millions on useless, endless meetings and stuff instead of just hiring somebody to teach a couple of developers Smalltalk. It's just a lie: the shortage of Smalltalk developers is not a problem.
>>>>>
>>>>> And, to be honest: what is it we actually are better in by using Smalltalk?
>>>>> Can we build cool looking web apps in extremely short time? No.
>>>>> Can we build mobile Apps with little effort? No.
>>>>> Does our Smalltalk ship lots of great libraries for all kinds of things that are not availabel in similar quality in any other language?
>>>>> Are we lying when we say we are so extremely over-productive as compared to other languages?
>>>>>
>>>>> I know, all that live debugging stuff and such is great and it is much faster to find & fix a bug in Smalltalk than in any other environment I've used so far. But that is really only true for business code. When I need to connect to things or want to build a modern GUI or a web application with a great look&feel, I am nowhere near productive, because I simply have to build my own stuff or learn how to use other external resources. If I want to build something for a mobile device, I will only hear that somebody somewhere has done it before. No docs, no proof, no ready-made tool for me.
>>>>>
>>>>> Shortage of developers is not really the problem. If Smalltalk was as cool as we like to make ourselves believe, this problem would be non-existent. If somebody took out their iPad and told an audience: "We did this in Smalltalk in 40% of the time it would have taken in Swift", and if that something was a must-have for people, things would be much easier. But nobody has.
>>>>>
>>>>> I am absolutely over-exaggerating, because I make my living with an SaaS product written in Smalltalk (not Pharo). I have lots of fun with Smalltalk and - as you - am convince that many parts of what we've done so far would've taken much longer or even be impossible in other languages. But the advantage was eaten by our extremely steep learning curve for web technologies and for building something that works almost as well as tools like Angular or jQuery Mobile.
>>>>>
>>>>> Smalltalk is cool, and the day somebody shows me something like Google's flutter in Smalltalk, I am ready to bet a lot on a bright future for Smalltalk. But until then, I'd say these arguments about productivity are just us trying to make ourselves believe we're still the top of the food chain. We've done that for almost thirty years now and still aren't ready to stop it. But we've been lying to ourselves and still do so.
>>>>>
>>>>> I don't think there is a point in discussing about the usefulness of a language using an argument like the number or ready-made developers. That is just an argument they know you can't win. The real question is and should be: what is the benefit of using Smalltalk. Our productivity argument is a lie as soon as we have to build something that uses or runs on technology that has been invented after 1990.
>>>>>
>>>>> Okay, shoot ;-)
>>>>>
>>>>> Joachim
>>>>>
>>>>> --
>>>>> -----------------------------------------------------------------------
>>>>> Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de
>>>>> Fliederweg 1 http://www.objektfabrik.de
>>>>> D-71640 Ludwigsburg http://joachimtuchel.wordpress.com
>>>>> Telefon: [+49 7141 56 10 86 0](tel:%2B49%207141%2056%2010%2086%200) Fax: [+49 7141 56 10 86 1](tel:%2B49%207141%2056%2010%2086%201)
Oct. 28, 2017
Re: [Pharo-users] Actual Code to Improve the Pharo environment
by Andrew Glynn
Writing that kind of code is another of the reasons I decided I donât want to work in anything else ð. Maybe more important than some of the others, both to myself and to other users.
Iâve gained so much personally, mostly for nothing, even just considering the relatively few projects I have been able to work on in Pharo and previously in Squeak, VW and VA. Unfortunately in most I havenât been able to make the code public, since they were for entities like the government, DoD, etc.
Not that VA attracts me quite so much to give back all that strongly, when a license is $8500+. Were it possible to give back to VA C++ or VA Java, it might be different, but neither were OSS although they werenât expensive. More relevantly, both are now abandonware (hence my comment about IBM, which is applicable to OS/2 as well, although that has quietly had a 5.0 version released in June of this year).
I would, though, love a chance to give back to Pharo primarily, although I may port anything relevant to Squeak, and if I have sufficient time port it to VW, which although not OSS is at least affordable to most developers.
Iâm nearly there on a couple of projects â one Iâm testing and making final tweaks, another is about 2/3dâs of the way.
The first project you (and others on the list) may be more immediately interested in testing, since it requires little to no additional work to use it, and even if not perfect, since itâs intended to directly help work you are doing in Pharo, it may worthwhile. Iâm hoping to have it ready for public consumption by the middle of November.
On a different but related topic, the article I wrote got a fair amount of interest considering I donât write nearly as well as Kenneth, for example. Including direct interest from some well known industry people, which canât hurt. In an indirect way it may even be helpful, but not in the real, direct way decent code is.
Capabilities that wonât be available in anything else in an really usable way (because to be efficient they depend on capabilities not found in anything else), and in any case nowhere near as useful in anything else, will hopefully be more use than any article can be, never mind one I wrote, not just to me but also to other Pharo users and to Pharo itself.
Cheers
Andrew Glynn
Sent from Mail for Windows 10
From: Stephane Ducasse
Sent: Saturday, October 28, 2017 5:09 AM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Smalltalk Argument
Hi andrew
please take a project that would help to bring more companies and that you want to push and push it with us :).
Stef
On Sat, Oct 28, 2017 at 11:05 AM, Stephane Ducasse <stepharo.self(a)gmail.com> wrote:
Hi andrew
you should contact esteban because he is writing an objective-C bridge.Â
Stef
On Sat, Oct 28, 2017 at 2:30 AM, Andrew Glynn <aglynn42(a)gmail.com> wrote:
One thing Iâm working on is a bridge between Pharo and F-Script. F-Script is, basically, a Smalltalk dialect, as is obvious from the screenshot. However for MacOS and iOS, it allows you to bypass the static Objective-C API interface and debug / modify or even write applications directly in the system. To do that you âinjectâ F-Script into the OS. The ability to so has a specific implication, though. MacOS and iOS are themselves written in and as a dialect of Smalltalk. (were it simply an overlay on Objective-C, it wouldnât be able to do things that are impossible in Objective-C, and it wouldnât need to be âinjectedâ in order to run). Every implementation of Objective-C , bar GNUâs useless imitation, compiles to Smalltalk. No surprise that Appleâs does, as well.
Â
In any event, it will allow Pharo code to be mapped to MacOS and iOS objects, injected into the system dynamically, and modified / debugged dynamically using the Pharo tools. The result, at least as far as iOS is concerned, may make Pharo actually the most powerful way to program it, well beyond XCode alone, along with doing the same for MacOS. Android is another issue, although the Raspbian port of Pharo should be relatively easy to port to it. For me, unless someone had a use case, I donât have one myself for Android. Iâve tried nearly every version, because Iâd love to support an OSS ecosystem, unfortunately using it compared to the iPhone is still like driving a Fiero based kit car compared to an actual Ferrari.
Â
As far as JNI, while I see your point, JNI is such a PITA that few Java developers know it. My usual workaround is to use Stamp and Synapse, which has the further advantage of allowing Java to âthrottleâ data that the JVM canât deal with at full speed.
Â
As far as dealing with other JVM languages, PetitParser or SmaCC can generate bytecode rather than Java or other JVM code, and that allows libs to be written that utilize Synapse to talk to Pharo. It isnât necessarily an ideal solution, but a possible one without having to support umpteen environments. Another potential way of accomplishing that is to use NetRexx, a declarative JVM language, which is both easy and terse, and like SQL, generates the actual bytecode rather than precompiling to it. For instance, imagine the code needed for a simple âhello worldâ in Java, then compare:
Â
Say âhello worldâ
Â
Since it generates virtually the same bytecode, it may be an easy way to do it.
Â
With the last statement, that expresses really well the exact reason I no longer want to work in most other environments ð.
Â
Tc
Andrew
Â
Â
Â
Sent from Mail for Windows 10
Â
From: phil(a)highoctane.be
Sent: Thursday, October 26, 2017 2:19 AM
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Smalltalk Argument
Â
I like that piece a lot, seeing exactly the described situation in large enterprises.
Â
I made a strategic decision to go with Pharo for the long run for my solutions because it is a stable base on which to build (ok, there are evolutions, but fundamentally, I can rely on it being under control and can maintain solutions in a version).
Â
The rationale is that at a deep level I am really fed up with having to deal with accidental complexity (now having to deal with Spark/Scala/sbt/Java/maven stuff) that makes the dev focus 80% technology drag and 20% net business contribution.
Â
One key thing is that a team needs guidance and Smalltalk makes it easier due to well known ways of doing things.
Â
Now we miss the boat on mobile and bigdata, but this is solvable.Â
Â
If we had an open Java bridge (and some people in the community have it for Pharo but do not open source it - so this is eminently doable) + Pharo as an embeddable piece (e.g. like Tcl and Lua) and not a big executable we would have a way to embed Pharo in a lot of places (e.g. in the Hadoop ecosystem where fast starting VMs and small footprint would make the cluster capacity x2 or x3 vs uberjars all over the place) Â this would be a real disruption.
Â
Think about being able to call Pharo from JNAÂ https://github.com/java-native-access/jna the same way we use C with UFFI.
Â
Smalltalk argument for me is that it makes development bearable (even fun and enjoyable would I say) vs the other stacks. That matters.
Â
Phil
Â
Â
Â
Â
Â
Â
Â
Â
On Thu, Oct 26, 2017 at 12:46 AM, Andrew Glynn <aglynn42(a)gmail.com> wrote:
Thereâs other questions that are relevant to me:
Â
Do I give a f*** about cool looking web apps? No, I donât use web apps if in any way I can avoid it.
Â
Do I give a f*** about mobile apps? No, the screenâs too small to read anything longer than a twit, or anyone with anything worthwhile to say.
Â
Do I give a f*** about the number of libraries in other languages? No, because most of them are crap in every language Iâve had to work in, and the base languages are crap so they have to keep changing radically, and libraries and frameworks therefore also have to and never get any better. The few that are worthwhile I can almost always use from Smalltalk without a problem (read, Blender, ACT-R and Synapse, since every other library/framework Iâve used outside Smalltalk has been a waste of time).Â
Â
Do I give a f*** about implementing a complex piece of machine learning software in 22 hours, compared to 3 months for the Java version? Well, actually yes, I do, because that was 3 months of my life down the toilet for something that is too slow to be useful in Java.
Â
Any argument depends on your priorities. Iâve written tons of web apps, because I needed to get paid. Iâve written better shitty mobile apps than the average shitty mobile apps. However, Iâm not going to do any of that any longer in crap that never improves, because after 26 years the irritability it produces is more than itâs worth.Â
Â
A few weeks ago, a recruiter that specializes in Smalltalk called me about a job, although they were well aware I live 1500 miles away from the city I lived in when I had worked through them, to see if Iâd be willing to move back there for a job. That sounds like another âthere arenât enough Smalltalk developersâ, but it wasnât, because the job wasnât writing Smalltalk. It was writing Java.
Â
The person hiring, though, wouldnât look at anyone who didnât write Smalltalk, because âpeople who grew up with Java donât know how to write codeâ. I donât agree with that, Iâve known a (very few) good Java developers. I would say, though, that Iâve known far more incompetent ones than good ones, and I canât think of any incompetent Smalltalk developers off the top of my head.Â
Â
Nor have I ever heard a developer in Smalltalk, or Haskell, or LISP, or even C, complain about how hard maintaining state is or coming up with various hacks to avoid it, which seems to be the main point of every JavaScript based âtechnologyâ. An application is by definition a state-machine, which implies plenty about JS developers on the whole.
Â
If youâre a good developer you can write good code in (nearly) anything. My question then is why would you want to write in crap? The better question is why arenât there more good developers in any language?
Â
Every project I have been able to do in Smalltalk, though, has had one thing in common, the âshit has to workâ. Companies do use it, in fact I could name 4 large enterprises Iâve worked for whoâve written their own dialects, and they all use it only when âshit has to workâ. They know itâs more productive, they also know using it for more things would increase the availability of Smalltalk developers.Â
Â
Why do they not do it? One reason, though it takes a while to recognize it, because management doesnât admit even to themselves why they do it, or not very often. Being inefficient, as long as it doesnât âreallyâ matter, is an advantage to large enterprises because they have resources smaller competitors donât.Â
Â
Why donât their competitors do it? Because they canât see past an hourly rate, whatâs fashionable, or just new, or because their customers canât. Put more generally, average stupidity that isnât corrected by the market. Fashion affects smaller companies more than larger ones, because they canât afford a few customers walking away because they wanted an app in Electron, even if they canât give any relevant reason for wanting it, and even the samples on the Electron site donât work.Â
Â
Enterprises can, and do use Smalltalk when it matters. When it doesnât, itâs to their advantage to promote things that are inefficient, buggy and unreliable.
Â
Cost is relevant, but not in the simple way people look at things. A crucial but rarely mentioned perspective on its relevance is that while Java based software runs TV set top boxes, Smalltalk based software runs things like medical equipment, automated defense systems, tanks, etc. Cost becomes largely irrelevant when âshit has to workâ.Â
Â
Productivity is primarily relevant to less talented developers, in an inversely sense, since unproductive environments and attitudes have a leveling tendency in general, and more specifically make accomplishing what the less talented are capable of in any environment sufficiently laborious for them to have a role. Capability in Smalltalk, as implied by the person hiring for the Java role I mentioned, is a fairly decent means of judging whether someone is a so-so developer or a good one.
Â
The productivity argument is realistically only relevant in the context of an already higher hourly cost. Given that it is relevant at that point, companies that know Smalltalk is more productive would use it outside things that have to be 100%, if their own productivity were relevant to the same degree that competitorsâ productivity is inversely relevant.
Â
All these ways of looking at it are contingent perspectives though. Yes, if the number of libraries is relevant to you, Smalltalk is less attractive, but thatâs only a contingent phenomenon based on the relative popularity of Java and JavaScript, as a result it canât be used as explanatory for that popularity. All the ways of looking at it that are fully determinate are determinate via contingencies of that kind, which for the most part are precisely the other perspectives, including productivity, cost, availability of developers, etc. None of them is in itself anything but a result of the others.Â
Â
If availability of developers is contingent on popularity (and further, popularity contingent on industry attitudes), to use an example already mentioned in Joachimâs post, then his simultaneous posit of library availability is if anything more contingent on the same popularity, so positing it as a cause and not a result, or merely a correlate, of popularity is incoherent. We can go one step further, and demonstrate that even when large enterprises make something that works reliably available, they fail to promote and support it, which destroys the market for reliable tooling by simultaneously owning it while not promoting it, something IBM is particularly good at. But IBM canât (and if they canât, neither can any other company) operate that way without the tacit agreement of the industry.Â
Â
To understand it in a more general way, software development has to be looked at in the context where it occurs, and how itâs determined to a large degree by that context, with a specific difference. That difference is itself implicit in the context, i.e. capitalism, but only purely effective in software development. Itâs a result of virtualization as an implicit goal of capitalism, and the disruptions implicit in the virtual but so far only realized completely in software. In terms of that understanding, the analysis of virtualization and disruption as inherent to capitalism is better accomplished in Kapital than in any more recent work.
Â
Or you can simply decide, as Iâve done recently, that working in ways and with tools that prevent doing good work in a reasonable timeframe isnât worthwhile to you, no matter how popular those ways and tools might be, or what the posited reasons are, since at the end popularity is only insofar as it already is. What those tools and methods are depends to a degree on your priorities, but if developers are engineers those priorities canât be completely arbitrary. Engineers are defined by their ability to make things work.
Â
Software as virtual is inherently disruptive, and the software industry disrupts itself too often and too easily to build on anything. A further disruption caused by developers, as engineers, refusing to work with crap that doesnât, i.e. insisting on being engineers, while in itself merely an aggravation of the disruptive tendencies, might have an inverse result.
Â
Using a stable core of technologies as the basis for a more volatile set of products, in the way nearly every other industry does, is the best means we know of to build things both flexibly and reasonably efficiently. The computer hardware industry is the extreme example of this, while the software industry is the extreme contradiction.
Â
From: Pharo-users <pharo-users-bounces(a)lists.pharo.org> on behalf of David Mason <dmason(a)ryerson.ca>
Reply-To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
Date: Tuesday, October 24, 2017 at 11:52 AM
To: Any question about pharo is welcome <pharo-users(a)lists.pharo.org>
Subject: Re: [Pharo-users] Smalltalk Argument
Â
PharoJS is working 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 number of people.
Â
On 20 October 2017 at 03:23, jtuchel(a)objektfabrik.de <jtuchel(a)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 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, learning Smalltalk is easy. If you are a good developer you've heard the sentence "we've taken the goos parts from x,y,z and Smalltalk" at least twice a year. So you most likely would like to learn it anyways.
A shortage of developers doesn't exist. What exists is an unwillingness of companies to get people trained in a technology. If Smalltalk was cool and great in their opinion, they wouldn't care. It's that simple. As a consultant, I've heard that argument so often. Not ferom Startups, but from insurance companies, Banks or Car manufacturers who spend millions on useless, endless meetings and stuff instead of just hiring somebody to teach a couple of developers Smalltalk. It's just a lie: the shortage of Smalltalk developers is not a problem.
And, to be honest: what is it we actually are better in by using Smalltalk?
Can we build cool looking web apps in extremely short time? No.
Can we build mobile Apps with little effort? No.
Does our Smalltalk ship lots of great libraries for all kinds of things that are not availabel in similar quality in any other language?
Are we lying when we say we are so extremely over-productive as compared to other languages?
I know, all that live debugging stuff and such is great and it is much faster to find & fix a bug in Smalltalk than in any other environment I've used so far. But that is really only true for business code. When I need to connect to things or want to build a modern GUI or a web application with a great look&feel, I am nowhere near productive, because I simply have to build my own stuff or learn how to use other external resources. If I want to build something for a mobile device, I will only hear that somebody somewhere has done it before. No docs, no proof, no ready-made tool for me.
Shortage of developers is not really the problem. If Smalltalk was as cool as we like to make ourselves believe, this problem would be non-existent. If somebody took out their iPad and told an audience: "We did this in Smalltalk in 40% of the time it would have taken in Swift", and if that something was a must-have for people, things would be much easier. But nobody has.
I am absolutely over-exaggerating, because I make my living with an SaaS product written in Smalltalk (not Pharo). I have lots of fun with Smalltalk and - as you - am convince that many parts of what we've done so far would've taken much longer or even be impossible in other languages. But the advantage was eaten by our extremely steep learning curve for web technologies and for building something that works almost as well as tools like Angular or jQuery Mobile.
Smalltalk is cool, and the day somebody shows me something like Google's flutter in Smalltalk, I am ready to bet a lot on a bright future for Smalltalk. But until then, I'd say these arguments about productivity are just us trying to make ourselves believe we're still the top of the food chain. We've done that for almost thirty years now and still aren't ready to stop it. But we've been lying to ourselves and still do so.
I don't think there is a point in discussing about the usefulness of a language using an argument like the number or ready-made developers. That is just an argument they know you can't win. The real question is and should be: what is the benefit of using Smalltalk. Our productivity argument is a lie as soon as we have to build something that uses or runs on technology that has been invented after 1990.
Okay, shoot ;-)
Joachim
--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel     mailto:jtuchel@objektfabrik.de
Fliederweg 1Â Â Â Â Â Â Â Â Â Â Â Â Â http://www.objektfabrik.de
D-71640 Ludwigsburg         http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0Â Â Â Â Â Fax: +49 7141 56 10 86 1
Â
Â
Â
Oct. 28, 2017