News for hackers. Stuff that matters.
Re:Pirate Weather: A Free, Open, and Documented Forecast API by alexander0042 on Tuesday January 10, 2023 @04:28PM (#34331772)
I'm the dev behind this, so always great to hear things like this! I really struggled to try to come up with a name. My first thought was "Bright Ground" (opposite of Dark Sky), but that seemed a little too on the nose. Luckily, the legal aspect of this (I'm in the clear!) was pretty well settled after the final Oracle v. Google case, but at the time was a big enough deal that it seemed relevant, and the HRRR model was another plus. I should update that README though, since it's now very definitely legal!
Re:Pirate Weather: A Free, Open, and Documented Forecast API by calebegg on Tuesday January 10, 2023 @04:44PM (#34331971)
Lol I named my version "Bright Earth" as an opposition to dark sky (brightearth.app)
Re:Pirate Weather: A Free, Open, and Documented Forecast API by wumms on Tuesday January 10, 2023 @07:02PM (#34333242)
Error after receiving permission to get location:

Firefox:

  brightearth.app:6:4322  
    XML Parsing Error: mismatched tag. Expected: </input>.
    Location: https://brightearth.app/
    Line Number 6, Column 4322: 2

  fetchWeather.ts:31:31
    Uncaught (in promise) TypeError: l.querySelector(...) is null
      g fetchWeather.ts:31
Safari:

  App.tsx:46
    [Error] Unhandled Promise Rejection: TypeError: null is not an object
    (evaluating 'l.querySelector("creation-date").textContent')
      (anonymous function) (index.2994085b.js:139:2367)
      asyncFunctionResume
      (anonymous function)
      promiseReactionJobWithoutPromise
      promiseReactionJob
Re:Pirate Weather: A Free, Open, and Documented Forecast API by calebegg on Wednesday January 11, 2023 @06:01PM (#34346342)
Sometimes the NOAA APIs don't return data according to the usual structure. I can't consistently reproduce it. If you can please let me know!
Re:Pirate Weather: A Free, Open, and Documented Forecast API by dt3ft on Wednesday January 11, 2023 @01:59AM (#34335870)
I’m out of the loop. Why would this not be legal? Are you using Oracle technology?
Re:Pirate Weather: A Free, Open, and Documented Forecast API by hobofan on Wednesday January 11, 2023 @02:12AM (#34335928)
> built as a compatible alternative to the Dark Sky API

OP is talking about the copyrightability of API's (which they are clearly exposed to as they built a drop-in replacement). The relevant case: https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_....

Re:Pirate Weather: A Free, Open, and Documented Forecast API by toyg on Wednesday January 11, 2023 @02:14AM (#34335936)
Oracle argued that interface calls were copyrightable. They lost anyway.
Re:Pirate Weather: A Free, Open, and Documented Forecast API by PanMan on Wednesday January 11, 2023 @08:14AM (#34338010)
Just my 2 cents: It's on my todo list to look for a weather provider, but the "pirate" in the name at first made me discard this: I guess the pirate bay made the word pirate something less-legal sounding, not something I'd want for a business. Happy I did open it, and no problem to work with a pirate brand, but wanted to notice it might be negative branding. Personally I quite like the Bright Ground name joke (and I don't think it will cause legal troubles, but IANAL).
Re:Pirate Weather: A Free, Open, and Documented Forecast API by stefanka on Wednesday January 11, 2023 @09:18AM (#34338721)
Maybe use an synonym. 'Corsair weather', 'privateer weather' ?