806 Matching Annotations
  1. Last 7 days
    1. In my opinion, because Webpack was one of the first bundlers, is heavily packed with features, and has to support swathes of legacy code and legacy module systems, it can make configuring Webpack cumbersome and challenging to use. Over the years, I’ve written package managers, compilers, and bundlers, and I still find configuring Webpack to be messy and unintuitive.
    1. The node-resolve plugin doesn't like failing to resolve module IDs (because it usually indicates a bug, like you forgot to install the package in question), so it will throw an error rather than letting Rollup print a warning.
    1. using modulesOnly behaves exactly as expected when it warns you that the listed npm libraries do not use the ES6 format and are in fact ignored. This option is meant as a way to determine if you still have commonjs libraries in your dependencies that require special treatment via rollup-plugin-commonjs. Your code will probably not work since the listed dependencies will be missing. You should remove modulesOnly and instead add rollup-plugin-commonjs.
    1. You oftentimes see packages list react as a peer dependency. Since this prevents react from being installed into that package's node_modules, this is another way of preventing Rollup from bundling the module. This is also nice _if_ you want the application to install react from npm, because if an application forgets to install a peer dependency, npm will issue a warning.
    1. This is likely not desired for ES module dependencies: Here require should usually return the namespace to be compatible with how bundled modules are handled. If you set esmExternals to true, this plugins assumes that all external dependencies are ES modules and will adhere to the requireReturnsDefault option. If that option is not set, they will be rendered as namespace imports.
    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.
    1. The RFC is more appropriate because it does not allow a parent to abritrarily control anything below it, that responsibility still relies on the component itself. Just because people have been passing classes round and overriding child styles for years doesn't mean it is a good choice and isn't something we wnat to encourage.
    2. margin, flex, position, left, right, top, bottom, width, height, align-self, justify-self among other is CSS properties that should never be modified by the child itself. The parent should always have control of those properties, which is the whole reason I'm asking for this.
    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.
      
    1. I was now about to form another being of whose dispositions I was alike ignorant; she might become ten thousand times more malignant than her mate and delight, for its own sake, in murder and wretchedness.

      No one knows what someone will be like after they've been brought into the world, but we don't lament every single person who is born. When someone you know is having a kid you don't say to them: "remember H.H. Holmes? Are you sure you want to have kid? They might be ten thousand times worse than H.H. Holmes!" Because that would be ridiculous.

  2. Sep 2020
    1. When a component reaches such a size that this becomes a problem, the obvious course of action is to refactor it into multiple components. But the refactoring is complex for the same reason: extracting the styles that relate to a particular piece of markup is an error-prone manual process, where the relevant styles may be interleaved with irrelevant ones.
    1. Further discussion can take place when this has a PR.

      That's funny that he mentions a PR being a prerequisite for having further discussion, when elsewhere ( ), someone said that instead of talking about the

      So is a specific proposed implementation (how to built it) necessary/useful in order to have a general discussion about a feature proposal? I would say no.

    1. Often, allowing the parents to compose elements to be passed into components can offer the flexibility needed to solve this problem. If a component wants to have direct control over every aspect of a component, then it should probably own the markup as well, not just the styles. Svelte's slot API makes this possible. You can still get the benefits of abstracting certain logic, markup, and styles into a component, but, the parent can take responsibility for some of that markup, including the styling, and pass it through. This is possible today.
    1. I’ve seen some version of this conversation happen more times than I can remember. And someone will always say ‘it’s because you’re too used to thinking in the old way, you just need to start thinking in hooks’.

      But after seeing a lot of really bad hooks code, I’m starting to think it’s not that simple — that there’s something deeper going on.

    1. Golwg360 will feature a rolling news service and will give businesses, public bodies and individuals the chance to set up their own micro-sites.

      This sounds a bit like the model that Greg McVerry and I have proposed for IndieWeb crossing with public libraries, and newspapers/journalism.

    1. Looking forward to the upcoming property management trends, there will be a wider range of opportunities, some big economic and social shifts, and a set of new technological trends upping the future of housing market sales numbers across the world.
    1. Independent Variable Manipulation

      Independent variable manipulation is the hallmark of experimental design.

    2. Writing proficiency is an essential learning outcome for undergraduate education as a whole and, specifically, in postsecondary psychology education. The American Psychological Association (APA, 2013) explicitly names effective writing as a goal in its guidelines for psychology majors,

      Effective writing is a core principle in education, emphasized by the most noted national psychological associations (APA; American Psychological Association). The following sections outline efforts to streamline the methods used instructor to student feedback for essays in a psychology class.

  3. Aug 2020
    1. But it's easy to imagine that the caption was incorrect for too long because those who know the language, know where the mistake is, and those who don't, think that it's the correct way to spell it.

      those who know the language, know where the mistake is, In other words, they can easily spot the mistake and no better than to repeat it themselves, but either are powerless or too lazy to actually fix it on SE.

      and those who don't, think that it's the correct way to spell it. So those who should no better are inadvertently perpetuating the mistake and teaching others that it is an acceptable/correct usage.

    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.

    2. Given that so much of the web environment isn't being written by writers who care, I'm increasingly seeing 'login' used as a verb.
    1. Course as community onboarding

      I like this idea - as when joining a community figuring out the 'rules of engagement' can be hard, and also

      • who to go for what
      • what do I need to know to start
      • how does this community work

      For team on-boarding, project on-boarding, etc - it can also guide people towards other courses / resources that may be more ongoing or of other types

    1. Perfect Astronomy App For Stargazing

      The Sky Safari app is really easy to use, just hold your mobile device towards the sky, and the app will quickly locate planets, constellations, satellites, and millions of stars.

    1. Then when giving answers I'm even less certain. For example I see occasional how-to questions which (IMO) are ridiculously complex in bash, awk, sed, etc. but trivial in python, (<10 lines, no non-standard libraries). On such questions I wait and see if other answers are forthcoming. But if they get no answers, I'm not sure if I should give my 10 lines of python or not.
    2. I went against the grain, applying other tools that people have written over the years to directly perform the job at hand which do not involve entering a program for awk or a shell to run, with answers like https://unix.stackexchange.com/a/574309/5132 and https://unix.stackexchange.com/a/578242/5132 . Others have done similar. https://unix.stackexchange.com/a/584274/5132 and https://unix.stackexchange.com/a/569600/5132 are (for examples) answers that show alternative tools to answers employing shell script and (yet again) awk programs, namely John A. Kunze's jot and rs (reshape), which have been around since 4.2BSD for goodness' sake!
    3. There is an observable widespread tendency to give an awk answer to almost everything, but that should not be inferred as a rule to be followed, and if there's (say) a Python answer that involves less programming then surely that is quite on point as an answer for a readership of users.
    1. Java may have been designed as a completely object oriented language, but when Java SE 8 was released in 2014, it added Lambda expressions (aka closures), which added some functional programming elements. Not every problem is best served by OOP, and by adding Lambdas, Java became more flexible. 
  4. Jul 2020
    1. Ruby has some really nice libraries for working with linked data. These libraries allow you to work with the data in both a graph and resource-oriented fashion, allowing a developer to use the techniques that best suit his or her use cases and skills.
    1. As mentioned earlier in these guidelines, it is very important that controllers assess the purposes forwhich data is actually processed and the lawful grounds on which it is based prior to collecting thedata. Often companies need personal data for several purposes, and the processing is based on morethan one lawful basis, e.g. customer data may be based on contract and consent. Hence, a withdrawalof consent does not mean a controller must erase data that are processed for a purpose that is basedon the performance of the contract with the data subject. Controllers should therefore be clear fromthe outset about which purpose applies to each element of data and which lawful basis is being reliedupon.
    2. In cases where the data subject withdraws his/her consent and the controller wishes to continue toprocess the personal data on another lawful basis, they cannot silently migrate from consent (which iswithdrawn) to this other lawful basis. Any change in the lawful basis for processing must be notified toa data subject in accordance with the information requirements in Articles 13 and 14 and under thegeneral principle of transparency.
    1. Some vendors may relay on legitimate interest instead of consent for the processing of personal data. The User Interface specifies if a specific vendor is relating on legitimate interest as legal basis, meaning that that vendor will process user’s data for the declared purposes without asking for their consent. The presence of vendors relying on legitimate interest is the reason why within the user interface, even if a user has switched on one specific purpose, not all vendors processing data for that purpose will be displayed as switched on. In fact, those vendors processing data for that specific purpose, relying only on legitimate interest will be displayed as switched off.
    2. Under GDPR there are six possible legal bases for the processing of personal data.
    1. the successes and failures of a long-running consultancy are not particularly interesting or unique, and most are wise to the fact that Unspace’s strengths were a mixture of strong bonds, evolving senior talent, sociability, serendipity and scotch tape.
    1. How to Build a Marketplace App for Barbers like Uber for Haircuts?

      Increase in the usage of uber-like services in segments like salons, personal grooming, haircuts, etc. has enhanced growth opportunities for haircut startups and entrepreneurs.

      More and more companies are planning to develop and launch apps like Uber for haircuts.

      If you also feel that it is a great idea for a sustainable business, read on to explore how you can shape this idea into a profitable business model.

    1. If you answer is yes, then we are doing this wrong because subset? or part_of method should be in a parent class (maybe Enumerable class ) in order for it to work for subset, array, hash and any data structure that inherit from it Enumerable.
    1. An Uber like App For Trucking Industry

      Uber for trucking is working as a fortune for the truckers and shippers as they don’t need to go in search of each other. Uber Freight offers a lot of data tools to shippers and truckers.

  5. Jun 2020
    1. One need arose quite commonly as trains of thought would develop on a growing series of note cards. There was no convenient way to link these cards together so that the train of thought could later be recalled by extracting the ordered series of notecards. An associative-trail scheme similar to that out lined by Bush for his Memex could conceivably be implemented with these cards to meet this need and add a valuable new symbol-structuring process to the system.

      This reminds me of of how the Roam Research app has implemented bidirectional links and block references.

    2. We refer to a way of life in an integrated domain where hunches, cut-and-try, intangibles, and the human "feel for a situation" usefully co-exist with powerful concepts, streamlined terminology and notation, sophisticated methods, and high-powered electronic aids.

      This sounds a lot like Rheingold's tools for thought.

    1. Republishing guidelines

      There was some conversation earlier today in the IndieWeb chat about comment policies, but this page presents an interesting case of repost policies.

      Is anyone doing this on their personal websites?

    1. hypothes.is is an exciting project, but not a commenting system. It belongs, therefore, to a different category of software (annotation systems).
    1. Please don't put "feature request" items into GitHub Issues. If there's a new feature that you want to see added to Ruby on Rails, you'll need to write the code yourself - or convince someone else to partner with you to write the code. Later in this guide, you'll find detailed instructions for proposing a patch to Ruby on Rails. If you enter a wish list item in GitHub Issues with no code, you can expect it to be marked "invalid" as soon as it's reviewed.
    1. What if the best tools for thought have already been discovered? In other words, perhaps the 1960s and 1970s were an unrepeatable golden age, and all we can expect in the future is gradual incremental improvement, and perhaps the occasional major breakthrough, at a decreasing frequency?

      Many have been, but they've been forgotten and need to be rediscovered and repopularized as well as refined.

      Once this has happened, perhaps others may follow. Ideas like PAO are incredibly valuable ones that hadn't previously existed, but were specially built for remembering specific types of information. How can we combinatorially use some of these other methods to create new and interesting ones for other types of tools?

    2. Put another way, many tools for thought are public goods. They often cost a lot to develop initially, but it’s easy for others to duplicate and improve on them, free riding on the initial investment. While such duplication and improvement is good for our society as a whole, it’s bad for the companies that make that initial investment. And so such tools for thought suffer the fate of many public goods: our society collectively underinvests in them, relative to the benefits they provide
    3. With that said, the term “tools for thought” has been widely used since Iverson’s 1950s and 1960s work An account may be found in Iverson’s Turing Award lecture, Notation as a Tool of Thought (1979). Incidentally, even Iverson is really describing a medium for thought, the APL programming language, not a narrow tool. introducing the term. And so we shall use “tools for thought” as our catch all phrase, while giving ourselves license to explore a broader range, and also occasionally preferring the term “medium” when it is apt.
    1. PAY $1 OR MORE TO ALSO UNLOCK!

      Star Wars Vs. Star Trek

      Everything Everyday Math Book

      Everything Guide to Pre-Algebra

      100 Things to See in the Night Sky

      Simple Acts to Save Our Planet

      Weather 101

      1,001 Facts That Will Scare the S#*t Out of You

      Why Didn't I Think of That?

      What's Your STEM?

      Dad's Book of Awesome Science Experiments

      Psych 101


      PAY $8 OR MORE TO ALSO UNLOCK!

      Everything Guide to Algebra

      Math Geek

      Anatomy 101

      Physics of Star Wars

      Facts From Space!

      100 Things to See in the Southern Night Sky

      Everything STEM Handbook

      Architecture 101

      Nature is the Worst

      Ultimate Roblox Book: An Unofficial Guide

      The Everything Astronomy Book

      Everything Psychology


      PAY $15 OR MORE TO ALSO UNLOCK!

      Psych Experiments https://www.amazon.com/Psych-Experiments-Rorschachs-psychologys-fascinating-ebook/dp/B01M3R7RVN/ 4.6/5 $12/$11

      DNA is You! https://www.amazon.com/DNA-You-Marvelous-One-Kind-ness/dp/1721400176/ 3.8/5 $11/$14 Want: 8/10

      Everything Guide to the Human Brain https://www.amazon.com/Everything-Guide-Human-Brain-Everything%C2%AE-ebook/dp/B00CMVFW62/ 4.3/10 $14/$13 Want: 8/10

      Astronomy 101 https://www.amazon.com/Astronomy-101-Wormholes-Theories-Discoveries-ebook/dp/B00DV1V7LQ/ 4.5/5 $9/$11 Want: 7/10

      Everyday Amazing https://www.amazon.com/Everyday-Amazing-Fascinating-Science-Surrounds-ebook/dp/B07M5VB9FW/ 4.6/5 $15/$13 Want: 7/10

      Everything Kids' Scratch Coding Book https://www.amazon.com/Everything-Kids-Scratch-Coding-Book/dp/1507207972/ 4.4/5 $14/$15 Want: 6/10

      In the Company of Trees https://www.amazon.com/Company-Trees-Honoring-Connection-Sacred/dp/1507209541/ 5/5 $13/$15 Want: 9/10

      Science of Marvel https://www.amazon.com/Science-Marvel-Infinity-Stones-Revealed/dp/1507209983/ 4.6/5 $13/$11 Want: 7/10

      Bizarre World https://www.amazon.com/Bizarre-World-Collection-Creepiest-Traditions-ebook/dp/B07MKDH8XY/ 5/5 $9/$10 Want: 8/10

      Statistics 101 https://www.amazon.com/Statistics-101-Distribution-Determining-Probability-ebook/dp/B078M5FZ1P/ 3.4/5 $11/$10 Want: 3/10

      Everything Guide to Anatomy and Physiology https://www.amazon.com/Everything-Guide-Anatomy-Physiology-Everything%C2%AE-ebook/dp/B00XO0PZAS/ 4.6/5 $16/21 Want: 7/10

      Advanced Roblox Coding Book: An Unofficial Guide https://www.amazon.com/Advanced-Roblox-Coding-Book-Unofficial-ebook/dp/B07GNVRPXW/ 4.6/5 $11/$10 Want: 5/10

      Genetics 101 https://www.amazon.com/Genetics-101-Chromosomes-Cloning-Everything-ebook/dp/B078M5KLXB/ 4.1/5 $11/$10 Needs pictures Want: 5/10

  6. May 2020
    1. Reasons You Might Want to change your job! Leave a Comment / Blog Contact If you’re planning on leaving or changing your current job, this blog is going to help you in a certain way. Given what’s going on right now, some of you might be saying that the last thing you’re thinking about is changing jobs. I totally understand. But there are companies hiring today. And they’re looking for the best talent. So, deciding whether to change or leave your job remains a very personal decision. There are three things that I would suggest to someone who’s trying to make the decision about changing jobs. I can’t answer these questions, but I do think the answers will help someone figure it out for themselves. Your job is impacting your health. First and foremost, if your job is making you physically or emotionally sick, you need to step back and think. There are jobs where risks do exist, and individuals take those roles knowing that. Jobs in health care, construction, etc. come to mind. Individuals in these industries are taking as many preventive measures as they can. Your work doesn’t make you happy anymore. This could be one of two things: 1) You love what you do but you don’t love the company (or your boss) anymore. OR 2) You’ve fallen out of love with the work. Maybe you used to love traveling as part of your job and now, not so much. It’s important to understand which one you’re dealing with. (NOTE: It’s also possible that the answer is both #1 and #2.) Your career doesn’t make financial sense. I don’t want to simply say that the job doesn’t pay enough. Because maybe the pay is fine. It’s possible that the benefits package doesn’t suit your current situation. Or the cost of maintaining your professional license is getting expensive and the company isn’t reimbursing. The question is “Does your current position adequately cover your living situation?” Once you honestly and seriously answer the above questions, it might help you decide if you want to make a change AND more importantly, what you might want to make a change to. There is some truth to the saying that the best time to look for a new job is when you have a job. I realize not everyone gets that opportunity which is why it can make some sense to always be thinking about your job wants and needs. If you’re thinking about a new opportunity, I want to give you something else to consider. Now is the time to start planning. Don’t wait until you have to make a move to start planning for it. Here are three action steps that will help you find your next job. Also, there are some other important questions that you might want to ask yourself before taking the big step : What specifically about my current situation is frustrating to me? Pinpointing the issue is the first step towards solving it. Kimberly Bishop, recruiter and chief of her eponymous career management firm based in New York, advises employees to identify how their job is failing them. Is the problem the people, the environment or the work itself? After you’ve defined the frustration, consider the scope. If you decide you’re creatively stifled, for example, you may not need to quit to fill the void. Seek an outlet outside of work or raise your hand for another department or project. Have I taken every action possible to make my current job workable? If you realize your situation is not abusive and could be manageable, consider the steps you might take to improve it. Try taking a positive attitude, altering your time management or work habits, and communicating more clearly with your manager. Perhaps a schedule change or clearing an item off your workload will make a big difference. Ultimately, what do I want for my job, career, and life? “A big mistake: When people decide to quit they think they’ll just update their resume and start networking,” says Bishop, who advises being more thoughtful about what you really want and how you’ll get there. Define your priorities. Going to law school may be intellectually stimulating but will not help you achieve the flexible schedule you’ve been craving. Similarly, if you’d like to make a career change, think about all the necessary steps. They may include more school, a pay cut, or working your way up from the bottom–again. Once you know exactly what you want, you may want to ask: How much do I want it? Have I saved enough to cover nine to 12 months of expenses? Susan Hirshman, financial planner and author of Does This Make My Assets Look Fat?, says a few years ago she told people to save enough for six months of expenses. Now she tells people they need nine to 12 months. “If you’re quitting, you won’t get unemployment,” she cautions. Hirshman suggests mapping out fixed expenses like mortgage, credit card, and loan payments, transportation, and food, as well as factoring in the “what if” costs. You may need a little extra to cushion against the unexpected, like car or appliance repairs. How might I cut expenses or earn income while between jobs? After completing a detailed budget, you may realize you’re coming up short and need to create some cash. Often, income is easily supplanted with a part-time service job. However, Hirshman warns that even waiter jobs are difficult to come by in the current economy. You only have two options: Cut expenses or bring in more money. Figure out what will work for you and be honest with yourself, Hirshman says. Have I timed this appropriately? Agryie suggests that employees who’ve decided to quit consider their timing. Firstly, are you in the midst of the busiest season or working on a big project? You may want to honor your commitments so that your team isn’t left in a bind and you’re able to leave on good terms. Secondly, “maximize the money,” he says. If you’d like to get your quarterly bonus or the holiday vacation, it might be smart to wait a few months. So after answering all these questions for yourself, you’d be able to decide if you’d want to continue with your old job or career or switch to a new one.Put together a job search plan. Grab a notebook and start plotting your strategy. Think about your skills. Make note of the knowledge and skills you want to work on before starting to interview. List your must-haves and nice-to-haves for your next company and job. Start thinking about your professional network, both online and the one on one type. Identify the resources you need. It’s possible that you would benefit from taking a class, joining a professional group, or reading some books. Make a list of everything you need and roughly how much it will cost. Start budgeting for these items. Also, think about if you will be out of work for a while and if you will need to cover health insurance in-between jobs. That needs to be budgeted as well. Ask for support. Once you have a plan, reach out to your network. Start reconnecting with them. If you’ve been doing that all along – fantastic! If you haven’t, it will take some time before you can ask for favors. Also, be sure to speak with your family and make sure they’re prepared to support you through this transition. Changing jobs will impact them too. Regardless of where you are in your career and what’s going on in the economy, the job search process is hard. It takes time. The best suggestions I can give someone is to think about why you’re considering a change and create a plan to get from where you are to where you see yourself. The worst thing someone can do is react too quickly and find themselves in another toxic workplace. I know that the current work situation is tough but remember it’s tough you know. Have a plan and work the plan out. You’ll definitely succeed. All the best!

      A job change is a big decision and requires a good consideration. We are here to give reasons why you might want to change the job.

    1. This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic.
    1. React Static is also a great replacement for the ever popular Create React App CLI. It provides a similar developer experience, zero-config environment, and features, but without boxing you in. If you ever need to customize your build system in React Static, there is no need to eject!
    1. Requested Dormant Username Enter the username you would like to request, without the preceding URL (e.g., "User" instead of "gitlab.com/User")

      Problem Type: Dormant Username Requests

    1. The GitLab.com support team does offer support for: Account specific issues (unable to log in, GDPR, etc.) Broken features/states for specific users or repositories Issues with GitLab.com availability
    2. Technical and general support for those using our free options is “Community First”. Like many other free SaaS products, users are first directed to find support in community sources such as the following:
    3. Out of Scope The following details what is outside of the scope of support for self-managed instances with a license.
    1. For general questions, use cases, or anything else that does not fit into one of the above cases, please post in the GitLab Forum or on a third-party help site.
    2. If you're in a paid tier on GitLab.com or GitLab Self-managed, you're entitled to Support. Please open a support ticket after reviewing our Statement of Support
    3. If you're a free user on GitLab.com and are having one of the following specific issues please file a support ticket after reviewing the Free Plan Users Section in our Statement of Support
    1. Account Support If you haven't received your confirmation email, you can request to resend your confirmation instructions via our confirmation page