Re: [Pharo-users] Running test

2019-02-05 Thread Tomaž Turk
BTW, on Windows 10 the Defender is also not happy at first. Best wishes Tomaz -- Original Message -- From: "Hilaire" To: pharo-users@lists.pharo.org Sent: 5. 02. 2019 18:50:07 Subject: Re: [Pharo-users] Running test Thanks John and Andrei. And if you drag the app in the application f

Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version

2019-02-10 Thread Tomaž Turk
It's happening to me, too, on Pharo 7.0 32-bit on Windows. The versions in respective deployment libraries are: JQDeploymentLibrary>>jQueryJs jQuery v3.3.1 JQUiDeploymentLibrary>>jQueryUiJs jQuery UI - v1.12.1 - 2016-09-14 TBSDeploymentLibrary>>jsbootstrapminJsContent Bootstrap v3.3.6 Strangely

Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version

2019-02-11 Thread Tomaž Turk
I found a possible solution. The Bootstrap v3.3.6 had a compatibility issue with jQuery 3.0 (please see this issue ). I tested a possible workaround with copy & pasting the bootstrap.js code into TBSDevelopmentLibrary>>jsbootstrapJsContent. This

Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version

2019-02-11 Thread Tomaž Turk
I'm sorry, I should be more clear - I copy&pasted the Bootstrap 3.3.7 code from here , since 3.3.7 solved the issue I mentioned. The result is that mouse clicks behave as they should, and there is no error on browser's console anymor

Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version

