Sabtu, 06 Desember 2014

Bristol Digest, Vol 579, Issue 9

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: Are all Nano's the same!? (David Smith)
2. Re: Are all Nano's the same!? (nigel.gunton@uwe.ac.uk)
3. Re: Are all Nano's the same!? (David Smith)
4. Re: Are all Nano's the same!? (Shane McEwan)
5. Re: Are all Nano's the same!? (Peter Hemmings)
6. Re: Are all Nano's the same!? (Peter H)
7. Re: Are all Nano's the same!? (Peter H)


----------------------------------------------------------------------

Message: 1
Date: Fri, 5 Dec 2014 12:46:11 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F0874F805@BRMAIL01.br.imgtec.org>
Content-Type: text/plain; charset="us-ascii"

From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
bounces@mailman.lug.org.uk] On Behalf Of Alex Butcher (LUG)
> On 4 December 2014 16:13:40 GMT+00:00, Shane McEwan
> <shane@mcewan.id.au> wrote:
> >It looks to me like bash is treating the whole command as a single
> >string.

That's what I thought, but I couldn't work out how it could happen.

> My guess is that Peter is copy and pasting from a webpage that isn't using
> spaces, but Unicode characters that /look identical to spaces/, to separate
> words.

If that's the case, then it's a particularly evil problem...

> Welcome to the 21st century where nothing works simply any more!

<UKIP> ******** foreigners! </UKIP>

:-)



------------------------------

Message: 2
Date: Fri, 5 Dec 2014 15:28:22 +0000
From: <nigel.gunton@uwe.ac.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID: <alpine.LNX.2.03.1412051523360.21139@uwe.ac.uk>
Content-Type: text/plain; charset="US-ASCII"; format=flowed

On Fri, 5 Dec 2014, David Smith wrote:

8<----

>> My guess is that Peter is copy and pasting from a webpage that isn't using
>> spaces, but Unicode characters that /look identical to spaces/, to separate
>> words.

8<----

I see a lot of that here when students copy and paste code examples from
the web or from pdf and then the compiler barfs. ' is particularly
prone to problems :)

Regards,
Nigel

--
Nigel Gunton MIET,
Department of Engineering Design & Mathematics,
UWE, Bristol, BS16 1QY
Phone : +44/0 117 32 83630 Fax : +44/0 117 32 83002



------------------------------

Message: 3
Date: Fri, 5 Dec 2014 15:37:15 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F0874F851@BRMAIL01.br.imgtec.org>
Content-Type: text/plain; charset="us-ascii"

> From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
> bounces@mailman.lug.org.uk] On Behalf Of nigel.gunton@uwe.ac.uk
> I see a lot of that here when students copy and paste code examples from
> the web or from pdf and then the compiler barfs. ' is particularly prone to
> problems :)

Yes, I get particular problems here - I'm forced to use Outlook which likes to convert <minus> into <m-dash> which, when copy-and-pasted into my VNC session, then not only doesn't work as a <minus>, also seems to include something that causes xterm to delete a load of the following characters - so something like "rm -fr ./path/to/my/dir/*" could easily end up as "rm /*"



------------------------------

Message: 4
Date: Fri, 05 Dec 2014 16:41:19 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID: <5481E02F.9040503@mcewan.id.au>
Content-Type: text/plain; charset=utf-8

On 05/12/14 15:28, nigel.gunton@uwe.ac.uk wrote:
> I see a lot of that here when students copy and paste code examples from
> the web or from pdf and then the compiler barfs. ' is particularly prone
> to problems :)

"Smart"quotes drive me nuts!!!!

Shane.






------------------------------

Message: 5
Date: Fri, 05 Dec 2014 21:05:26 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID: <54821E16.1070002@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


On 05/12/14 16:41, Shane McEwan wrote:
> On 05/12/14 15:28, nigel.gunton@uwe.ac.uk wrote:
>> I see a lot of that here when students copy and paste code examples from
>> the web or from pdf and then the compiler barfs. ' is particularly prone
>> to problems :)
> "Smart"quotes drive me nuts!!!!
>
> Shane.
>
>
>
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol

