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

2020-06-17 Thread shawon58
hello that means i need to create a ddl file and copy that file to pharo folder than try to run the command directly using UFFI like system("D:/DEV_FreeCAD/build/bin/box.step") is it what u are trying to say @TOMAZ Thanks by Shawon -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f13

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

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

2020-06-17 Thread shawon58
Hello There i am new to Pharo, so as i learn UFFI can handle c code, but i want to know that, how to run below attached code using UFFI. #include #include int main( void ) { int result ; result=system("D:/DEV_FreeCAD/build/bin/box.step"); printf("%d",result); return 0; } So if anyone h

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

2020-06-17 Thread Pierce Ng
On Wed, Jun 17, 2020 at 10:34:09AM +0200, Norbert Hartl wrote: > we are very proud to announce the availability of PharoPro, a company > that offers professional support for the pharo platform. Our mission > is to enable people and companies to secure their business when > building products with ph

Re: [Pharo-users] a simple question (I think)

2020-06-17 Thread Richard O'Keefe
I have a strong dislike for incompletely initialised objects. So I would do it like this: myInstVar := TheDependentClass newFor: self. (together with any other essential information as parameters). In my Smalltalk system it would look like this: Whatever subclass: #TheDependentClass ins

Re: [Pharo-users] DateTime now nanos

2020-06-17 Thread Pierce Ng
On Wed, Jun 17, 2020 at 02:24:20AM -0500, Jeff Gray wrote: > I may be misunderstanding, but is the example in the link declaring a sqlite > column of type datetime? I didn't think you could do that. SQLite's typing is different from most other SQL engines. See https://sqlite3.org/datatype3.html. A

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

2020-06-17 Thread Jerry Kott
Norbert, let me join everyone in congratulating on this fantastic news, and wish your new company all success. Jerry Kott, OSCP Principal, Imageware Corporation Security with Integrity. By Choice. By Design. This message has been digitally signed. PGP Fingerprint: A91

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

2020-06-17 Thread Hernán Morales Durand
Hi Norbert, This is really good news for the community. I wish you all the best for this initiative! Cheers, Hernán El mié., 17 jun. 2020 a las 5:35, Norbert Hartl () escribió: > Dear community, > > we are very proud to announce the availability of PharoPro, a company that > offers professiona

Re: [Pharo-users] a simple question (I think)

2020-06-17 Thread Esteban Maringolo
Objects interact with each other by sending messages, although you can get the sender by using reflection (thisContext sender), it is not a common practice to do so. So if you need another object to know the sender (or any other object) you simply pass it as a parameter. So modifying your example,

[Pharo-users] a simple question (I think)

2020-06-17 Thread Russ Whaley
I find myself, over and over, creating a & storing q new object in an instVar, then storing (my)self on that object - so I can have easy access to the 'object that created me.' self instVar := NewClass new. self instVar callingObject: self. "where these call the same messages" self myMessage.

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

2020-06-17 Thread Esteban Maringolo
Hi Norbert, Congratulations for the initiative! I look forward to your success. Best regards! Esteban A. Maringolo On Wed, Jun 17, 2020 at 5:35 AM Norbert Hartl wrote: > > Dear community, > > we are very proud to announce the availability of PharoPro, a company that > offers professional sup

Re: [Pharo-users] [Esug-list] [ANN] PharoPro

2020-06-17 Thread Stéphane Ducasse
Dear community Just a little email, we (the consortium head and engineering crew) are super happy to see PharoPro coming to live. (We planned to do it since years but we are simply too busy). We fully support PharoPro and we are working hand in hand to deliver a great experience to your softw

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] [ANN] PharoPro

2020-06-17 Thread Hilaire
Le 17/06/2020 à 10:34, Norbert Hartl a écrit : we are very proud to announce the availability of PharoPro, a company that offers professional support for the pharo platform. Our mission is to enable people and companies to secure their business when building products with pharo. Congratulatio

Re: [Pharo-users] [ANN] PharoPro