2019-02-13 Thread Tomaž Turk
This is now solved (https://github.com/astares/Seaside-Bootstrap/issues/9). Best wishes, Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 12.2.2019 20:10:15 Subject: Re: [Pha

Re: [Pharo-users] Running Pharo under Ubuntu (Windows Subsystem for Linux)

2019-02-28 Thread Tomaž Turk
Excellent, thank you for putting together the how-to. Tomaz -- Original Message -- From: "Christopher Fuhrman" To: pharo-users@lists.pharo.org Sent: 28.2.2019 9:54:46 Subject: [Pharo-users] Running Pharo under Ubuntu (Windows Subsystem for Linux) Thanks to Cyril who told me it was po

[Pharo-users] UDBC ODBC

2019-03-20 Thread Tomaž Turk
Hi everybody, I loaded the package https://github.com/astares/Pharo-UDBC and am looking for some guidelines how to use it to access ODBC data sources, if this functionality is already available. Can it be used together with Glorp? I searched for the info on all the sites and Pharo books that I

Re: [Pharo-users] R: UDBC ODBC

2019-03-21 Thread Tomaž Turk
Thanks, Lorenzo - to which ODBC version are you referring? There are quite a lot of packages available, with something or other ending in an error message while loading into Pharo 7.0.2. Best wishes, Tomaz -- Original Message -- From: "Lorenzo Schiavina" To: "Tom

[Pharo-users] Fw: Re: R: R: UDBC ODBC

2019-03-22 Thread Tomaž Turk
nce in the Pharo community of how to proceed toward a stronger support for database connectivity - specifically, whether to put our efforts into Torsten's UDBC ODBC or Diego's ODBC ... Best wishes, Tomaz -- Original Message -- From: "Lorenzo Schiavina" To: "Tomaž

Re: [Pharo-users] Fw: Re: R: R: UDBC ODBC

2019-03-22 Thread Tomaž Turk
Hi Pierce, Glorp has a notion of database platforms, and currently there are MySQLODBCPlatform, OracleODBCPlatform and SQLServerODBCPlatform. (I've not used any of them so no comment on whether they are even functional in Pharo 7 and whatever combination of OS/database product/versions.) Pragmat

[Pharo-users] FFI to UFFI

2019-03-23 Thread Tomaž Turk
I started to play with ODBC package upgrade from Pharo 4.0 to 7.0 (http://smalltalkhub.com/mc/PharoExtras/ODBC), more or less as an exercise. As a smalltalk novice I stubmled to the challenge of, as it seems, an old FFI syntax. When I try to load the package into Pharo 7.02 on Windows, I get th

[Pharo-users] FFI to UFFI

2019-03-24 Thread Tomaž Turk
Pierce, Esteban, many thanks for your most valuable directions. Live and learn :-) Tomaz -- Original Message -- From: "Esteban Lorenzano" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 24.3.2019 8:10:32 Subject: Re: [Pharo-

Re: [Pharo-users] NewWave - WorkflowEngine

2019-04-17 Thread Tomaž Turk
This is excellent, thanks! For busness applications, getting the tools for process-driven development is essential. Some emails ago there was an announcement on Netstyle's engine available here https://github.com/Netstyle/Workflow. Best wishes, Tomaz -- Original Message -- From: "Seba

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

2019-05-15 Thread Tomaž Turk
In javascript I believe is var f = function(x) { return Math.cos(x) + x; } var df = function(x) { return f(x + 1e-8) - f(x) * 1e8; } Best wishes, Tomaz -- Original Message -- From: "Atharva Khare" To: "Any question about pharo is welcome" Sent: 15.5.2019 15:26:11 Subject: Re: [Pharo-u

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

2019-05-15 Thread Tomaž Turk
Here's a nice description about JS: https://www.vinta.com.br/blog/2015/javascript-lambda-and-arrow-functions/ Best wishes, Tomaz -- Original Message -- From: "Hilaire" To: pharo-users@lists.pharo.org Sent: 15.5.2019 18:54:58 Subject: Re: [Pharo-users] Bloc of code in tiers programming

[Pharo-users] ODBCDriver

2019-06-02 Thread Tomaž Turk
I just found this marvel: https://github.com/apiorno/ODBCDriver. But when I try to | con | con := ODBCConnection dsn:'myDSN' user:'usr' password:'pwd'. it responds with an error "Instance of ODBCLibrary class did not understand #sqlAllocEnv": running on Win 10 and Pharo 7.0.3. I'd apprecia

Re: [Pharo-users] ODBCDriver

2019-06-03 Thread Tomaž Turk
I see - thanks! Best wishes, Tomaz -- Original Message -- From: "Julián Maestri" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 3.6.2019 16:03:25 Subject: Re: [Pharo-users] ODBCDriver As far as I know, he just started porting it to Pha

[Pharo-users] Autocompletion

2019-06-14 Thread Tomaž Turk
I managed to find some time to progress with my Smalltalk / Pharo learning and am going through the Spec booklet. I noticed that autocompletion most of the times works excellent, sometimes it struggles. For instance, if you prepare CustomerSatisfaction >> initializeWidgets buttonBad := se

[Pharo-users] uFFI ExternalAddress challenges

2019-09-10 Thread Tomaž Turk
Dear all, I'm struggling with passing an ExternalAddress to a c function call with uFFI. Firstly, I get the ExternalAddress from this method: myFFI>>create: aString ^ self ffiCall: #(void * CreateObject (String aString) ) [in c: void* CreateObject(char* szProgId)] The method that

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-11 Thread Tomaž Turk
s - but it works as expected. Thanks again and best wishes, Tomaz -- Original Message -- From: "Guillermo Polito" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 11. 09. 2019 10:29:34 Subject: Re: [Pharo-users] uFFI ExternalAddress chal

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-11 Thread Tomaž Turk
> Well, the pointer survives, the area of memory pointed by that pointer will be recycled with subsequent calls in general. I'll pay special attention to that, but it's probably a matter of properly creating and releasing COM objects. I have another question - in FFI call, how would one sen

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-11 Thread Tomaž Turk
Excellent, thanks!

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-12 Thread Tomaž Turk
> We are interested in it :) > If I recall well Pablo got one version somewhere. Me too :-) Unfortunately, I only have time for 'weekend' projects, and any help is appreciated :-) Regarding the uFFI calls, is it possible to pass Win32WideString in a similar fashion as a String - or where to

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-12 Thread Tomaž Turk
> Maybe you should have a look at: https://github.com/tesonep/pharo-com Thanks for the link, I'll check it out - that's probably the work Steph has mentioned. Best wishes, Tomaz

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-13 Thread Tomaž Turk
nippets it looks like you want to do COM Automation on Windows. Maybe you should have a look at: https://github.com/tesonep/pharo-com Bye T. Gesendet: Donnerstag, 12. September 2019 um 11:08 Uhr Von: "Tomaž Turk" An: "Any question about pharo is welcome" Betreff: Re: [Pharo-us

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-17 Thread Tomaž Turk
OK, great, I'll try it out. Thanks, Tomaz -- Original Message -- From: "Guillermo Polito" To: "Tomaž Turk" Sent: 17.9.2019 11:56:21 Subject: Re: [Pharo-users] uFFI ExternalAddress challenges I don’t know if there is support for that (I don’t have the time t

Re: [Pharo-users] uFFI ExternalAddress challenges

2019-09-17 Thread Tomaž Turk
Hi, > I don’t know if there is support for that (I don’t have the time to check it in detail now). > But, as a workaround, you may try > > - return a void* > > myFunction >^self ffiCall: #(void* myFunction ( void ) ) > > - and then do the transformation yourself using Win32WideStrin

Re: [Pharo-users] Code of Conduct

2019-09-18 Thread Tomaž Turk
> One doesn't need a Code of Conduct. It is ridiculous. > > Civilized and respectful non discriminating behaviour should > be implicit in everyone of us! > > If one insists in having a code of conduct than this should cover it all: > "Be Nice, Social And Respectful To Each Living Being." +100

Re: [Pharo-users] pharo for ios and android

2019-09-21 Thread Tomaž Turk
I've found U8 for the android: http://alereimondo.no-ip.org/U8/313 . Best wishes Tomaž On Sat, 21 Sep 2019, 13:32 Stephan Eggermont, wrote: > Steve Quezadas wrote: > > I am going to the portland meetup this october and I noticed that one of > > the items listed is "Smalltalk on iOS and Android

Re: [Pharo-users] FFIExternalType hooks; naming convention

2019-09-21 Thread Tomaž Turk
Hi, > Yes, but in general you do not need to implement your type, you can derive what you need from the ones existing. > Why you need to do it? I'm just curious, I'm sorry :-) Depending on the platform, there is a huge number of various types - just on Windows there are wchar_t, char16_t and

