1,291 Matching Annotations
  1. Dec 2016
    1. Not every committer has the rights to release or make high level decisions, so we can be much more liberal about giving out commit rights. That increases the committer base for code review and bug triage. As a wider range of expertise in the committer pool smaller changes are reviewed and adjusted without the intervention of the more technical contributors, who can spend their time on reviews only they can do.

      Esto es clave. Si se consideran sistemas de integración continua asociados a los distintos repositorios (de código y documentación) con permisos en ellos, se pueden corregir los errores que se presenten, sin restringir grandemente la posibilidad de colaborar.

    1. The rise of agile coincided with the rise of startups using open source projects. At first, startups just incorporated those projects into their own software. But like any cultural exchange, open source began to affect how startups built products, too.
  2. Nov 2016
    1. In short we move all of the new operators to a factory. We group all of the objects of similar lifetime into a single factory

      The image above is worth to study (as the all article)

    1. By the way, if the point about being global is that a Singleton can be included in any file and used anywhere in a program, that’s true, but only bad if misused. The Singleton pattern is not inherently bad, it’s misuse is bad

      Singletons are not inherently bad

    2. If the singleton class is a “utility class” (e.g. FileUtils, StringUtils, etc.), and has no state, then I would say it’s okay. Such a class is not a liar, per se, because there is no unexpected state change or dependency

      Constants are ok

    3. ccp.chargePurchaseToCard(100,c); since the logic for purchasing will be in the processor anyway, not the card. Cards don’t process anything

      Good remark

    1. It would violate it if you stored a reference to context instead of the engine and later on referred tried to get the engine. For example: class Mechanic { Context context; Mechanic(Context context) { this.context = context; } bool CheckEngine() { return this.context.getEngine().checkIfBusted(); } }

      Violation of LoD takes place if you store a context object and then look op the dependency you really need in the method

    2. Every time I have to write a test I have to create a graph of objects (the haystack) which no one really needs or cares for, and into this haystack I have to carefully place the needles (the real object of interests) so that the code under test can go and look for them. I have to create the Context just so when I construct the Mechanic it can reach in the Context and get what it realy needs, the Engine. But context is never something which is easy to create. Since context is a kitchen sink which knows just about everything else, its constructor is usually scary. So most of the time I can’t even instantiate Mechanic, not to mention run any tests on it. The testing game is over before it even started

      Consequence of Law of Demeter breaking

    1. His point seems to be that Constructor Injection can be an anti-pattern if applied too much, particularly if a consumer doesn't need a particular dependency in the majority of cases

      In short it goes like this, so shipper is only used if isValid:

      public OrderProcessor(IOrderValidator validator, IOrderShipper shipper)

      {

      _validator = validator;

      _shipper = shipper;

      }

      ` public SuccessResult Process(Order order)`

      {

      bool isValid = _validator.Validate(order);

      if (isValid)

      {

      _shipper.Ship(order);

      }

      ``

      return CreateStatus(isValid);

      }

    1. The law of leaky abstractions means that whenever somebody comes up with a wizzy new code-generation tool that is supposed to make us all ever-so-efficient, you hear a lot of people saying "learn how to do it manually first, then use the wizzy tool to save time."
    2. A famous example of this is that some SQL servers are dramatically faster if you specify "where a=b and b=c and a=c" than if you only specify "where a=b and b=c" even though the result set is the same. You're not supposed to have to care about the procedure, only the specification. But sometimes the abstraction leaks and causes horrible performance

      Abstraction leaks may exhibit as performance issues

    3. TCP attempts to provide a complete abstraction of an underlying unreliable network, but sometimes, the network leaks through the abstraction and you feel the things that the abstraction can't quite protect you from. This is but one example of what I've dubbed the Law of Leaky Abstractions
  3. Oct 2016
  4. Sep 2016
    1. "Observatory is a fast and easy way for website operators to get direct feedback on whether their sites are following best practices in web security."

      https://observatory.mozilla.org/

  5. Aug 2016
    1. Upload the files

      If you are using WampServer locally, copy the Wordpress directory to the www directory of your WampServer installation. To find out where that is, click on the WampServer icon in the system tray (notification area in Windows 7), and then click on the 'www directory' listing in the menu. Once where you know where that is, you can copy and paste it to that location. There are other options, but this is the most convenient to get up and running with WordPress quickly.

  6. Jul 2016
    1. “In my perfect world, I have a competency profile — you know, on LinkedIn, presumably — that is kept up to date in real time on the competencies that I am exhibiting in my work, as well as competencies that I’ve demonstrated through assessments, through my education, the formal credentials that I’ve accrued,”

      It’s a very specific dream, but it sounds like it’s shared by a lot of people.

    1. You might even notice that your confidence isn’t the only thing that goes up, this was my first step in growing internally, and you’ll find that in the end Social Development isn’t just about learning to talk to other people, it’s a deep discovery about who you truly are.
  7. Jun 2016
    1. If we don’t force kids to come to school in order to change their ‘mindsets’, why ARE they here? 

      To develop their own "mindsets" in a nurturing environment that values their agency and supports them in seeing and realizing the possibilities in their lives? :-)

    1. In this Discussion blog you will find: #DevtIDEAS Debates videos and summaries (a series of live online ‘webinars’ that brought several practitioners and researchers to debate and share new ideas), editorials from key global international development researchers and and practitioners, and a collection of posts that feature multimedia videos and graphics.

      Development as a field continues to evolve. Ideas that turn into experience generate new ideas and lessons. New ideas inform new experiences, and these are typically debated by those involved in development work.

      You can read and watch the debates and discussions that took place over the past two years complementing the IDRC publication International Development: Ideas, Experience, and Prospects.

    1. What is development? How does it happen? How have ideas on development changed since the Second World War? This study guide to International Development: Ideas, Experience, and Prospects will help dig deeper into these questions. Each chapter features a summary of the main conclusions, discussion questions, and suggested readings. The Study Guide Quick Finder is at the bottom of each page.

      If you work in international development? If you are interested in learning more about the history and evolution of the thinking driving international cooperation. This is a site for you.

      The site offers the pre-print version of an IDRC publication entitled International Development: Ideas, Experience, and Prospects, edited by Bruce Currie-Alder, Ravi Kanbur, David M. Malone, and Rohinton Medhora.

      This is an interesting book brings together the voices of over ninety authors, which include international development practitioners, experts and policy makers.

      The site contains a study guide comprised by eight sections of the book, each with a number of chapters. Ideal to use for beginner or advanced courses in universities and as reference for day to day work in the field.

  8. Apr 2016
    1. the study of innovation shows that everything hinges on the hard work of taking a promising idea and making it work — technically, legally, financially, culturally, ecologically. Constraints are great enablers of innovation.
    2. But there’s a downside to the hackathon hype, and our research on designing workplace projects for innovation and learning reveals why. Innovation is usually a lurching journey of discovery and problem solving. Innovation is an iterative, often slow-moving process that requires patience and discipline. Hackathons, with their feverish pace, lack of parameters and winner-take-all culture, discourage this process. We could find few examples of hackathons that have directly led to market success.
    3. what if projects were designed to combine a hacking mindset with rigorous examination of the data and experience they glean? This would reward smart failures that reveal new insights and equip leaders with the information needed to rescale, pivot or axe their projects.

      Sounds somewhat like agile devlopment.

  9. Mar 2016
    1. By now I had become quite hooked on experimenting with the system, and lots of questions along the line of “I wonder what would happen if?…” sprang to mind.

      Sounds like this is a shared experience we have, as we dig deeper into #SonicPi. Even SPi author Sam Aaron described something similar, in an interview (ca. 33:27). Might have to do with the affordances of a system meant for learning. You know, “scaffolding” and all that.

  10. Feb 2016
  11. Jan 2016
    1. Comparison of AngularJS 2 and ReactJS.

      Angular is a full framework. React is a library. The latter involves more decisions about other packages, and more differences among projects.

      React uses JSX, an HTML-like syntax that compiles to JavaScript. It can tell you where your mistakes are. With Angular, you have to guess.

    1. Practice obliviousness Like mindfulness, except instead of acknowledging and accepting all your thoughts and emotions, you just ignore them and go about your day until something actually goes wrong.
    1. Everything we do to make it harder to create a website or edit a web page, and harder to learn to code by viewing source, promotes that consumerist vision of the web. Pretending that one needs a team of professionals to put simple articles online will become a self-fulfilling prophecy.

      Humorous talk on website bloat by Maciej Cegłowski, creator of the Pinboard bookmarking service.

  12. Dec 2015
    1. The core set of functionality we've tried to capture in the HTML5 video compositor is the timing and synchronisation of the playback of videos and other media sources. The library allows you to cut together two separate videos near seamlessly, synchronise the playback of multiple videos in parallel and manage the pre-loading of videos in a just-in-time fashion.

      The BBC is open sourcing their experimental HTML5 Video Compositor. "This is an experimental JavaScript library for playing back dynamically modifiable edit decision lists (EDLs), and applying WebGL shader based effects."

      https://github.com/bbc/html5-video-compositor

    1. Birdly explains why they've dropped their mobile apps. It is not enough for a mobile app to be useful and easy to use.

      For people to use a mobile app, it has to be something they use every day. It should take advantage of the device's main functions: sound, camera, and geolocation.

      We spent so much time updating our app to comply with the latest OS released by Apple or Google, debugging the app, developing new features, ensuring our UI was well-integrated in the global OS

    1. In Application Shell Architecture, the shell is served up by the Service Worker and then the content is delivered—often cached by the Service Worker—dynamically from its source through API requests.

      "Progressive Web Apps", an idea for better mobile performance using HTML5 Service Workers.

  13. Nov 2015
    1. Strong arguments for abandoning icon fonts in favor of SVG icons, with plenty of links to supporting material.<br> Tyler Sticka

      Font Awesome is an SVG and CSS icon library designed for Bootstrap.

    1. When we adults unite play, love, and work in our lives, we set an example that our children can follow. That just might be the best way to bring play back into the lives of our children—and build a more playful culture.
    2. Finally children do as we do, not as we say. That gives us incentive to bring play back into our adult lives. We can shut off the TVs and take our children with us on outdoor adventures. We should get less exercise in the gym and more on hiking trails and basketball courts. We can also make work more playful: Businesses that do this are among the most successful. Seattle’s Pike Fish Market is a case in point. Workers throw fish to one another, engage the customers in repartee, and appear to have a grand time. Some companies, such as Google, have made play an important part of their corporate culture. Study after study has shown that when workers enjoy what they do and are well-rewarded and recognized for their contributions, they like and respect their employers and produce higher quality work. For example, when the Rohm and Hass Chemical company in Kentucky reorganized its workplace into self- regulating and self-rewarding teams, one study found that worker grievances and turnover declined, while plant safety and productivity improved.
    3. As adults have increasingly thwarted self-initiated play and games, we have lost important markers of the stages in a child’s development. In the absence of such markers, it is difficult to determine what is appropriate and not appropriate for children. We run the risk of pushing them into certain activities before they are ready, or stunting the development of important intellectual, social, or emotional skills.  For example, it is only after the age of six or seven that children will spontaneously participate in games with rules, because it is only at that age that they are fully able to understand and follow rules.
    4. The results showed no advantage in reading and math achievement for children attending the academic preschools. But there was evidence that those children had higher levels of test anxiety, were less creative, and had more negative attitudes toward school than did the children attending the play preschools.
    5. sociodramatic play, where two or more children participate in shared make believe, demonstrate the value of this play for academic, social, and emotional learning. “Sociodramatic play activates resources that stimulate social and intellectual growth in the child, which in turn affects the child’s success in school,” concludes Smilansky in a 1990 study that compared American and Israeli children. “For example, problem solving in most school subjects requires a great deal of make believe, visualizing how the Eskimos live, reading stories, imagining a story and writing it down, solving arithmetic problems, and determining what will come next.”
    6. found that children who received an enriched, play-oriented parenting and early childhood program had significantly higher IQ’s at age five than did a comparable group of children who were not in the program (105 vs. 85 points).
    7. In infancy and early childhood, play is the activity through which children learn to recognize colors and shapes, tastes and sounds—the very building blocks of reality. Play also provides pathways to love and social connection. Elementary school children use play to learn mutual respect, friendship, cooperation, and competition. For adolescents, play is a means of exploring possible identities, as well as a way to blow off steam and stay fit. Even adults have the potential to unite play, love, and work, attaining the dynamic, joyful state that psychologist Mihaly Csikszentmihalyi calls “flow.”
    1. user innovation toolkit - a product malleable enough to let users adapt it to their own needs.

      Trello is a project management tool that provides boards, lists, and cards. The cards represent tasks or items, and move across columns on the board as they progress to a new stage of development. No particular method is prescribed. The individual or team decides how to use Trello, and the method is likely to evolve. Different projects may require different methods.

      Trello has an API to allow automation and customization. After agreeing on how to use the board, different team members might use the API to build interfaces that work best for them.

    1. Without feedback, there are three options: I can believe, without evidence, that I am an awesome programmer.  I can believe, without evidence, that I am a terrible programmer and quit to go do something else.  Or finally, I can believe, without evidence, that I am a terrible programmer somehow successfully pretending to be an awesome programmer.

      This is a thoughtful, eloquent article. My main takeaway is that perfection is delusional, but good teamwork will overcome flaws and help everyone improve continually. All of these points are forms of feedback, or prerequisites to good feedback.

      • treat coworkers with respect
      • clear, open, honest communication
      • 3 code reviews before release
      • style guidelines
      • pair programming
      • unit tests
      • manual testing
      • user experience surveys
      • user experience analytics
    1. In the latest version of Known, we shipped experimental support for Accelerated Mobile Pages. This is an answer to something called Facebook Instant Pages, which caches website content inside a mobile app so it can be displayed immediately. While Instant Pages content must be negotiated with Facebook, anyone can publish AMP content. So far, so good.Unfortunately, AMP redefines the HTML standard with some custom tags. That’s not great. It also requires that we load JavaScript from a specific source, which radically centralizes website content. We assume this is a shim until these features are more widely supported, so we can live with that. What’s less impressive is that AMP whitelists ad networks that participating pages can be a part of. If you’re not generating ad revenue from one of A9, AdReactor, AdSense, AdTech or Doubleclick and want to have your websites load swiftly inside social mobile apps, you’re out of luck.
    1. gratitude does more than just make kids feel good; it also improves their mood, mental health, and life satisfaction, and it can jumpstart more purposeful engagement in life at a critical moment in their development, when their identity is taking shape.
    1. psychiatrists estimate that only one percent of the general population meets the clinical criteria for narcissistic disorders. However, narcissistic characteristics are found in all individuals in varying degrees. Early childhood is marked by egocentrism, the inability to take another’s perspective. This preoccupation with one’s own internal world is a normal stage of human development. Over time, most of us evolve out of this restricted perceptual lens. However those who continue to see the world primarily from the inside out slide down the slope from ordinary egocentrism to entitled narcissism.
    1. ascending an escalator in a department store was moving in a space entirely captured and formedby industrialism

      If it weren't for industrialism they would just be there in that space without the ability that these developments have given them. Holiday gift shopping would be such a different experience in downtown Chicago if elevators didn't exist.. I honestly think people would spend less because they wouldn't want to climb the stairs to additional stores to "just see what's in there".

  14. Oct 2015
    1. But one place where we might not find too much flow these days, sadly, is in American schools. For years, the learning conditions in classrooms have been practically antithetical to the conditions people need to achieve flow and all the benefits that come with it. Especially in the era of No Child Left Behind and high-stakes testing, schools have often favored regimentation over self-directed learning, making it harder for students to get deeply engaged with topics that interest them. Paradoxically, these trends might be undermining the kind of student achievement they were designed to promote, and could even be causing student burnout.
    1. The temporary solution we found is to wrap chrome.* api callback with setTimeout() function. In that case errors thrown within chrome.* api call are passed to window.onerror with correct line number. Example:

      Wrapping all the chrome.* async API calls such that exceptions in the callback result in an error being logged to a handler that we control looks like the way to go.

    2. In Chrome extensions, errors thrown in callbacks for async APIs do not trigger the global window.onerror handler.

    1. when parents and teachers praise their kids for being perfect,right the kids feel alienated and anxious. By contrast, when you praise kids for justtrying hard and putting effort into some things they feel motivated.
    1. Sigo convencido de que Lean Startup y las ideas, herramientas y metodologías que le rodean como Customer Development, Business Model Design, Lean UX o Effectuation son la mejor vía para crear una empresa. Pero la interacción con mis lectores y con los alumnos de mis cursos me ha hecho ver que hay problemas para llevar a la práctica estas ideas.
    1. The positive response to the program was almost immediate. “In one classroom, the children went from having the most behavioral problems in the school—as measured by number of visits to the principal’s office—to having zero behavioral problems, after only two to three weeks of instruction,” says Schonert-Reichl.

      Mindfulness training in schools seems to have some major benefits.

    1. The democratization of that right, and the construction of a broad social movement to enforce its will is imperative if the dispossessed are to take back the control which they have for so long been denied, and if they are to institute new modes of urbanization.

      Is this just becoming more of a competition between who ends up with control? I thought we were working towards beneficial social and urban reform here..

    2. a more insidious and cancerous progression took hold through municipal fiscal discipline, property speculation and the sorting of land-use according to the rate of return for its ‘highest and best use’.

      greed seems to be an apparent theme throughout the development of urbanized areas and "economic growth"... are we really improving if our economy is only getting "better" because we're borrowing the money to make it do that

    3. this process played a crucial role in stabilizing global capitalism after 1945

      around this time, the US was pretty self-sustainable

    4. I argue here that urbanization has played a particularly active role

      The competition of capitalism leaves behind issues like resource waste, unemployment, inflation, but through urbanization, society is able to take these left over pieces and produce growth from them

  15. Sep 2015
    1. giving kids rewards for their prosocial behavior may actually undermine kindness. One possible explanation for these somewhat counterintuitive findings is that, in order for children to grow up seeing themselves as kind and giving, it is important for them to feel that they do good because they want to, not because others expect them to.
    1. warm, sensitive parenting for three year olds predicts greater focused concentration in the children one year later—which in turn predicts greater sympathy at ages six and seven. Vagal tone in the kids at three years also predicts sympathy three and four years later. As was the case for parenting style, the Vagal tone effect was largely related to the children’s concentration skills as four years olds.  Together, these data suggest that warm, sensitive, authoritative parenting may support skills like managing emotions and focusing attention, and that children with higher Vagal tone are more likely to have these skills, which in turn paves the way for sympathy for other peoples’ suffering.
    2. In the Oliners’ study of Germans who helped rescue Jews during the Nazi Holocaust, one of the strongest predictors of this inspiring behavior was the individual’s memory of growing up in a family that prioritized compassion and altruism.
    3. Nancy Eisenberg, Richard Fabes, and Martin Hoffman have found that parents who use induction and reasoning raise children who are better adjusted and more likely to help their peers. This style of parenting seems to nurture the basic tools of compassion: an appreciation of others’ suffering and a desire to remedy that suffering.
    4. First, children securely attached to their parents, compared to insecurely attached children, tend to be sympathetic to their peers as early as age three and a half, according to the research of Everett Waters, Judith Wippman, and Alan Sroufe. In contrast, researchers Mary Main and Carol George found that abusive parents who resort to physical violence have less empathetic children.
    1. Evolutionary biologists like Frans de Waal have shown that we are social animals who have naturally evolved to care for each other, just like our primate cousins. And psychologists have revealed that we are primed for empathy by strong attachment relationships in the first two years of life.  But empathy doesn’t stop developing in childhood. We can nurture its growth throughout our lives—and we can use it as a radical force for social transformation.
    1. Much research in social production has focused primarily on theoretical development, or, when it has focused on empirical details, deals with them at an abstract level.

      This research seems to have a tinge of philosophical influence to it..

    1. Along these lines, they go on to propose the development of a “social curriculum” with programs and activities that “enhance social inclusion and connection.” For ideas and techniques to make that happen, please see Greater Good’s education channel!
  16. Aug 2015
  17. Jul 2015
    1. Homeopathy, on the other hand, uses highly diluted and succussed doses of natural substances - usually plants and minerals.  It is this dilution that makes homeopathy safer than allopathy and herbalism, and the succussion that allows remedies to retain their effectiveness, despite their high dilution.  This ‘minimum dose’ concept is one of the key principles of homeopathy, also developed in the late 1800's.

      Surprisingly this author does not even seem to know the real history of homeopathy. It was invented in the late 18th century not the `late 1800's' (sic - incorrect use of apostrophe).

    2. Allopathy (pharmaceutical medicine) uses extracts of active ingredients, often sourced from the same plants used by herbalists and homeopaths, that are then reproduced synthetically and highly concentrated in laboratories for use as drugs.  This process is then patented, and was developed in the late 1800's. 

      This paragraph displays amazing ignorance of drug development. Firstly,`allopathy' is a pejorative term invented by homeopaths. It has no meaning in science or medicine.

      Whereas modern pharmacy grew out of certain historical practices such as herbal medicine, most modern drugs are designed from a detailed knowledge of biochemical mechanisms. They are not extracts, are not necessarily highly concentrated, and are formulated as a result of rigorous dose-ranging studies in human subjects. It is untrue to claim that the drug development process used today is similar to that used in the late 1800s.

  18. May 2015
    1. Developing code for an FPGA is actually describing how the above pieces are configured and interconnected.

      Great way to describe this!

  19. Apr 2015
  20. Mar 2015
    1. an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.

      an objective set for the Sprint that can be met through the implementation of Product Backlog. It provides guidance to the Development Team on why it is building the Increment. It is created during the Sprint Planning meeting. The Sprint Goal gives the Development Team some flexibility regarding the functionality implemented within the Sprint. The selected Product Backlog items deliver one coherent function, which can be the Sprint Goal. The Sprint Goal can be any other coherence that causes the Development Team to work together rather than on separate initiatives.

  21. Jan 2015
    1. Kirkham, N. Z. (2009). Altogether now: Learning through multiple sources. In S. P. Johnson (Ed.), Neoconstructivism: The new science of cognitive development. New York: Oxford University Press
  22. Nov 2014
  23. Oct 2013
    1. We are by nature most tenacious of what we have imbibed in our infant years, as the flavor with which you scent vessels when new remains in them, nor can the colors of wool, for which its plain whiteness has been exchanged, be effaced. Those very habits, which are of a more objectionable nature, adhere with the greater tenacity, for good ones are easily changed for the worse, but when will you change bad ones into good? Let the child not be accustomed, therefore, even while he is yet an infant, to phraseology which must be unlearned.

      Claim on early development (and an accurate one, by contemporary standards).