Hi all,
we'd like to announce our "DicThesaurusRex" project:
This dictionary and thesaurus extension allows Smalltalk developers to benefit from spelling
correction and synonym search within source code. It optionally extends code editors with a
spelling correction that underlines unknown terms and typos. These annotations can either
be corrected with suitable suggestions or always ignored in case of well-known abbreviations.
Moreover, the thesaurus integration provides helpful advice during searching and programming.
For example, the source code search has been extended to look also for similar terms and
synonyms. As a result, the search presents developers not only exact but also semantic matches.
For more information, please visit the following project page:
https://www.hpi.uni-potsdam.de/hirschfeld/trac/SqueakCommunityProjects/wiki…
DicThesaurusRex has been developed as part of our software engineering I course at the
Hasso-Plattner-Institute, University of Potsdam (summer term 2013).
We'd like to thank the following students:
* Daniel Neuschäfer-Rube
* Suhanyaa Nitkunanantharajah
* Jaqueline Pollak
* Jakob Reschke
Best regards,
Michael
---
Michael Perscheid
michaelperscheid(a)googlemail.com
http://www.michaelperscheid.de/
Hi
Is there any example of MODBUS implementation in pharo seaside ?
Regards
Marcos
2013/9/13, beginners-request(a)lists.squeakfoundation.org
<beginners-request(a)lists.squeakfoundation.org>:
> Send Beginners mailing list submissions to
> beginners(a)lists.squeakfoundation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> or, via email, send a message with subject or body 'help' to
> beginners-request(a)lists.squeakfoundation.org
>
> You can reach the person managing the list at
> beginners-owner(a)lists.squeakfoundation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beginners digest..."
>
>
> Today's Topics:
>
> 1. Re: Beginners Digest, Vol 89, Issue 2 (Marcos Cevallos)
> 2. properly setting the subject line - was: [Newbies] Re:
> Beginners Digest, Vol 89, Issue 2 (Ben Coman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 13 Sep 2013 08:00:41 -0500
> From: Marcos Cevallos <mcevallos09(a)gmail.com>
> Subject: [Newbies] Re: Beginners Digest, Vol 89, Issue 2
> To: beginners(a)lists.squeakfoundation.org
> Message-ID:
> <CACHO2ejVcsj27XoFPAf1d6CcHM+PyD+eq-Az7-PjwknjR905ig(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi, thanks so much for your promptly support.
> It worked!!!.
>
> I was doing
>
> FileDirectory deleteFileNamed: 'c:\temp\prueba.txt'. and get an error.
>
> But then I tryied
>
> FileDirectory default deleteFileNamed: 'c:\temp\prueba.txt'. and it
> worked.
>
> Sorry I missed include default
>
> Again, thank so much.
>
> This is the first time I wrote.
>
> I am trying to use Seaside to work with Web Services that provide a
> Xerox Multifunction Device. I will tell you how everything is going
> on, If there is anay doubt I will tell you.
>
> Best Regards
>
> Marcos.
>
> 2013/9/13, beginners-request(a)lists.squeakfoundation.org
> <beginners-request(a)lists.squeakfoundation.org>:
>> Send Beginners mailing list submissions to
>> beginners(a)lists.squeakfoundation.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> or, via email, send a message with subject or body 'help' to
>> beginners-request(a)lists.squeakfoundation.org
>>
>> You can reach the person managing the list at
>> beginners-owner(a)lists.squeakfoundation.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Beginners digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: Beginners Digest, Vol 89, Issue 1 (Marcos Cevallos)
>> 2. deleting a file from Windows system directory (Ben Coman)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 12 Sep 2013 19:35:17 -0500
>> From: Marcos Cevallos <mcevallos09(a)gmail.com>
>> Subject: [Newbies] Re: Beginners Digest, Vol 89, Issue 1
>> To: beginners(a)lists.squeakfoundation.org
>> Message-ID:
>> <CACHO2egM7Ge-t20kkKE-HbxuRCzdi3Ehfehfgo4TVEjpVdGP4Q(a)mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi
>>
>> I´m newbie in squeak
>>
>> I want to know how to delete a file in a windows system directory in
>> pharo 1.3 seaside 3.0.7
>>
>> I really appreciate it
>>
>> 2013/9/10, beginners-request(a)lists.squeakfoundation.org
>> <beginners-request(a)lists.squeakfoundation.org>:
>>> Send Beginners mailing list submissions to
>>> beginners(a)lists.squeakfoundation.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>> or, via email, send a message with subject or body 'help' to
>>> beginners-request(a)lists.squeakfoundation.org
>>>
>>> You can reach the person managing the list at
>>> beginners-owner(a)lists.squeakfoundation.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Beginners digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Serial port write freezes the VM (mactro)
>>> 2. Re: Serial port write freezes the VM (Levente Uzonyi)
>>> 3. Re: Serial port write freezes the VM (Maciej Troszy?ski)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Mon, 9 Sep 2013 05:35:18 -0700 (PDT)
>>> From: mactro <mactro(a)gmail.com>
>>> Subject: [Newbies] Serial port write freezes the VM
>>> To: beginners(a)lists.squeakfoundation.org
>>> Message-ID: <1378730118166-4707333.post(a)n4.nabble.com>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> Hi,
>>>
>>> I'm developing a mod for Scratch that will allow controlling an
>>> educational
>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>> Scratch
>>> plugin and allows opening ports by name. Everything works fine BUT, when
>>> I
>>> send commands in a loop, and the connection is lost (i.e. the robot was
>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>> that:
>>>
>>> timer := Delay forMilliseconds: 1000.
>>> port := SerialPort2 new.
>>> port openPortNamed:'COM14' baud:57600.
>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>
>>> but with no result. Is there any way to write to a serial port with
>>> timeout?
>>>
>>> mactro
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Tue, 10 Sep 2013 04:45:35 +0200 (CEST)
>>> From: Levente Uzonyi <leves(a)elte.hu>
>>> Subject: Re: [Newbies] Serial port write freezes the VM
>>> To: "A friendly place to get answers to even the most basic questions
>>> about Squeak." <beginners(a)lists.squeakfoundation.org>
>>> Message-ID:
>>> <alpine.DEB.2.00.1309100442210.21954(a)login01.caesar.elte.hu>
>>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>>
>>> On Mon, 9 Sep 2013, mactro wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm developing a mod for Scratch that will allow controlling an
>>>> educational
>>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>>> Scratch
>>>> plugin and allows opening ports by name. Everything works fine BUT,
>>>> when
>>>> I
>>>> send commands in a loop, and the connection is lost (i.e. the robot was
>>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>>> that:
>>>>
>>>> timer := Delay forMilliseconds: 1000.
>>>> port := SerialPort2 new.
>>>> port openPortNamed:'COM14' baud:57600.
>>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>>
>>>> but with no result. Is there any way to write to a serial port with
>>>> timeout?
>>>
>>> I can't help you with the SerialPort issue, but the process priorities 1
>>> and 7 are definitely bad. Since the idle process uses priority 10, your
>>> processes will never run. Try using something between 11 and 39, or use
>>> the named priorities:
>>> Processor userBackgroundPriority
>>> Processor systemBackgroundPriority
>>>
>>>
>>> Levente
>>>
>>>>
>>>> mactro
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> Beginners(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>>
>>>
>>>
>>> ------------------------------
>>>
>>> Message: 3
>>> Date: Tue, 10 Sep 2013 08:39:10 +0200
>>> From: Maciej Troszy?ski <mactro(a)gmail.com>
>>> Subject: Re: [Newbies] Serial port write freezes the VM
>>> To: "A friendly place to get answers to even the most basic questions
>>> about Squeak." <beginners(a)lists.squeakfoundation.org>
>>> Message-ID:
>>> <CAA0uA13poQKKMTSQGjWws56YmxhS_s6EC1Sa6_fMBKMLFNH6Qg(a)mail.gmail.com>
>>> Content-Type: text/plain; charset=ISO-8859-2
>>>
>>> Well, at first I tried using larger numbers, but it seems, that my VM
>>> has maximum priority equal to 8. Processor userBackgroundPriority
>>> prints 3 and Processor userInterruptPriority prints 5.
>>>
>>>
>>> pozdrawiam
>>> Maciej Troszyński
>>>
>>>
>>> 2013/9/10 Levente Uzonyi <leves(a)elte.hu>:
>>>> On Mon, 9 Sep 2013, mactro wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm developing a mod for Scratch that will allow controlling an
>>>>> educational
>>>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>>>> Scratch
>>>>> plugin and allows opening ports by name. Everything works fine BUT,
>>>>> when
>>>>> I
>>>>> send commands in a loop, and the connection is lost (i.e. the robot
>>>>> was
>>>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>>>> that:
>>>>>
>>>>> timer := Delay forMilliseconds: 1000.
>>>>> port := SerialPort2 new.
>>>>> port openPortNamed:'COM14' baud:57600.
>>>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt:
>>>>> 1.
>>>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>>>
>>>>> but with no result. Is there any way to write to a serial port with
>>>>> timeout?
>>>>
>>>>
>>>> I can't help you with the SerialPort issue, but the process priorities
>>>> 1
>>>> and
>>>> 7 are definitely bad. Since the idle process uses priority 10, your
>>>> processes will never run. Try using something between 11 and 39, or use
>>>> the
>>>> named priorities:
>>>> Processor userBackgroundPriority
>>>> Processor systemBackgroundPriority
>>>>
>>>>
>>>> Levente
>>>>
>>>>
>>>>>
>>>>> mactro
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>>>> _______________________________________________
>>>>> Beginners mailing list
>>>>> Beginners(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>>>
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> Beginners(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>
>>>
>>> End of Beginners Digest, Vol 89, Issue 1
>>> ****************************************
>>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Fri, 13 Sep 2013 11:56:51 +0800
>> From: Ben Coman <btc(a)openInWorld.com>
>> Subject: [Newbies] deleting a file from Windows system directory
>> To: "A friendly place to get answers to even the most basic questions
>> about Squeak." <beginners(a)lists.squeakfoundation.org>
>> Message-ID: <52328D03.5010906(a)openInWorld.com>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> Marcos Cevallos wrote:
>>> Hi
>>>
>>> I´m newbie in squeak
>>>
>>> I want to know how to delete a file in a windows system directory in
>>> pharo 1.3 seaside 3.0.7
>>>
>>> I really appreciate it
>>>
>>>
>>
>> hi Marcos,
>>
>> Welcome. I hope you are having fun with it. First, I've updated the
>> subject to be more specific. That makes it easier for us to track.
>> Hope that is okay.
>> A few queries then to narrow down the scope of your query..
>>
>> You say 'windows' but use all lower case.
>> Do you mean 'Windows' as in Microsoft Windows?
>> Also which version?
>>
>> By 'system directory', do you mean 'C:\Windows\System' or
>> 'C:\Windows\System32' or some other protected directory?
>>
>> You imply that you already know how to delete a file outside the system
>> directory. What is the code you used that was successful for that, which
>> fails with a system directory?
>>
>> What things have you tried already?
>> * Can you delete the required file outside of Seaside, just Pharo 1.3 ?
>> * Can you delete the required file outside of Pharo 1.3, from Windows
>> Explorer, and from the command-line ?
>>
>> btw, You may find the following of interest...
>> http://www.catb.org/esr/faqs/smart-questions.html
>>
>> I'm not an expert, but with answers to those questions I hope I'll be
>> able to help you.
>>
>> cheers -ben
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>>
>> End of Beginners Digest, Vol 89, Issue 2
>> ****************************************
>>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 13 Sep 2013 23:14:02 +0800
> From: Ben Coman <btc(a)openInWorld.com>
> Subject: properly setting the subject line - was: [Newbies] Re:
> Beginners Digest, Vol 89, Issue 2
> To: "A friendly place to get answers to even the most basic questions
> about Squeak." <beginners(a)lists.squeakfoundation.org>
> Message-ID: <52332BBA.1080007(a)openInWorld.com>
> Content-Type: text/plain; charset="us-ascii"
>
> An HTML attachment was scrubbed...
> URL:
> http://lists.squeakfoundation.org/pipermail/beginners/attachments/20130913/…
>
> ------------------------------
>
> _______________________________________________
> Beginners mailing list
> Beginners(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> End of Beginners Digest, Vol 89, Issue 3
> ****************************************
>
Hi, thanks so much for your promptly support.
It worked!!!.
I was doing
FileDirectory deleteFileNamed: 'c:\temp\prueba.txt'. and get an error.
But then I tryied
FileDirectory default deleteFileNamed: 'c:\temp\prueba.txt'. and it worked.
Sorry I missed include default
Again, thank so much.
This is the first time I wrote.
I am trying to use Seaside to work with Web Services that provide a
Xerox Multifunction Device. I will tell you how everything is going
on, If there is anay doubt I will tell you.
Best Regards
Marcos.
2013/9/13, beginners-request(a)lists.squeakfoundation.org
<beginners-request(a)lists.squeakfoundation.org>:
> Send Beginners mailing list submissions to
> beginners(a)lists.squeakfoundation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> or, via email, send a message with subject or body 'help' to
> beginners-request(a)lists.squeakfoundation.org
>
> You can reach the person managing the list at
> beginners-owner(a)lists.squeakfoundation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beginners digest..."
>
>
> Today's Topics:
>
> 1. Re: Beginners Digest, Vol 89, Issue 1 (Marcos Cevallos)
> 2. deleting a file from Windows system directory (Ben Coman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Sep 2013 19:35:17 -0500
> From: Marcos Cevallos <mcevallos09(a)gmail.com>
> Subject: [Newbies] Re: Beginners Digest, Vol 89, Issue 1
> To: beginners(a)lists.squeakfoundation.org
> Message-ID:
> <CACHO2egM7Ge-t20kkKE-HbxuRCzdi3Ehfehfgo4TVEjpVdGP4Q(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi
>
> I´m newbie in squeak
>
> I want to know how to delete a file in a windows system directory in
> pharo 1.3 seaside 3.0.7
>
> I really appreciate it
>
> 2013/9/10, beginners-request(a)lists.squeakfoundation.org
> <beginners-request(a)lists.squeakfoundation.org>:
>> Send Beginners mailing list submissions to
>> beginners(a)lists.squeakfoundation.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>> or, via email, send a message with subject or body 'help' to
>> beginners-request(a)lists.squeakfoundation.org
>>
>> You can reach the person managing the list at
>> beginners-owner(a)lists.squeakfoundation.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Beginners digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Serial port write freezes the VM (mactro)
>> 2. Re: Serial port write freezes the VM (Levente Uzonyi)
>> 3. Re: Serial port write freezes the VM (Maciej Troszy?ski)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Mon, 9 Sep 2013 05:35:18 -0700 (PDT)
>> From: mactro <mactro(a)gmail.com>
>> Subject: [Newbies] Serial port write freezes the VM
>> To: beginners(a)lists.squeakfoundation.org
>> Message-ID: <1378730118166-4707333.post(a)n4.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Hi,
>>
>> I'm developing a mod for Scratch that will allow controlling an
>> educational
>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>> Scratch
>> plugin and allows opening ports by name. Everything works fine BUT, when
>> I
>> send commands in a loop, and the connection is lost (i.e. the robot was
>> powered off), the VM freezes. I tried forking the port nextPutAll like
>> that:
>>
>> timer := Delay forMilliseconds: 1000.
>> port := SerialPort2 new.
>> port openPortNamed:'COM14' baud:57600.
>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>
>> but with no result. Is there any way to write to a serial port with
>> timeout?
>>
>> mactro
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 10 Sep 2013 04:45:35 +0200 (CEST)
>> From: Levente Uzonyi <leves(a)elte.hu>
>> Subject: Re: [Newbies] Serial port write freezes the VM
>> To: "A friendly place to get answers to even the most basic questions
>> about Squeak." <beginners(a)lists.squeakfoundation.org>
>> Message-ID:
>> <alpine.DEB.2.00.1309100442210.21954(a)login01.caesar.elte.hu>
>> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>>
>> On Mon, 9 Sep 2013, mactro wrote:
>>
>>> Hi,
>>>
>>> I'm developing a mod for Scratch that will allow controlling an
>>> educational
>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>> Scratch
>>> plugin and allows opening ports by name. Everything works fine BUT, when
>>> I
>>> send commands in a loop, and the connection is lost (i.e. the robot was
>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>> that:
>>>
>>> timer := Delay forMilliseconds: 1000.
>>> port := SerialPort2 new.
>>> port openPortNamed:'COM14' baud:57600.
>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>
>>> but with no result. Is there any way to write to a serial port with
>>> timeout?
>>
>> I can't help you with the SerialPort issue, but the process priorities 1
>> and 7 are definitely bad. Since the idle process uses priority 10, your
>> processes will never run. Try using something between 11 and 39, or use
>> the named priorities:
>> Processor userBackgroundPriority
>> Processor systemBackgroundPriority
>>
>>
>> Levente
>>
>>>
>>> mactro
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 10 Sep 2013 08:39:10 +0200
>> From: Maciej Troszy?ski <mactro(a)gmail.com>
>> Subject: Re: [Newbies] Serial port write freezes the VM
>> To: "A friendly place to get answers to even the most basic questions
>> about Squeak." <beginners(a)lists.squeakfoundation.org>
>> Message-ID:
>> <CAA0uA13poQKKMTSQGjWws56YmxhS_s6EC1Sa6_fMBKMLFNH6Qg(a)mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-2
>>
>> Well, at first I tried using larger numbers, but it seems, that my VM
>> has maximum priority equal to 8. Processor userBackgroundPriority
>> prints 3 and Processor userInterruptPriority prints 5.
>>
>>
>> pozdrawiam
>> Maciej Troszyński
>>
>>
>> 2013/9/10 Levente Uzonyi <leves(a)elte.hu>:
>>> On Mon, 9 Sep 2013, mactro wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm developing a mod for Scratch that will allow controlling an
>>>> educational
>>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>>> Scratch
>>>> plugin and allows opening ports by name. Everything works fine BUT,
>>>> when
>>>> I
>>>> send commands in a loop, and the connection is lost (i.e. the robot was
>>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>>> that:
>>>>
>>>> timer := Delay forMilliseconds: 1000.
>>>> port := SerialPort2 new.
>>>> port openPortNamed:'COM14' baud:57600.
>>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>>
>>>> but with no result. Is there any way to write to a serial port with
>>>> timeout?
>>>
>>>
>>> I can't help you with the SerialPort issue, but the process priorities 1
>>> and
>>> 7 are definitely bad. Since the idle process uses priority 10, your
>>> processes will never run. Try using something between 11 and 39, or use
>>> the
>>> named priorities:
>>> Processor userBackgroundPriority
>>> Processor systemBackgroundPriority
>>>
>>>
>>> Levente
>>>
>>>
>>>>
>>>> mactro
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> Beginners mailing list
>>>> Beginners(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>>
>> End of Beginners Digest, Vol 89, Issue 1
>> ****************************************
>>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 13 Sep 2013 11:56:51 +0800
> From: Ben Coman <btc(a)openInWorld.com>
> Subject: [Newbies] deleting a file from Windows system directory
> To: "A friendly place to get answers to even the most basic questions
> about Squeak." <beginners(a)lists.squeakfoundation.org>
> Message-ID: <52328D03.5010906(a)openInWorld.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Marcos Cevallos wrote:
>> Hi
>>
>> I´m newbie in squeak
>>
>> I want to know how to delete a file in a windows system directory in
>> pharo 1.3 seaside 3.0.7
>>
>> I really appreciate it
>>
>>
>
> hi Marcos,
>
> Welcome. I hope you are having fun with it. First, I've updated the
> subject to be more specific. That makes it easier for us to track.
> Hope that is okay.
> A few queries then to narrow down the scope of your query..
>
> You say 'windows' but use all lower case.
> Do you mean 'Windows' as in Microsoft Windows?
> Also which version?
>
> By 'system directory', do you mean 'C:\Windows\System' or
> 'C:\Windows\System32' or some other protected directory?
>
> You imply that you already know how to delete a file outside the system
> directory. What is the code you used that was successful for that, which
> fails with a system directory?
>
> What things have you tried already?
> * Can you delete the required file outside of Seaside, just Pharo 1.3 ?
> * Can you delete the required file outside of Pharo 1.3, from Windows
> Explorer, and from the command-line ?
>
> btw, You may find the following of interest...
> http://www.catb.org/esr/faqs/smart-questions.html
>
> I'm not an expert, but with answers to those questions I hope I'll be
> able to help you.
>
> cheers -ben
>
>
>
> ------------------------------
>
> _______________________________________________
> Beginners mailing list
> Beginners(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> End of Beginners Digest, Vol 89, Issue 2
> ****************************************
>
Hi
I´m newbie in squeak
I want to know how to delete a file in a windows system directory in
pharo 1.3 seaside 3.0.7
I really appreciate it
2013/9/10, beginners-request(a)lists.squeakfoundation.org
<beginners-request(a)lists.squeakfoundation.org>:
> Send Beginners mailing list submissions to
> beginners(a)lists.squeakfoundation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> or, via email, send a message with subject or body 'help' to
> beginners-request(a)lists.squeakfoundation.org
>
> You can reach the person managing the list at
> beginners-owner(a)lists.squeakfoundation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beginners digest..."
>
>
> Today's Topics:
>
> 1. Serial port write freezes the VM (mactro)
> 2. Re: Serial port write freezes the VM (Levente Uzonyi)
> 3. Re: Serial port write freezes the VM (Maciej Troszy?ski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Sep 2013 05:35:18 -0700 (PDT)
> From: mactro <mactro(a)gmail.com>
> Subject: [Newbies] Serial port write freezes the VM
> To: beginners(a)lists.squeakfoundation.org
> Message-ID: <1378730118166-4707333.post(a)n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I'm developing a mod for Scratch that will allow controlling an educational
> robot via Bluetooth. I'm using SerialPort2 class that is included in
> Scratch
> plugin and allows opening ports by name. Everything works fine BUT, when I
> send commands in a loop, and the connection is lost (i.e. the robot was
> powered off), the VM freezes. I tried forking the port nextPutAll like
> that:
>
> timer := Delay forMilliseconds: 1000.
> port := SerialPort2 new.
> port openPortNamed:'COM14' baud:57600.
> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>
> but with no result. Is there any way to write to a serial port with
> timeout?
>
> mactro
>
>
>
> --
> View this message in context:
> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 10 Sep 2013 04:45:35 +0200 (CEST)
> From: Levente Uzonyi <leves(a)elte.hu>
> Subject: Re: [Newbies] Serial port write freezes the VM
> To: "A friendly place to get answers to even the most basic questions
> about Squeak." <beginners(a)lists.squeakfoundation.org>
> Message-ID:
> <alpine.DEB.2.00.1309100442210.21954(a)login01.caesar.elte.hu>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 9 Sep 2013, mactro wrote:
>
>> Hi,
>>
>> I'm developing a mod for Scratch that will allow controlling an
>> educational
>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>> Scratch
>> plugin and allows opening ports by name. Everything works fine BUT, when
>> I
>> send commands in a loop, and the connection is lost (i.e. the robot was
>> powered off), the VM freezes. I tried forking the port nextPutAll like
>> that:
>>
>> timer := Delay forMilliseconds: 1000.
>> port := SerialPort2 new.
>> port openPortNamed:'COM14' baud:57600.
>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>
>> but with no result. Is there any way to write to a serial port with
>> timeout?
>
> I can't help you with the SerialPort issue, but the process priorities 1
> and 7 are definitely bad. Since the idle process uses priority 10, your
> processes will never run. Try using something between 11 and 39, or use
> the named priorities:
> Processor userBackgroundPriority
> Processor systemBackgroundPriority
>
>
> Levente
>
>>
>> mactro
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>> _______________________________________________
>> Beginners mailing list
>> Beginners(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 10 Sep 2013 08:39:10 +0200
> From: Maciej Troszy?ski <mactro(a)gmail.com>
> Subject: Re: [Newbies] Serial port write freezes the VM
> To: "A friendly place to get answers to even the most basic questions
> about Squeak." <beginners(a)lists.squeakfoundation.org>
> Message-ID:
> <CAA0uA13poQKKMTSQGjWws56YmxhS_s6EC1Sa6_fMBKMLFNH6Qg(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-2
>
> Well, at first I tried using larger numbers, but it seems, that my VM
> has maximum priority equal to 8. Processor userBackgroundPriority
> prints 3 and Processor userInterruptPriority prints 5.
>
>
> pozdrawiam
> Maciej Troszyński
>
>
> 2013/9/10 Levente Uzonyi <leves(a)elte.hu>:
>> On Mon, 9 Sep 2013, mactro wrote:
>>
>>> Hi,
>>>
>>> I'm developing a mod for Scratch that will allow controlling an
>>> educational
>>> robot via Bluetooth. I'm using SerialPort2 class that is included in
>>> Scratch
>>> plugin and allows opening ports by name. Everything works fine BUT, when
>>> I
>>> send commands in a loop, and the connection is lost (i.e. the robot was
>>> powered off), the VM freezes. I tried forking the port nextPutAll like
>>> that:
>>>
>>> timer := Delay forMilliseconds: 1000.
>>> port := SerialPort2 new.
>>> port openPortNamed:'COM14' baud:57600.
>>> process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
>>> [timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
>>>
>>> but with no result. Is there any way to write to a serial port with
>>> timeout?
>>
>>
>> I can't help you with the SerialPort issue, but the process priorities 1
>> and
>> 7 are definitely bad. Since the idle process uses priority 10, your
>> processes will never run. Try using something between 11 and 39, or use
>> the
>> named priorities:
>> Processor userBackgroundPriority
>> Processor systemBackgroundPriority
>>
>>
>> Levente
>>
>>
>>>
>>> mactro
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
>>> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> ------------------------------
>
> _______________________________________________
> Beginners mailing list
> Beginners(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
> End of Beginners Digest, Vol 89, Issue 1
> ****************************************
>
Hi,
I'm developing a mod for Scratch that will allow controlling an educational
robot via Bluetooth. I'm using SerialPort2 class that is included in Scratch
plugin and allows opening ports by name. Everything works fine BUT, when I
send commands in a loop, and the connection is lost (i.e. the robot was
powered off), the VM freezes. I tried forking the port nextPutAll like that:
timer := Delay forMilliseconds: 1000.
port := SerialPort2 new.
port openPortNamed:'COM14' baud:57600.
process := [port nextPutAll:'test'. Transcript show:'port'.] forkAt: 1.
[timer wait. Transcript show:'delay'. process terminate.] forkAt: 7.
but with no result. Is there any way to write to a serial port with timeout?
mactro
--
View this message in context: http://forum.world.st/Serial-port-write-freezes-the-VM-tp4707333.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.