Re: [Pharo-users] Pharo things analog reads ?

2017-12-24 Thread PeterJohn via Pharo-users
--- Begin Message --- Hi...Have you tried putting a 0.1uF capacitor from the input to GND?How quickly are you reading? Are you averaging or decimating? Also, have you added capacitors for the Aref pin?You may be picking up spurious signals. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Use

Re: [Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-24 Thread Andrew Glynn
The only time I've seen that behaviour is with the combination of a slow server and a proxy such as CloudFlare where the sysadmin has set tcp_wait to some ridiculously small number. Have you tried setting the connection reuse timeout to 0, or setting 'beOneShot'? Zinc doesn't support the addit

[Pharo-users] Strange 'Connection closed while waiting for data.' Zinc error

2017-12-24 Thread Yuriy Tymchuk
Hi, I’m trying to hack something with Pharo 6.1 and Phillips Hue[1] (they have a simple REST API). When I try to do a GET request with Zinc like this: ZnClient new url: 'http://192.168.0.115:80/api/1028d66426293e821ecfd9ef1a0731df/lights/'; get I get a “ConnectionClosed: Connec

[Pharo-users] Getting Iceberg Commits Back to Github

2017-12-24 Thread Evan Donahue
Hi, Once I have cloned my github repository and committed changes locally, how do I actually get those changes back to github? I went to synchronize repository > push > publish all, and it has a loading bar for a few seconds that says "pushing local commits to origin," but github reflects no chang

[Pharo-users] Iceberg URL regex not matching how I would expect it to?

2017-12-24 Thread Ian Ian
Hi All, I am having trouble setting up iceberg to access my repository via ssh. On the command line I assess it via: git clone u...@server.com:/proj/proj.git and all works as expected. When adding trying to add the same repository to iceberg I get a parseUrl error thrown from class IceScpRemote

Re: [Pharo-users] NeoCSVWriter: how to output an empty quoted field

2017-12-24 Thread Sven Van Caekenberghe
Joachim, It works for me: String streamContents: [ :out | (NeoCSVWriter on: out) addField: #x; addConstantField: String empty; addField: #y; nextPutAll: { 1@2. 3@4 } ]. => '"1","","2" "3","","4" ' What is the value of the instance variable #fieldWriter inside NeoCSVWriter ? It