218 Matching Annotations
  1. Last 7 days
  2. Dec 2020
    1. Does anyone know how to make npm use a specific fork containing a bug fix while waiting for maintainer to merge a pull request? I was just going to point my package.json to this fork, like this: "svelte-material-ui": "https://github.com/vtpatrickeddy/svelte-material-ui.git#patch-1", but that doesn't work because the repo is a monorepo. And there doesn't appear to be a way to specify a subdirectory inside it, like: "@smui/textfield": "https://github.com/vtpatrickeddy/svelte-material-ui.git/packages/textarea#patch-1",
  3. Nov 2020
    1. Because module members are usually used with a namespace, short and simple names are usually the most readable option. But those names might not make sense outside the module they’re defined in, so @forward has the option of adding an extra prefix to all the members it forwards.
    1. Frontend frameworks are a positive sum game! Svelte has no monopoly on the compiler paradigm either. Just like I think React is worth learning for the mental model it imparts, where UI is a (pure) function of state, I think the frontend framework-as-compiler paradigm is worth understanding. We're going to see a lot more of it because the tradeoffs are fantastic, to where it'll be a boring talking point before we know it.
  4. Oct 2020
    1. He highlights the Memex’s killer feature of associative linking and how trails of links have never been implemented in the way the Memex envisioned: It is associative indexing though, that is the essential feature of the memex, “the process of tying two items together is the important thing.” Bush describes a hypertext like mechanism at this point, but most interesting from my perspective is his emphasis on a trail as a fundamental unit — something we largely seem to have lost today. […] Documents and links we have aplenty. But where are our trails?
    1. There’s an entire category of products commonly known as Platform as a Service (PaaS) that endeavors to make this possible. But, so far, these services have largely fallen short of what developers need. Many of our customers have come to DigitalOcean after their PaaS became too expensive, or after hitting various limitations.
  5. Sep 2020
    1. But because it is espoused by so many leading members of the JavaScript community, scrutiny is all too rarely applied.
    2. It’s written by Sindre Sorhus, whose npm profile is enough to make all but the most prolific developer feel wholly inadequate, and so carries with it a degree of authority.
    1. The main rationale for this PR is that, in my hones opinion, Svelte needs a way to support style overrides in an intuitive and close to plain HTML/CSS way. What I regard as intuitive is: Looking at how customizing of styles is being done when applying a typical CSS component framework, and making that possible with Svelte.
    1. The more I think about this, the more I think that maybe React already has the right solution to this particular issue, and we're tying ourselves in knots trying to avoid unnecessary re-rendering. Basically, this JSX... <Foo {...a} b={1} {...c} d={2}/> ...translates to this JS: React.createElement(Foo, _extends({}, a, { b: 1 }, c, { d: 2 })); If we did the same thing (i.e. bail out of the optimisation allowed by knowing the attribute names ahead of time), our lives would get a lot simpler, and the performance characteristics would be pretty similar in all but somewhat contrived scenarios, I think. (It'll still be faster than React, anyway!)
    1. Please focus on explaining the motivation so that if this RFC is not accepted, the motivation could be used to develop alternative solutions. In other words, enumerate the constraints you are trying to solve without coupling them too closely to the solution you have in mind.
    2. A huge part of the value on an RFC is defining the problem clearly, collecting use cases, showing how others have solved a problem, etc.
    3. An RFC can provide tremendous value without the design described in it being accepted.
    1. For a non-monorepo package you can simply point directly to the Github repo. This case is similar, but you want to scope it just to a single package within the repo. For those that make monorepos they don't necessarily need this feature. It's for those that use projects that use monorepos. Telling them to not organize their projects into monorepos doesn't help people who make use of these projects.
    2. If npm installs a git repo, it assumes that the git repo is the package. I don't really know how we could specify a sub-path easily, since all parts of the git url are already used for other things.
    1. This is more a rhetoric question as this seems to be quite hard ;-) There is a long discussion about installing a subfolder of a repository and monorepos in general at the NPM Github issues (yarn misses this feature, too). The thing is that this makes it quite hard to report issues of your project as one can't test the current master easily. Do you recommend a way how to use the latest Github version?
  6. Aug 2020
    1. As a web designer, I hate that "log in" creates a visual space between the words. If you line up "Log In Register" - is that three links or two? This creates a Gestalt problem, meaning you have to really fiddle with spacing to get the word groupings right, without using pipe characters.

      Sure, you can try to solve that problem by using a one-word alternative for any multi-word phrase, but that's not always possible: there isn't always a single word that can be used for every possible phrase you may have.

      Adjusting the letter-spacing and margin between items in your list isn't that hard and would be better in the long run since it gives you a scalable, general solution.

      "Log in" is the only correct way to spell the verb, and the only way to be consistent with 1000s of other phrasal verbs that are spelled with a space in them.

      We don't need nor want an exception to the general rule just for "login" just because so many people have made that mistake.

  7. Jul 2020
    1. Article 7(3) of the GDPR prescribes that the controller must ensure that consent can be withdrawn bythe data subject as easy as giving consent and at any given time. The GDPR does not say that givingand withdrawing consent must always be done through the same action.
    2. consent is obtained through use of a service-specific user interface (for example, via a website, an app,a log-on account, the interface of an IoT device or by e-mail), there is no doubt a data subject must beable to withdraw consent via the same electronic interface, as switching to another interface for thesole reason of withdrawing consentwould require undue effort.
    3. The controller informs customers that they havethe possibility to withdraw consent. To do this, they could contact a call centre on business daysbetween 8am and 5pm, free of charge. The controller in this example doesnotcomply with article 7(3)of the GDPR. Withdrawing consent in this case requires a telephone call during business hours, this ismore burdensome than the one mouse-click needed for giving consent through the online ticketvendor, which is open 24/7.
    1. Creating and calling a default proc is a waste of time, and Cramming everything into one line using tortured constructs doesn't make the code more efficient--it just makes the code harder to understand.

      The nature of this "answer" is a comment in response to another answer. But because of the limitations SO puts on comments (very short length, no multi-line code snippets), comment feature could not actually be used, so this user resorted to "abusing" answer feature to post their comment instead.

      See

    1. By honoring the mammae as sign and symbol of the highest class ofanimals, Linnaeus assigned a new value to the female, especially women’s unique rolein reproduction

      Throughout the multiple texts, utilized human-parts place specified bodies within social constructions, given limits of autonomy dependent on close monitoring by superiors. Kirkup and Schiebinger reflect on the Womxn’s breasts dictating the taxonomy of humans as mammalia--”a study of breasts." We see this era uplifted the sacredness of milk and the role of women’s reproduction, whilst stationing them closer to “beasts” than men, and assigning women to domesticity.

      Breasts as parts, natural tools embedded in the female body, parallels the seemingly hopeful outlook on this developing Cyborg body’s own parts, but these parts remain observed and reduced to science--a socially constructed pyramid falsely dubbed as standardized and empirical--determining the value and humanity of minorities. The parts of the female and POC body do not grant the bearer their autonomy, but rather outside scrutiny and oversight.

      We established mid 20th-century authors dubbed living beings as very complex machines, and question "are humans machines?"--can we break down the human/machine boundary by referring the symbol of breasts as also a mechanized part? I feel through Haraway's Cyborg we can, as rough as it feels to conceptualize breasts as another gear/customization.

    2. on a stage two feet high, along which she was led by her keeper, and exhibited like awild beast; being obliged to walk, stand, or sit as he ordered her.”6

      African women’s breasts are dubbed “beastly,” “pendulous” (Schiebinger 26)--using breasts and vaginal physical traits as a determinism to rank women by race. As Saartjie Bartman’s naked body is exhibited an object--reminding of a modern tech convention putting foreign car parts on a pedestal--the male scientific gaze is further scrutinizing and classifying womxn by parts.

      Thus the eyes of the male gaze are the male scientists, carried down to the audience’s white curiosity--the circus scene is disquieting. Further investigation of her body only continues to stretch the spectacle of Saartjie Baartman, exhibited like colonized art within museum, even as a corpse.

    3. reast shapes amonghumans

      The mathematical, geometric breakdown of the breast's shape feels uncomfortable like an engineer's diagram--dictating its value by diameter. This continues my thought that body parts are observed as machine parts under the male and scientific gaze.

  8. May 2020
    1. The administration and its allies fear that the more people gravitate toward the successful, free-market self-insurance approach, the worse their government-engineered health “reform” will look. We’re already seeing the beginning of this trend.
    1. Authors of third-party tools should prefix each label key with the reverse DNS notation of a domain they own, such as com.example.some-label.
    1. The element dem in epidemic, endemic, and pandemic comes from the ancient Greek word demos, which meant people or district:

      Interesting how a word (pandemic) that literally means "all people" has ended up (only) meaning a disease that effects all people. Yet nowhere in the word does it say anything about a disease.

    1. Taxonomy, in a broad sense the science of classification, but more strictly the classification of living and extinct organisms—i.e., biological classification.

      I don't think the "but more strictly" part is strictly accurate.

      Wikipedia authors confirm what I already believed to be true: that the general sense of the word is just as valid/extant/used/common as the sense that is specific to biology:

      https://en.wikipedia.org/wiki/Taxonomy_(general) https://en.wikipedia.org/wiki/Taxonomy_(biology)

    1. "linked data" can and should be a very general term referring to any structured data that is interlinked/interconnected.

      It looks like most of this article describes it in that general sense, but sometimes it talks about URIs and such as if they are a necessary attribute of linked data, when that would only apply to Web-connected linked data. What about, for example, linked data that links to each other through some other convention such as just a "type" and "ID"? Maybe that shouldn't be considered linked data if it is too locally scoped? But that topic and distinction should be explored/discussed further...

      I love its application to web technologies, but I wish there were a distinct term for that application ("linked web data"?) so it could be clearer from reading the word whether you meant general case or not. May not be a problem in practice. We shall see.

      Granted/hopefully most use of linked data is in the context of the Web, so that the links are universal / globally scoped, etc.

    1. generic-sounding term may be interpreted as something more specific than intended: I want to be able to use "data interchange" in the most general sense. But if people interpret it to mean this specific standard/protocol/whatever, I may be misunderstood.

      The definition given here

      is the concept of businesses electronically communicating information that was traditionally communicated on paper, such as purchase orders and invoices.

      limits it to things that were previously communicated on paper. But what about things for which paper was never used, like the interchange of consent and consent receipts for GDPR/privacy law compliance, etc.?

      The term should be allowed to be used just as well for newer technologies/processes that had no previous roots in paper technologies.

    1. Google charges a lot for their translation tool. It is fairly difficult to build something similar without running up against their free API limits or having the user create an API key.
    1. Add-ons must function only as described, and should provide an appealing user experience. Based on the description of the add-on, a user must be able to understand and use the add-on’s features without requiring expert knowledge.
  9. Apr 2020
    1. Despite their awarded diplomas in the art of writing, you'd be surprised at how many editors and journalists in the United States make English mistakes. For instance, "an" is still often coupled with words that begin with an "H" sound, even though this is improper. I'd advise against treating material from news sources as if it were error-free or even a higher authority on grammar.
    1. This isn’t the first time Kerckhoffs’ Principle has come up. I specifically discussed it when talking about creating good, strong Master Passwords, when I said that we should use a system for coming up with Master Passwords that doesn’t lose its strength if the attacker knows the system that we used
    2. Kerckhoffs’ Principle states that you should assume that your adversary knows as much about the system you use as you do. This is why – despite what I may have said on April Fools Day last year – security experts are skeptical of security systems that hide the details of how they operate. They are particularly skeptical of systems that derive their security from keeping the details of how they work secret. I could go on at great length about why openness about the system improves security. Indeed, my first draft of this article did go on at great length.
    1. Although we don’t anticipate publishing source code for manipulating 1Password keychains, others, unaffiliated with AgileBits, have done so.

      May not technically be an open file format, but meets some of the criteria for one:

      • [?] The format is based on an underlying open standard
      • [⍻] The format is developed through a publicly visible, community driven process
      • [⍻] The format is affirmed and maintained by a vendor-independent standards organization
      • [✓] The format is fully documented and publicly available
    1. This is a great time to individualize instruction and have students work at different paces. You don’t want 100-120 papers coming at you all at one time. Spread it out, and it will keep you from getting short-tempered with your students.

      As the educational system operates today, many teachers easily put in 60 hours of work per week. But when you teach remotely, it sounds like work becomes much more manageable.

      Do I want to become a teacher? If I can teach like this I do—and no, not because it seems easier but because it seems easier AND more effective.

  10. Mar 2020
    1. That outcome, in fact, is why the General Data Protection Regulation has been introduced. GDPR is being billed by the EU as the biggest shake-up of data privacy regulations since the birth of the web, saying it sets new standards in the wake of the recent Facebook data harvesting scandal.
    1. Rojas-Lozano claimed that the second part of Google’s two-part CAPTCHA feature, which requires users to transcribe and type into a box a distorted image of words, letters or numbers before entering its site, is also used to transcribe words that a computer cannot read to assist with Google’s book digitization service. By not disclosing that, she argued, Google was getting free labor from its users.
    1. Since Rails doesn't restrict the symbols that you use to set I18n.locale, you can leverage this system to display different content depending on anything you like. For example, suppose you have some "expert" users that should see different pages from "normal" users.

      I'm surprised they would offer examples in the official docs of ways to "abuse" the system in ways it was never intended to be used.

      But that's kind of a cool example use of this feature...

  11. Feb 2020
    1. DevOps has taught us that the software development process can be generalized and reused for dealing with change not just in application code but also in infrastructure, docs and tests. It can all just be code.
  12. Dec 2019
    1. Transparently Secure. We believe that transparency and openness are the best foundation for trust so we are building Padloc completely out in the open. Our source code is developed under an open source licence so anyone can review it, provide feedback and even offer contributions at any time!
    1. How to Make Money Online as a Graphic DesignerNEW!2019-12-10 13:24:44テーマ:ブログMaking money online is the best thing that can happen to you. We can do our daily chores in our home and at the same time do our work. Making money online is also an exciting opportunity for housewives and students. In this digital age, everything is turning online so, why not the work we do at our offices? There are many online opportunities that can help you earn money. The only requirement that is needed is skills. You have to be skilled in something to earn money anywhere. There are a lot of methods to learn new skills online using YouTube videos, Udemy, Unacademy etc. Learning a skill is no problem! But, using the skill could be. So, to ease you out we’ve curate the list of 5 ways you can make money online. Logo Design and Brand Identity If you are a designer then you can provide people with services. There are lot of sub categories that you can cover like T-shirt, business card, Logo design services by professional designers and much more. You can find customers by purchasing data from the data providing services. You can contact them via phone or email them, provide them with the best price and you have a new client. They also refer to other people and market your name and get more business. Start an Online Business You can start an online business as a graphic design agency. Every freelancer has a dream to start a business so, why not now? You can operate this business from your home. Yes, eventually you have to get an office but, you have to get an office anyway to earn big. Freelance Designer You can be a freelance designer providing services to websites like EveryDesigns, Freelencer, or Upwork. There are a lot of freelance websites that provide work in return for a small commission. You can participate in a graphic design contest where many designers participate from around the world. In this type of money earning method there is lot of competition so you have to be best at your skills. YouTube You can start a YouTube channel providing tutorials and create content related to your niche. Teaching is a very good field, if you watch YouTube videos then around 70-75% of the YouTube content is “How to” tutorials. These types of videos do best on YouTube and rank higher in the search results. Online Classes You can teach at many online platforms specifically designers to teach skills to other people. Websites like Udemy, Unacademy pay you for teaching online. It is free to register on these websites. You just have to create content and provide after sale services to the clients by updating the content and solving any issue they are having. Conclusion Using the above options to earn money is easy but no one will give you job unless you prove them with your previous work. You have to create a portfolio that contains your previous work and client testimonials to make your clients believe that you are a trustworthy source to get the designs. #Logo#Professionallogodesign#Graphicdesigncontest#graphicdesignservices

      Find out how you can make money as a professional graphic designer online using these amazing tips that will guide you.

  13. www.kickstarter.com www.kickstarter.com
    1. when you choose your character, you choose to be aboveboard or underhanded. That is brilliant! ... It creates a much more wide-open and inviting experience.

    1. // reduce() without initialValue [ { x: 22 }, { x: 42 } ].reduce( maxCallback ); // 42 [ { x: 22 } ].reduce( maxCallback ); // { x: 22 } [ ].reduce( maxCallback ); // TypeError // map/reduce; better solution, also works for empty or larger arrays [ { x: 22 }, { x: 42 } ].map( el => el.x ) .reduce( maxCallback2, -Infinity );
  14. Nov 2019
    1. However, in this case you would lose the possibility to render something in between. You are strictly coupled to the higher-order component's render method. If you need to add something in between of the currency components, you would have to do it in the higher-order component. It would be quite similar as you have done it previously by rendering the currency components straight away in the Amount component. If using a render prop component instead, you would be flexible in your composition.
    2. For the sake of completeness, the following code demonstrates that the problem could be solved with a higher-order component (HOC) as well:
    3. However, again you would have to lift state up to the App component in order to pass the amount to the currency components. As you can see, the component composition on its own doesn't help us to solve the problem. That's the point where React's render props pattern comes into play which enhances React's component composition with an important ingredient: a render function.
    1. import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { MaterialModule } from '@angular/material'; import { MyInterface } from './my.interface'; import { MyService } from './my.service'; @NgModule({ imports: [ CommonModule, FormsModule, MaterialModule.forRoot() ], declarations: [ MyInterface],//<- this is causing the message exports: [ MyInterface], providers: [ MyService ] }) export class MyModule { }
  15. Oct 2019
    1. Those higher prices are a burden for businesses that use metals, which account for a far higher share of American jobs. They are doubly disadvantaged as inputs become pricier and overseas competitors can undercut them

      Explain the increase in imported input prices on aggregate supply.

    1. The value of uninterrupted time to devote to development is hard to overstate, and if I continue I won’t have that. So I couldn’t expect to be nearly as productive, which makes the whole thing less attractive — I’m one of those people who derives a lot of enjoyment from making tangible progress.
  16. Sep 2019
    1. What follows is a flexible, four-part lens for evaluating key possible dimensions of a CTL’s work — hub, incubator, temple, sieve — derived from a heuristic developed by others to categorize the literature on purposes of higher education (Stevens, Armstrong, & Arum, 2008).

      Interesting way to use an object as a way to describe the work of CTLs--hub, incubator, temple, sieve

  17. Aug 2019
  18. Jul 2019
  19. May 2019
    1. But Jonah rose up to flee to Tarshish from the presence of the Lord. So he went down to Joppa, found a ship which was going to Tarshish, paid the fare and went down into it to go with them to Tarshish from the presence of the Lord.

      This is more than just a travel log. Here Jonah is saying no to God. He is refusing God’s plan for him. He is actually rejecting a direct request from the creator because of his own interests. Maybe he is afraid to prophesy repentance because his life could be at risk. There may be smooth sailing at first, but the wrath of God eventually catches up with him.

    1. That said, once a new platform is identified as a target you don’t want to wait too long to pounce. There are benefits to being early. It can show platform representatives that you’re a believer in the product and the company, which may make them more willing to work with you or build products to help you. For instance, publishers who were early to Twitter, such as The New York Times, were marked “suggested follows” for users and saw huge audience growth.