287 Matching Annotations
  1. Aug 2023
    1. If tech doesn’t contribute to solving some of the problems it creates, we are doomed
      • for: quote, quote - Esther Dyson, quote - progress trap, quote - progress traps, progress trap,
      • quote: "If tech doesn’t contribute to solving some of the problems it creates, we are doomed"
      • author: Esther Dyson
        • internet pioneer
        • journalist
        • entrepreneur
        • executive founder of Way to Wellville
  2. Jul 2023
    1. The "Dokkōdō" (Japanese: 獨行道) ("The Path of Aloneness", "The Way to Go Forth Alone", or "The Way of Walking Alone") is a short work written by Miyamoto Musashi a week before he died in 1645. It consists of 21 precepts. "Dokkodo" was largely composed on the occasion of Musashi giving away his possessions in preparation for death, and was dedicated to his favorite disciple, Terao Magonojō (to whom the earlier Go rin no sho [The Book of Five Rings] had also been dedicated), who took them to heart. "Dokkōdō" expresses a stringent, honest, and ascetic view of life.

      The work of Musashi, Dokkodo, is the Japanese for "The way of walking alone", which I like most as a translation.

    1. no we don't
      • Answer

        • No.
        • we end up with a non conceptual insight that:
          • we can then communicate
          • that we can discuss
          • that we can articulate
          • that requires that reason be present at:
            • the beginning like the seed
            • in the middle when we're performing the analysis
            • like the rain that nourishes the crops and
            • in the end in the harvest
          • because non conceptuality is really easy to achieve all you need is a very large rock,
            • just bang right on your head and non conceptuality is there
          • but that's a mute inert non-conceptual
          • Non-conceptuality needs to be enriched by the conceptual insight that allows you to actually make something of it
      • The Middle Way

        • using the conceptual to reach a deeper appreciation of the state of non-conceptuality,
        • in other words, using dualistic thought and language to reach insights about the nondual
      • Title
        • Madhyamaka: Jay Garfield
      • Description
        • Jay Garfield talks about why Nagarjuna's technique employts reason to undermine itself to achieve peace in a nonconceptual state.
          • He humorously points out how its easy to achieve nonconceptual states in many ways, such as a large rock to the head, but that kind of nonconceptual state is not really insightful for penetrating the deep philosophical questions we all have.
          • He clarifies why Nagarjuna's process is called the Middle Way,
            • it employs (conceptual) analysis to achieve wisdom of the nondual (nonconceptual) state
  3. Jun 2023
  4. May 2023
    1. Stop to think about "normal app" as like desktop app. Android isn't a desktop platform, there is no such this. A "normal" mobile app let the system control the lifecycle, not the dev. The system expect that, the users expect that. All you need to do is change your mindset and learn how to build on it. Don't try to clone a desktop app on mobile. Everything is completely different including UI/UX.

      depends on how you look at it: "normal"

  5. Mar 2023
    1. We have a finite pool of good will with which we can advocate for the implementation of new security technologies. If we spend all that good will on irritating attackers, then by the time we’re ready to actually implement a solution, developers are not going to be interested.
    1. When you call 'foo' in Ruby, what you're actually doing is sending a message to its owner: "please call your method 'foo'". You just can't get a direct hold on functions in Ruby in the way you can in Python; they're slippery and elusive. You can only see them as though shadows on a cave wall; you can only reference them through strings/symbols that happen to be their name. Try and think of every method call 'object.foo(args)' you do in Ruby as the equivalent of this in Python: 'object.getattribute('foo')(args)'.
  6. Jan 2023
    1. from the start the logic reflected the social relations of the one-way mirror. They were able to see and to take — and to do this in a way that we could not contest because we had no way to know what was happening.

      !- surveillance capitalism : metaphor - one way mirror

    1. The best way to learn common table expressions is through practice. I recommend LearnSQL.com's interactive Recursive Queries course. It contains over 100 exercises that teach CTEs starting with the basics and progressing to advanced topics like recursive common table expressions.
  7. 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)

  8. Nov 2022
    1. While there are many great answers regarding the "glyph not found" glyph, that won't help you actually detect it, as the text string in code will still have the character regardless of the font used to render it.
  9. Oct 2022
    1. I'm afraid you missed the joke ;-) While you believe spaces are required on both sides of an em dash, there is no consensus on this point. For example, most (but not all) American authorities say /no/ spaces should be used. That's the joke. In writing a line about "only one way to do it", I used a device (em dash) for which at least two ways to do it (with spaces, without spaces) are commonly used, neither of which is obvious -- and deliberately picked a third way just to rub it in. This will never change ;-)
  10. Sep 2022
    1. the AST version of the code is vastly superior IMHO. The knowledge about what constitutes an access modifier is already encoded in the system so it makes more sense to just call the method to test the type of node. The regexp solution may be expedient, but it's not as resilient to change -- if new access modifiers are added in the future it's very likely this code won't be updated, which will be the source of a bug.
  11. Aug 2022
  12. Jul 2022
    1. let me first say how why we're here um 00:05:01 and first point out that barry and carl have never met before this is the first time you will discuss

      Title: What is Real? Nagarjuna's Middle Way A Discussion with Barry Kerzin (Doctor to HH Dalai Lama, Professor and Buddhist Monk) and Carlo Rovelli (Quantum Physicist)

  13. Apr 2022
    1. Best Ways to Scale a Startup or Business Successfully

      Your dream project is no longer merely a concept. It's now a reality. You've successfully launched your product, and it's gradually growing in popularity. You might be wondering now, "How does one scale a startup?"

      However, there is another critical question to consider: Is your project ready to scale?

      According to the Startup Genome Report, up to 90% of all startups fail because they try to scale too quickly. You risk a lot if you make a mistake and start scaling a business before you're ready.

      It's not easy, but you can avoid those dangers. In this blog post, we'll show you how to tell if your startup is ready for scale, and if it isn't, how to get ready. We’ve

    1. The Internet owes its strength and success to a foundation of critical properties that, when combined, represent the Internet Way of Networking (IWN). This includes: an accessible Infrastructure with a common protocol, a layered architecture of interoperable building blocks, decentralized management and distributed routing, a common global identifier system, and a technology neutral, general-purpose network.

      Definition of the Internet Way of Networking

    1. and within that within that area then you have on one on the light side with on the eastern side of the milky way all of those people there have a 00:39:56 relationship to each other all the tribes and all the clans and so and then you come on to the west side exactly the same thing again so on the east side those stars on the 00:40:10 bright side we are not allowed if you've got a totemic system that belongs to the east side you cannot marry your children into any one of them you must marry across the river so 00:40:23 you've got to go across the river which is that milky way and so the light side's going to go across the dark side to find their wives and so the old people understood who the people were and 00:40:35 and so they understood that genealogical background of every family every child and so they made sure that that when you made a promise to a child you 00:40:49 make sure that there are at least five generation removed from the people you want to marry them back into genetics was very important to us even though we didn't know it was genetics at 00:41:01 the time but it was maintaining the purity of the people

      There's a light side (East) and a dark side (West) of the Milky Way (seen as a river) which is mirrored into the moieties of the people. Dark people must go across the river to marry those on the light side. The elders kept track of all the genealogy in the totemic system of every family and every child and made their promises such that there were at least five generations removed from their family to maintain the purity (in the sense of genetic soundness, not genetic purity from a "racial" perspective) of the people.

      via Uncle Ghillar Michael Anderson

    1. start composting

      some part of foods that can't be eaten

      banana peels or onion skins

      prepare a compost bin where you can get rid of decayable food waste

      to fertilise garden

  14. Mar 2022
    1. dark constellations

      Dark constellations are dark patches amidst brighter portions of the Milky Way in the night sky which are visible to the naked eye.

      Historically they were viewed by Indigenous peoples of Australia as well as Incans.

      The emu in the sky is an example from the southern hemisphere. Its 'body' is outlined by Scorpius and Sagittarius and its 'head' is known as as the Coalsack Nebula.

      Another example is the Great Rift.

  15. Feb 2022
    1. his suggests that successful problem solvingmay be a function of flexible strategy application in relation to taskdemands.” (Vartanian 2009, 57)

      Successful problem solving requires having the ability to adaptively and flexibly focus one's attention with respect to the demands of the work. Having a toolbelt of potential methods and combinatorially working through them can be incredibly helpful and we too often forget to explicitly think about doing or how to do that.

      This is particularly important in mathematics where students forget to look over at their toolbox of methods. What are the different means of proof? Some mathematicians will use direct proof during the day and indirect forms of proof at night. Look for examples and counter-examples. Why not look at a problem from disparate areas of mathematical thought? If topology isn't revealing any results, why not look at an algebraic or combinatoric approach?

      How can you put a problem into a different context and leverage that to your benefit?

  16. Dec 2021
  17. Nov 2021
    1. I know I know with the Paris is it is a stone. And people used to write on stone in Egypt. And that’s where they would create their hieroglyphic alphabet.

    1. I am firmly convinced that asserting on the state of the interface is in every way superior to asserting on the state of your model objects in a full-stack test.
    2. Even if #foo is originally on the page and then removed and replaced with a #foo which contains baz after a short wait, Capybara will still figure this out.
    3. As long as you stick to the Capybara API, and have a basic grasp of how its waiting behaviour works, you should never have to use wait_until explicitly.
    4. Let’s make that really clear, Capybara is ridiculously good at waiting for content.
    5. apybara could have easily figured out how to wait for this content, without you muddying up your specs with tons of explicit calls to wait_until. Our developer could simply have done this: page.find("#foo").should have_content("login failed")
  18. Oct 2021
    1. Inflections go the other way around.In classic mode, given a missing constant Rails underscores its name and performs a file lookup. On the other hand, zeitwerk mode checks first the file system, and camelizes file names to know the constant those files are expected to define.While in common names these operations match, if acronyms or custom inflection rules are configured, they may not. For example, by default "HTMLParser".underscore is "html_parser", and "html_parser".camelize is "HtmlParser".
    2. All these problems are solved in zeitwerk mode, it just works as expected, and require_dependency should not be used anymore, it is no longer needed.
    1. And on any given day, developing with Svelte and its reactive nature is simply a dream to use. You can tell Svelte to track state changes on practically anything using the $: directive. And it’s quite likely that your first reactive changes will produce all the expected UI results.
  19. Sep 2021
    1. Codica Named a Top E-commerce Web Development Company by ManifestIrina TurchanovaSaaS Growth ResearcherAwardsHomeBlogCodica WayCodica Named a Top E-commerce Web Development Company by ManifestAug 26, 202110 min readCodica is a professional team that provides software consultancy services to all-sized businesses. We have been building unique and complex custom web solutions for more than six years, helping our customers reach their business goals and prosper.

      Manifest, a Clutch’s sister website, is also a business news platform. Our Manifest profile ranks among the top 60 e-commerce app development companies in Ukraine and Top apps Developers.

    1. Three days before Labor Day, on Friday, September 2, 1921, the U.S. Army intervened on the side of coal companies against striking coal miners, marking the end of the Battle of Blair Mountain in southern West Virginia. The battle was the climax of two decades of low-intensity warfare across the coalfields of Appalachia, as the West Virginia miners sought to unionize and mining companies used violent tactics to undermine their efforts. The struggle turned deadly.
  20. Aug 2021
    1. “Ultimately, these kind of iframe limitations are the reason why vendors should implement embeddable marketing forms with JavaScript instead of iframes….” – I couldn’t agree more. The trouble is, Pardot’s developers still believe it’s the 1990’s
    1. Now consider we want to handle numbers in our known value set: const KNOWN_VALUES = Object.freeze(['a', 'b', 'c', 1, 2, 3]) function isKnownValue(input?: string | number) { return typeof(input) === 'string' && KNOWN_VALUES.includes(input) } Uh oh! This TypeScript compiles without errors, but it's not correct. Where as our original "naive" approach would have worked just fine. Why is that? Where is the breakdown here? It's because TypeScript's type system got in the way of the developer's initial intent. It caused us to change our code from what we intended to what it allowed. It was never the developer's intention to check that input was a string and a known value; the developer simply wanted to check whether input was a known value - but wasn't permitted to do so.
  21. Jun 2021
    1. "Although in the United States it is common to use the term multiculturalism to refer to both liberal forms of multiculturalism and to describe critical multicultural pedagogies, in Canada, Great Britain, Australia, and other areas,anti-racism refers to those enactments of multiculturalism grounded in critical theory and pedagogy. The term anti-racism makes a greater distinction, in my opinion, between the liberal and critical paradigms of multiculturalism, and is one of the reasons I find the anti-racism literature useful for analyzing multiculturalism in music education."

    1. We want the GraphQL API to be the primary means of interacting programmatically with GitLab. To achieve this, it needs full coverage - anything possible in the REST API should also be possible in the GraphQL API.
  22. May 2021
    1. or simply install the package to devDependencies rather than dependencies, which will cause it to get bundled (and therefore compiled) with your app:
    1. In the earlier example, I used “no-reply@” because this is, unfortunately, a common practice used by many email marketers. As a brand utilizing email, you should never expect a personal experience like email to ever be one-sided.
  23. Apr 2021
    1. There's nothing to stop you from doing initializer code in a file that lives in app/models. for example class MyClass def self.run_me_when_the_class_is_loaded end end MyClass.run_me_when_the_class_is_loaded MyClass.run_me... will run when the class is loaded .... which is what we want, right? Not sure if its the Rails way.... but its extremely straightforward, and does not depend on the shifting winds of Rails.

      does not depend on the shifting winds of Rails.

    1. But in all this incongruous abundance you'll certanly find the links to expect It's just what is wanted: the tool, which is traditionally used to communicate automatically with interactive programs. And as it always occurs, there is unfortunately a little fault in it: expect needs the programming language TCL to be present. Nevertheless if it doesn't discourage you to install and learn one more, though very powerful language, then you can stop your search, because expect and TCL with or without TK have everything and even more for you to write scripts.
    1. “Who cares? Let’s just go with the style-guide” — to which my response is that caring about the details is in the heart of much of our doings. Yes, this is not a major issue; def self.method is not even a code smell. Actually, that whole debate is on the verge of being incidental. Yet the learning process and the gained knowledge involved in understanding each choice is alone worth the discussion. Furthermore, I believe that the class << self notation echoes a better, more stable understanding of Ruby and Object Orientation in Ruby. Lastly, remember that style-guides may change or be altered (carefully, though!).
    1. This approach is preferable to overriding authenticate_user! in your controller because it won't clobber a lot of "behind the scenes" stuff Devise does (such as storing the attempted URL so the user can be redirected after successful sign in).
  24. Mar 2021
    1. Your validation functions should also treat undefined and '' as the same. This is not too difficult since both undefined and '' are falsy in javascript. So a "required" validation rule would just be error = value ? undefined : 'Required'.
    1. Visible spectrum wrapped to join blue and green in an additive mixture of cyan

      the rainbow as a continuous (repeating) circle instead of semicircle

    1. Svelte is there when I need it with useful APIs, but fades into the background as I put my app together.
    2. This isn't really a downside to React; one of React's strengths is that it lets you control so much and slot React into your environment
    3. Svelte is different in that by default most of your code is only going to run once; a console.log('foo') line in a component will only run when that component is first rendered.
    1. As to why both is_a? and kind_of? exist: I suppose it's part of Ruby's design philosophy. Python would say there should only be one way to do something; Ruby often has synonymous methods so you can use the one that sounds better. It's a matter of preference.
    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.
    2. Meh... as I said earlier, I think using Webpack is the recommended way now. Another issue is there is no way to generate source maps in production.
    3. But yeah, I'm not sure how you would determine which was the "recommended way" really. I don't see anything in Rails docs saying either way.
    4. But last I have seen comments from DHH, he considered webpack(er) recommended for JS, but Sprockets still the preferred solution for (S)CSS.
    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...

    1. In production, you will never trigger one specific callback or a particular validation, only. Your application will run all code required to create a Song object, for instance. In Trailblazer, this means running the Song::Create operation, and testing that very operation with all its side-effects.
    2. There’s no need to test controllers, models, service objects, etc. in isolation
    3. Run the complete unit with a certain input set, and test the side-effects. This differs to the Rails Way™ testing style, where smaller units of code, such as a specific validation or a callback, are tested in complete isolation. While that might look tempting and clean, it will create a test environment that is not identical to what happens in production.
  25. Feb 2021
    1. Have you ever felt like a framework was getting in the way instead of helping you go faster? Maybe you’re stuck on some simple task that would be easy to do manually, but your framework is making you jump through configuration hoops. I end up getting lost in a sea of documentation (or no documentation), and the search for that one magical config key takes just a tad bit too long. It’s a productivity sink, and worse than the time delay it adds to my frustration throughout the day.
    1. In other words: the controllers usually contain only routing and rendering code and dispatch instantly to a particular operation/activity class.
    1. Endpoint is the missing link between your routing (Rails, Hanami, …) and the “operation” to be called. It provides standard behavior for all cases 404, 401, 403, etc and lets you hook in your own logic like Devise or Tyrant authentication, again, using TRB activity mechanics.
    2. What this means is: I better refrain from writing a new book and we rather focus on more and better docs.

      I'm glad. I didn't like that the book (which is essentially a form of documentation/tutorial) was proprietary.

      I think it's better to make documentation and tutorials be community-driven free content

    3. To make it short: we returned to the Rails Way™, lowering our heads in shame, and adhere to the Rails file and class naming structure for operations.
    4. There is nothing wrong with building your own “service layer”, and many companies have left the Traiblazer track in the past years due to problems they had and that we think we now fixed.