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: DyGraph on a Pi (Peter Hemmings)
2. Re: DyGraph on a Pi (Shane McEwan)
3. Re: KT Christmas Meeting This Saturday (Sebastian)
----------------------------------------------------------------------
Message: 1
Date: Fri, 19 Dec 2014 14:31:51 +0000
From: Peter Hemmings <peter@hemmings.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <549436D7.1030408@hemmings.eclipse.co.uk>
Content-Type: text/plain; charset=windows-1252; format=flowed
On 19/12/14 10:53, David Smith wrote:
> From: bristol-bounces@mailman.lug.org.uk
> [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Peter
> Hemmings
>> I have just had another go and am now getting this in the
>> javascript console (Chrome) when on laptop into the Pi:
>>
>> Failed to load resource: the server responded with a status of 404
>> (Not Found) dygraph-combined.js.map:1 GET
>> http://192.168.0.4/dygraph- combined.js.map 404 (Not Found)
>>
>> Is this terminology? I have dygraph-combined.js in /var/www/ but
>> no map!
>
> According to:
>
> http://stackoverflow.com/questions/18425841/angular-min-js-map-not-found-what-is-it-exactly
>
> it appears that the .map file might be requested by the browser to
> assist it in mapping the Javascript code back to the original source.
> Whatever browser you're using, there's probably an equivalent option
> to the Chrome one shown.
Thanks for the above, so its just for debugging back to the source and
I could switch it off, but if I am debugging perhaps I can find it
somewhere!
I suppose it did not matter for the Pi's browser which did not seem to
have a console and the code was assumed to "just work"!
>
> _______________________________________________ Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
Thanks Shane, I found that typo by the time I read your reply!
I am thinking of giving up on this soon as I think I've solved my
problem in the loft that I was going to use it for, but i do like like
being beaten and I have learnt quit a lot!
Will try a similar example on Dygraph site from a weather station
project to see if that works with their temperatures.csv file:
http://dygraphs.com/tutorial.html
Regards
--
Peter H
------------------------------
Message: 2
Date: Fri, 19 Dec 2014 15:10:37 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] DyGraph on a Pi
Message-ID: <54943FED.9090204@mcewan.id.au>
Content-Type: text/plain; charset=utf-8
On 19/12/14 14:31, Peter Hemmings wrote:
> I am thinking of giving up on this soon as I think I've solved my
> problem in the loft that I was going to use it for, but i do like like
> being beaten and I have learnt quit a lot!
>
> Will try a similar example on Dygraph site from a weather station
> project to see if that works with their temperatures.csv file:
>
> http://dygraphs.com/tutorial.html
That dygraphs example should work. The only thing is that the cron job
you're using from the beer example is outputting the date into the file
in a format that dygraphs can't use. That's the reason for the "new
Date" call in the Javascript that converts the date from the file
(YYYYMMDDHHMMSS into HH:MM:SS MM/DD/YYYY).
I don't know why the beer example does it like that. If you change the
cron job to run the date command like this:
date "+%T %m/%d/%Y"
then you should be able to use that date directly in dygraphs without
messing around with it. In fact, this:
date "+%T %F"
would probably work too and has the advantage of not using US date format!
Shane. (Weather Station nut. Used to work for the Australian Bureau of
Meteorology. Personal Weather Station at
http://www.wunderground.com/personal-weather-station/dashboard?ID=IENGLAND659)
------------------------------
Message: 3
Date: Sat, 20 Dec 2014 11:04:47 +0000
From: Sebastian <sebsebseb_mageia@gmx.com>
To: bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>,
sebastian <sebsebseb_mageia@gmx.com>
Subject: Re: [bristol] KT Christmas Meeting This Saturday
Message-ID: <549557CF.9070701@gmx.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Feeling a bit off it today etc, so no I won't be there this afternoon.
A Christmas meal would have been nice though, but well I am probably
going to have quite a few meals out next year any way.
Sebastian
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 581, Issue 7
***************************************
Tidak ada komentar:
Posting Komentar