• Weather.sh

    From Spectre@21:3/101 to Nobody on Wednesday, February 19, 2020 10:53:00
    weather.sh is hiding out at....

    tlp.zapto.org/hidden_stuff/weather.sh

    If you wish to peruse it.

    Spec


    *** THE READER V4.50 [freeware]
    --- SuperBBS v1.17-3 (Eval)
    * Origin: Scrawled in haste at The Lower Planes (21:3/101)
  • From Embalmed@21:4/166 to Spectre on Tuesday, February 18, 2020 16:23:40
    tlp.zapto.org/hidden_stuff/weather.sh

    If you wish to peruse it.

    This is pretty cool. If you updated it to use, say openweathermap.org/api
    then anyone could use it. (I checked Melbourne, Au has data)

    |07E|10m|07b|10a|07l|10m|07e|10d |12-----------------------------------------------------
    |09Black Lodge Research BBS |11blacklodgeresearch.org:4022
    |11fsx|08Net: |0721:4/166 |11sci|08Net: |0777:1/133

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: Black Lodge Research BBS (21:4/166)
  • From Vk3jed@21:1/109 to Spectre on Wednesday, February 19, 2020 12:46:00
    On 02-19-20 10:53, Spectre wrote to Nobody <=-

    weather.sh is hiding out at....

    tlp.zapto.org/hidden_stuff/weather.sh

    If you wish to peruse it.

    Cool. Had a quick (QWK? ;) ) glance, will have to look closer at a later
    tage.


    ... Chuck Norris doesn't wear a watch, HE decides what time it is.
    === MultiMail/Win v0.51
    --- SBBSecho 3.10-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From tenser@21:1/101 to Spectre on Wednesday, February 19, 2020 14:53:07
    On 19 Feb 2020 at 10:53a, Spectre pondered and said...

    weather.sh is hiding out at....

    tlp.zapto.org/hidden_stuff/weather.sh

    If you wish to peruse it.

    I took a peek. That case statement isn't as wild
    as I was expecting from your description....

    Is it giving you problems?

    I'd imagine that using FTP to get your data is a
    lot more expensive than the case statement.

    I notice that the Australian government will give
    you back data in a structured format (even if it
    is XML...). I'd consider writing a program in a
    language with a larger library to pick apart the
    data.

    --- Mystic BBS v1.12 A45 2020/02/16 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Spectre@21:3/101 to Embalmed on Wednesday, February 19, 2020 15:19:00
    This is pretty cool. If you updated it to use, say
    openweathermap.org/api then anyone could use it. (I checked
    Melbourne, Au has data)

    Ponder, it'd depend on what the data from openweathermap looks like, I've never
    actually heard of it before. Strangely enough I know the BOM though :) Anyone could use it? You mean any location globally or locally? The BOM data is free access, although that limits you to finding your data in the fistful that arrives. I think you'd need to make it a lot smarter to do much more.

    Spec


    --- SuperBBS v1.17-3 (Eval)
    * Origin: < Scrawled in blood at The Lower Planes > (21:3/101)
  • From Spectre@21:3/101 to tenser on Wednesday, February 19, 2020 15:28:00
    I took a peek. That case statement isn't as wild as I was expecting
    from your description....

    How many descriptions are already in that case? I reckon barely 6 of those statements have seen more than one usage, and there are many more that never match. So its a losing position, especially given the limited icons its being used to deliver.

    Is it giving you problems?

    Its not a problem from a coding standpoint, just that it can't possibly contain
    all the permutations and evolutions that come out of the BOM.

    I'd imagine that using FTP to get your data is a lot more expensive
    than the case statement.

    I expect so, but its running in the background, no on demand so you don't get to see it.

    structured format (even if it is XML...). I'd consider writing
    a program in a language with a larger library to pick apart the
    data.

    I return to one of my recent observations, when all you have is a hammer, everything looks like a nail. BASH is my hammer. I don't have to many other skills hidden in the cupboard... touched on pascal before, but thats sooo rusty.. usually all I do, is assemble other bits of code to do what I need inside the bash script.

    Not sure if I posted it here or FB now off hand, but my recent look at graphing
    solution is related to similar data. The previous script is now fully functional, I stuck with my backhanded approach for now.

    Spec


    --- SuperBBS v1.17-3 (Eval)
    * Origin: < Scrawled in blood at The Lower Planes > (21:3/101)