2020-06-17 Thread Norbert Hartl
> Am 17.06.2020 um 11:25 schrieb jtuc...@objektfabrik.de: > > Norbert, > > > this is a great initiaitive and a much-needed step in the right direction. An > LTS Pharo is really a must for many commercial projects. > I wish you best of luck and success! > Thank you very much! > A little si

Re: [Pharo-users] Git repository add - commit files from Pharo

2020-06-17 Thread Noury Bouraqadi
Ciao Dario, I need the same thing for PharoJS, but I don't have a solution. Note : In PharoJS we have the HTML files that live in the same repo as Pharo code. But, we put them in different folders. It seems that Iceberg deletes non-pharo files upon commits or pulls. Noury > On 17 Jun 2020, a

[Pharo-users] Git repository add - commit files from Pharo

2020-06-17 Thread Dario Romano Trussardi
Ciao, it happens that i create files directly from Pharo in a git repository configure with Iceberg. Now it would be interesting to automate the registration of these files, for the next commit directly from Pharo. Tips ? Thanks,

Re: [Pharo-users] [ANN] PharoPro

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

Re: [Pharo-users] TypingVisitor window opens while editing a source

2020-06-17 Thread Marcus Denker
Hello, I can not reproduce. In Pharo8 (latest, not stable) the back-port added exactly that method on Undefined. Maybe a workaround is to add yourself to UndefinedObject: commonSuperclassWith: aClass ^ self > On 17 Jun 2020, at 09:41, Richard Van de Moosdijk/G > wrote: > > Hi, >

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

2020-06-17 Thread Tomaž Turk
Thanks, Esteban. I checked the url of the image (http://localhost:8080/files/EMStaticFiles/window.png) and it is proper, however it is not accessible (I get /files/EMStaticFiles/window.png not found), so I believe that besides forbidden listings the access to files is also forbidden. I'm lookin

Re: [Pharo-users] [ANN] PharoPro

2020-06-17 Thread Sven Van Caekenberghe
Hi Norbert, I would say 'finally'. This is great news and a good initiative. This will certainly help move Pharo forward. I wish you all the best. Sven > On 17 Jun 2020, at 10:34, Norbert Hartl wrote: > > Dear community, > > we are very proud to announce the availability of PharoPro, a compa

Re: [Pharo-users] TypingVisitor window opens while editing a source

2020-06-17 Thread Marcus Denker
Ups, I will check, I did a back-port that was related to this. > On 17 Jun 2020, at 09:41, Richard Van de Moosdijk/G > wrote: > > Hi, > > Since a few days Pharo opens a « TypingVisitor » window each time i try to > edit a method (every one or two characters). It looks like a debug breakpoint:

Re: [Pharo-users] TypingVisitor window opens while editing a source

2020-06-17 Thread hogoww
Hi Richard, Could you open an Issue on the github repository please? I was unable to reproduce it (quickly) with a fresh 64 pharo 8 or 9. Maybe I had the wrong process. Regardless, I think this is related with the code completion tool, so i'll take a look if you can indicate a reproducible case

[Pharo-users] [ANN] PharoPro

2020-06-17 Thread Norbert Hartl
Dear community, we are very proud to announce the availability of PharoPro, a company that offers professional support for the pharo platform. Our mission is to enable people and companies to secure their business when building products with pharo. We have been tinkering with the idea creating

Re: [Pharo-users] DateTime now nanos

2020-06-17 Thread Jeff Gray
I may be misunderstanding, but is the example in the link declaring a sqlite column of type datetime? I didn't think you could do that. I just created a person table with four text columns and wrote this in my playground: |conn sql bindings| conn := SQLite3Connection on: 'C:\Users\JeffGray\test.d

[Pharo-users] Fwd: [Pharo-dev] Fwd: Help Needed! Survey on developer knowledge of Breakpoints/Watchpoints

2020-06-17 Thread Steven Costiou
Hello, I did not see this email go through the Pharo users mailing list, so just in case: Courriel original OBJET: [Pharo-dev] Fwd: Help Needed! Survey on developer knowledge of Breakpoints/Watchpoints DATE: 20