Re: [Pharo-users] FFI beginner question

2019-09-22 Thread Tomaž Turk
Hi, The book draft is here: https://files.pharo.org/books-pdfs/booklet-uFFI/UFFIDRAFT.pdf. Best wishes, Tomaz Any plans to draft a Pharo booklet on this subject? -Ted

Re: [Pharo-users] [ANN] ReStore for Pharo - object<>relational database framework

2019-12-08 Thread Tomaž Turk
Hi, ReStore looks quite sleek, thank you for your nice contribution! I wonder if we could "hook it up" with PharoADO. When I find some time, I can look into the approach you took in SSW ReStore P3 and SSW ReStore UDBC SQLite. For Glorp, you basically just need to send an SQL query that Glorp

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

2020-01-22 Thread Tomaž Turk
Thanks, Todd - I'll prepare a PR for https://github.com/pharo-rdbms/glorp to update SQLServerPlatform and OraclePlatform. I already used the standardized query results format in PharoADO which works nicely with Glorp. You can find PharoADO here: https://github.com/eftomi/pharo-ado. Maybe it c

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

2020-01-24 Thread Tomaž Turk
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 link tables done

Re: [Pharo-users] Willow documentation

2020-01-24 Thread Tomaž Turk
Dear Maximiliano, thanks for checking, I'll try once again, step by step. Best wishes, Tomaz -- Original Message -- From: "Maximiliano Tabacman" To: "Any question about pharo is welcome" ; "Tomaž Turk" Sent: 24.1.2020 13:53:42 Subject: Re: [Pha

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

2020-03-11 Thread Tomaž Turk
process the query result. In this way you can avoid the loop in ADOClient>>query: method. Best wishes, Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 11. 03. 2020 18:25:51

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

