piggz | ViGe: strange ... my watch is showing 8/9 degrees, which is about right..... | 15:14 |
---|---|---|
ViGe | piggz: the application UI (i.e. settings->weather) shows correct temperature, so it seems to be an issue between the phone and the watch. I hope I have time to debug it tomorrow. | 15:25 |
piggz | ViGe: which watch do you have? | 15:26 |
piggz | ViGe: there was this commit, and there is def some hairy castsing going on in this code https://github.com/piggz/harbour-amazfish/commit/9ffd6c0fee5657b3f9417786d49a23685d32561e | 15:34 |
ViGe | piggz: Bip | 15:35 |
piggz | ViGe: there is a qdebug that prints the temp, that would be useful from the daemon | 15:36 |
poetaster | piggz, I think hairy is generous. But, I live in a glass house and fear flying stones. | 15:37 |
poetaster | piggz, well, I guess it could be considered a plus to have temp in kelvin. What was kelvin to Fahrenheit, again? | 15:42 |
piggz | poetaster: SI units only :D | 15:43 |
poetaster | piggz, right you are. I grew up buying bolts in TWO imperial systems. | 15:43 |
poetaster | Fahrenheit would be K - 273.15 + 32, or? | 15:44 |
ViGe | piggz: that qDebug is not really useful as it prints the temp as char. I believe it's 0 at that point, and it's definitely 0 later: Writing chunked: "\x02P.\x94""e\x00\x00\x00""clear sky\x00" | 15:49 |
piggz | vige: useful to know its 0 at that point... | 15:50 |
ViGe | piggz: Yes, it would be useful if I knew for a 100% fact. But curretly the qDebug() only prints the time stamp there - both the temp and condition are some invisible characters. Most likely both are zeroes but could be also e.g. spaces... | 15:51 |
piggz | ah ok... | 15:52 |
piggz | ViGe: can you find this debug? https://github.com/piggz/harbour-amazfish/blob/master/lib/src/weather/currentweather.cpp#L190 | 15:54 |
ViGe | Forecast on 1704218400 QDate("2024-01-02") QTime("20:00:00.000") 252 252 "clear sky" 800 Hour: 20 | 15:58 |
ViGe | That looks about right, as 252 - 273.15 = -21.15 | 15:59 |
piggz | yeah | 15:59 |
piggz | ViGe: i should clean up that code ... casting a negative float is def entering undefined areas | 16:46 |
piggz | depends on whether char is signed or not on the architecture | 16:46 |
ViGe | piggz: Yeah. You can easily see by setting the location to e.g. Copenhagen that all values below 0 are zeroed. But anyway, now that we know where the problem lies it should be easy to fix :) | 16:55 |
piggz | yeah | 16:56 |
attah | Is there a proper way for building sfos packages where the sources are a tarball in sfdk? | 17:41 |
attah | Or is tar -xvf, cd, sfdk --specfile ... as good as it gets? | 17:41 |
piggz | ViGe: my watch is showing -19 for helsinki now | 18:55 |
mal | piggz: yes, felt a bit chilly when I just went for a walk :) | 19:16 |
attah | configure: error: librsvg needs at least rustc version 1.70.0 | 19:26 |
attah | well then... | 19:26 |
mal | attah: which version of librsvg? | 19:45 |
attah | latest, 2.57.1 | 19:46 |
attah | But since that's coming... i guess uplift can and should wait | 19:46 |
attah | I took a random selection of 3+ year old somewhat internet-facing packages and started updating | 19:47 |
attah | ..i say as i just git to readline xD But it looked easy | 19:49 |
attah | though it has untagged "patches", and i'm not entirely syre how to version that | 19:50 |
piggz | attah: hows your ppp behaving? | 20:12 |
attah | piggz: I'm failing to find inspiration to mess with it unfortunately :/ | 20:14 |
attah | And i was putting off excavating a test printer with some sfos package update | 20:15 |
piggz[m] | i had printer fun today ... had to remove the print-head and soak it in alcolho to unblock the magenta ... printers are the worst | 20:16 |
mal | attah: while at it maybe try updating glib-networking, just noticed it was a bit old, assuming it doesn't need glib2 update | 20:17 |
attah | Indeed, printers are the worst :) | 20:18 |
attah | mal: Sure! | 20:18 |
attah | unzip and gzip are also sort of on the list... but they have archives checked in | 20:21 |
mal | attah: I think upzip doesn't have any new versions | 20:25 |
attah | Right, yes... | 20:27 |
attah | mal: I do need 2.73 to go all the way with glib-networking | 20:28 |
attah | ...but someoen has prepared 2.78... so | 20:28 |
attah | Unless that has yet more dependencies that seems doable | 20:29 |
attah | and it does :) | 20:29 |
mal | ok, maybe it can wait then | 20:32 |
mal | I had some issues with that latest glib2 | 20:32 |
attah | I'll try building them all and see what happens | 20:33 |
attah | But now, lets see if i managed to use zlib in my printer stuff | 20:34 |
attah | glib-networking - yes, compressed printouts - no | 20:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!