171 Matching Annotations
  1. Jun 2021
    1. a never-ending argument about choosing an ideal one from Laravel vs. ASP.Net keeps going. Both these technologies have emerged powerful and give a nip and tuck competition to each other.
    1. This is why for a recent Angular+Rails project we chose to use a testing stack from the backend technology’s ecosystem for e2e testing.
    2. We used testing tools that were in the same ecosystem as our backend technology stack for primrily three reasons: We owned both ends of the stack Team experience Interacting with the database
    3. We chose to define the frontend in one technology stack (Angular+TypeScript/JavaScript) and the backend in another (Ruby+Ruby on Rails), but both came together to fulfill a singular product vision.
  2. May 2021
  3. Apr 2021
  4. Mar 2021
    1. but I like that Svelte comes with a good CSS story out the box.

      comes with a good CSS story out the box

    2. 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.
  5. 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. provide interfaces so you don’t have to think about them

      Question to myself: Is not having to think about it actually a good goal to have? Is it at odds with making intentional/well-considered decisions?  Obviously there are still many of interesting decisions to make even when using a framework that provides conventions and standardization and makes some decisions for you...

    1. The framework I’ve used is Impact = Environment x Skills. What this means is: We need to solve for is Impact. Impact is the product of our Environment and our Skills. If our skills are great, but the environment is wrong (or vice versa), then we aren't set up for success.

      impact framework equation

    1. For this one we'll define a helper method to handle raising the correct errors. We have to do this because calling .run! would raise an ActiveInteraction::InvalidInteractionError instead of an ActiveRecord::RecordNotFound. That means Rails would render a 500 instead of a 404.

      True, but why couldn't it handle this for us?

  6. Jan 2021
    1. If components gain the slot attribute, then it would be possible to implement the proposed behavior of <svelte:fragment /> by creating a component that has a default slot with out any wrappers. However, I think it's still a good idea to add <svelte:fragment /> so everyone who encounters this common use case doesn't have to come up with their own slightly different solutions.
    1. Mambrini. A. Baronchelli. A. Starnini. M. Marinazzo. D. De Domenico, M. (2020) .PRINCIPIA: a Decentralized Peer-Review Ecosystem. Retrieved from: chrome-extension://bjfhmglciegochdpefhhlphglcehbmek/pdfjs/web/viewer.html?file=https%3A%2F%2Farxiv.org%2Fpdf%2F2008.09011.pdf

    1. Popper for Svelte with actions, no wrapper components or component bindings required! Other Popper libraries for Svelte (including the official @popperjs/svelte library) use a wrapper component that takes the required DOM elements as props. Not only does this require multiple bind:this, you also have to pollute your script tag with multiple DOM references. We can do better with Svelte actions!
  7. Nov 2020
    1. “Within the humanistic psychology framework, the healthy personality is considered one that constantly moves toward freedom, responsibility, self-awareness, meaning, commitment, personal growth, maturity, integration, and change, rather than one that predominantly strives for status, achievement, or even happiness."

      The humanistic psychology framework focuses on larger scale values than on individual achievement

    1. Svelte by itself is great, but doing a complete PWA (with service workers, etc) that runs and scales on multiple devices with high quality app-like UI controls quickly gets complex. Flutter just provides much better tooling for that out of the box IMO. You are not molding a website into an app, you are just building an app. If I was building a relatively simple web app that is only meant to run on the web, then I might still prefer Svelte in some cases.
  8. Oct 2020
    1. n the 1960s computers represented enormous change as the jobs for which many of them had been trained were being automated. This threat to livelihoods was to them harmful and a state of disorder with union protests and strikes. The older unskilled workers who thought they had a secure position were faced the chaos of having to start again.

      Complacency zone between Simple and Chaotic Domain as Snowden described. Perhaps the same thing will happen to the new "old' generation with the advent of AI

    1. A library is a set of functions you can use in your project. It does not care how and where you use that functionality. A framework tells you how to write code with the framework you are working with so you can make the best use of patterns, architecture, and functions in a framework. A framework can encompass a library.
  9. Sep 2020
    1. I don't understand why it just launches the mutation once and then it throws the error Function called outside component initialization, the only way to make it work is to do something like $: result = mutation(...) but it doesn't make sense, I don't want to run the mutation after each keystroke.
    2. We’re still working on idiomatic Svelte APIs so this one’s also on our list to figure out what the best way forward is
    1. I totally get not wanting to extend the syntax. I tried doing these things and in practice it was not easy or pretty. Actions provide a much cleaner and easier way to accomplish a certain set of functionality that would be much more difficult without it.
    2. Actions add additional functionality to elements within your component's template that may be difficult to add with other mechanisms. Examples of functionality which actions makes trivial to attach are:
    1. If this was tied into Svelte's flow with hooks this would not be necessary since it would know when it was being removed from the DOM.
    2. You must: reference each element you are extending using refs or an id add code in your oncreate and ondestroy for each element you are extending, which could become quite a lot if you have a lot of elements needing extension (anchors, form inputs, etc.)
    3. This is where hooks/behaviors are a good idea. They clean up your component code a lot. Also, it helps a ton since you don't get create/destroy events for elements that are inside {{#if}} and {{#each}}. That could become very burdensome to try and add/remove functionality with elements as they are added/removed within a component.
    1. The RDF model encodes data in the form ofsubject,predicate,objecttriples. The subjectand object of a triple are both URIs that each identify a resource, or a URI and a stringliteral respectively. The predicate specifies how the subject and object are related, and isalso represented by a URI.

      Basic description of Resource Description Framework

  10. Aug 2020
    1. Knowing all this, what would you do? Which path would you choose and why? The answer might seem obvious now that you come from the future - React
  11. Jul 2020
    1. many settings

      Because this Framework envisions information literacy as extending the arc of learning throughout students’ academic careers and as converging with other academic and social learning goals, an expanded definition of information literacy is offered here to emphasize dynamism, flexibility, individual growth, and community learning:

      Information literacy is the set of integrated abilities encompassing the reflective discovery of information, the understanding of how information is produced and valued, and the use of information in creating new knowledge and participating ethically in communities of learning.

    2. iscusses ways

      The Framework is organized into six frames, each consisting of a concept central to information literacy, a set of knowledge practices, and a set of dispositions. The six concepts that anchor the frames are presented alphabetically:

      1. Authority Is Constructed and Contextual
      2. Information Creation as a Process
      3. Information Has Value
      4. Research as Inquiry
      5. Scholarship as Conversation
      6. Searching as Strategic Exploration

      Mueller, D. (2015, February 9). Framework for Information Literacy for Higher Education [Text]. Association of College & Research Libraries (ACRL). http://www.ala.org/acrl/standards/ilframework

    3. The Framework

      "based on a cluster of interconnected core concepts, with flexible options for implementation, rather than on a set of standards or learning outcomes, or any prescriptive enumeration of skills. At the heart of this Framework are conceptual understandings that organize many other concepts and ideas about information, research, and scholarship into a coherent whole."

    1. This model is the most flexible and open-ended of the four; your goal as an instructor is not to design a full-fledged semester of material, activities, and assessments. Rather, your goal is to work with your class to design and become a learning community, working collaboratively and individually towards your determined learning goals. For this to work you should have: a set of possible/preferred learning objectives for your classa library of course materials, preferably with as much as possible in digital formata suggested list of digital tools and technologies that you’re comfortable from with a list of possible assignment/project/assessment ideas that are related to your learning objectivesa willingness to experiment and invite your students into the teaching & learning process. At the onset of class you will need to facilitate a conversation among you and your students about how the class will unfold. This can be done in small groups f2f, via an online communication tool, or in a hybrid mix of both. As a community you should plan on addressing the following: what are our objectives as a learning community? what kind of work could we engage in to meet these objectives? what physical/virtual spaces would we like to work in? how/when do we want to meet in these spaces?how do we want to measure (assess) if an objective has been met?what rules and policies should govern our work? how will we work virtually and respect everyone’s boundaries and personal situations? how will we work f2f and respect public health recommendations and personal situations? You will probably need to spend at least the first 1-2 weeks answering these questions together and then designing a plan for your course. Make sure you and your students talk through various complications: what if the university’s policies about meeting f2f change? what if classes are forced to move entirely virtual/remote? what someone (students or professor!) gets sick?

      This is the one for me!!!!

  12. Jun 2020
  13. May 2020