2020-03-11 Thread Tomaž Turk
ven't managed yet to re-check if all the COM instances are properly released after usage. Best wishes Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" Cc: "Any question about pharo is welcome" Sent: 11. 03. 2020 20:35:10 Subject:

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-06 Thread Tomaž Turk
Hello Peter, If you look at the code in the Word test you will notice that the test firstly - creates a new Word instance, - makes it visible to the end user, - then adds an empty document to the documents collection with the text "Hello from Pharo!" - then it tests whether it can receive the

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread Tomaž Turk
Kenny From: Pharo-users On Behalf Of Tomaž Turk Sent: 06 April 2020 08:04 To: Any question about pharo is welcome Subject: Re: [Pharo-users] Automation of MS Office from Pharo Hello Peter, If you look at the code in the Word test you will notice that the test firstly - creates a

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread Tomaž Turk
Thanks, Peter. I checked out the Outlook COM interface, noticed that the MailItem.HTMLBody property returns a string, which is implemented as BSTR in COM (more on this here: https://bytecomb.com/vba-internals-string-variables-and-pointers-in-depth/). I tested the maximum lengths of strings wit

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-07 Thread Tomaž Turk
Thanks, Stephane, for the acknowledgement. Peter, as I understand, the limits in COM BSTR data type are defined by the header's length prefix (which is 4 bytes) and software implementatios - for instance, string data type in Visual Basic for Applications is described as "a variable-length strin

Re: [Pharo-users] Automation of MS Office from Pharo

2020-04-08 Thread Tomaž Turk
Thanks Pablo for your quick response! I tested 32 and 64 bit images with >1.000.000 strings and it works just fine. Best wishes, Tomaz -- Original Message -- From: "teso...@gmail.com" To: "Any question about pharo is welcome" Cc: "Tomaž Turk" S

[Pharo-users] Thinking aloud about project at hand

2020-04-09 Thread Tomaž Turk
Dear all, I'm thinking about implementing a software solution in Pharo (as one of the candidate environments), it's a project that I'm dealing with professionally. The goal is to develop a financial planning/simulation application on the country level, which is at present developed as a set o

Re: [Pharo-users] Thinking aloud about project at hand

2020-04-11 Thread Tomaž Turk
Many thanks guys, you all gave me quite interesting suggestions. I'll explore most of them regarding the stability and "compactness" of the final solution as regards the deployment. I have one really silly question - when you create an app (with Spec2), how can you made it start automatically

Re: [Pharo-users] Thinking aloud about project at hand

2020-04-14 Thread Tomaž Turk
> Take a look at the DrGeo example app, it shows how to do that (link bellow). > you hook in a startUpList: and shutDownList: of your main class. Great, I'll check it out. > You can start with a simple Pharo image (look at the blog of Leon Ramon on activeRecord in Pharo). > So my suggestion

Re: [Pharo-users] Thinking aloud about project at hand

2020-04-14 Thread Tomaž Turk
> If you need to hook startup/shutdown actions, you can read this documentation: > https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/SessionsManagement.md Thanks! - How could I miss this document ... Best wishes, Tomaz

Re: [Pharo-users] Thinking aloud about project at hand

2020-04-14 Thread Tomaž Turk
> Pay attention that Fuel can serialize a lot :) (including classes and more than you may not want) and it is binary. > So to start easy I usually use STON because I can see what I saved. OK - I counted on graph customization, but you are right. I'll see what's best. Best wishes, Tomaz

Re: [Pharo-users] issues in setting up a new project on Github/Iceberg

2020-04-17 Thread Tomaž Turk
I have the same experience. Best wishes Tomaž

Re: [Pharo-users] [ANN] Pharo Launcher 2.0 released!

2020-04-19 Thread Tomaž Turk
Congratulations on the new launcher! The experience is far better than with the previous version, nice work! I noticed something peculiar - I have two computers and am syncing the folders structure between them. If I create a new Pharo 8.0 image, work on it on this machine and finish, then it

Re: [Pharo-users] [ANN] Pharo Launcher 2.0 released!