Update:

I am on the Pi and just TYPED in this (from previous link):

The simplest method of creating a log of the temp/humidity is to use a
cronjob. The program must be run as root, so use the following command
to edit the cron config file:

sudo crontab -e

Add the following line to the end. It will save a timestamp and the
temp/humidity every minute to temp.log.

* * * * * echo `date +\%Y\%m\%d\%H\%M\%S`,`/home/pi/wiringPi/dht11` >> /home/pi/temp.log


I am now getting logs every minute, so onwards and upwards!


I am still getting my head round the code and like a typical engineer
type want to understand it all, and will be trying to make a flow
diagram to show structure and loops.

Probably be back later.

I suppose from the last comments, I need to go back to college but I
think its a bit late for that!

Thanks for the enlightenment though.

Regards

-- Peter H



------------------------------

Message: 6
Date: Fri, 05 Dec 2014 13:15:48 +0000
From: Peter H <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID:
<B6D0566B-74C5-45EB-9828-5E2A99730AE0@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset="utf-8"



On 5 December 2014 13:12:04 GMT+00:00, Peter H <peter@hemmings.eclipse.co.uk> wrote:
>
>
>On 5 December 2014 12:46:11 GMT+00:00, David Smith
><David.Smith@imgtec.com> wrote:
>>From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
>>bounces@mailman.lug.org.uk] On Behalf Of Alex Butcher (LUG)
>>> On 4 December 2014 16:13:40 GMT+00:00, Shane McEwan
>>> <shane@mcewan.id.au> wrote:
>>> >It looks to me like bash is treating the whole command as a single
>>> >string.
>>
>>That's what I thought, but I couldn't work out how it could happen.
>>
>>> My guess is that Peter is copy and pasting from a webpage that isn't
>>using
>>> spaces, but Unicode characters that /look identical to spaces/, to
>>separate
>>> words.
>>
>>If that's the case, then it's a particularly evil problem...
>
>Will type it in later today and confirm it works. Shame, I am such a
>slow typer and always copy and paste from webpages!
>
>
>>> Welcome to the 21st century where nothing works simply any more!
>>
>><UKIP> ******** foreigners! </UKIP>
>>
>>:-)
>>
>>_______________________________________________
>>Bristol mailing list
>>Bristol@mailman.lug.org.uk
>>https://mailman.lug.org.uk/mailman/listinfo/bristol
>
>--
>Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20141205/2b3ec87e/attachment.html>

------------------------------

Message: 7
Date: Fri, 05 Dec 2014 13:12:04 +0000
From: Peter H <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Are all Nano's the same!?
Message-ID:
<6DCFC3F5-4DF2-46E1-8DC5-965A5A010C17@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=UTF-8



On 5 December 2014 12:46:11 GMT+00:00, David Smith <David.Smith@imgtec.com> wrote:
>From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
>bounces@mailman.lug.org.uk] On Behalf Of Alex Butcher (LUG)
>> On 4 December 2014 16:13:40 GMT+00:00, Shane McEwan
>> <shane@mcewan.id.au> wrote:
>> >It looks to me like bash is treating the whole command as a single
>> >string.
>
>That's what I thought, but I couldn't work out how it could happen.
>
>> My guess is that Peter is copy and pasting from a webpage that isn't
>using
>> spaces, but Unicode characters that /look identical to spaces/, to
>separate
>> words.
>
>If that's the case, then it's a particularly evil problem...

Will type it in later today and confirm it works. Shame, I am such a slow typer and always copy and paste from webpages!


>> Welcome to the 21st century where nothing works simply any more!
>
><UKIP> ******** foreigners! </UKIP>
>
>:-)
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



------------------------------

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

End of Bristol Digest, Vol 579, Issue 9
***************************************

Tidak ada komentar:

Posting Komentar