- Nov 2023
-
stackoverflow.com stackoverflow.com
-
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?!
-
-
laracasts.com laracasts.com
-
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?
-
-
-
As our app grows, an increasing amount of random code is landing in the app/services directory. I'm worried it will become impractical to improve on this, as the number of special cases will only increase. Some pain points off the top of my head (definitely not exhaustive):
-
-
github.com github.com
-
The subdirectories in app have a name that describes their contents, but app/lib means nothing. So, app/models and app/lib are at different level of abstraction, and that feels wrong to me.
-
It is also worth noting that lib/tasks typically has application-specific tasks, thus not fitting into the condition for lib. Which makes me question the criteria for lib
-
- Jan 2023
-
www.merriam-webster.com www.merriam-webster.com
-
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'.
-
- Nov 2022
-
developer.mozilla.org developer.mozilla.org
-
Note that strings here are encoded as UTF-8, unlike the usual JavaScript UTF-16 strings.
-
- Oct 2022
-
-
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?
-
- Aug 2022
-
meta.stackexchange.com meta.stackexchange.com
-
oh I'm fine with defective verbs. I'm not fine with inconsistency, though. Make it "Signup and login", and make it that on every SE page everywhere ever, and you can countin me.
-
- Apr 2022
-
github.com github.com
-
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.
Tags
Annotators
URL
-
- Mar 2022
-
momentjs.com momentjs.com
-
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.
-
- Dec 2021
-
writing.fletom.com writing.fletom.com
-
The “use spaces, or else fall back on quotes” system is just silly.
-
-
github.com github.com
-
To be more clear, it violates this particular rule.
-
- Nov 2021
-
github.com github.com
-
I don't see how making the attribute selectively present (and unlike anything else) achieves that goal.
Tags
Annotators
URL
-
- Sep 2021
-
en.wikipedia.org en.wikipedia.org
-
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").
Tags
Annotators
URL
-
- Jul 2021
-
test-prof.evilmartians.io test-prof.evilmartians.ioTestProf1
-
That technique works pretty good but requires us to use instance variables and define everything at once. Thus it's not easy to refactor existing tests which use let/let! instead.
-
-
www.reddit.com www.reddit.com
-
Hello, maksimets: code blocks using triple backticks (```) don't work on all versions of Reddit!Some users see this / this instead.
-
-
-
(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.)
-
- May 2021
-
github.com github.com
-
Note that not all of the colors in SMUI read from CSS variables, so some parts will still use the colors defined in the original Sass compile.
-
-
stackoverflow.com stackoverflow.com
-
Yeah, as many developers will tell you, designing/coding for email is an incredibly hit-or-miss proposition...this is simply one more thing that may work in some email clients. The only consistent behavior in HTML/CSS emails is that nothing is consistent. :-)
-
- Apr 2021
-
-
It looks like touching objects "manually" versus "in cascade through belongs_to association" does not result in the same behavior.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
It seems inelegant to me to split this into two different modules, one to include, the other to extend.
the key thing (one of them) to understand here is that: class methods are singleton methods
-
-
medium.com medium.com
-
When we usedef self.method, though, we are defining a method across scopes: we are present in the regular class scope, but we use Ruby’s ability to define methods upon specific instances from anywhere; self within a class definition is the Class instance we are working on (i.e. the class itself). Therefore, usingdef self.method is a leap to another scope, and this feels wrong to me.
-
- Mar 2021
-
en.wikipedia.org en.wikipedia.org
-
Abbreviations used in bookkeeping
so inconsistent!
PL – Profit and loss; (or I/S – income statement) P/R - Payroll etc.
Tags
Annotators
URL
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
These methods should be used with caution, however, because important business rules and application logic may be kept in callbacks. Bypassing them without understanding the potential implications may lead to invalid data.
-
- Feb 2021
-
www.schneems.com www.schneems.com
-
Instead of having this confusing maze of lambdas, regexes, and strings, we could, in theory, introduce a single entry point of configuration for Sprockets to use, and in that file declare all assets we wanted to compile. Well, that’s exactly what the manifest.js file is.
-
-
github.com github.com
-
@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
-
- Jan 2021
-
www.emailonacid.com www.emailonacid.com
-
-
The Gmail Android app that comes pre-installed with most new Android phones contains a feature to access non-Google accounts using POP and IMAP. Unfortunately, emails accessed through this setup lack the embedded style (<style>) support as well as the support for background images.
-
-
material.io material.ioMenus1
-
By default, menus open with an entrance animation. However, on desktop, menus can skip the animation and open instantly instead.
Why only on desktop? That delay drives me crazy. I would like to skip on web/mobile too.
-
- Nov 2020
-
material.io material.ioReply1
-
To ensure there is enough space for both content and navigation, Reply uses different navigation patterns for desktop, tablet, and mobile.
-
-
stackoverflow.com stackoverflow.com
-
The problem is that by default, module paths only work with things imported via npm because the new modules variable on resolve defaults to ["node_modules"]. This lets you import 3rd party code from npm really easily. But it means importing your code with a module path needs a config change.
-
-
github.com github.com
-
What bothers me most from Svelte: <!-- I want to bind the value of this custom input just like I would bind to normal input --> <input bind:value="query" /> <!-- works --> <search-input bind:value="query" /> <!-- doesn't work :/ -->
I think this works in current Svelte
-
- Sep 2020
-
medium.com medium.com
-
Something to be aware of when you’re using any bundler: there’s very little consistency when it comes to how modules are packaged in NPM. It’s incredibly frustrating, especially considering many of us write modules these days using ESM. Here’s some various problems that come up:
-
-
-
But then the code in Comp must be different compared to a normal dispatch usage.
Tags
Annotators
URL
-
- Aug 2020
-
www.washingtonpost.com www.washingtonpost.com
-
Yu, X. (n.d.). Opinion | I’m from Wuhan. I got covid-19—After traveling to Florida. Washington Post. Retrieved 17 July 2020, from https://www.washingtonpost.com/opinions/2020/07/15/im-wuhan-i-got-covid-19-after-traveling-florida/
-
-
psyarxiv.com psyarxiv.com
-
Ecker, Ullrich, Brandon Sze, and Matthew Andreotta. ‘No Effect of Partisan Worldview on Corrections of Political Misinformation’, 20 August 2020. https://doi.org/10.31234/osf.io/bszm4.
-
-
en.wikipedia.org en.wikipedia.org
-
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.
-
-
en.wikipedia.org en.wikipedia.org
-
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).
Tags
Annotators
URL
-
- Jul 2020
-
www.thelancet.com www.thelancet.com
-
Lee, Jaehyeon, So Yeon Kim, Heungsup Sung, Sang Won Lee, Hyukmin Lee, Kyoung Ho Roh, Cheon Kwon Yoo, and Ki Ho Hong. ‘Challenges and Issues of SARS-CoV-2 Pool Testing’. The Lancet Infectious Diseases 0, no. 0 (14 July 2020). https://doi.org/10.1016/S1473-3099(20)30516-8.
-
-
twitter.com twitter.com
-
You should see me doing a write up for a Ruby feature suggestion only to discover that Array#- is hijacked for non-mathematical reasons
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
I do not understand why concat modify the array, as most of the method of the Array class has a ! method for that. Should I also introduced a concat! method?
Tags
Annotators
URL
-
- Jun 2020
-
docs.syncthing.net docs.syncthing.net
-
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.
-
- Apr 2020
-
grammarist.com grammarist.com
-
The exception, again, is the New York Times, where the one-word form is rare even on the blogs.
-
-
ell.stackexchange.com ell.stackexchange.com
-
the spelling "Web site" (and the less questionable "web site") is an anachronism from the 1990s that is still in use by the NYT and some other conservative print media in the US while most others (including the online sections of the NYT!) today use "website".
-
- Mar 2020
-
thepugautomatic.com thepugautomatic.com
-
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).
-
- Dec 2019
-
bugzilla.redhat.com bugzilla.redhat.com
-
So, though normally bash would not run ~/.bashrc for a non-interactive shell, with ssh it does so anyway.
Tags
Annotators
URL
-
- Sep 2019
-
mobx.js.org mobx.js.org
-
MobX makes state management simple again by addressing the root issue: it makes it impossible to produce an inconsistent state.
-
- Mar 2017
-
netzfueralle.blog.rosalux.de netzfueralle.blog.rosalux.de
-
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).
-
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.
-
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."
-
ature of many smart technologies: building hi-tech socialism using neoliberal infrastructure might very well be impossible.
vgl. Anmerkung auf S. 21
-
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.
-
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).
-