2020-04-20 Thread Tomaž Turk
Hi Christophe, > If it worked with previous version, there is no reason it should not work with the current Pharo Launcher version. I think I found the reason - new meta-inf.ston files include absolute paths to image and VM, and those are different on my machines. I'm putting them on the sam

Re: [Pharo-users] [ANN] Pharo Launcher 2.0 released!

2020-04-20 Thread Tomaž Turk
> I think I found the reason - new meta-inf.ston files include absolute paths to image and VM, and those are different on my machines. I'm putting them on the same path. Unfortunately, having images on the same path doesn't help. It helps if you delete meta-inf file after copying. I opened the

[Pharo-users] Spec2 SpStringTableColumn

2020-05-02 Thread Tomaž Turk
Dear all, I'm exploring the new Spec2, looking for possibilities to create an 'editable grid'. Tables are very close to this concept, and I wonder what exactly is SpStringTableColumn>>#beEditable supposed to do - I cannot find any references to variable 'editable', so it looks like it's not i

[Pharo-users] Spec2 Pharo8/9; icons

2020-05-17 Thread Tomaž Turk
Dear all, What would be the best Pharo version to start building a Spec2 GUI for an app - Pharo 9 which is under development but with novelties in Spec2, or Pharo 8? What's the best (easiest ...) way to import new icons into Smalltalk ui icons? Is there any special bitmap format to be consid

[Pharo-users] Willow affordance setValueTo etc

2020-05-17 Thread Tomaž Turk
Dear all, I'm playing with Willow and found it very useful for setting the web design, however, I have some challenges with understanding the interaction affordances. They are nicely described in the documentation - although somewhat cryptic. For instance, I cannot successfully set up the #se

Re: [Pharo-users] Willow affordance setValueTo etc

2020-05-17 Thread Tomaž Turk
aText identifyIn: html; changeContentsTo: 'Some text'. Great, it works, thanks. Best wishes, Tomaz

Re: [Pharo-users] Spec2 Pharo8/9; icons

2020-05-20 Thread Tomaž Turk
Thanks, Stephane, I'll switch to P9. > png is better and there is a library to manage icons > I do not have the name but you can load icons. > But look around. For icons I found the necessary code in ThemeIcons>>loadIconsFromUrl. Here's a simplistic approach to load icons from PNGs in a local Z

Re: [Pharo-users] Spec2 Pharo8/9; icons

2020-05-27 Thread Tomaž Turk
I'm sorry, the raw tag at forum.world.st ate the code :-) | newIcons | newIcons := IdentityDictionary new. ((FileSystem zip: 'C:\icons\a.zip' asFileReference) open workingDirectory allChildrenMatching: '*.png') do: [ :each | newIcons at: each base asSymbol put

Re: [Pharo-users] Spec2 Pharo8/9; icons

2020-05-28 Thread Tomaž Turk
> In recent spec2 (head) we added support so that an application can have an iconProvider so it means that you can > using the ThemeIcons load and manage a set of icons for your application. This is great, thanks! Best wishes Tomaz

Re: [Pharo-users] Class hierarchy diagram

2020-05-31 Thread Tomaž Turk
With Roassal3 you get a diagram in the browser like this, on the tab "UML-Class" and "UML-Package". Best wishes, Tomaz

[Pharo-users] Willow selections

2020-06-08 Thread Tomaž Turk
Hi, when using selection components in Willow (like single and multiple selection lists), should #currentSelection and #currentSelectionIfNone: be called only within their own affordances? If I use these messages from onTrigger evaluate: of other components (e. g. buttons), then I don't get a

Re: [Pharo-users] Willow selections

2020-06-08 Thread Tomaž Turk
Dear Gabriel, thanks for the answer, it helps tremendously. Best wishes, Tomaž

[Pharo-users] Willow-Seaside serving static files

2020-06-14 Thread Tomaž Turk
Hi, I added an image to a subclass of WAFileLibrary to serve it as a static file from within Pharo. Everything seems fine, except that the /files URL is not accessible: Error: you are forbidden to access "/files". and source view displays /files/EMStaticFiles/window.png not found if I click

