76 Matching Annotations
  1. Nov 2020
    1. Maar denk eens verder. Gaan we de wereld beter maken door verder te groeien? Dat willen ondernemers. En daar zijn neveneffecten aan verbonden. Uber is zogenaamd idealistisch. Ze willen de klant een betere en goedkopere taxirit bieden, maar hun chauffeurs worden uitgebuit. Met Airbnb kun je een leuk zakcentje verdienen, maar woonwijken worden hotels zonder sociale patronen. Facebook is één grote fake-news-show. Amazon is zo goedkoop dat ze alle kleine ondernemers van de weg drukken. Musk wil ons naar Mars brengen. Dat gaat zeker gebeuren, maar wat gaan we daar doen? Maakt het ons gelukkig? Waarom kiezen we er niet voor om elkaar en onze natuur op deze planeet vooruit te helpen?

      Alef Arendsen

  2. Jul 2020
  3. Jun 2020
  4. Mar 2019

    Tags

    Annotators

  5. Nov 2018
    1. Contrast that with an idea that came to me about five years ago. A young man by the name of Brian Chesky came up to me and had this idea that he was going to have an air mattress in his apartment that he rented to people. It would be an air bed and breakfast and I immediately thought: wow, that’s a horrible, horrible idea. Who would want to rent an air mattress out to somebody’s apartment like probably a serial killer?

      Initial impressions of an idea can seem outrageous, bad, horrible. Experiments in the real world can validate or provide surprising evidence of something good.

      Requires deep research, work and perseverance to go against common advice. This is where you can unlock secrets

  6. Jul 2018
    1. for (var i=0; i < 5; i++) { (function () { var i2 = i; // copy current i result.push(function () { return i2 }); }()); }

      2.3 Note that both let and const are block-scoped. You can replace an IIFE that looks like:

      // bad
      for (var i=0; i < 5; i++) {
          (function () {
              var i2 = i; // copy current i
              result.push(function () { return i2 });
          }());
      }
      

      with just:

      // good
      for (let i=0; i < 5; i++) {
          // copy current i
          const i2 = i;
          result.push(() => i2);
      }
      
    2. This section does not fully explain how JavaScript inheritance works, but it shows you a simple pattern to get you started. Consult Chapter 17 if you want to know more.In addition to being “real” functions and methods, functions play another role in JavaScript: they become constructors—factories for objects—if invoked via the new operator. Constructors are thus a rough analog to classes in other languages. By convention, the names of constructors start with capital letters. For example:// Set up instance data function Point(x, y) { this.x = x; this.y = y; } // Methods Point.prototype.dist = function () { return Math.sqrt(this.x*this.x + this.y*this.y); };We can see that a constructor has two parts. First, the function Point sets up the instance data. Second, the property Point.prototype contains an object with the methods. The former data is specific to each instance, while the latter data is shared among all instances.To use Point, we invoke it via the new operator:> var p = new Point(3, 5); > p.x 3 > p.dist() 5.830951894845301p is an instance of Point:> p instanceof Point true

      9.1 Always use class. Avoid manipulating prototype directly.

    3. Binary logical operators: && (And), || (Or)

      Note that these operators do not necessarily produce booleans, as described below, && returns the first Falsy operand and || returns the last Truthy operand, short-circuited.

    4. Boolean(), called as a function, converts its parameter to a boolean. You can use it to test how a value is interpreted:> Boolean(undefined) false > Boolean(0) false > Boolean(3) true > Boolean({}) // empty object true > Boolean([]) // empty array true

      22.6 Booleans

  7. Jul 2017
    1. Thanks to Airbnb, everyone can find that affordable night's sleep, and anyone can become a landlord. But there's more to renting out your extra space than making some cash, meeting interesting people, and then watching them slowly succumb to your H.H. Holmes-inspired hostel of horrors. There are, of course, taxes to consider.

      The pluses and minuses of airbnb rentals

  8. Jun 2017
    1. The benefits that Airbnb and Uber pioneered go beyond convenience. They allow people to make human connections in an era that has become much more institutionalized in the decades since family-run bed-and-breakfasts began being replaced by standardized hotel chains.

      Interesting point...but nore sure I buy it. There's probably more human connection in renting a hotel, interacting with the staff and possibly other guests, then the often automater entry one has to an Airbnb property. Only on a couple of occasions have I had genuine interaction with my rentee.

  9. May 2017
  10. Mar 2017
    1. The listing represented an extraordinary opportunity in American history, one facilitated by both modern technology and a president with a large real estate portfolio: a chance for travelers to book a room in a building housing the president’s family — one of the most secure buildings in New York City, if not the world — with nothing more than the click of a mouse.

      Crazy!

  11. Feb 2014