133 Matching Annotations
  1. Last 7 days
    1. Why the ^=? This means "starts with", because we can also have variation placements like top-start.
  2. Jan 2021
    1. Why is CORS important? Currently, client-side scripts (e.g., JavaScript) are prevented from accessing much of the Web of Linked Data due to "same origin" restrictions implemented in all major Web browsers. While enabling such access is important for all data, it is especially important for Linked Open Data and related services; without this, our data simply is not open to all clients. If you have public data which doesn't use require cookie or session based authentication to see, then please consider opening it up for universal JavaScript/browser access. For CORS access to anything other than simple, non auth protected resources
    1. The same-origin policy fights one of the most common cyber attacks out there: cross-site request forgery. In this maneuver, a malicious website attempts to take advantage of the browser’s cookie storage system.
    1. Why? I wrote MagpieRSS out of a frustration with the limitations of existing solutions. In particular many of the existing PHP solutions seemed to: use a parser based on regular expressions, making for an inherently fragile solution only support early versions of RSS discard all the interesting information besides item title, description, and link. not build proper separation between parsing the RSS and displaying it.
    1. On Ubuntu, Chromium is not the default browser, and the package resides in the ‘universe’ section of the archive.
  3. Dec 2020
    1. Why Vala? Many developers want to write GNOME applications and libraries in high-level programming languages but can't or don't want to use C# or Java for various reasons, so they are stuck with C without syntax support for the GObject type system. The Vala compiler allows developers to write complex object-oriented code rapidly while maintaining a standard C API and ABI and keeping the memory requirements low.
    1. These are valid comments. I think it is worth noting that svelte didn’t choose a non-javascript method for fun or because we think we should redesign the language. The additional constructs, for the most part, are there to allow svelte to more clearly work out exactly what is going on in the code in order to optimise. In short svelte needs a certain amount of information to do what it does and pure javascript is often difficult to analyse in this way. But I appreciate your concerns and comments and we try to take all feedback on board where we can. So thank you!
  4. Nov 2020
    1. Man, for some reason, I really like this answer. I recognize it's a bit more complicated, but it seems so useful. And given that I'm no bash expert, it leads me to believe that my logic is faulty, and there's something wrong with this methodology, otherwise, I feel others would have given it more praise. So, what's the problem with this function? Is there anything I should be looking out for here?

      I think the main thing wrong with it is the eval (which I think can be changed to $("$@") and it's pretty verbose.

      Also, there are more concise ways to do it that would probably appeal more to most bash experts...

      like set -x

      and it does unnecessary things: why save output to a variable? Just let output go to where it would normally go...

      So yeah, I can see why this solution isn't very popular. And I'm rather surprised by all the praise comments it's gotten.

  5. Oct 2020
    1. you grant us a non-exclusive, transferable, sub-licensable, royalty-free, and worldwide license to host, use, distribute, modify, run, copy, publicly perform or display, translate, and create derivative works of your content (consistent with your privacy and application settings).
    1. formvalidation: path.resolve

      Why use resolve.alias to point to 'vendors/formvalidation/dist/es6'? Why not just use an npm package and have package.json name module: 'vendors/formvalidation/dist/es6'

      Then (I think) the examples below like

      import luhn from 'formvalidation/algorithms/luhn';
      

      would work the same but without that workaround.

    1. My proposal is that we solve this by treating a static key prop as different from one provided through spread. I think that as a second step we might want to even give separate syntax such as:
    1. I chose to use a monorepo: to reduce development friction in managing my various projects to utilize patterns across my projects
    1. The centralization of information also worries me because it makes it easier for things to disappear.
    2. Some of it is visual. Yes, it is true that all my posts on Twitter and Facebook look something similar to a personal blog: They are collected in reverse-chronological order, on a specific webpage, with direct web addresses to each post. But I have very little control over how it looks like; I can’t personalize it much. My page must follow a uniform look which the designers of the social network decide for me.
    3. But the scariest outcome of the centralization of information in the age of social networks is something else: It is making us all much less powerful in relation to governments and corporations.
    1. So what do we focus on instead, without that ability to tweak or iterate? Well, some of the messier network effects of social media, I’d argue. Sure, leaving a comment may be more “engaging” than picking a color and setting a design, but those things give us a feeling of ownership that we never really feel like we have when they’re all decided for us.

      Having a sense of ownership and control of identity on a platform can be an important thing. Even though I use a somewhat modified theme, I have thousands of other options and can change it at any time on my own website.

    1. We are sharded beings; the sum total of our various aspects as contained within our biological beings as well as the myriad of technologies that we use to extend our biological abilities.

      To some extent, this thesis could extend Cesar Hidalgo's concept of the personbyte as in putting part of one's self out onto the internet, one can, in some sense, contain more information than previously required.

      Richard Dawkin's concept of meme extends the idea a bit further in that an individual's thoughts can infect others and spread with a variable contagion rate dependent on various variables.

      I would suspect that though this does extend the idea of personbyte, there is still some limit to how large the size of a particular person's sphere could expand.

    1. Reversing the trend toward privatization will thus require not just massive public mobilization and demand of elected officials, but also a hard turn away from efficiency as a primary value, a recognition that the building of relationships and the cultivation of care is slow and difficult and of necessity inefficient. In fact, that its value lies in its inefficiency — but making the case for such inefficiency as a necessary value requires a lot of effort, and a lot of caution.

      There's a kernel here of something about the value of links (social, business, etc.) as put forward by Cesar Hidalgo in Why Information Grows. Where is the real value? How can it best be extracted? Built up? Having a more direct means of valuing these otherwise seeming intangibles will be important in the future.

    1. Update, 11:22 Eastern: Weiss has posted a letter of resignation addressed to Times publisher A.G. Sulzberger on her website. In it, she denounces the Times for fostering an atmosphere of stifling conformity and accuses her now-former colleagues of bullying:

      Having your own website is a must, particularly when you've just left one of the biggest platforms on the planet and still need to have a platform to reach your audience and the world.

    1. Well, in the past, because I constrained myself to only writing long posts, my blog would only show activity when I was feeling motivated to write something longer. And that motivation definitely ebbs and flows. But now, if I want to just throw up a note or post a quick picture, I can, as easily as I could post a status update to Facebook. And instead of just posting to my blog and hoping someone sees it, I can make that content visible on social networks like Twitter, which leads to engagements that, again, come back to my blog. The end result is that my blog, the space I’ve created for myself on the web, is much more dynamic and alive. And that’s pretty darn exciting!
  6. Sep 2020
    1. Why do we use bundlers again?Historically, bundlers have been used in order to support CommonJS files in the browser, by concatenating them all into a single file. Bundlers detected usages of require() and module.exports and wrap them all with a lightweight CommonJS runtime. Other benefits were allowing you to serve your app as a single file, rather than having the user download several scripts which can be more time consuming.
    1. DX: start sapper project; configure eslint; eslint say that svelt should be dep; update package.json; build fails with crypt error; try to figure what the hell; google it; come here (if you have luck); revert package.json; add ignore error to eslint; Maybe we should offer better solution for this.
    2. When the message say function was called outside component initialization first will look at my code and last at my configuration.
    3. We could at least try to offer better error message for this, before it becomes our next NullPointerException, Segmentation Fault or Kernel Panic
    1. It would be tiresome - and bloated - to include a class pass-through for every component or assigning custom properties (from the RFC linked) for all potential properties on every component, just in case it's gonna be used in layouts that requires it. Wrapping them in a wrapper div is certainly an option, but potentially creates 100s or 1000s (long lists, several lists etc.) of new elements in the DOM slowing down low-end devices.
    1. Your tooltip component will have to wrap your image with a span tag or something, it can’t just add events to its children. And if you are adding multiple actions to it you will have to wrap it multiple times.
      <Concern1> <Concern2> </Concern2> </Concern1>

      vs.

      <img use:concern1 use:concern2>

    1. You can imagine the ensuing combinatorial explosion if we needed to add borders or box shadows or filters or what-have-you.
    2. 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.
    3. 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.)
    4. 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.
    5. Drag and drop might be done better with hooks than components.
    1. Nic Fildes in London and Javier Espinoza in Brussels April 8 2020 Jump to comments section Print this page Be the first to know about every new Coronavirus story Get instant email alerts When the World Health Organization launched a 2007 initiative to eliminate malaria on Zanzibar, it turned to an unusual source to track the spread of the disease between the island and mainland Africa: mobile phones sold by Tanzania’s telecoms groups including Vodafone, the UK mobile operator.Working together with researchers at Southampton university, Vodafone began compiling sets of location data from mobile phones in the areas where cases of the disease had been recorded. Mapping how populations move between locations has proved invaluable in tracking and responding to epidemics. The Zanzibar project has been replicated by academics across the continent to monitor other deadly diseases, including Ebola in west Africa.“Diseases don’t respect national borders,” says Andy Tatem, an epidemiologist at Southampton who has worked with Vodafone in Africa. “Understanding how diseases and pathogens flow through populations using mobile phone data is vital.”
      the best way to track the spread of the pandemic is to use heatmaps built on data of multiple phones which, if overlaid with medical data, can predict how the virus will spread and determine whether government measures are working.
      
  7. Jun 2020
    1. A well-formatted and descriptive commit message is very helpful to others for understanding why the change was made, so please take the time to write it.
  8. May 2020
    1. This task disables two-factor authentication (2FA) for all users that have it enabled. This can be useful if GitLab’s config/secrets.yml file has been lost and users are unable to log in, for example.
    1. isConsentGiven()

      So you can store consent for a specific category. But how do you check if they've given consent to a specific category??

    2. storeConsent()

      From https://www.iubenda.com/en/help/18678-cookie-solution-consents-migration:

      Per-category consent

      _iub.cs.api.storeConsent() allows to set purposes too and accepts an optional argument which can be {consent: true}, {consent: false} or {purposes: {1: true, 2: false, …}}. If no argument is specified it acts as if {consent: true} was passed.

      So you can store consent for a specific category. But how do you check if they've given consent to a specific category??

    1. Members currently electing to withdraw from the default royalty free license and instead offer Reasonable and Non-Discriminatory (RAND) terms are:

      Why did they opt out?

    1. Though not always legally required, a Terms & Conditions (T&C) document (also known as a Terms of Service, End-user license agreement or a Terms of Use agreement) is often necessary for the sake of practicality and safety. It allows you to regulate the contractual relationship between you and your users and is therefore essential for, among other things, setting the terms of use and protecting you from potential liabilities.
    1. I appreciate the vigilance, but it would be even better to actually publish a technical reasoning for why do you folks believe Firefox is above the device owner, and the root user, and why there should be no possibility through any means and configuration protections to enable users to run their own code in the release version of Firefox.
    1. COVID-19 & Businesses: Why Digitize Your Business?You are here:HomeHow toCOVID-19 & Businesses: Why Digitize…

      In this article, we are going to talk about industries that have stayed strong despite the crisis and why digitization of the business will be the new normal after the Post COVID-19 situation.

  9. Apr 2020
    1. The idea behind the app is to allow people to rent something that they would only use once or very rarely. Rather than buying that expensive drill that you will only use for 15 mins, why not rent it from your neighbor?
  10. Mar 2020
    1. Because it's easier for Indiana Jones to recover the Sankara Stones than for someone with an idea for an App to find a decent App developer.  And because we wanted to finally have a place to send friends and clients who constantly ask for our help in finding developers. Yeah, we know there are more than 140,000 iPhone applications out there already, so not everyone is struggling to find a developer. But believe us, the demand outweights the supply. Hence, this site.
  11. Feb 2020
  12. Dec 2019
    1. Confusingly, all the distributions I use (Ubuntu, RHEL and Cygwin) had some type of check (testing $- or $PS1) to ensure the current shell is interactive. I don’t like cargo cult programming so I set about understanding the purpose of this code in my .bashrc.
    1. No, clumsily working around the root account in situations where it is absolutely appropriate to use it is not for good reasons. This is just another form of cargo cult programming - you don't really understand the concept behind sudo vs root, you just blindly apply the belief "root is bad, sudo is good" because you've read that somewhere.
    1. Cargo cult programming is a style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose.
    1. I believe that mere lists of "vote yes" or "vote no" are not very helpful except for sheep: it's important to know why one is urged to vote in any given direction.
  13. Nov 2019
  14. Sep 2019
    1. systematic domination of women by men

      "systematic domination of women by men" the beside statement is varies according to person to person, that is the right each one but according to my perspective the idea is wrong because after a long period of time each girl will feel some loneliness. This isolation can be avoided if you have some to care you. No women in the could be independent but they can live independently only a certain period after they miss something in their life. Everyone will leave you but the one who love you will stick with your downs and ups. Your parents will pass you but your husband be with you until something has happen. Below you have five important benefits.

  15. Aug 2019
    1. I am confused by the fact that people do not seem to be discussing which one to use according to these criteria. Most article I find are talking about arguments like speed or compatibility. But is this not the most relevant point?
  16. Jun 2019
    1. AtthecoreofmyargumentisthewayinwhichGooglebiasessearchtoitsowneconomicinterests—foritsprofitabilityandtobolsteritsmarketdominanceatanyexpense

      I have been trying to avoid the word "money" in my annotations to avoid coming off as anti-capitalist as I really am, but yes: Corporations do not give a care about individuals or marginalized groups outside of how they can profit off of their oppression. Remember this June; this Pride Month; that any company selling you rainbow merchandise is not doing it out of legitimate care about LGBTQ+ rights but because it's profitable! Yes, even if they're giving 20% of proceeds to charity - where do you think the other 80% goes?

  17. Mar 2019
    1. Engelbart insisted that effective intellectual augmentation was always realized within a system, and that any intervention intended to accelerate intellectual augmentation must be understood as an intervention in a system. And while at many points the 1962 report emphasizes the individual knowledge worker, there is also the idea of sharing the context of one’s work (an idea Vannevar Bush had also described in “As We May Think”), the foundation of Engelbart’s lifelong view that a crucial way to accelerate intellectual augmentation was to think together more comprehensively and effectively. One might even rewrite Engelbart’s words above to say, “We do not speak of isolated clever individuals with knowledge of particular domains. We refer to a way of life in an integrated society where poets, musicians, dreamers, and visionaries usefully co-exist with engineers, scientists, executives, and governmental leaders.” Make your own list.
  18. Jan 2019
  19. Dec 2018
  20. Nov 2018
    1. I had begun to think of social movements’ abilities in terms of “capacities”—like the muscles one develops while exercising but could be used for other purposes like carrying groceries or walking long distances—and their repertoire of pro-test, like marches, rallies, and occupations as “signals” of those capacities.

      I find it interesting that she's using words from information theory like "capacities" and "signals" here. It reminds me of the thesis of Caesar Hidalgo's Why Information Grows and his ideas about links. While within the social milieu, links may be easier to break with new modes of communication, what most protesters won't grasp or have the time and patience for is the recreation of new links to create new institutions for rule. As seen in many war torn countries, this is the most difficult part. Similarly campaigning is easy, governing is much harder.

      As an example: The US government's breaking of the links of military and police forces in post-war Iraq made their recovery process far more difficult because all those links within the social hierarchy and political landscape proved harder to reconstruct.

  21. Aug 2018
    1. This could be useful when talking with someone who does not recognize the importance of identifying and serving gifted students.

  22. Jul 2018
    1. Combined with 21C leadership Skills (i.e. critical thinking, collaboration, problem solving, creativity, communication), these digital-age skills help us live and work in today’s world

      Often, I think these leadership skills are more beneficial than the 3 Rs when it comes to real-world application for students. It is more effective to mold students to be compassionate and empowered as we give them the skills and tools needed to make social, political, and environmental changes in the world. It's not always what we teach, but how we teach it.

  23. Mar 2018
    1. It would be fair to characterize Beaker as “a novel application of Bittorrent’s concepts to the Web platform.” If Beaker had been started in 2006, it would be using Bittorrent as its primary protocol. However, as of 2016, new variants have appeared with better properties.
  24. Dec 2017
    1. “Motion should above all else help guide users, providing them with the right information at the right time.” — Google
    1. When users interact with your product, they might ask following questions:“What’s most important here?”“How do I know what to do next?”“How do I know I have completed my task?”
  25. Nov 2017
    1. crucial difference between telling a story and clicking through screens.
    2. Good UX motion design isn’t simply animating assets. Whether we’re injecting delight and playfulness, defining scalable new patterns, or conceptualizing a crazy new product, motion tells a story.
    1. One of the most notable behavioral distinctions between digital adopters and natives is the latter’s preference for interaction over passive consumption.
  26. Sep 2017
    1. Faced with this predicament and having due regard to the far-reaching questions of importance involving interpretation of the Constitution, it was felt that institutional integrity and judicial discipline would require a reference to a larger Bench
  27. Aug 2017
    1. wholly destitute of all education but what he received in common with other domesticated animals, enjoying no advantages that could lead him to suppose himself superior to the beasts, his fellow servants.

      This is an accurate description of chattel slavery. Slaves were dehumanized to justify treating them inhumanely. They could be bought, sold, traded, and inherited just as livestock.

  28. Jan 2017
    1. IF you look at the stresses the shear stresses gets bigger to 45 degrees then gets smaller after 45 degrees. So why doesn't it follow the angle with seemingly the most stress. See Page: Why 30 degrees instead of 45 degrees Fracture Angle with sigma 1 Nature wants the minimum normal stress possible with the maximum shear stress possible and at 45 degrees we aren't in that sweet spot were the normal stress is as relatively small as possible and the shear spot is as relatively high as can been and this is at about 60 degrees this is why the faults will crack in the same orientation in nature.

    1. Co-author of Mass and Raw Muscle; former champion body builder and powerlifter.
    2. Associate professor of exercise science - Concordia University; leading authority on bodybuilding and strength training
    3. I should probably start off by telling you my credentials. I'm a professional weight trainer, strength developer, and nationally known educator. I'm also a level-one weight-lifting coach with the United States Weightlifting Federation. I'm a highly sought after personal trainer who coaches football, baseball, and track professionals in addition to many famous athletes and celebrities.
    1. It doesn't interact with dedicated hardware, like smart cards, USB dongles, or randomness generators.
  29. Dec 2016
  30. Jul 2016
    1. The justice system can be very cruel when it comes to race to

      people is all the time being racist

    2. The justice system is supposed to put the criminals behind bars but yet they putting innocent people in prison.

      That the justice system is unfavor and, it doesn't look into evidence

    1. Basically it makes you go from walking in a mild pace towards your goals to sprinting at them full speed with a rocket pack strapped to your back!
  31. May 2016
    1. lesh, the engineering manager, and Dubusker drew on all of McDonnell's experience with shingled-skin structures around jet afterburners for heat protection.
    2. Simulation tests indicate that manual control of the capsule attitude during retrograde firing will be a difficult task requiring much practice on the part of the pilot. By changing the command function from acceleration to rate, the task complexity will be greatly reduced and the developmental effort on display and controller characteristics can be reduced accordingly
  32. Apr 2016
    1. Discrete values should be pushed whereas continuous values should be pulled or polled.
    1. "Using visible wavelengths of light, it is difficult to tell if an asteroid is big and dark, or bright and small, because both combinations reflect the same amount of light," said Carrie Nugent, a NEOWISE scientist at the Infrared Processing and Analysis Center at California Institute of Technology, in Pasadena. "But when you look at an asteroid in the infrared with NEOWISE, the amount of infrared light corresponds with how big the asteroid is, and with some thermal models on a computer, you can figure out how big the asteroids are."
  33. Mar 2016
  34. Feb 2016
    1. A few nodes on paper to contemplate

      I update this from time and time and keep a printed copy in my back pocket. It's I bunch of stuff I like to remind myself of.

  35. Jan 2016