Re: [Pharo-users] Willow-Seaside serving static files

2020-06-17 Thread Tomaž Turk
x27;m looking into WAFileHandler class however cannot find a way to enable serving of static files. Best wishes, Tomaz -- Original Message -- From: "Esteban Maringolo" To: "Tomaž Turk" ; "Any question about pharo is welcome" Sent: 14.6.2020 15:33:23 Subjec

Re: [Pharo-users] Willow-Seaside serving static files

2020-06-17 Thread Tomaž Turk
Uh, I had to unregister and then register my Willow application again - now the file is accessible. Best wishes, Tomaz

Re: [Pharo-users] Want to run C code in Pharo using UFFI

2020-06-17 Thread Tomaž Turk
Hi, as far as I know UFFI can call DLLs, that means that your code should be compiled and linked into a DLL. So maybe the line to pursue is to look for a C interpreter (like in https://stackoverflow.com/questions/584714/is-there-an-interpreter-for-c) and call it via UFFI. Best wishes, Tomaz

Re: [Pharo-users] Want to run C code in Pharo using UFFI

2020-06-18 Thread Tomaž Turk
OK - maybe I misunderstood your original question - the purpose of UFFI is to call functions in DLLs outside Pharo, so yes, if you would like to call that kind of function, you have to build a DLL. The usage of UFFI is well described in its booklet: https://books.pharo.org/booklet-uffi/. Best

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

2020-06-29 Thread Tomaž Turk
Dear all, This thread is a bit old, but anyways: here are my two cents on the question 'What are reasons not to use Smalltalk'. Thanks, Horrido, to constantly promote these kind of discussions. I think that your polls are mixing very different reasons - for instance, we choose development to

Re: [Pharo-users] Agile Artificial Intelligence

2020-07-02 Thread Tomaž Turk
Thanks, Stef, the book is excellent! Best wishes, Tomaz

Re: [Pharo-users] Agile Artificial Intelligence

2020-07-03 Thread Tomaž Turk
https://www.amazon.de/Agile-Artificial-Intelligence-Pharo-Neuroevolution/dp/1484253833/ref=sr_1_2?dchild=1&keywords=artificial+intelligence+pharo&qid=1593807040&sr=8-2 Best wishes Tomaz

[Pharo-users] Pharo 9 Unicode

2020-07-07 Thread Tomaž Turk
Dear all, I noticed that in various Pharo 9.0 builds that I have Unicode characters above 255 are not displayed correctly if displayed by Print It, inspector or otherwise processed by code. They are displayed correctly if typed directly into editor, e.g. Playground. This is a result from Prin

[Pharo-users] Re: Willow-Playground

2020-11-25 Thread Tomaž Turk
I just tried to load Willow-Playground in the same way with Pharo 8.0 64-bit fresh image on Windows 10 and it works flawlessly. Seaside package has long filenames and directory names, on Windows this can be a problem if Pharo images are located deep in the hierarchy - but the error message in

[Pharo-users] Re: Problem installing Seaside on Windows

2021-04-02 Thread Tomaž Turk
According to my experiences this happens if Pharo images are located deeply in the directory path. It helps if you move the image in question to some higher level. In any case, C:\Pharo should work no matter what. Seaside has lots of dependencies which are then located under its repository. Tomaz

[Pharo-users] Re: Problem with Pharo 9 - repositories missing

2021-04-12 Thread Tomaž Turk
Hi, I use Pharo 8 & 9, 32 & 64 on Windows 10 without any problems, except when packages use complex directory structure (path length challenge) that was already mentioned in Seaside thread and elsewhere. Repositories Pharo, Pharo-spec2 etc. are not needed for usual tasks, except if you would l

[Pharo-users] uFFI ffiCall return value

2021-05-10 Thread Tomaž Turk
Dear all, Should the method that calls Object>>#ffiCall: and variants always return the result of this call? For instance, in uFFI book, there is a method abs: defined as FFITutorial class >> abs: n [ ^ self ffiCall: #( int abs (int n) ) ] on page 16, however FFITutorial >> abs: n [

[Pharo-users] Re: uFFI ffiCall return value

2021-05-10 Thread Tomaž Turk
Thanks! Tomaz

[Pharo-users] Re: Looking for more non-trivial example application based on Spec2 to learn from...

2021-05-11 Thread Tomaž Turk
+1

[Pharo-users] ODBCDriver adapted to uFFI

2021-05-13 Thread Tomaž Turk
Dear all, I solved a couple of issues in https://github.com/apiorno/ODBCDriver. Until Alvaro finds the time to check the proposed PR, you can play with my clone: https://github.com/eftomi/ODBCDriver. A simple example of connecting to the data source is in ODBC-Tests. It connects and returns d

[Pharo-users] Re: [ANN] Pharo-ODBC

2021-06-14 Thread Tomaž Turk
Great, thank you! Best wishes, Tomaz

[Pharo-users] Re: Autocomplete typing

2021-11-16 Thread Tomaž Turk
Hi Guille, I have the same Pharo build, 64-bit on 64-bit Windows 10: I tried it on three different computers with Win10 with the same image. If I get a new image, it behaves the same. Thanks and best wishes, Tomaz -- Original Message -- From: "Guillermo Polito" To: "Any question

[Pharo-users] Re: uFFI provide buffer to C

2021-11-28 Thread Tomaž Turk
Hi, try with this: FFITutorial>>getHostNameInto: hostName ofLenght: length ^self ffiCall: #( int gethostname(char *hostName, int length) ) library: 'Ws2_32.dll'. "... on Windows" From Playground, you can then do: | name len | len := 50. name:= ByteArray new: len. FFITutorial new getHos

[Pharo-users] Re: InstanceVariables

2021-12-06 Thread Tomaž Turk
Hi, Instance variables are nicely explained in Pharo by Example in chapter 6.4 pp 89 http://books.pharo.org/. Best wishes, Tomaz

[Pharo-users] Pharo-WebView

2021-12-16 Thread Tomaž Turk
Dear all, Pharo-WebView package is now available on GitHub at https://github.com/eftomi/Pharo-Webview. Pharo-WebView is a package which implements a binding to webview dll library available at https://github.com/webview/webview in Pharo. Webview allows you to show HTML user interfaces in a n

[Pharo-users] Re: Pharo-WebView

2021-12-17 Thread Tomaž Turk
urn values. Is this possible? Best wishes, Tomaz -- Original Message -- From: "Guillermo Polito" To: "Any question about pharo is welcome" Cc: "Tomaž Turk" Sent: 17. 12. 2021 14:29:37 Subject: Re: [Pharo-users] Re: Pharo-WebView This is amazing I

[Pharo-users] Re: Pharo-WebView

2021-12-20 Thread Tomaž Turk
Done :-)

