- Oct 2020
-
github.com github.com
-
We could broadcast a warning if we find the variable to be set in the environment, but that is more likely than not to annoy people who intentionally set it.
New tag?: warnings that may annoy people who intentionally do something. (Need a way to selectively silence certain warnings?)
-
-
stackoverflow.com stackoverflow.com
-
for (var member in myObject) delete myObject[member]; ...would seem to be pretty effective in cleaning the object in one line of code
But checking
hasOwnProperty
is probably better/safer idea:for (var prop in obj) { if (obj.hasOwnProperty(prop)) { delete obj[prop]; } }
-
-
-
I don't want Svelte to go out of its way to try to catch all these edge cases. It would require lots of fragile heuristics in the compiler. I want a solid compiler I can trust, not something magic but often out of service. I want it the simplest possible.
-
-
medium.com medium.com
-
In the many projects I have maintained so far, sooner or later I always run into the same issue: circular module dependencies. Although there are many strategies and best practices on how to avoid circular dependencies. There is very little on how to fix them in a consistent and predictable way.
-
This is how I solve circular dependency issues nowadays.
-
Examples of this include: requiring base classes or reading from imported variables that have not been initialized yet.
-
as soon as you have a (indirect) circular dependency, you might be interacting with a half loaded module in your code.
-
-
github.com github.com
-
Perhaps we should detect URLSearchParams objects differently (using duck typing detection instead of instanceof window.URLSearchParams, for example) but the solution isn't adding a specific polyfill to Axios (as it'd increase the bundle size and still won't work with other polyfills).
-
-
svelte.dev svelte.dev
-
You can see that behaviour in this example. Select a range of text and hit the tab key. Because the <textarea> value changes, the current selection is cleared and the cursor jumps, annoyingly, to the end.
-
-
svelte.dev svelte.dev
-
Just like elements can have children... <div> <p>I'm a child of the div</p> </div>...so can components. Before a component can accept children, though, it needs to know where to put them. We do this with the <slot> element.
-
-
humanwhocodes.com humanwhocodes.com
-
Once again, this isn’t good or bad, it’s just the most efficient way to create something that is similar to something else
-
-
github.com github.com
-
The primary motivation behind virtual-dom is to allow us to write code independent of previous state. So when our application state changes we will generate a new VTree. The diff function creates a set of DOM patches that, based on the difference between the previous VTree and the current VTree, will update the previous DOM tree to match the new VTree.
annotation meta: may need new tag: for: "code independent of previous state."
annotation meta: may need new tag: for: diffs other than source/text code diffs (in this case diffs between virtual DOM trees)
-
Manual DOM manipulation is messy and keeping track of the previous DOM state is hard. A solution to this problem is to write your code as if you were recreating the entire DOM whenever state changes. Of course, if you actually recreated the entire DOM every time your application state changed, your app would be very slow and your input fields would lose focus.
-
-
-
The first rule of standard is no configuration. Whatever the outcome of this thread, adding options is the wrong solution.
-
-
-
Here is how you could emulate an if-else-block:
-
-
medium.com medium.com
-
It would be cool though to have a framework that does not add any specific limitations
-
-
svelte.dev svelte.dev
-
As we've briefly seen already, you can listen to any event on an element with the on: directive:
-
-
-
Before MDX, some of the benefits of writing Markdown were lost when integrating with JSX. Implementations were often template string-based which required lots of escaping and cumbersome syntax.
-
-
-
But this is starting to become rather verbose at what could be a much simpler and more elegant solution if only there were another template helper that could do variable assignment.
-
-
-
Example with fantasy syntax:
-
Here's a proxy store I wrote to derive the value of a store nested within other stores, it plays nice with typescript and can go infinitely deep
-
-
-
but everything they were doing started to make sense
-
-
-
MobX - for me personally MobX is a far better way to manage state than React Hooks. It doesn't care about the UI layer so it can be used outside the React ecosystem, and it's simple to mutate data.
-
-
github.com github.com
-
This library exports a single React Hook, useMethods, which has all the power of useReducer but none of the ceremony that comes with actions and dispatchers.
-
- Sep 2020
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
Insisting on a specific implementation, rather than proposing a clear problem, suggesting a possible solution, and “not being married” to your initial preferred solution.
-
-
medium.com medium.com
-
Unfortunately, many third party libraries, even though they are written in ESM, are published to npm as CJS modules, so we still need to concatenate them.
-
-
-
There are work arounds, but nothing clean. I just feel like this should be functionality that should be part of the slot feature.
-
-
github.com github.com
-
I think Svelte's approach where it replaces component instances with the component markup is vastly superior to Angular and the other frameworks. It gives the developer more control over what the DOM structure looks like at runtime—which means better performance and fewer CSS headaches, and also allows the developer to create very powerful recursive components.
-
-
github.com github.com
-
I totally get not wanting to extend the syntax. I tried doing these things and in practice it was not easy or pretty. Actions provide a much cleaner and easier way to accomplish a certain set of functionality that would be much more difficult without it.
-
-
-
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.
-
-
github.com github.com
-
Maybe good for some cases but not a general solution for this I think.
-
-
github.com github.com
-
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.
-
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.
-
An RFC can provide tremendous value without the design described in it being accepted.
Tags
- iterative process
- contribution guidelines: should explain motivation for change
- defining the problem clearly
- answer the "why?"
- okay for proposal to not be accepted
- defining the problem clearly is as valuable coming up with specific implementation/solution
- iterative process: building on previous attempts/work
- value
Annotators
URL
-
-
community.adobe.com community.adobe.com
-
Hi Arthurp,We are not able to reproduce the issue at our end.Could you please try the following steps:-Open Task Manager and kill the process "Adobe Collaboration Synchronizer"-Delete the folder "Synchronizer" located at: C:\Users\arviyada\AppData\LocalLow\Adobe\Acrobat\DC\Acrobat\ Please let us know it helps. Regards,Arvind
Suggested solution to problem with Adobe Document Cloud (ADC) synchronising comments with shared reviews from Adobe Acrobat.
-
-
www.irishtimes.com www.irishtimes.com
-
Taylor, Charlie. ‘Ireland Ranked among Best for Covid-19 Innovative Solutions’. The Irish Times. Accessed 7 September 2020. https://www.irishtimes.com/business/innovation/ireland-ranked-among-best-for-covid-19-innovative-solutions-1.4233471.
-
-
www.imperial.ac.uk www.imperial.ac.uk
-
Two intersecting pandemics. (n.d.). Retrieved 1 September 2020, from https://www.imperial.ac.uk/stories/intersecting-pandemics
-
- Aug 2020
-
www.medrxiv.org www.medrxiv.org
-
Herper, M. (2020, July 1). Covid-19 vaccine from Pfizer and BioNTech shows positive results. CNBC. https://www.cnbc.com/2020/07/01/coronavirus-vaccine-from-pfizer-and-biontech-shows-positive-results-report-says.html
-
-
virtual.acc.org virtual.acc.org
-
Welcome | Summer COVID-19 Education Series—ACC Virtual Education. (n.d.). Virtualacc. Retrieved August 5, 2020, from https://virtual.acc.org/cvcovid/welcome
-
-
www.youtube.com www.youtube.com
-
MyData vs. COVID-19 calls (2020, June 5) - https://www.youtube.com/playlist?list=PLbpRS19STpXSWs4kTiVEx2KN5CZh6yCYI
-
- Jul 2020
-
rails.lighthouseapp.com rails.lighthouseapp.com
-
Just ran into this problem myself and will work around it less elegantly for now.
-
-
github.com github.com
-
echo 256 > /proc/sys/fs/inotify/max_user_instances
-
-
psyarxiv.com psyarxiv.com
-
Tijdink, J. K., Luykx, J. J., van Veen, S., Vinkers, C., & Veltman, E. (2020). Challenging COVID-19 times for older psychiatric patients: Potential implications and solutions [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/z4puv
-
-
-
Perrott, D. (2020, May 22). Exploring the Valley’s of the Applied Behavioural Science Landscape. Medium. https://medium.com/@DavePerrott/exploring-the-valleys-of-the-applied-behavioural-science-landscape-a8b8ed53e58a
-
-
lejournal.cnrs.fr lejournal.cnrs.fr
-
Pas de pensée sans mémoire biologique
La part de la solution proposée ci-dessous. La mémoire est surtout un mécanisme biologique avec ses propres lois: la non-utilisation entraîne une atrophie. Il en va de même pour la mémoire.
-
Surtout, le travail de la mémoire est le terreau de la pensée. Un savoir n’est acquis et fertile que s’il est intériorisé.
La solution plus claire et très simple à la problématiqu et son explication. Il faut faire la mémoire travailler: mémorisation, récitation, répétion, textes par coeur. Sans l'interiorisation du savoir on manque non seulement une capacité large de réfléxion mais aussi une mémoire psychique ou épisodique.
-
Enfin, mémoriser des chansons, des poèmes, etc., nourrit le partage et la solidarité, renforce le lien social, améliore la qualité du vivre ensemble. »
Deux réponses aux problèmes. Elles ne sont pas explicites mais assez claires: il faut parfois laissez tomber les nouvelles techniques et plutôt utiliser les "old-school" façons d'enseignement et et de vivre pour équilibrer les effets négatifs du Web.
-
- Jun 2020
-
www.defenseurdesdroits.fr www.defenseurdesdroits.fr
-
Au Canada, des audits qui incluent les enjeux de discriminations sont obligatoires pour les institutions publiques depuis le 1er avril 2020 et le Gouvernement fédéral a mis en place une plateforme, l’IEA (Évaluation de l’incidence algorithmique) pour accompagner les administrations dans ces analyses d’impact32. Une telle obligation pourrait être introduite en France sur le modèle de l’Aanalyse d’impact relative à la protection des données (AIPD) déjà prévue par l’article 35 du RGPD
-
-
-
Chen, E., Lerman, K., & Ferrara, E. (2020). COVID-19: The First Public Coronavirus Twitter Dataset. ArXiv:2003.07372 [Cs, q-Bio]. http://arxiv.org/abs/2003.07372
-
-
blogs.lse.ac.uk blogs.lse.ac.uk
-
Long read: Cultural evolution, Covid-19, and preparing for what’s next. (2020, April 22). LSE Business Review. https://blogs.lse.ac.uk/businessreview/2020/04/22/long-read-cultural-evolution-covid-19-and-preparing-for-whats-next/
Tags
- COVID-19
- conflict
- government
- preparation
- is:webpage
- challenge
- disease
- collectivist
- collective behavior
- decision making
- cooperation
- lang:en
- causal understanding
- problem
- future
- solution
- society
- cultural evolution
- behavioral science
- threat
- adaptation
- climate change
- behavioral change
Annotators
URL
-
-
www.researchgate.net www.researchgate.net
-
Mclachlan, S., Lucas, P., Kudakwashe Dube, Hitman, G. A., Osman, M., Kyrimi, E., Neil, M., & Fenton, N. E. (2020). The fundamental limitations of COVID-19 contact tracing methods and how to resolve them with a Bayesian network approach. https://doi.org/10.13140/RG.2.2.27042.66243
Tags
- Bayesian
- app
- digital solution
- lang:en
- COVID-19
- network model
- likelihood
- prediction
- containment
- is:preprint
- contact tracing
- limitation
Annotators
URL
-
-
journals.plos.org journals.plos.org
-
Thibodeau, P. H., & Boroditsky, L. (2013). Natural Language Metaphors Covertly Influence Reasoning. PLOS ONE, 8(1), e52961. https://doi.org/10.1371/journal.pone.0052961
-
- May 2020
-
psyarxiv.com psyarxiv.com
-
Ruggeri, K., Linden, S., Wang, C., Papa, F., Riesch, J., & Green, J. (2020, May 7). Standards for evidence in policy decision-making. https://doi.org/10.31234/osf.io/fjwvk
-
-
-
Gruber, J., Prinstein, M., Abramowitz, J. S., Albano, A. M., Aldao, A., Borelli, J., … Weinstock, L. (2020, May 13). Clinical Psychological Science’s Call To Action in the Time of COVID-19. https://doi.org/10.31234/osf.io/desg9
-
-
ico.org.uk ico.org.ukHome1
-
www.euvsvirus.org www.euvsvirus.org
-
Pan-European Matchathon. https://euvsvirus.org
-
-
app.termly.io app.termly.ioTermly1
-
stackoverflow.com stackoverflow.com
-
If you update your pages and push to github, people revisiting the pages who have already got cached copies will not get the new pages without actually cleaning their browser cache. How can a script running in a page determine that it is stale and force an update?
-
-
stackoverflow.com stackoverflow.com
-
for me it was because the browser use cached data(old styles) so i opend other brwser
-
-
webapps.stackexchange.com webapps.stackexchange.com
-
I am looking for indirect access via some sort of settings or confirmation, or proof that it is impossible.
-
-
jamanetwork.com jamanetwork.com
-
Nundy, S., & Patel, K. K. (2020). Hospital-at-Home to Support COVID-19 Surge—Time to Bring Down the Walls? JAMA Health Forum, 1(5), e200504–e200504. https://doi.org/10.1001/jamahealthforum.2020.0504
-
-
www.iubenda.com www.iubenda.com
-
Though GDPR is primarily a legal challenge, a technological response was also necessary to meet the transparency and control requirements that arise as a result of GDPR implementation.
-
-
www.civicuk.com www.civicuk.com
Tags
Annotators
URL
-
-
-
Dunn, C. G., Kenney, E., Fleischhacker, S. E., & Bleich, S. N. (2020). Feeding Low-Income Children during the Covid-19 Pandemic. New England Journal of Medicine, 382(18), e40. https://doi.org/10.1056/NEJMp2005638
Tags
- psychological distress
- National School Lunch Program
- federal nutrition
- health effect
- COVID-19
- USA
- food insecurity
- government
- social distancing
- access
- transmission reduction
- lang:en
- is:article
- solution
- food
- funding
- children
- low-income
- financial assistance
- risk of infection
- federal aid
- adaptation
- School Breakfast Program
Annotators
URL
-
-
www.fastcompany.com www.fastcompany.com
-
This kind of cookie-based data collection happens elsewhere on the internet. Giant companies use it as a way to assess where their users go as they surf the web, which can then be tied into providing better targeted advertising.
-
For instance, Google’s reCaptcha cookie follows the same logic of the Facebook “like” button when it’s embedded in other websites—it gives that site some social media functionality, but it also lets Facebook know that you’re there.
-
-
arxiv.org arxiv.org
-
Nguyen, C. T., Saputra, Y. M., Van Huynh, N., Nguyen, N.-T., Khoa, T. V., Tuan, B. M., Nguyen, D. N., Hoang, D. T., Vu, T. X., Dutkiewicz, E., Chatzinotas, S., & Ottersten, B. (2020). Enabling and Emerging Technologies for Social Distancing: A Comprehensive Survey. ArXiv:2005.02816 [Physics]. http://arxiv.org/abs/2005.02816
-
- Apr 2020
-
www.scienceshumaines.com www.scienceshumaines.com
-
C’est ainsi qu’en février 2014 la branche professionnelle Syntec a signé un accord pour un droit à la déconnexion le soir et le week-end.
Nous avons ici la première solution pour éviter la surcharge de travail aux employés. En effet, avec cette accord, les employés n'ont pas à ramener du travail supplémentaire chez eux le soir et le weekend, cela permet donc une déconnexion. Ils ne peuvent donc plus être contacté par leurs collègues et leur employeur. Cela évite la dispersion familiale, élément qui n'est pas abordé dans cet article.
-
-
euvsvirus.org euvsvirus.org
-
EUvsVirus. Pan-European hackathon. https://euvsvirus.org/
-
-
ec.europa.eu ec.europa.eu
-
EUvsVirus Hackathon to develop innovative solutions and overcome coronavirus-related challenges. (n.d.). [Text]. European Commission - European Commission. Retrieved April 17, 2020, from https://ec.europa.eu/info/news/euvsvirus-hackathon-develop-innovative-solutions-and-overcome-coronavirus-related-challenges-2020-apr-03_en
-
-
www.equallyours.org.uk www.equallyours.org.uk
-
The equality and human rights impacts of Covid-19. (n.d.). Equally Ours. Retrieved April 17, 2020, from https://www.equallyours.org.uk/resources/the-equality-and-human-rights-impacts-of-covid-19/
-
-
solve.mit.edu solve.mit.edu
-
Solutions. (n.d.). MIT SOLVE. Retrieved April 20, 2020, from https://solve.mit.edu/challenges/health-security-pandemics
-
-
www.techopedia.com www.techopedia.com
-
A language that features polymorphism allows developers to program in the general rather than program in the specific. $(document).ready(function() { recordAdModuleData(2964, "impressions","Dictionary Ad"); });
-
-
github.com github.com
-
Part of why most code -- and most software -- sucks so much is that making sweeping changes is hard.
-
- Mar 2020
-
www.php.net www.php.net
-
However imagine we are creating a format string in a separate file, commonly because we would like to internationalize it and we rewrite it as: <?php$format = 'The %s contains %d monkeys';echo sprintf($format, $num, $location);?> We now have a problem. The order of the placeholders in the format string does not match the order of the arguments in the code. We would like to leave the code as is and simply indicate in the format string which arguments the placeholders refer to. We would write the format string like this instead: <?php$format = 'The %2$s contains %1$d monkeys';echo sprintf($format, $num, $location);?> An added benefit is that placeholders can be repeated without adding more arguments in the code.
-
$format = 'There are %d monkeys in the %s';
Compared to below:
$format = 'The %s contains %d monkeys'
-
-
konstantin.blog konstantin.blog
-
Poedit and other tools can scan your .php files for references of __(), _e(), _n() and so on, and grab those strings for translation, which is awesome, because otherwise you’d have to manually add every single string. Now, when these tools come across _n() in our sources, they know it’s a plural thing, because of a special keyword setting which looks something like _n:1,2, meaning _n() takes at least two arguments, where the first argument is the singular, and the second argument is a the plural, so it grabs both strings. Let’s take a look at how Poedit and other tools will parse our function above: Hello there _n() on line 3! I’m supposed to grab two of your arguments because I have this smart keyword setting, but none of these arguments are strings, so I’ll just skip to the next match
-
- Feb 2020
-
-
Nix helps you make sure that package dependency specifications are complete. In general, when you’re making a package for a package management system like RPM, you have to specify for each package what its dependencies are, but there are no guarantees that this specification is complete. If you forget a dependency, then the component will build and work correctly on your machine if you have the dependency installed, but not on the end user's machine if it's not there.
-
- Jan 2020
-
-
You might be thinking––"a tool that allows me to write semantic and reusable queries? Sounds like Active Record". It's absolutley true that Active Record already provides a powerful query tool kit. But what happens when even simple queries stretch the bounds of Active Record's capabilities?
-
-
github.com github.com
-
Such verbose. Much code. Very bloat. Wow. We've lost all the awesome association introspection that ActiveRecord would otherwise have given us.
-
-
stackoverflow.com stackoverflow.com
-
I understand this is a relational division type problem, involving having and count. These posts describe what I want to do, but I can't figure out how to apply the examples to the particular case above:
-
-
smleo.com smleo.com
-
University of Pennsylvania has designed a new, cost-effective approach to recycle Yttrium.
can be recycled.
-
-
www.reddit.com www.reddit.com
-
That's the problem with therapy: The people who really need help are often the onesnot trusting others (as a result of bad experiences)not recognizing they have a problem in the first placebeing too scared to open up (or leave the house)being too exhausted to goless likely to be able to afford it. (That's only an issue in countries without a proper health care system.)
-
-
-
The strategy would focus on vigorous range management, soil and water conservation including tree-planting, limiting over-grazing and preventing deforestation. Improving water availability would also require additional construction of surface dams during rainy seasons and deep wells.
solutions
Tags
Annotators
URL
-
-
www.greenfacts.org www.greenfacts.org
-
Rehabilitation and restoration approaches can help restore ecosystem services that have been lost due to desertification.
desertification - prevention and restoration
-
- Dec 2019
-
-
But it's not easy to open todo.txt, make a change, and save it—especially on your touchscreen device and at the command line. Todo.txt apps solve that problem.
-
-
-
Sometimes cronjobs fail to run successfully because a required server (like a database or ftp server) is temporarily unavailable due to power failures, hardware failures, software failures, network outages, choice of operating system, pilot error, and the like. Typically, this results in someone being forced to examine crontabs and error reports, determine which cronjobs really need to be run, and then run them manually. This happened to me twice in one week. I don't want it to happen again. Cronjobs are meant to be automated and I want them to stay that way. This is the rationale for noexcuses.
-
-
github.com github.com
-
An ssh public key in a ~/.ssh/authorized_keys file can have a command="" option which forces a particular command to be executed when the key is used to authenticate an ssh connection. This is a security control that mitigates against private key compromise. This is great when you only need to execute a single command. But if you need to perform multiple tasks, you would normally need to create and install a separate key pair for each command, or just not bother making use of forced commands and allow the key to be used to execute any command.
-
-
unixwiz.net unixwiz.net
-
However, these benefits only accrue to outbound connections made from the local system to ssh servers elsewhere: once logged into a remote server, connecting from there to yet a third server requires either password access, or setting up the user's private key on the intermediate system to pass to the third. Having agent support on the local system is certainly an improvement, but many of us working remotely often must copy files from one remote system to another. Without installing and initializing an agent on the first remote system, the scp operation will require a password or passphrase every time. In a sense, this just pushes the tedium back one link down the ssh chain.
-
-
requests.readthedocs.io requests.readthedocs.io
-
-
Regarding the type declaration emittion, I do this by activating the typescript complier api after webpack has finished compiling. I detect webpack is done compiling using hooks. This allows to live without the special tsconfig.
Solution to previously mentioned workaround/problem:
Sadly, generating .d.ts files isn't supported by the webpack integration (not sure if this is planned), and due to microsoft/TypeScript#29490 it requires a separate tsconfig.json file to make it all work:
Tags
Annotators
URL
-
- Nov 2019
-
github.com github.com
-
You might want developers building projects with this CMS to be able to change the behaviour of some UIs, or to be able to provide new components that can be consumed by the CMS. Those components can't easily be included in the JS bundle for the CMS, as it would require recompiling the shipped code with outside references.
-
-
www.robinwieruch.de www.robinwieruch.de
-
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.
-
-
stackoverflow.com stackoverflow.com
-
This is the most elegant.
-
More elegant, just for fun: const parents = node => (node.parentElement ? parents(node.parentElement) : []).concat([node]);
-
-
whitepaper.audius.co whitepaper.audius.co
-
To submit a proposal, a user must bond a set num-ber of Audius tokens (denotedBGP) in the governancesystem, which remain bonded for the duration of theirproposal. Before a proposal's eective date, the origi-nal submitter can also choose to withdraw the proposalif they so choose, returning their bonded tokens. Thisbond is required as an anti-spam measure and to ensurethat proposers to have a sucient stake in the Audiusprotocol to make changes to it. At the proposal's res-olution (successful, failed, or withdrawn), the bond isreturned to proposal submitter.
-
-
-
“The broader issue is clearing space for your transit to get through congestion, and most of that congestion is from private cars, not [ride-hail],” says Ben Fried, the group’s communications head. “Cities need to make transit fast, affordable, convenient." Truly attractive transit has to do that better than private cars.
problem with transit/possible solution to the problem
-
- Oct 2019
-
github.com github.com
-
function fn1<T extends string>(x: T): T { return "hello world!"; } How to resolve this error? Change to return "hello world" as T?
I wish someone would actually answer this question and recommend a general solution to this class of error.
It seems like "forcing" the type to be T with
return "hello world" as T
only masks the issue. It's still be possible to get type mismatches, as demonstrated in this example:So maybe we just can't safely return specific instances of T from functions like this...
-
- Jul 2019
-
kslnewsradio.com kslnewsradio.com
-
Can fining parents stop their kids from bullying other students?
A few states have resorted to fining parents of bullies in hope to encourage their kids to stop bullying. Many may agree, but it also raise the question of how effective is it?
-
- May 2019
-
cfjctoday.com cfjctoday.com
-
Teck officials say the safety and stability of HVC’s tailings damn was not affected in any way and there was no environmental impacts as a result of the incident.
there was no pollution caused because of the mines safety measures.
-
-
newbusinessethiopia.com newbusinessethiopia.com
-
The governments of Ethiopia and Russia are set to expand business ties on multiple frontiers, ranging from nuclear energy development to Russians investment in mining in Ethiopia.
That's interesting!
-
- Mar 2019
-
www.climaterealityproject.org www.climaterealityproject.org
-
It’s clear that we need to make the switch to clean, reliable sources of renewable energy like solar and wind. Unlike fossil fuels, renewables don’t add greenhouse gases to our atmosphere.
We need to change to renewable energy
-
- Feb 2019
-
ategroup.com ategroup.com
-
Ecoaxis introduced industrial IoT solution for plastic processing machines which help to improve efficiency, productivity and quality. Our IoT (Internet of Things) gateway helps connect your various plastic processing machines and utilities to capture and securely transfer accurate data to the cloud for advanced analytics.
-
- Oct 2018
-
www.cfr.org www.cfr.org
-
if rich countries address the growing inequality of recent decades and manage the transition to the automated economy.”
-
- Jun 2018
-
leadershipcoachingblog.com leadershipcoachingblog.com
-
There are two routes to achieving this. One is to reallocate the resources from unproductive to productive uses, the secret of all entrepreneurs down the ages. Find a round hole for a round peg, a square hole for a square peg, and a perfect fit for any shape in between. Experience suggests that every resource has its ideal arena, where the resource can be tens or hundreds of times more effective than in most other arenas. The other route to progress—the method of scientists, doctors, preachers, computer systems designers, educationalists and trainers—is to find ways to make the unproductive resources more effective, even in their existing applications; to make the weak resources behave as though they were their more productive cousins; to mimic, if necessary by intricate rote-learning procedures, the highly productive resources. The few things that work fantastically well should be identified, cultivated, nurtured and multiplied. At the same time, the waste—the majority of things that will always prove to be of low value to man and beast—should be abandoned or severely cut back.
-
-
en.wikipedia.org en.wikipedia.org
-
To address the problems of serialized aggregation of input among large-scale groups, recent advancements collective intelligence have worked to replace serialized votes, polls, and markets, with parallel systems such as "human swarms" modeled after synchronous swarms in nature.
-
-
en.wikipedia.org en.wikipedia.org
-
Hierarchical classification systems can be slow to change, and are rooted in the culture and era that created them; in contrast, the flexibility of tagging allows users to classify their collections of items in the ways that they find useful,
Tags
Annotators
URL
-
-
web.hypothes.is web.hypothes.is
-
The combination of human expertise and automated analysis can exist in multiple overlays. Climate scientists, economists, political analysts, and automated fact checkers might converge on a single sentence in a story on climate change. Nothing depends on any domain-specific vocabulary or schema. Annotation is simply the connective tissue that makes statements in web pages addressable, and binds those addresses to conversations, supporting documents, source data, or truth claims that bear on annotated statements.
-
The annotated web embodies that pattern. Systems that embrace it will tend to work well with one another. Their outputs will be available to mine, crosslink, and remix, and those activities will drive collective improvement.
-
The web we know is an information fabric woven of linked resources. By increasing the thread count of that fabric, the annotated web enables a new class of application for which selections in documents are first-class resources.
-
-
www.smithandcrown.com www.smithandcrown.com
-
By requiring a lock up period for the DCR to obtain tickets, Decred hopes that only users invested in the long-term growth of the network will be involved in the consensus process. Short-term speculators and day traders of DCR will not be able to participate in consensus or governance without making their holdings illiquid.
-
-
www.w3.org www.w3.org
-
The Web is distributed, with different systems working together to provide access to content. Annotations can be used to link those resources together, being referenced as the Body and Target
Tags
Annotators
URL
-
- Mar 2017
-
awjin.github.io awjin.github.io
-
Check out
Some other problems can be found in the quoted works section, for this paper/web page. For example, have a look here.
-
- Jan 2017
-
en.wikipedia.org en.wikipedia.org
-
efficiently solves
a.k.a.
guarantees a poly-time solution
for any SAT problem instance.
-
-
h.readthedocs.io h.readthedocs.io
-
Cannot connect to the Docker daemon
For Linux/Unix people, it may very well be that you did not add your username to the 'docker' group and as a consequence you cannot communicate with the docker daemon. I had just experienced this (while running Linux Mint 18.1, but the symptoms ought to be similar for Debian/Ubuntu as well).
To fix it, I ran:
sudo usermod -aG docker $(whoami)
Log out and log back in. This ensures your user is running with the correct permissions.
This will ensure that you do not need to sudo every time, when you interact with docker.
There are instructions in the below link for Unix (MacOS) users as well.
-