61 Matching Annotations
  1. Jul 2025
  2. Jun 2025
  3. May 2025
  4. Apr 2025
  5. Nov 2023
    1. You can set "Authorized redirect URI" to local IP (like http://127.0.0.1/callback), it's working fine for me. What really agonizing is that google don't allow user to config an external IP (let's say your server IP like 99.99.99.99) as "Authorized redirect URI", google want the "Authorized redirect URI" to end with a public top-level domain (such as .com or .org).

      Trying to use a local .test domain results in: Invalid Origin: must end with a public top-level domain (such as .com or .org).

      but local IP is allowed. Why this inconsistency?

      And then this one: can use external domain, but not external IP?!

    1. The problem is that when I want to create OAuth client ID in google, it does not accept ".test" domain for "Authorized redirect URIs". It says: Invalid Redirect: must end with a public top-level domain (such as .com or .org). Invalid Redirect: domain must be added to the authorized domains list before submitting. While it accepts .test domain for "Authorized JavaScript origins" part! I saw most of the tutorials when using socialite and google api they set these in google console. http://localhost:8000 and http://localhost:8000/callback/google and google accepts them without problem with domain and generate the key and secret but I am not using mamp and I am going to continue with valet. I would be so thankful if you guide me about what is the alternative domain for .test which works fine in valet and also google accepts it?
  6. Jan 2023
    1. Nice try, but it's still full of exceptions. To make the above jingle accurate, it'd need to be something like: I before e, except after c Or when sounded as 'a' as in 'neighbor' and 'weigh' Unless the 'c' is part of a 'sh' sound as in 'glacier' Or it appears in comparatives and superlatives like 'fancier' And also except when the vowels are sounded as 'e' as in 'seize' Or 'i' as in 'height' Or also in '-ing' inflections ending in '-e' as in 'cueing' Or in compound words as in 'albeit' Or occasionally in technical words with strong etymological links to their parent languages as in 'cuneiform' Or in other numerous and random exceptions such as 'science', 'forfeit', and 'weird'.
  7. Nov 2022
  8. Oct 2022
    1. Options to import/export locally stored passwords have been a staple of Chrome for years. For god knows what reason either option seemed to randomly disappear in one Chrome Version and then re-appear in the next.Sometimes there was an import option with no export option, sometimes the other way round like right now, sometimes neither option was available, but you could always add either Option via chrome://flags.If they wanted to force people to use online sync only, why have options for local export still, but not import?
  9. Aug 2022
  10. Apr 2022
    1. It would be great if we could keep the existing behaviour for application/x-www-form-urlencoded, but we can't, because in their infinite wisdom the web's architects decided that a regular form submission should have that content type, but a fetch with the exact same data (i.e. body: new FormData(event.target)) will have a multipart/form-data content type. In order for endpoints to behave the same way with JS-triggered form submissions as JS-less ones, we need to have consistent behaviour.
  11. Mar 2022
    1. Using Date.parse, or new Date(<string>) has been problematic and implemented inconsistently in the past. The current specification defines parsing a variation of ISO 8601 strings, where date-only forms (like "2020-09-14") are parsed as UTC, instead of local time as they would be by ISO 8601.
  12. Dec 2021
  13. Nov 2021
  14. Sep 2021
    1. In American usage such divisions are generally referred to as colleges (e.g., "college of arts and sciences") or schools (e.g., "school of business"), but may also mix terminology (e.g., Harvard University has a "faculty of arts and sciences[2]" but a "law school").
  15. Jul 2021
  16. test-prof.evilmartians.io test-prof.evilmartians.io
    1. (This, incidentally, is why the current 'zero-config' marketing fad is such nonsense: it really means 'abdicate the responsibility for config'. Instead of a single place where you can view all the build config in a structured, coherent form, you have the exact same amount of config but scattered around your project in lots of annoying files that are harder to understand.)
  17. May 2021
  18. Apr 2021
  19. Mar 2021
  20. Feb 2021
    1. @conference_form.submit(conference_params)

      Surprised they called it submit, since that could imply that you're triggering an action called submit.

      They use other verbs to describe this:

      • sync
      • populate
      • write

      Analogous to Reform's sync / sync_models method.

      Actually, the name makes a lot of sense when you see it in context:

          @conference_form = ConferenceForm.new(conference)
          @conference_form.submit(conference_params)
      
          if @conference_form.save
      
  21. Jan 2021
  22. Nov 2020
  23. Sep 2020
  24. Aug 2020
    1. Where these systems most notably differ is in their units of volume. A US fluid ounce (fl oz), about 29.6 millilitres (ml), is slightly larger than the imperial fluid ounce (about 28.4 ml). However, as there are 16 US fl oz to a US pint and 20 imp fl oz per imperial pint, the imperial pint is about 20% larger. The same is true of quarts, gallons, etc.; six US gallons are a little less than five imperial gallons.
    1. On land, the league is most commonly defined as three miles, though the length of a mile could vary from place to place and depending on the era. At sea, a league is three nautical miles (3.452 miles; 5.556 kilometres).
  25. Jul 2020
  26. Jun 2020
    1. Is it “syncthing”, “Syncthing” or “SyncThing”?¶ It’s Syncthing, although the command and source repository is spelled syncthing so it may be referred to in that way as well. It’s definitely not SyncThing, even though the abbreviation st is used in some circumstances and file names.
  27. Apr 2020
  28. Mar 2020
    1. If you ever need to work with external translators, it’s a bit of a pain sending both your YML files and a bunch of views like index.en.html.erb. For one thing, you need some code to find all those files and send them, and put them back after receiving the translations. For another, your translator must respect the markup and code of the template, and know not to translate them. And if you want to use tools like WebTranslateIt, it’s easier to stick to YML.

      Good point. Better to store translations in your I18n backend in the same place as your subject translations, etc. (which by default is in YAML file).

  29. Dec 2019
  30. Sep 2019
  31. Mar 2017
    1. Der zweite Teil ist noch problematischer als der erste. Im Grunde betreiben die beiden mit dem zweiten Teil einen Etikettenschwindel: Sie schreiben "case study" drüber, weil das gut passt, ein Theorieteil und ein Fall. Aber was sie als Fallstudie verkaufen wollen ist alles andere, aber keine Studie. Für mich liest sich der zweite Teil wie eine Mischung aus Stadt(verwaltungs)marketing, Regierungsprogramm und Flugblatt einer idealistisch technophilen NGO. Analytisch und kritisch ist da nichts. In den Begrifflichkeiten lassen sich grundsätzliche Inkompatibilitäten zum ersten Teil finden (z.B. S. 35).

    2. Das Papier hantiert mit zwei Etiketten für die Stadt: neoliberal und rebellisch. Daraus ergibt sich ein Widerspruch, den es nicht weiter problematisiert oder gar bearbeitet: Sie wird als neoliberal etikettiert, soll aber dem datenbasierten Neoliberalismus 2.0 widerstehen (z.B. S. 23). Warum sie das tun sollte, wird nicht weiter erläutert, dass sie es nicht tut und dass das eben keinen Widerspruch bildet, fällt also auch nicht auf. Da ist die kritische Stadtsoziologie mit ihrem Konzept der "Unternehmerischen Stadt" analytisch klarer und erklärungsmächtiger.

    3. None   of   this   is   to   say   that,   somehow,   the   maker   movement   or   3D   printers   cannot   be  repurposed   to   serve   a   different

      Hinter der doppelten Verneinung in diesem Satz ist eine Aussage versteckt, die mehrere Jahrzehnte kritische Technologietheorie einfach so vom Tisch wischt: Technologie ist nicht neutral. Die Zwecke sind ihr eingeschrieben, nur ein sozialer und politischer Prozess der den Zweck der gesellschaftlichen Produktion adressiert kann auch Zweck und damit Charakter von Technologie verändern. Einfach "rumdrehen" lässt sich der Zweck von Technologie nicht.

      S. 24 heißt es übrigens m.E. schon sehr viel näher dran an einer angemessenen Sichtweise: "building hi-tech socialism using neoliberal infrastructure might very well be impossible."

    4. The idea was that technology would provide easy fixes to complex social problems while too often forgettingthe ultimate reason for the application of these technologies, which is serving the citizens and deliver better public services.

      Die Idee war also gut, nur bei der Umsetzung wurde was vergessen??! Das fällt ja nochmal meilenweit hinter die kritischen Bestimmungen des ersten Teils zurück. Bzw. zeigt, dass die beiden Teile wenig miteinander zu tun haben im Sinne einer kritisch-analytischen Textgenese, wie ich sie von einer Fallstudie mit vorangestelltem Theorieteil erwarten würde.

    5. for ordinary u

      "ordinary users" von airbnb sind also ok? da hätte ich ja auch noch mal diskussionsbedarf. und außerdem widerspricht es den schlussfolgerungen des eigenen papiers an anderer stelle (aufbau eigener infrastruktur).