[Pharo-users] Re: Pharo-WebView

2021-12-28 Thread Tomaž Turk
Short report on webview porting: - on Windows (Edge, Edge/Chrome) it works single threaded, it is more or less done, needs some rigorous stability testing, - on Linux/Ubuntu (gtk3, webkit2gtk) almost done, it works as a separate TFWorker thread, still needs some process status checking if webvie

[Pharo-users] Re: Pharo-WebView

2022-01-05 Thread Tomaž Turk
Dear all, Pharo-Webview works on Windows 10 64-bit and Linux 64-bit (tested on Ubuntu 20.04). The needed webview.so dynamic library is available within the repository at https://github.com/eftomi/Pharo-Webview. On Linux use headless VM. There's also a webview.dylib for MacOS if someone wants

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

2023-01-15 Thread Tomaž Turk
Hi Mayuresh, I think that the choice of what programming language one needs to learn or use depends today from the goals that you have - and these goals are not only tied to specifiic business projects that you (might) pursue but also career and self-enrichment missions. Years ago we had progr

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

2023-03-15 Thread Tomaž Turk
I hope that I can add two cents to this discussion. Because programming should be/is a highly exact activity, not only the syntax matters but also semantics, as we know. GPTs are at present essentially capable of creating texts based on some seed - you give to GPT a beginning of a sentence and