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: Simple script query (DHT11 Sensor) (Richard Stearn)
2. Re: Simple script query (DHT11 Sensor) (Peter Hemmings)
3. LDAP (Martin Moore)
4. Re: LDAP (Keith Edmunds)
5. Re: Simple script query (DHT11 Sensor) (James Cownie)
6. Re: Simple script query (DHT11 Sensor) (Alex Butcher (LUG))
----------------------------------------------------------------------
Message: 1
Date: Sat, 17 Jan 2015 12:13:20 +0000
From: Richard Stearn <richard@rns-stearn.demon.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Simple script query (DHT11 Sensor)
Message-ID: <54BA51E0.8070302@rns-stearn.demon.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Alex Butcher (LUG) wrote:
> As it is, that C source is using integer arithmetic, so it'll need a
> littlebit of reworking to use float or double types for the
> temperature instead.
Or convert the value to deciC, centiC or milliC as appropriate, do the
corrections (offset, slope, ...), sort the decimal point on output.
--
Regards
Richard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is not madness to talk to yourself. Just ensures sane answers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
Message: 2
Date: Sat, 17 Jan 2015 15:24:01 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Simple script query (DHT11 Sensor)
Message-ID: <54BA7E91.4090507@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 17/01/15 12:13, Richard Stearn wrote:
> Alex Butcher (LUG) wrote:
>> As it is, that C source is using integer arithmetic, so it'll need a
> > littlebit of reworking to use float or double types for the
> > temperature instead.
>
> Or convert the value to deciC, centiC or milliC as appropriate, do the
> corrections (offset, slope, ...), sort the decimal point on output.
>
As I am a beginner with "C" I do not know exactly how to do it!!, I
will probably do as Alex says but if you could point me to where deciC
etc is explained I will have a go (had a quick google with no luck).
Regards
--
Peter H
------------------------------
Message: 3
Date: Sat, 17 Jan 2015 16:03:05 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: [bristol] LDAP
Message-ID:
<!&!AAAAAAAAAAAYAAAAAAAAAFLxZtQqo65Oo+1jhlUB9DvCgAAAEAAAAEYHRVU5We1Ers1rvFPrFQUBAAAAAA==@it-helps.co.uk>
Content-Type: text/plain; charset="us-ascii"
I've a potential client who wishes to have a single sign on to their system
and our system using LDAP.
We have multiple sub-domains (different clients) on one box and currently
user access is via a mysql db for each sub-domian/client.
Before I say OK and with possible similar requests from other clients in
mind, is it possible to have multiple 'separate' LDAP domains/clients on one
server, will LDAP be able to restrict access to just the web stuff or do I
need a separate server for each LDAP client?
Ta,
Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20150117/8fb66d2d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 92 bytes
Desc: not available
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20150117/8fb66d2d/attachment-0001.gif>
------------------------------
Message: 4
Date: Sat, 17 Jan 2015 16:17:46 +0000
From: Keith Edmunds <kae@midnighthax.com>
To: bristol@mailman.lug.org.uk
Cc: martinm@it-helps.co.uk
Subject: Re: [bristol] LDAP
Message-ID: <20150117161746.7492ffe4@ws.the.cage>
Content-Type: text/plain; charset=US-ASCII
On Sat, 17 Jan 2015 16:03:05 -0000, martinm@it-helps.co.uk said:
> Before I say OK and with possible similar requests from other clients in
> mind, is it possible to have multiple 'separate' LDAP domains/clients on
> one server
Yes.
> will LDAP be able to restrict access to just the web stuff
You can restrict LDAP.
> or do I need a separate server for each LDAP client?
No.
--
"A champion is someone who gets up when he can't" - Jack Dempsey
------------------------------
Message: 5
Date: Sat, 17 Jan 2015 17:30:31 +0100
From: James Cownie <jcownie@cantab.net>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Simple script query (DHT11 Sensor)
Message-ID: <A5886EB6-98DA-4DE0-AF73-FD11987AE18B@cantab.net>
Content-Type: text/plain; charset=windows-1252
Searching for deciC is unlikely to be helpful, and, I think you have confusion between C (the language) and C (Centigrade).
The suggestion is to use a fixed point format internally, which you can think of as enumerating your temperatures in 10ths of a degree (?deciC?) or hundredths (centiC).
(From a language point of view this would all be more easily done in C++ than C, since [aside from the fact that there are likely laready fixed point C++ libraries available], you can overload the operators on this new type, making it much easier to work with at the user level).
--
-- Jim
--
James Cownie <jcownie@cantab.net>
On 17 Jan 2015, at 16:24, Peter Hemmings <peter@hemmings.eclipse.co.uk> wrote:
> On 17/01/15 12:13, Richard Stearn wrote:
>> Alex Butcher (LUG) wrote:
>>> As it is, that C source is using integer arithmetic, so it'll need a
>> > littlebit of reworking to use float or double types for the
>> > temperature instead.
>>
>> Or convert the value to deciC, centiC or milliC as appropriate, do the
>> corrections (offset, slope, ...), sort the decimal point on output.
>>
>
> As I am a beginner with "C" I do not know exactly how to do it!!, I will probably do as Alex says but if you could point me to where deciC etc is explained I will have a go (had a quick google with no luck).
>
> Regards
>
> --
> Peter H
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
Message: 6
Date: Sat, 17 Jan 2015 16:36:22 +0000
From: "Alex Butcher (LUG)" <lug@assursys.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Simple script query (DHT11 Sensor)
Message-ID: <626C0A8D-3EF4-41A1-ABA2-1915D9B1BA0E@assursys.co.uk>
Content-Type: text/plain; charset="utf-8"
Richard means to use different units internally (e.g. C*10=dC) then convert at the final stage of output.
On 17 January 2015 15:24:01 GMT+00:00, Peter Hemmings <peter@hemmings.eclipse.co.uk> wrote:
>On 17/01/15 12:13, Richard Stearn wrote:
>> Alex Butcher (LUG) wrote:
>>> As it is, that C source is using integer arithmetic, so it'll need a
>> > littlebit of reworking to use float or double types for the
>> > temperature instead.
>>
>> Or convert the value to deciC, centiC or milliC as appropriate, do
>the
>> corrections (offset, slope, ...), sort the decimal point on output.
>>
>
>As I am a beginner with "C" I do not know exactly how to do it!!, I
>will probably do as Alex says but if you could point me to where deciC
>etc is explained I will have a go (had a quick google with no luck).
>
>Regards
>
>--
>Peter H
>
>_______________________________________________
>Bristol mailing list
>Bristol@mailman.lug.org.uk
>https://mailman.lug.org.uk/mailman/listinfo/bristol
--
Sent from my Android phone 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/20150117/a42b2e48/attachment.html>
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 585, Issue 8
***************************************
Tidak ada komentar:
Posting Komentar