Re: [Pharo-users] PharoJVM

2015-12-13 Thread Todd Blanchard
Where do I get this? I have to say I kind of think Pharo is missing the boat with regards to mobile devices. There is a huge demand for a mobile development platform that allows one to write a mobile app that runs the same on Android and iOS. > On Dec 12, 2015, at 03:51, Dimitris Chloupis

Re: [Pharo-users] PharoJVM

2015-12-13 Thread Todd Blanchard
I've shipped several cordova/phonegap apps. It can work for a certain level of simplicity - but browser based apps don't scratch my itch. I would be more interested in being able to develop a browser based app in Pharo and deploy it to a phone or tablet. > On Dec 13, 2015, at 17:13, horrido

Re: [Pharo-users] [Raspberry Pi] Accessing GPIO pins on Raspberry Pi?

2016-06-14 Thread Todd Blanchard
You can add me to the list of interested parties Sent from the road > On Jun 14, 2016, at 07:28, sergio ruiz wrote: > > Please keep us posted on this. > > I have a project that his waiting on this. > > Thanks! > > >> On Jun 13, 2016, at 11:10 AM, Steven Costiou

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Todd Blanchard
My personal feeling on code generators is they are a bad code smell and the desire to use them tends to imply that your programming language isn't dynamic enough. That said I have used DNE on proto object proxies to capture messages sent and generate handlers (I have used this on Morphic to

Re: [Pharo-users] Cog VM on Raspberry Pi ?

2016-10-18 Thread Todd Blanchard
There is a scratch on cog vm as part of the standard raspbian distro. Have you tried that? > On Oct 18, 2016, at 09:27, Sven Van Caekenberghe wrote: > > >> On 18 Oct 2016, at 14:29, Henrik Johansen >> wrote: >> >> >>> On 17 Oct 2016, at 8:43 ,

Re: [Pharo-users] CodeGenerator, your opinions?

2016-10-18 Thread Todd Blanchard
Yes, this is another one and I would like to see a nice interface to clang that then generated all the glue code for a given library based on its public header files. Smalltalk Agents used to do something like this. You could point it at a library and it would open it and generate Smalltalk

Re: [Pharo-users] double dispatch example

2016-10-10 Thread Todd Blanchard
> On Sep 13, 2016, at 12:35, Denis Kudriashov wrote: > > > 2016-09-13 20:56 GMT+02:00 stepharo >: > > I was thinking about the code in Pharo. > Probably most known and beautiful case is arithmetic operations. Look at >

Re: [Pharo-users] Encoding Login information in your image (safely)

2017-08-16 Thread Todd Blanchard
I do a lot of deployments on AWS elastic beanstalks. I put the credentials into environment variables on the beanstalk. When running locally, the credentials are in the environment on my machine. > On Aug 16, 2017, at 9:55 AM, Tim Mackinnon wrote: > > Hi - I’m struggling to

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

2017-06-07 Thread Todd Blanchard
cases about loading different versions loaded for different packages, see: https://github.com/npasserini/iceberg/issues/139). I hope this helps. -Todd Blanchard > On Jun 7, 2017, at 10:17 PM, Marc Hanisch via Pharo-users > <pharo-users@lists.pharo.org> wrote: > > &g

Re: [Pharo-users] How to write a little REPL

2017-11-30 Thread Todd Blanchard
Ian Piumarta wrote an XTerm in Squeak a long time ago. No idea if it is still viable. > On Nov 30, 2017, at 10:41 AM, Alistair Grant wrote: > > On 29 November 2017 at 21:14, Stephane Ducasse > wrote: >> On Tue, Nov 28, 2017 at 9:35 AM, Alistair

Re: [Pharo-users] files.pharo.org downloads => needs testers

2017-11-29 Thread Todd Blanchard
San Diego, CA. % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 17.7M 100 17.7M0 0 3381k 0 0:00:05 0:00:05 --:--:-- 3859k 100 17.7M 100 17.7M0 0 1088k 0

Re: [Pharo-users] FFIExternalEnumeration int versus long

2017-11-14 Thread Todd Blanchard
Yeah, I don't know if that is necessarily worth doing TBH. Generally enumerations are going to be default int size unless you have values that are out of range. In this case you have a function that returns a long. In a strictly typed language you would be required to do a type cast anyhow.

