49 Matching Annotations
  1. Oct 2020
    1. Generally, you should read the value of a store by subscribing to it and using the value as it changes over time. Occasionally, you may need to retrieve the value of a store to which you're not subscribed. get allows you to do so.
    1. const store = readable(machine.initialState, set => { service.subscribe(state => { if (state.changed) set(state) }) service.start() return () => { service.stop() } })
    2. The readable store takes a function as a second argument which has its own internal set method, allowing us to wrap any api, like Xstate or Redux that has its own built in sub­scrip­tion model but with a slightly different api.
    3. Indeed, this simple contract is very close to that of an ob­serv­able, such as those provided by Rxjs. set is basically equiv­a­lent to next in the ob­serv­able world.
    4. The $ contract for auto-sub­scrib­ing is lovely in its sim­plic­ity and flex­i­bil­ity. You can adapt your own preferred state-man­age­ment pattern or library, with or without Svelte stores as helpers. Svelte does not fuss about how you want to manage your state.
    5. Arguably what is in­ter­est­ing about Svelte’s approach to state man­age­ment is not the store itself but the auto-sub­scrip­tion that is possible because of the Svelte compiler. By simply appending a $ to a variable inside of a component, e.g. $myVariable, the compiler will know to expect an object with a subscribe method on it and generate the boil­er­plate of sub­scrib­ing and un­sub­scrib­ing for you.
  2. Sep 2020
    1. setContext / getContext can only be used once at component init, so how do you share your API result through context? Related: how would you share those API results if the call was made outside of a Svelte component, where setContext would be even more out of the question (and the API call would arguably be better located, for separation of concerns matters)? Well, put a store in your context.
    1. This is pretty good, but I don’t love that $contactStore.length bit. If we wanted to change the shape of the store from an array to a key-value store or something, we’d have to remember to update this component too. Instead, we can define a new derived store: contactCountStore. It’ll always track the count, which lets this component have less knowledge about the structure of the store. That refactor looks like this:
    1. You're not limited to using $count inside the markup, either — you can use it anywhere in the <script> as well, such as in event handlers or reactive declarations.

      Don't forget to make the statement reactive. Referencing $count is not enough to get it to be re-run on update!!

      Example:

      $: console.log(`the count is ${$count}`);
      
    1. Stores are global state. While context is local state.
    2. Notice it's not related to components. Another crucial difference is that it's accessible from outside of components. And good way to determine where goes where is to ask yourself, can this particular state and functionality still makes sense outside of the displayed component?
    1. For interoperability with RxJS Observables, the .subscribe method is also allowed to return an object with an .unsubscribe method, rather than return the unsubscription function directly.
    1. Our understanding of building platforms and sequencing towards them is still nascent. From how to shift the allocation of resources between a company’s core business and its potential future expansions to how to structure a platform to catalyze its growth and more. Until the playbook is well understood, it is more art than science. There are many decisions to make, including which layers should be centralized, whether the ecosystem should be driven by open source contributors or profit-seeking enterprises, how broad in scope to allow the ecosystem to grow and where to not let it grow, and more.

      How to evolve a platform and cultivate a plugin ecosystem is not yet understood.

  3. Jun 2020
  4. May 2020
    1. Issues brought up during review must be addressed using best efforts. If corrections have been requested, the new version should not contain unrelated changes, as this complicates the review process and can lead to further rejections.
    2. During review, the add-on undergoes basic testing in addition to code review. To facilitate the functional testing, the add-on author must provide testing information and, if applicable, testing credentials required to use the add-on if an account is needed for any part of the add-on’s functionality.
    1. Mozilla can still block distribution of the extension, even when not distributed via ADO. It is not possible for us to provide Mozilla the unminified JavaScript source files for Google’s and Microsoft’s translation widgets. This is a risk because Mozilla can demand such.
    1. The Pop!_Shop is our version of Android’s Play Store or the App Store on iOS, and we’re constantly adding new applications to the mix—a productivity cocktail that goes down smooth.
  5. Apr 2020
  6. Mar 2020
    1. App Store vs Play Store : Where to Launch The App First?

      As we know Android holds a huge market share while iOS is known for its security and customer spending. If you want to target a massive global audience, then Android can be a choice. On the other hand, if your app is about enterprise or eCommerce, iOS is a better choice.

  7. Jan 2020
    1. Best eCommerce Furniture Store Interface

      People these days prefer buying online rather than going to traditional stores. It was a bit tricky task but at last, we came with a furniture store app that has attractive designs as well as easy navigation.

  8. Oct 2019
    1. Innovation in Customers' Hands at New 7-Eleven® Lab Store Retailer Celebrates New Sylvan | Thirty Location with March 22 Grand Opening News provided by 7-Eleven, Inc. Mar 27, 2019, 09:30 ET Share this article IRVING, Texas, March 27, 2019 /PRNewswire/ -- Made-to-order smoothies and agua frescas … street tacos on handmade tortillas … a growler refill station pouring local craft beers … baked-in-store cookies and croissants … patio and inside dining areas … The newest 7-Eleven® location is a lab store and an experiential testing ground, where customers can try and buy the retailer's latest innovations in a revolutionary new store format. The newest 7-Eleven location in Dallas is a lab store and an experiential testing ground, where customers can try and buy the retailer’s latest innovations in a revolutionary new store format. 7-Eleven, Inc. celebrated the grand opening of its new lab store in Dallas – and the only one in the U.S. – March 22. The store is located at the Sylvan | Thirty retail and restaurant development on Sylvan Avenue, north of Interstate 30. This location is less than two miles from the original Southland Ice House in Oak Cliff where 7-Eleven pioneered the convenience retailing concept more than 90 years ago. "Convenience retailing is light years away from the days of bread and milk being sold from ice docks in 1927, and the industry is changing at a faster rate than ever before," said Chris Tanco, 7-Eleven executive vice president and chief operating officer. "7-Eleven stays at the forefront by pushing the boundaries and being unafraid to try new things. This new lab store will serve as a place to test, learn and iterate new platforms and products to see what really resonates with customers and how we can use those learnings to influence future store designs."The lab store is also the first 7-Eleven location to incorporate the Laredo Taco Company® taqueria, and the first Laredo Taco Company location in Dallas. 7-Eleven acquired the taqueria along with Stripes® convenience stores in South Texas as part of the 1,000-store acquisition from Sunoco in 2018. Laredo Taco Company is famous in South Texas for its handmade tortillas made from scratch in stores every day as well as its popular salsa bar with on-site, daily prepared salsas, guacamole and pico de gallo. Tacos, quesadillas and plate meals include specialties not always seen in quick-serve Tex-Mex restaurants such as carne guisada, barbacoa, picadillo bistec, carnitas and breakfast tacos made with hand-cracked eggs.Some of the other innovative ideas customers will see at the new 7-Eleven lab store include: Made-to-order coffee drinks, cold-pressed juices, smoothies and agua frescas that give customers the option to customize their drinks in a full-service beverage format. Additionally, it carries novelty beverages on tap such as nitro cold brew, kombucha and organic teas. "The Cellar," an alcove dedicated to an expanded selection of wines and craft beers, with a nearby growler station that features a rotating selection of local craft beer, cider and ales on tap. At the growler station, customers can enjoy a draft of their favorite beverage with their meal onsite or fill a growler to take home. A cold treats bar with frozen yogurt, ice cream and multiple toppings Cookies, croissants and more baked-in-store daily Digital initiatives that enhance the shopping experience. Scan & Pay technology that allows customers to skip the checkout line and pay for their (non-age-restricted) purchases on their smartphones. Indoor and patio restaurant-style seating in the Laredo Taco Company portion of the store as well as bar-seating across the front windows in the retail space. Many of the new items in this 7-Eleven "innovation station" are limited-time offerings. "A lot has changed in retail and continues to change rapidly, especially the shopping experience," Tanco said. "This lab store is customer-focused and will explore new ideas that weren't even on the retail radar a few months ago."The new 7-Eleven lab store is also providing local jobs, and the company is looking for outgoing, customer-service-oriented employees for this innovative new retail-restaurant concept. To join the Sylvan | Thirty location as a sales or restaurant associate, interested people can apply online at: https://careers-7-eleven.icims.com. Under "Start your job search here," input 54716 for sales associate or 54817 for restaurant associate.About 7-Eleven, Inc.7-Eleven, Inc. is the premier name and largest chain in the convenience-retailing industry. Based in Irving, Texas, 7-Eleven operates, franchises and/or licenses more than 67,000 stores in 17 countries, including 11,800 in North America. Known for its iconic brands such as Slurpee®, Big Bite® and Big Gulp®, 7-Eleven has expanded into high-quality salads, side dishes, cut fruit and protein boxes, as well as pizza, chicken wings, cheeseburgers and hot chicken sandwiches. 7-Eleven offers customers industry-leading private brand products under the 7-Select® brand including healthy options, decadent treats and everyday favorites, at an outstanding value. Customers also count on 7-Eleven for bill payments, self-service lockers and other convenient services. Find out more online at www.7-Eleven.com, via the 7Rewards® customer loyalty platform on the 7-Eleven mobile app, or on social media at Facebook, Twitter and Instagram.SOURCE 7-Eleven, Inc.
  9. Aug 2019
    1. Centric web solution is the renowned best web development company.

      We have a very highly experienced and expert development team who are experts in web design & development.

      We provide various services like Wordpress web development, eCommerce web development, Wordpress theme design and plugin development, website maintenance & optimization.

      For more our services call us on +91 98587 58541 or visit our website https://www.centricwebsolution.com/.

      Our Services Are:-

      • Web Design & Development
      • WordPress Development
      • WooCommerce Development
      • Custom Web Application Development
      • Website Migration Services
      • Website Maintenance & Performance optimization
      • Website Plugin and API Development
      • Website Store Optimization
      • PHP Web Development
      • Enterprise Web Application Development
      • Laravel Development Services
      • Angularjs Development Services

  10. Mar 2019
  11. May 2018
    1. With a majority of respondents electing to purchase their textbooks from somewhere other than their campus store, nearly a third downloading their textbooks from the internet, and just over a quarter sharing a purchased textbook, it is also evident that revenue at campus stores from the sales of textbooks is in a (possibly irrevocable) state of decline.
  12. Nov 2017
    1. LRSs will typically only have minor data analysis built in as it's specific to the type of information you are trying to track.
  13. Sep 2017
    1. on storage layer demo:

      yay for successive elaboration presentation! I would like to see more of that in the docs.

      data or continuation - good. ocap-happy

      query for prolog terms...

      • datalog? rules? (I didn't see rules)
      • unification? or just matching?
        • yes, unification
          • occurs check? (not sure)

      "API is database independent... mongo / lightning" they have different failure modes, no? hard to hide that in a higher level API, no?

      specialK - still on my reading list

  14. Sep 2016
  15. Jul 2016
  16. Nov 2015