58 Matching Annotations
  1. Dec 2022
    1. This is a terrible idea. At least if there's no way to opt out of it! And esp. if it doesn't auto log out the original user after some timeout.

      Why? Because I may no longer remember which device/connection I used originally or may no longer have access to that device or connection.

      What if that computer dies? I can't use my new computer to connect to admin UI without doing a factory reset of router?? Or I have to clone MAC address?

      In my case, I originally set up via ethernet cable, but after I disconnected and connected to wifi, the same device could not log in, getting this error instead! (because different interface has different mac address)

    1. simonhong commented Dec 11, 2020 @pitsi That homepage option is related with below homepage option. If homepage is configured, new tab will show that url. Loading local html file in new tab is not supported.

      I came here looking for a way to change the default New Tab Page in Brave to open up to my Hypothes.is bookmarks.

      This was passage was only part of the solution. The full solution is as follows: 1. Go to Settings > Appearances - brave://settings/appearance 2. Under "Show home button", select website you want to open as New Tab Page 3. Go to Settings > New Tab Page - brave://settings/newTab 4. Change from "Dashboard" to "Homepage"

  2. Nov 2022
    1. Changing the second line to: foo.txt text !diff would restore the default unset-ness for diff, while: foo.txt text diff will force diff to be set (both will presumably result in a diff, since Git has presumably not previously been detecting foo.txt as binary).

      comments for tag: undefined vs. null: Technically this is undefined (unset, !diff) vs. true (diff), but it's similar enough that don't need a separate tag just for that.

      annotation meta: may need new tag: undefined/unset vs. null/set

    1. In the absence of fonts specified in the webpage itself, Safari will use its default font, Time New Roman. However, TNR does not have glyphs in the range shown on this page so Safari cascades to its default for each Unicode range.
  3. Oct 2022
    1. With JSON Schema, you don't have to specify things. The syntax is declarative and adds restrictions. So if you don't want a restriction on the type of value that's allowed, don't use the type keyword.
    1. in many ways, Law 25 is the most stringent of the three regimes
    2. Privacy by default: Bill 64’s “confidentiality by default” clause is far broader in scope and significantly more stringent than the “privacy by design” concept under the GDPR. The CCPA does not provide for this concept at all, instead taking an “after-the-event” remedial approach. 
    1. La confidentialité par défaut : La clause de "confidentialité par défaut" du projet de loi 64 a une portée beaucoup plus vaste et est beaucoup plus stricte que le concept de "confidentialité par conception" prévu par le RGPD. Le CCPA adopte plutôt une approche corrective "après coup".
  4. Sep 2022
    1. Note: Git 2.6+ (Q3 2015) will propose that in command line: see "Why does git log not default to git log --follow?" Note: Git 2.6.0 has been released and includes this feature. Following path changes in the log command can be enabled by setting the log.follow config option to true as in: git config log.follow true
  5. Jul 2022
    1. # ActiveStorage defaults to security via obscurity approach to serving links # If this is acceptable for your use case then this authenticable test can be # removed. If not then code should be added to only serve files appropriately. # https://edgeguides.rubyonrails.org/active_storage_overview.html#proxy-mode def authenticated? raise StandardError.new "No authentication is configured for ActiveStorage" end
  6. Jun 2022
    1. Right? So what's happening inside your brain right now? And for thousands of years, we've been thinking and writing and experiencing awe, and we know so little about it. And so to try to understand what is it and what does it do, my Lab of Misfits had just the wonderful opportunity and the pleasure 00:08:07 to work with who are some of the greatest creators of awe that we know: the writers, the creators, the directors, the accountants, the people who are Cirque Du Soleil. And so we went to Las Vegas, and we recorded the brain activity of people while they're watching the performance, over 10 performances of "O," which is iconic Cirque performance. 00:08:34 And we also measured the behavior before the performance, as well as a different group after the performance. And so we had over 200 people involved. So what is awe? What is happening inside your brain right now? It's a brain state. OK? The front part of your brain, the prefrontal cortex, which is responsible for your executive function, your attentional control, is now being downregulated. 00:09:02 The part of your brain called the DMN, default mode network, which is the interaction between multiple areas in your brain, which is active during, sort of, ideation, creative thinking in terms of divergent thinking and daydreaming, is now being upregulated. And right about now, the activity in your prefrontal cortex is changing. It's becoming asymmetrical in its activity, 00:09:28 biased towards the right, which is highly correlated when people step forward into the world, as opposed to step back. In fact, the activity across the brains of all these people was so correlated that we're able to train an artificial neural network to predict whether or not people are experiencing awe to an accuracy of 75 percent on average, with a maximum of 83 percent. So what does this brain state do? 00:09:58 Well, others have demonstrated, for instance, Professors Haidt and Keltner, have told us that people feel small but connected to the world. And their prosocial behavior increases, because they feel an increased affinity towards others. And we've also shown in this study that people have less need for cognitive control. They're more comfortable with uncertainty without having closure. 00:10:26 And their appetite for risk also increases. They actually seek risk, and they are better able at taking it. And something that was really quite profound is that when we asked people, "Are you someone who has a propensity to experience awe?" They were more likely to give a positive response after the performance than they were [before]. They literally redefined themselves and their history. So, awe is possibly the perception that is bigger than us. 00:11:00 And in the words of Joseph Campbell, "Awe is what enables us to move forward." Or in the words of a dear friend, probably one of our greatest photographers, still living photographers, Duane Michaels, he said to me just the other day that maybe it gives us the curiosity to overcome our cowardice.

      Scientific research demonstrating the beneficial impacts of being in a state of awe.

  7. May 2022
  8. Mar 2022
  9. Feb 2022
  10. Dec 2021
  11. Sep 2021
  12. Jun 2021
  13. Mar 2021
    1. I'd suggest there ought to be config to disable source maps specifically, and specifically for either CSS or JS (not alwasy both), without turning off debug mode. As you note, debug mode does all sorts of different things that you might want with or without source maps.
    1. # This behavior can be disabled with: # # environment.unregister_postprocessor 'application/javascript', Sprockets::SafetyColons

      but it appears to no longer be possible in latest version...

  14. Feb 2021
  15. Jan 2021
  16. Nov 2020
  17. Oct 2020
    1. const debounceFunc = debounce(1000, false, (num) => {    console.log('num:', num);}); // Can also be used like this, because atBegin is false by defaultconst debounceFunc = debounce(1000, (num) => {    console.log('num:', num);});
    1. Looks like the problem is that debounce defaults to waiting for 0 ms ... which is completely useless!

      It would be (and is) way to easy to omit the 2nd parameter to https://lodash.com/docs/4.17.15#debounce.

      Why is that an optional param with a default value?? It should be required!

      There must be some application where a delay of 0 is useless. https://www.geeksforgeeks.org/lodash-_-debounce-method/ alludes to / implies there may be a use:

      When the wait time is 0 and the leading option is false, then the func call is deferred until to the next tick.

      But I don't know what that use case is. For the use case / application of debouncing user input (where each character of input is delayed by at least 10 ms -- probably > 100 ms -- a delay of 0 seems utterly useless.

    1. But recently I started to think about default values as some sort of a technical debt ... which is not a straight bad thing but something that could provide some "short term financing" get us to survive the project
    2. Right, and if most uses of an FTP service use new FtpService() the one that sets an alternate port will stand out (service.SetPort(12345))
    3. General rules of thumb
    4. The question about default values in general - default return function values, default parameter values, default logic for when something is missing, default logic for handling exceptions, default logic for handling the edge conditions etc.
    5. For a long time I considered default values to be a "pure evil" thing, something that "cloaks the catastrophe" and results in a very hard do find bugs.
  18. Jul 2020
  19. Jun 2020
    1. Data that is sent over the network is compressed (optionally) and encrypted (always). When receiving data it must be decrypted and then (if compressed) decompressed.
  20. May 2020
    1. Most web browsers are set by default to protect your privacy unless you opt for tracking yourself. For example, Internet Explorer automatically enables its “Do Not Track” option and Google Chrome blocks any 3rd-party cookies by default.
    1. Consumers located in the EU are also protected by a default legal 2 year guarantee on products purchased at no additional cost. Here again: 2-years is the statutory minimum
    2. In the US, there is no one national law in regards to returns/refunds for purchases made online as in most cases, this is implemented on a state-by-state basis, however, under several state-laws, if no refund or return notice was made visible to consumers before purchase, consumers are automatically granted extended return/refund rights. In cases where the item purchased is defective, an implied warranty may apply in lieu of a written warranty
    1. While there are security benefits to disallowing unsigned extensions by default, it is not clear why there is no option to turn off this behavior, perhaps by making it configurable only with administrator rights.
  21. Oct 2019
  22. Mar 2018
    1. Raspberry Pi, Scratch, and HTML and CSS

      I'm going to push for this in a class I'm working with now - our default is WordPress :|