Re: [Pharo-users] QCMagritte on Github

2017-11-14 Thread Todd Blanchard
Found this on /r/programming today. Seemed relevant. Gist is that YAML spec is ambiguous and implementations seem to disagree widely on proper interpretation. https://github.com/cblp/yaml-sucks > On Nov 10, 2017, at 10:37 AM, Andrew Glynn wrote: > > YAML is what it

Re: [Pharo-users] Binary (external) objects

2017-11-16 Thread Todd Blanchard
in the subject lines and you will find some things. -Todd Blanchard > On Nov 16, 2017, at 7:14 AM, Hans N Beck <hnb...@educational-concepts.biz> > wrote: > > Hi, > > is it possible - at least in theory - to build a VM such that Pharo could > handle binary objec

Re: [Pharo-users] FFI 64 bit libClang issue on Sierra.

2017-11-16 Thread Todd Blanchard
ug? > On Nov 14, 2017, at 4:34 PM, Ben Coman <b...@openinworld.com> wrote: > > > > On 15 November 2017 at 00:07, Todd Blanchard <tblanch...@mac.com > <mailto:tblanch...@mac.com>> wrote: > I've got it loaded, have fixed up the library path and fixed the test for >

Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread Todd Blanchard
SmalltalkAgents used to be able to point to any shared library and import all the functions. > On Oct 27, 2017, at 8:26 AM, Sean P. DeNigris wrote: > > Ben Coman wrote >> it seems to hint how to do it from Pharo UFFI. > > Slightly OT: I remember years ago, someone (Dave

Re: [Pharo-users] UFFI with asynchronous callbacks

2017-11-08 Thread Todd Blanchard
Just catching up I'm trying to work with 64 bit Pharo 6.(1? 2?). I've run into some issues that I have not been able to resolve. I've loaded up TalkFFI with the LibClang library and testLocation fails. Anything that tries to deal with getting a code location fails and I cannot figure out

Re: [Pharo-users] UFFI and Fortran

2017-11-08 Thread Todd Blanchard
I keep running into issues on 64 bit FFI. Compiling 32 bit libraries is atypical and requires a lot of fiddling of unfamiliar build systems for various libraries so I'm just going to work in 64 bit land on Mac. > On Nov 6, 2017, at 7:25 PM, horrido wrote: > > That

Re: [Pharo-users] UFFI with asynchronous callbacks

2017-11-08 Thread Todd Blanchard
> <https://github.com/estebanlm/TalkFFI>. But I don't know is it working or > not. > > 2017-11-08 10:15 GMT+01:00 Todd Blanchard <tblanch...@mac.com > <mailto:tblanch...@mac.com>>: > I know, but its closer to "done" than starting from scratch. >

Re: [Pharo-users] UFFI and Fortran

2017-11-02 Thread Todd Blanchard
Yes - the reason I've been trying to learn FFI is specifically to get TensorFlow integration. I want a better ML workbench. > On Nov 2, 2017, at 9:08 PM, Ben Coman wrote: > > > > On Fri, Nov 3, 2017 at 11:10 AM, horrido

Re: [Pharo-users] Pharo 6.1

2017-10-31 Thread Todd Blanchard
Actually, it is in Applications Sent from the road > On Oct 31, 2017, at 02:34, Esteban Lorenzano <esteba...@gmail.com> wrote: > > > >> On 30 Oct 2017, at 20:30, Todd Blanchard <tblanch...@mac.com> wrote: >> >> I was just preparing a similar p

Re: [Pharo-users] Pharo 6.1

2017-10-30 Thread Todd Blanchard
/Resources/pharo-local Definitely not the right directory to resolve pharo-local to. -Todd Blanchard > On Oct 30, 2017, at 12:27 PM, Викентий Потапов <vikenti.pota...@gmail.com> > wrote: > > > I've just downloaded Pharo 6.1 from pharo.org, unzipped it and started. And

Re: [Pharo-users] Saving a Smalltalk Project

2018-05-06 Thread Todd Blanchard
al RDBMS, cross > platform, open source, with wide support. We have two network level drivers > in Pharo (PostgresV2 and recently P3) and it works well under GLORP. > >> On 6 May 2018, at 19:10, Todd Blanchard <tblanch...@mac.com> wrote: >> >> Just out of curio

Re: [Pharo-users] Saving a Smalltalk Project

2018-05-06 Thread Todd Blanchard
It sounds great...until something goes wrong. I wouldn’t choose it for important data. I might use it as a local cache. Especially when it has a single maintainer I could go to for help. Sent from the road > On May 6, 2018, at 11:44, Stephan Eggermont <step...@stack.nl> wrote:

Re: [Pharo-users] Saving a Smalltalk Project

2018-05-06 Thread Todd Blanchard
Just out of curiosity, why do you want an OODB? SQLite has a plethora of tools, powerful query capabilities, can be migrated with very little pain, and can act a bit like an OODB using GLORP. I have lost too many data sets to proprietary OODBs to ever trust one again. > On May 6, 2018, at

Re: [Pharo-users] Personal Programming onPharo

2018-05-06 Thread Todd Blanchard
OK, I have to push back at this. When Pharo forked I was excited because Squeak was such a fast moving lab experiment that you couldn't build anything and expect it to work in a year. Pharo was supposed to be the "business ready" fork leaving Squeak to be the crazy lab experiment. From

Re: [Pharo-users] Why doesn't Iceberg checkin other assets (scripts) but does check them out?

2018-06-15 Thread Todd Blanchard
> On Jun 15, 2018, at 2:05 AM, Esteban Lorenzano wrote: > > > >> On 15 Jun 2018, at 10:29, Tim Mackinnon > > wrote: >> >> >> In many parts of the dev world - every commit should be shippable, meaning >> atomic - particularly with the use of CI systems (Travis,

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-25 Thread Todd Blanchard
I will just add that the failures I was experiencing involved storing "documents" with deep hierarchies of heterogeneous items. Something along the lines of EMR's (electronic medical records - which if you have any experience in that domain - are very complex). The failures would manifest as

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-20 Thread Todd Blanchard
FWIW, I have used it before and I don't have anything good to say about the library or the individual who wrote it. I'd look for something else. > On Jun 20, 2018, at 3:05 PM, pablo digonzelli Argentina > wrote: > > Hi try this. I do not know if working on pharo 6 or 7 > >

Re: [Pharo-users] Saving a Smalltalk Project

2018-05-02 Thread Todd Blanchard
OK, so I'm curious what hardware platforms you guys use for your "things"? Been doing things with Particle lately. Interested to try their new mesh offering. > On May 2, 2018, at 12:30 PM, Serge Stinckwich > wrote: > > If they are interested, we can get in touch.

Re: [Pharo-users] Sending notifications from Pharo to your Mobile via Pushover.net

2018-01-29 Thread Todd Blanchard
Twilio or Plivo - either is a perfectly decent SMS service. Twilio and Plivo have similar REST apis and would have similar looking calls. -Todd Blanchard > On Jan 29, 2018, at 12:34 PM, Esteban A. Maringolo <emaring...@gmail.com> > wrote: > > What is the difference between

Re: [Pharo-users] OmniBase for Pharo 6

2018-06-21 Thread Todd Blanchard
gmare...@hotmail.com>> wrote: > >> thanks for your answer Todd. I know omnibase from dolphin. Now I am >> starting a new Project and I want to use pharo. Would you recommend me >> another object database? >> Thanks. >> >> El 20 jun. 2018 19:29, Todd B

Re: [Pharo-users] [Pharo-dev] [ANN] Cruiser: A Pharo app packager

2018-03-08 Thread Todd Blanchard
That is very cool. Any intentions to do mobile? Inspired by David Buck's post on his mobile VM. https://medium.com/@richardeng/mobile-smalltalk-c6f0cc712909 > On Mar 8, 2018, at 12:00 PM, Alexandre Bergel wrote: > > I saw a demo of it two weeks ago. This is really

Re: [Pharo-users] Where do we go now ?

2018-04-15 Thread Todd Blanchard
Or just expand the names to be descriptive. CalypsoClassBrowser would be cool > On Apr 13, 2018, at 5:39 AM, Esteban Lorenzano wrote: > > > >> On 13 Apr 2018, at 14:33, Andrew Glynn > > wrote: >> >> I find NPM as

[Pharo-users] Managing Code - Creating a Library/Package from scratch?

2019-01-05 Thread Todd Blanchard via Pharo-users
--- Begin Message --- The bit I always struggle with on various Smalltalk environments is the right way to manage code. It keeps changing. Which is fine. But I've been away for a bit and I'm lost now. I want to create a new package that can be loadable and lives in a git repo. I guess

Re: [Pharo-users] Website is down

2019-01-23 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Is it a static website or does it have code behind it? Could we use S3 at AWS? > On Jan 22, 2019, at 9:37 AM, Esteban Maringolo wrote: > > El mar., 22 ene. 2019 a las 14:03, Esteban Lorenzano > () escribió: >> >> There is a problem with INRIA servers :( >> They does not

[Pharo-users] GlorpSQLite not finding sqlite library on Mac

2018-12-16 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I loaded up Glorp SQLite using Metacello new repository: 'github://pharo-rdbms/glorp-sqlite3'; baseline: 'GlorpSQLite'; load. This seems to be the only way to get SQLite support? There is no standalone UFFI library? Not that I have a problem

Re: [Pharo-users] GPS / Longitude / Latitude library

2018-12-04 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I have long wanted to do a FFI interface to GDAL. I think Pharo would make a great GIS workbench. Possibly when 64bit UFFI stabilizes. > On Dec 4, 2018, at 1:21 AM, Alistair Grant wrote: > > Hi, > > Does anyone know of a library for processing GPS coordinates? > >

Re: [Pharo-users] OpenGL resources?

2018-12-07 Thread Todd Blanchard via Pharo-users
> Esteban > > Ps: no, I have no idea about OpenGL :P > > >> On 7 Dec 2018, at 15:45, Todd Blanchard via Pharo-users >> mailto:pharo-users@lists.pharo.org>> wrote: >> >> >> From: Todd Blanchard mailto:tblanch...@mac.com>> >> Subject:

[Pharo-users] OpenGL resources?

2018-12-07 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Hi, I need to learn OpenGL for my job and was wondering if any of the OpenGL experts could comment on Pharo's OpenGL integration and its suitability for a learning environment. Are there any particular packages I should look at that are heavily OpenGL oriented that would

Re: [Pharo-users] Lambda World 2018 - What FP can learn from Smalltalk by Aditya Siram

2018-11-23 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I saw it. I learned a lot about some things I didn't know about in Pharo. I had no idea how PetitParser worked. Now I'm intrigued. It was an interesting perspective because, while he wasn't pushing Smalltalk, he was pushing for other languages to pursue better

Re: [Pharo-users] My Keynote at the Salta Conference

2018-11-20 Thread Todd Blanchard via Pharo-users
--- Begin Message --- OK, I'll bite. What does "code the competition" mean exactly? I last used Smalltalk "in anger" pre-pharo with squeak. I live ST and am looking for a way back "in" but TBH the changes from Squeak are vast and I have too many ideas to work on and keep hitting walls. I'm

Re: [Pharo-users] My Keynote at the Salta Conference

2018-11-21 Thread Todd Blanchard via Pharo-users
--- Begin Message --- OK, sorry. I missed that. Now I've read it. And it requires a customized VM that can count bytecodes executed against a budget and terminate execution if the budget is exceeded. For the developer it requires an awareness of the relationship between bytecodes and source

Re: [Pharo-users] Slots doc

2019-02-03 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Seems like an opportunity...I have no idea what the addition of slots does but I would like to learn. > On Feb 3, 2019, at 1:33 AM, ducasse wrote: > >> Hello, >> >> Where I can find documentation for slots? >> >> I am trying to access the pharo books site but it is

Re: [Pharo-users] Modeling HABTM

2019-06-10 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I've done a couple cheap and cheerful ORMs in various languages. I always punt on doing the relationships because finishing the app is more urgent than writing a whole framework. I just add an instance method that executes the appropriate SQL to fetch the related

[Pharo-users] Could not resolve ConfigurationOfJSON

2019-09-15 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Trying to check out Grafoscopio and I keep running into this error. Tried with Pharo 5 and 7. Any suggestions? --- End Message ---

Re: [Pharo-users] Glorp + P3 + SQLite

2019-11-21 Thread Todd Blanchard via Pharo-users
it with SQLite was never tested > > -- Pavel > > so 19. 10. 2019 v 10:27 odesílatel Todd Blanchard via Pharo-users > mailto:pharo-users@lists.pharo.org>> napsal: > I loaded GLORP+P3 without issue. > > Trying to load SQLite3 - it also wants to load GLORP which complains

Re: [Pharo-users] uFFI: Debugging "External module not found" Error

2019-12-03 Thread Todd Blanchard via Pharo-users
--- Begin Message --- This is the most annoying thing about UFFI - the library search seems to opaque and I don't understand how it works. So far I am finding best practice is to find the library yourself and then provide the exact file path you want. That way, you can actually prompt the

Re: [Pharo-users] [Pharo-dev] [ANN] Grouper

2019-12-09 Thread Todd Blanchard via Pharo-users
--- Begin Message --- This is cool. Rails has this kind of capability and I miss it elsewhere. > On Dec 9, 2019, at 6:08 AM, Julien Delplanque > wrote: > > Hello, > > I made a small library that reify grouping (that one does via #groupBy: > usually): Grouper

Re: [Pharo-users] how can I this refractor this so its more smalltalk

2019-12-17 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Well my main run method looks like this: run | op | ram := self input. in := ReadStream on: ram. [ (op := in next) = 99 ] whileFalse: [ self processOpcode: op ]. ^self at: 0. ram is the array of integers. in is a ReadStream on them

Re: [Pharo-users] some sort of mentor help ?

2019-12-03 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I looked at the site and I knocked out day 1. These are little programming puzzles you can do in a playground. Day 1's first puzzles is literally a 1 liner. The story telling obfuscates the problem and can make the problem seem harder than it is. You have to learn to

Re: [Pharo-users] Glorp + P3 + SQLite

2019-10-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I should probably mention that I do not really have a great handle on how package configurations work these days. Coming back to Smalltalk after a long time away. Pointer to an explanation of how package configurations work would be great. --- End Message ---

Re: [Pharo-users] Glorp + P3 + SQLite

2019-10-22 Thread Todd Blanchard via Pharo-users
. Is the package loader not smart enough to understand what is already loaded and skip load attempts? Puzzling. > On Oct 19, 2019, at 11:23 PM, Pierce Ng wrote: > > On Sat, Oct 19, 2019 at 01:26:10AM -0700, Todd Blanchard via Pharo-users > wrote: >> I loaded GLORP+P3 without issue.

Re: [Pharo-users] [Pharo-dev] [Ann] Concurrent Programming in Pharo is available

2020-02-10 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I have wanted a clean explanation of semaphores and process scheduling for a long time. Thanks for this. > On Feb 9, 2020, at 3:58 AM, Stéphane Ducasse > wrote: > > On http://books.pharo.org/booklet-ConcurrentProgramming/ >

Re: [Pharo-users] smalltalk conferences

2020-01-27 Thread Todd Blanchard via Pharo-users
--- Begin Message --- +1 SoCal checking in here. Would love that as Europe is usually beyond my reach for just a tech conf. > On Jan 27, 2020, at 5:33 PM, tbrunz wrote: > > We need to start one. Along with a North American version of ESUG. > > > > > -- > Sent from:

Re: [Pharo-users] smalltalk conferences

2020-01-27 Thread Todd Blanchard via Pharo-users
--- Begin Message --- San Diego here. > On Jan 27, 2020, at 5:37 PM, tbrunz wrote: > > I'm in Los Angeles. Plenty of places to hold conferences here! (San Diego & > San Francisco, too.) > > > > > -- > Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html > --- End

Re: [Pharo-users] About "it's not pharo but smalltalk"

2020-02-05 Thread Todd Blanchard via Pharo-users
--- Begin Message --- FWIW I am one of the mods of /r/smalltalk - happy to have material Sent from my iPhone > On Feb 5, 2020, at 13:12, horrido wrote: > > Reddit is a strange bird. I have found more resistance to Smalltalk there > than from any other source on the planet. Moreover, those

Re: [Pharo-users] sqlite garage

2020-01-30 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Hi Jeff, If you haven't switched, the current SQLite repository that we would like to consider the "official" on is at https://github.com/pharo-rdbms/Pharo-SQLite3 Garage is being put on a weight loss program. > On Jan 29,

Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- I have some work around building class hierarchies from database schema - specifically a Rails style Active Record schema. It is a bit of a work in progress and is intended to be folded into Glorp but you can see where I am at

Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-22 Thread Todd Blanchard via Pharo-users
--- Begin Message --- That would be amazing! I'm a Mac/Unix guy so I don't have access to the other platforms (I suppose I could fire up an AWS Oracle). I can do mysql/mariadb, posgresql, and sqlite. I'm pretty close to pushing my ActiveRecord extensions. I just need to get many to many with

Re: [Pharo-users] Generate class hierarchy from JSON Schema

2020-01-20 Thread Todd Blanchard via Pharo-users
--- Begin Message --- The official is https://github.com/pharo-rdbms/glorp (The one I forked at pharo-db - a username I need to change as it is causing confusion). I've been mostly working with P3 and SQLite together. I've standardized the query results format for fetching field definitions so

Re: [Pharo-users] [ANN] Phoedown - Markdown to HTML

2020-01-02 Thread Todd Blanchard via Pharo-users
--- Begin Message --- +1 > On Jan 2, 2020, at 9:24 PM, Pierce Ng wrote: > > On Thu, Jan 02, 2020 at 12:56:55PM -0600, Sean P. DeNigris wrote: >> bugs seem to be >> more severe and difficult to diagnose, so we'll see how it goes as FFI use >> becomes more and more common... > > There's a saying

Re: [Pharo-users] can I divide a string into part of exactly n length

2020-04-27 Thread Todd Blanchard via Pharo-users
--- Begin Message --- This works | s1 s2 | s1 := 'abcdefghijk'. s2 := String streamContents: [:s || in len | in := ReadStream on: s1. len := 0. [in atEnd] whileFalse: [ s nextPut: in next. len := len + 1. (in atEnd not and: [ (len \\ 3) = 0]) ifTrue: [ s space ] ] ]

Re: [Pharo-users] Siren 9.0 Released

2020-05-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- It is interesting to see that Siren uses PortAudio. I was considering to recommend adopting it for Pharo in the other sound thread. It has been used in a lot of projects, but I am a little concerned it has not been recently updated. http://www.portaudio.com > On May 14,

Re: [Pharo-users] [ANN] What are reasons NOT to use Smalltalk?

2020-06-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Same. My biggest hesitation is lack of cloud deployment support. At least for web apps. For desktop apps, I have been holding off building any UI because of the brik blok spec spec2 churn. > On Jun 19, 2020, at 10:02 AM, Richard Sargent > wrote: > > It wouldn't let

Re: [Pharo-users] [ANN] What are reasons NOT to use Smalltalk?

2020-06-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- HTML+CSS+JQuery has been stable for a long time. That's pretty much what I use (plus the odd jquery widget like date picker). Not keen on writing code I know will be obsolete next year was my primary point. > On Jun 19, 2020, at 12:14 PM, Aliaksei Syrel wrote: > >

Re: [Pharo-users] [ANN] What are reasons NOT to use Smalltalk?

2020-06-19 Thread Todd Blanchard via Pharo-users
--- Begin Message --- It isn't plug and play. For instance, I can pick PHP on an AWS elastic beanstalk menu, set up a couple shell scripts, and deploy PHP with 'eb deploy' out of my local git repo. Easy. It is possible to deploy the stuff but to build infrastructure and deployment scripts for

Re: [Pharo-users] GIS support for Pharo

2020-06-04 Thread Todd Blanchard via Pharo-users
--- Begin Message --- Hi Serge, I would love to participate in getting some GIS features into Pharo. I think it would be a fantastic platform for GIS. My personal orientation is doing marine navigation (have boat with sensors, want boat to be be smarter about navigation). My main interests

[Pharo-users] Re: Pharo-WebView

2021-12-17 Thread Todd Blanchard via Pharo-users
Seems cool but I can't figure out how to build it as a library on MacOS. > On Dec 16, 2021, at 10:02 AM, Tomaž Turk wrote: > > Dear all, > > Pharo-WebView package is now available on GitHub at > https://github.com/eftomi/Pharo-Webview > . > >

[Pharo-users] Re: Pharo9 GLORP + MySQL

2021-12-23 Thread Todd Blanchard via Pharo-users
Load the glorp target from the MySQL repository. > On Dec 22, 2021, at 1:33 PM, laszlo.szoln...@gmail.com wrote: > > Hi, I’m new to the Pharo users mailing list and to Pharo in general, too. > > My goal is to make a CRUD web application using Seaside, Magritte, GLORP and > MariaDB (MySQL-like

[Pharo-users] Re: Null Object Pattern

2022-03-15 Thread Todd Blanchard via Pharo-users
Why do you not just do something like [ “complicated code that might fail somewhere in here” ] on: Error do: [:error | nil] Use the on:do: exception handling to stay safe. Result := [anObject long chain of messages that might return a nilValue ] on: Error do: [:e |

[Pharo-users] Re: Null Object Pattern

2022-03-18 Thread Todd Blanchard via Pharo-users
> On Mar 18, 2022, at 11:39 AM, Esteban Maringolo wrote: > > You say that Smalltalk is not so hot for system developments because > it's extremely malleable? What are you measuring it against? Lots of things but to keep things simple lets go with Objective C since it is quite similar in

[Pharo-users] Re: Null Object Pattern

2022-03-18 Thread Todd Blanchard via Pharo-users
I feel like you’ve latched onto something that is genuinely a non problem and if you get your way we all suffer reduced performance and a guarantee that a nil test is universally the same thing. If you want an overridable nil test, write your own nil test like isNilish and make it mean what

[Pharo-users] Re: Null Object Pattern

2022-03-18 Thread Todd Blanchard via Pharo-users
What, exactly, is inconsistent about a key message isNil being allowed to be overridden? There is a VERY simple solution to your problem that does not involve disrupting the platform. But you'd rather change the platform. Part of the reason Smalltalk has not been the greatest platform to

[Pharo-users] Re: Wow - Chat GPT understands Smalltalk

2023-03-15 Thread Todd Blanchard via Pharo-users
ChatGPT has been trained on some outdated “freely available” books. I tried it with the first half of the first question of the Advent of Code 2022 and asked it to write Pharo Smalltalk. It produced some outdated stuff using messages that are no longer there. FWIW, isOdd was present in Pharo

[Pharo-users] Re: Porting from VW to Pharo

2023-04-11 Thread Todd Blanchard via Pharo-users
You mean we can't just ask ChatGPT to do it? /s > On Apr 11, 2023, at 8:52 AM, Steffen Märcker wrote: > > Dear Christian and Richard, > > thanks for your answers. I'll try to go through the process step by step and > come back with questions to the list if that's okay. > > First, after

[Pharo-users] Re: Troubleshooting ByteArray

2024-01-17 Thread Todd Blanchard via Pharo-users
I guess I’ll point you to the issue too. PDFStreamPrinter>printPDFDataStream: aPDFDataStream …… Line 13: (self compression) ifTrue: [ streamData := (self compressWithGZip: streamData) asByteArray ]. > On Jan 17, 2024, at 5:13 PM, Todd Blanchard via Pharo-users > wrote:

[Pharo-users] Re: Troubleshooting ByteArray

2024-01-17 Thread Todd Blanchard via Pharo-users
Try this: (PDFDocument new compression: false)add: (PDFPage new add: (PDFTextElement new text: 'Hello'; from: 10mm@10mm)); exportTo: 'test.pdf' asFileReference writeStream. Compression causes your string to be gzip’d which is a ByteArray and not a String of any kind. Unfortunately, the write

[Pharo-users] Re: Backing up data

2024-01-18 Thread Todd Blanchard via Pharo-users
You want to look at Fuel, a serialization library. Sent from my iPhone > On Jan 17, 2024, at 9:49 PM, sergio ruiz wrote: > > I have been in the relational database world for decades. One of the things > that is super simple is backing up and restoring data. > > Sometimes, it makes it makes