- Nov 2020
-
geoexamples.com geoexamples.com
-
SVG has the advantage that integrates very well with Svelte, since it’s an XML and the nodes can be managed as if they were HTML. On the other hand, Canvas is more efficient, but it has to be generated entirely with JavaScript.
-
-
github.com github.com
-
-
In Svelte, all reactive statements are memoized. Instead of const var = useMemo(() => expression, dependencies), you can use $: var = expression. Notice with Svelte, you don't need to declare the dependencies. The compiler infers them for you.
-
-
boardgamegeek.com boardgamegeek.com
-
I prefer light stock taking games like American Rails.
-
-
-
Kaveladze, B., Chang, K., Siev, J., & Schueller, S. (2020). The COVID-19 Pandemic’s Impact on OCD Symptoms Varies Widely. PsyArXiv. https://doi.org/10.31234/osf.io/h8wyt
-
-
en.wikipedia.org en.wikipedia.org
-
That is, if Company A owns 80% or more of the stock of Company B, Company A will not pay taxes on dividends paid by Company B to its stockholders, as the payment of dividends from B to A is essentially transferring cash from one company to the other.
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
If you were to check the return status of every single command, your script would look like this:
Illustrates how much boilerplate set -e saves you from.
Update: Oops, if you read a comment further below, you learn that:
Actually the idiomatic code without
set -e
would be justmake || exit $?
True that.
-
-
webpack.js.org webpack.js.orgConcepts1
-
The webpack repository contains an example showing the effect of all devtool variants. Those examples will likely help you to understand the differences.
-
-
news.ycombinator.com news.ycombinator.com
-
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.
-
-
github.com github.com
-
You may know several Procfile process management tools, but Overmind has some unique, extraterrestrial powers others don't:
-
- Oct 2020
-
www.aeaweb.org www.aeaweb.org
-
Ferraro, P. J., Miranda, J. J., & Price, M. K. (2011). The Persistence of Treatment Effects with Norm-Based Policy Instruments: Evidence from a Randomized Environmental Policy Experiment. American Economic Review, 101(3), 318–322. https://doi.org/10.1257/aer.101.3.318
-
-
www.basefactor.com www.basefactor.com
-
React Final Forms is a great library, an enhanced version of Redux Form
-
-
99-percent.org 99-percent.org
-
How Did We Get Into This Mess? (2020, October 15). 99%. https://99-percent.org/how-did-we-get-into-this-mess/
-
-
github.com github.com
-
Indeed, it looks like svelte-hooks did add support for clean-up functions to their useEffect in devongovett/svelte-hooks@1d39d95! ... which is great, though @DylanVann's much simpler and zero-dependency version is even better in some ways.
Tags
Annotators
URL
-
-
twitter.com twitter.comTwitter1
-
Paul Edbrooke MP on Twitter. (n.d.). Twitter. Retrieved October 21, 2020, from https://twitter.com/paul4frankston/status/1317362188097519616
-
-
www.guru99.com www.guru99.com
-
www.nature.com www.nature.com
-
Schiermeier, Q., Else, H., Mega, E. R., Padma, T. V., & Gaind, N. (2020). What it’s really like to do science amid COVID-19. Nature. https://doi.org/10.1038/d41586-020-02815-2
-
-
twitter.com twitter.com
-
David Rothschild on Twitter. (n.d.). Twitter. Retrieved October 17, 2020, from https://twitter.com/DavMicRot/status/1316429651988877312
-
-
www.newscientist.com www.newscientist.com
-
Vaughan, A. (n.d.). England & Wales had most excess deaths in Europe’s covid-19 first wave. New Scientist. Retrieved October 16, 2020, from https://www.newscientist.com/article/2256986-england-wales-had-most-excess-deaths-in-europes-covid-19-first-wave/
-
-
thisthat.dev thisthat.dev
-
Source at: https://github.com/phuoc-ng/this-vs-that
-
-
-
mixing the turing complete of javascript with the markup of HTML eliminates the readability of JSX so that it is actually harder to parse than a solution like hyperscript
-
hyperscript is much simpler to refactor and DRY up your code than with JSX, because, being vanilla javascript, its easier to work with variable assignment, loops and conditionals.
Tags
- reuse existing language constructs
- Turing complete
- hybrid/mixture
- comparison with:
- bad combination/mixture/hybrid/frankenstein
- making it easy for later refactoring
- react-hyperscript
- JavaScript
- javascript
- JSX
- hyperscript
- it's just _
- missing out on the benefits of something
- template language vs. reusing existing language constructs
- template language: bad: by not reusing existing language constructs; forced to reinvent equivalents which are inferior and unfamiliar
- good point
Annotators
URL
-
-
www.npmjs.com www.npmjs.comhyperx1
-
This module is similar to JSX, but provided as a standards-compliant ES6 tagged template string function.
-
-
github.com github.com
-
const { getByRole } = render(<input bind_value={text}>)
Directly compare to: https://hyp.is/T2NGMA5ZEeu2k6dW8hBd9g/github.com/kenoxa/svelte-htm
-
-
github.com github.com
-
const { getByRole } = render(html`<input bind:value=${text} />`)
Directly compare to: https://hyp.is/KXd5yA5ZEeu9_K_HXsDR2w/github.com/kenoxa/svelte-jsx
-
-
2ality.com 2ality.com
-
To suggest template literals cover the level of abstraction that JSX has to offer is just dumb. They're great and all, but c'mon now...
-
-
medium.com medium.com
-
Then at some moment I just stumbled upon limitations and inexpressiveness of templates and started to use JSX everywhere — and because JSX was not a typical thing for Vue I switched to React over time. I don’t want to make a step back.
-
-
-
Arguably, it leans into JSX land—including logic in the templates.
-
-
www.theguardian.com www.theguardian.com
-
Continual lockdowns are not the answer to bringing Covid under control | Devi Sridhar. (2020, October 10). The Guardian. http://www.theguardian.com/commentisfree/2020/oct/10/continual-local-lockdowns-answer-covid-control
-
-
letconst.com letconst.com
Tags
Annotators
URL
-
-
deno.land deno.land
-
Comparison to Node.js
Tags
Annotators
URL
-
-
twitter.com twitter.com
-
Adam Kucharski on Twitter. (n.d.). Twitter. Retrieved October 10, 2020, from https://twitter.com/AdamJKucharski/status/1313760847932596224
-
-
unhosted.org unhosted.org
-
Solid is similar to remoteStorage in that it allows apps and services (including unhosted web apps) to store the user's data under the user's control.
-
-
-
createState and createSignal are improvements over React's useState as it doesn't depend on the order of calls.
-
Solid is a declarative JavaScript library for creating user interfaces. It's kinda like if React and Svelte had a baby.
-
-
github.com github.com
-
Comparison to useReducer
-
-
twitter.com twitter.com
-
Luke O’Neill on Twitter. (n.d.). Twitter. Retrieved October 7, 2020, from https://twitter.com/laoneill111/status/1313542640391139329
-
-
www.washingtonpost.com www.washingtonpost.com
-
Long, H., correspondentEmailEmailBioEmailFollowEmail, H. L., Dam, rew V., Fowers, rew V. D. focusing on economic dataEmailEmailBioEmailFollowEmailAlyssa, visualization, A. F. reporter focusing on data, data, analysisEmailEmailBioEmailFollowEmailLeslie S. S. reporter focusing on, & storytellingEmailEmailBioEmailFollowEmail, multimedia. (n.d.). The covid-19 recession is the most unequal in modern U.S. history. Washington Post. Retrieved October 2, 2020, from https://www.washingtonpost.com/graphics/2020/business/coronavirus-recession-equality/
-
- Sep 2020
-
www.scientificamerican.com www.scientificamerican.com
-
Haseltine, W. A. (n.d.). Lessons from AIDS for the COVID-19 Pandemic. Scientific American. https://doi.org/10.1038/scientificamerican1020-35
-
-
sapper.svelte.dev sapper.svelte.dev
-
Next.js is a React framework from Vercel (formerly ZEIT), and is the inspiration for Sapper. There are a few notable differences, however:
Tags
Annotators
URL
-
-
svelte.dev svelte.dev
-
for example, reactive declarations essentially do the work of React's useMemo, useCallback and useEffect without the boilerplate (or indeed the garbage collection overhead of creating inline functions and arrays on each state change).
-
In Vue, your markup must be wrapped in a <template> element, which I'd argue is redundant.
-
-
github.com github.com
-
If you're using Rollup with rollup-plugin-svelte, this will happen automatically.
Tags
Annotators
URL
-
-
rollupjs.org rollupjs.orgRollup1
-
If you need to call the function repeatedly, this is much, much faster than using eval.
-
-
www.sciencedirect.com www.sciencedirect.com
-
Han, E., Tan, M. M. J., Turk, E., Sridhar, D., Leung, G. M., Shibuya, K., Asgari, N., Oh, J., García-Basteiro, A. L., Hanefeld, J., Cook, A. R., Hsu, L. Y., Teo, Y. Y., Heymann, D., Clark, H., McKee, M., & Legido-Quigley, H. (2020). Lessons learnt from easing COVID-19 restrictions: An analysis of countries and regions in Asia Pacific and Europe. The Lancet, 0(0). https://doi.org/10.1016/S0140-6736(20)32007-9
-
-
medium.com medium.com
-
Rollup also does something very different compared to the other bundlers. It only tries to achieve one simple goal: Bundle ES modules together and optimise the bundle.
-
-
-
github.com github.com
-
Allow creating custom components with the same abilities as native dom. By all means keep the same level of encapsulation, don't push class on components, but allow a component to mark the class property or another as a CSS Class property, in which case you could pass it through the same transformation that native elements go through
-
-
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
-
Does it look like a decorator plugin in Ractive, right
-
-
-
<LazyLoad component="img" data-src="giant-photo.jpg" class="my-cool-image" />
-
<LazyLoad> <img data-src='giant-photo.jpg'/> </LazyLoad>
-
-
github.com github.com
-
Re Object.keys(undefined), I think I'm ok with that failing. AFAIK it would also fail in React
-
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!)
-
-
-
twitter.com twitter.com
-
Adam Kucharski on Twitter. (n.d.). Twitter. Retrieved September 22, 2020, from https://twitter.com/AdamJKucharski/status/1307231588732764161
-
-
journals.sagepub.com journals.sagepub.com
-
Salvador, C. E., Berg, M. K., Yu, Q., Martin, A. S., & Kitayama, S. (2020). Relational Mobility Predicts Faster Spread of COVID-19: A 39-Country Study: Psychological Science. https://doi.org/10.1177/0956797620958118
-
-
www.euromomo.eu www.euromomo.eu
-
Graphs and maps from EUROMOMO. (n.d.). EUROMOMO. Retrieved September 18, 2020, from https://euromomo.eu/dev-404-page/
-
-
blog.carbonfive.com blog.carbonfive.com
-
Like with React, you can pass in callback props like onSave and onDelete, which is the main way you send data out of a component to a parent.
-
-
www.codingwithjesse.com www.codingwithjesse.com
-
In most component frameworks, you need to write some code to define your component. With React, the simplest component is an empty function. In other frameworks, you need to import a library and call a special function to define and create your component. With Svelte, you just create a new .svelte file.
If you compare these two:
- With React, the simplest component is an empty function.
- With Svelte, you just create a new .svelte file.
Creating a new empty function is actually easier/faster than creating and importing a new file. Because you don't have to create a new file just to create a new one-line component. You can create simple helper components within the same file as the main component they help with, and sometimes it is nice to have the flexibility and freedom to compose your files however you want, including the freedom to group multiple closely related components together in the same file.
In fact one thing I've sometimes found very useful and handy is to be able to define very simple helper components (functions) within the definition of my main component.
So I would actually put this comparison in the "win" category for React, not Svelte.
-
-
www.biblegateway.com www.biblegateway.com
-
he will crush[j] your head,(BL) and you will strike his heel.”
God curses the serpent after deceiving Eve in the garden, and creates "enmity between [the serpent] and the woman." In the "Harry Potter" series by JK Rowling, the serpent is a symbol of evil, and near the end of the books, is the only piece of evil left to destroy before good can truly be restored.
-
-
www.bbc.co.uk www.bbc.co.uk
-
Biswas, T. V. and D. J. T., Soutik. (2020, September 14). Tracking the pandemic: Where are the global hotspots? BBC News. https://www.bbc.com/news/world-51235105
-
-
informationisbeautiful.net informationisbeautiful.net
-
Beautiful, I. is. (n.d.). COVID-19 #CoronaVirus Infographic Datapack. Information Is Beautiful. Retrieved September 15, 2020, from https://informationisbeautiful.net/visualizations/covid-19-coronavirus-infographic-datapack/
-
-
svelte.dev svelte.dev
-
The previous example contained a default slot, which renders the direct children of a component. Sometimes you will need more control over placement, such as with this <ContactCard>. In those cases, we can use named slots.
This is a nicer solution than react children props, which is only clean if you pass in a single child.
The React children prop is an unregulated wild west where people are free to use the prop almost any way they want (including passing in a function).
I kind of like how Svelte provides a standard, consistent API, which doesn't have the limitations of React childern.
-
-
tailwindcss.com tailwindcss.com
-
Inline styles can't target states like hover or focus, but Tailwind's pseudo-class variants make it easy to style those states with utility classes.
-
-
twitter.com twitter.com
-
(((Howard Forman))) on Twitter. (n.d.). Twitter. Retrieved September 7, 2020, from https://twitter.com/thehowie/status/1302722027665666048
-
-
www.pewresearch.org www.pewresearch.org
-
NW, 1615 L. St, Suite 800Washington, & Inquiries, D. 20036USA202-419-4300 | M.-857-8562 | F.-419-4372 | M. (n.d.). A majority of young adults in the U.S. live with their parents for the first time since the Great Depression. Pew Research Center. Retrieved September 7, 2020, from https://www.pewresearch.org/fact-tank/2020/09/04/a-majority-of-young-adults-in-the-u-s-live-with-their-parents-for-the-first-time-since-the-great-depression/
-
-
twitter.com twitter.com
-
Jason Furman on Twitter. (n.d.). Twitter. Retrieved September 7, 2020, from https://twitter.com/jasonfurman/status/1301871401226338305
-
- Aug 2020
-
www.thelancet.com www.thelancet.com
-
Lozano, R., Fullman, N., Mumford, J. E., Knight, M., Barthelemy, C. M., Abbafati, C., Abbastabar, H., Abd-Allah, F., Abdollahi, M., Abedi, A., Abolhassani, H., Abosetugn, A. E., Abreu, L. G., Abrigo, M. R. M., Haimed, A. K. A., Abushouk, A. I., Adabi, M., Adebayo, O. M., Adekanmbi, V., … Murray, C. J. L. (2020). Measuring universal health coverage based on an index of effective coverage of health services in 204 countries and territories, 1990–2019: A systematic analysis for the Global Burden of Disease Study 2019. The Lancet, 0(0). https://doi.org/10.1016/S0140-6736(20)30750-9
-
-
www.japanpolicyforum.jp www.japanpolicyforum.jp
-
Infectious Disease Response—To see the forest, not just the trees: What differentiated Japan from the Western countries? | Discuss Japan-Japan Foreign Policy Forum. (n.d.). Retrieved July 18, 2020, from https://www.japanpolicyforum.jp/diplomacy/pt20200605162619.html
-
-
osf.io osf.io
-
Acosta, M., & Nestore, M. (2020). Comparing public policy implementation in Taiwan and Vietnam in the early stages of the COVID-19 outbreak: A review [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/69hqx
-
-
osf.io osf.io
-
Beytía, P., & Infante, C. C. (2020). Digital Pathways, Pandemic Trajectories. Using Google Trends to Track Social Responses to COVID-19 [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/yndb7
-
-
www.nber.org www.nber.org
-
Couture, V., Dingel, J. I., Green, A. E., Handbury, J., & Williams, K. R. (2020). Measuring Movement and Social Contact with Smartphone Data: A Real-Time Application to COVID-19 (Working Paper No. 27560; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27560
-
-
covid-19.iza.org covid-19.iza.org
-
Welfare States, Labor Markets, Social Investment and the Digital Transformation. COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved August 1, 2020, from https://covid-19.iza.org/publications/dp13391/
-
-
osf.io osf.io
-
Albertini, M., Sage, L., & Scherer, S. (2020). Intergenerational contacts and Covid-19 spread: Omnipresent grannies or bowling together? [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/exym8
-
-
www.medrxiv.org www.medrxiv.org
-
Vogels, C. B. F., Brackney, D., Wang, J., Kalinich, C. C., Ott, I., Kudo, E., Lu, P., Venkataraman, A., Tokuyama, M., Moore, A. J., Muenker, M. C., Casanovas-Massana, A., Fournier, J., Bermejo, S., Campbell, M., Datta, R., Nelson, A., Team, Y. I. R., Cruz, C. D., … Grubaugh, N. (2020). SalivaDirect: Simple and sensitive molecular diagnostic test for SARS-CoV-2 surveillance. MedRxiv, 2020.08.03.20167791. https://doi.org/10.1101/2020.08.03.20167791
-
-
www.nber.org www.nber.org
-
Clay, K., Lewis, J. A., Severnini, E. R., & Wang, X. (2020). The Value of Health Insurance during a Crisis: Effects of Medicaid Implementation on Pandemic Influenza Mortality (Working Paper No. 27120; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27120
-
-
www.nber.org www.nber.org
-
Aum, S., Lee, S. Y. (Tim), & Shin, Y. (2020). COVID-19 Doesn’t Need Lockdowns to Destroy Jobs: The Effect of Local Outbreaks in Korea (Working Paper No. 27264; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27264
-
-
www.nber.org www.nber.org
-
Fairlie, R. W. (2020). The Impact of Covid-19 on Small Business Owners: Evidence of Early-Stage Losses from the April 2020 Current Population Survey (Working Paper No. 27309; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27309
-
-
www.nber.org www.nber.org
-
Aspelund, K. M., Droste, M. C., Stock, J. H., & Walker, C. D. (2020). Identification and Estimation of Undetected COVID-19 Cases Using Testing Data from Iceland (Working Paper No. 27528; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27528
-
-
-
Goldstein, J. R., & Lee, R. D. (2020). Demographic Perspectives on Mortality of Covid-19 and Other Epidemics (Working Paper No. 27043; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27043
-
-
-
Lin, P. Z., & Meissner, C. M. (2020). A Note on Long-Run Persistence of Public Health Outcomes in Pandemics (Working Paper No. 27119; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27119
-
-
covid-19.iza.org covid-19.iza.org
-
Occupational Exposure to Contagion and the Spread of COVID-19 in Europe. COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved August 7, 2020, from https://covid-19.iza.org/publications/dp13227/
-
-
covid-19.iza.org covid-19.iza.org
-
Unequal Consequences of COVID-19 across Age and Income: Representative Evidence from Six Countries. COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved August 5, 2020, from https://covid-19.iza.org/publications/dp13366/
-
-
covid-19.iza.org covid-19.iza.org
-
Lockdown Accounting. COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved August 1, 2020, from https://covid-19.iza.org/publications/dp13397/
-
-
covid-19.iza.org covid-19.iza.org
-
Working at Home in Greece: Unexplored Potential at Times of Social Distancing?. COVID-19 and the Labor Market. (n.d.). IZA – Institute of Labor Economics. Retrieved July 31, 2020, from https://covid-19.iza.org/publications/dp13408/
-
-
psyarxiv.com psyarxiv.com
-
Webster, G. D., Howell, J. L., Losee, J. E., Mahar, E., & Wongsomboon, V. (2020). Culture, COVID-19, and Collectivism: A Paradox of American Exceptionalism? [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/hqcs6
-
-
www.nber.org www.nber.org
-
Sims, E. R., & Wu, J. C. (2020). Wall Street vs. Main Street QE (Working Paper No. 27295; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27295
-
- Jul 2020
-
twitter.com twitter.com
-
Eric Topol on Twitter: “It’s 100+ years later and we’re a lot smarter, more capable. Why aren’t we beating the crap out of #SARSCoV2? We will. Just a matter of time. https://t.co/eFGieP4cos” / Twitter. (n.d.). Twitter. Retrieved July 31, 2020, from https://twitter.com/EricTopol/status/1287461741236875264
-
-
www.nytimes.com www.nytimes.com
-
Leatherby, L. (2020, July 24). How the U.S. Compares With the World’s Worst Coronavirus Hot Spots. The New York Times. https://www.nytimes.com/interactive/2020/07/23/us/coronavirus-hotspots-countries.html
-
-
datamationcom.api.oneall.com datamationcom.api.oneall.com
-
The development of OOo has been almost completely abandoned - there are almost 300 developers for LibreOffice, and less than 20 for OpenOffice - and IBM's contribution to this project is waning like the setting sun.
-
-
-
adams, jimi, & Light, R. (2020). What Role Does Collaboration have in Responding to COVID-19? [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/jqwyr
-
-
-
Vachuska, K. F. (2020). Considering Elite Network Patterns in Application to Infectious Disease Spread [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/2r9mu
-
-
osf.io osf.io
-
Payne, J. L., & Morgan, A. (2020). COVID-19 and Violent Crime: A comparison of recorded offence rates and dynamic forecasts (ARIMA) for March 2020 in Queensland, Australia [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/g4kh7
-
-
osf.io osf.io
-
Payne, J. L., & Morgan, A. (2020). Property Crime during the COVID-19 Pandemic: A comparison of recorded offence rates and dynamic forecasts (ARIMA) for March 2020 in Queensland, Australia [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/de9nc
-
-
-
Acharya, A., Gerring, J., & Reeves, A. (2020). Is health politically irrelevant? Experimental evidence during a global pandemic [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/u27cp
-
-
osf.io osf.io
-
Dudel, C., Riffe, T., Acosta, E., van Raalte, A. A., Strozza, C., & Myrskylä, M. (2020). Monitoring trends and differences in COVID-19 case fatality rates using decomposition methods: Contributions of age structure and age-specific fatality [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/j4a3d
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Why don't you allow a range without end, like (1..)? There are two advantages. First, we can write ary[1..] instead of ary[1..-1]. The -1 is one of the most I dislike in Ruby. It is very magical, ugly, redundant, and disappointing. I envy Python's ary[1:]. I know that ary.drop(1) is slightly fast, but too long for such a common operation, IMO. Second, we can write (1..).each {|n| ... }.
-
-
-
Gleeson, J. P., Onaga, T., Fennell, P., Cotter, J., Burke, R., & O’Sullivan, D. J. P. (2020). Branching process descriptions of information cascades on Twitter. ArXiv:2007.08916 [Physics]. http://arxiv.org/abs/2007.08916
-
-
-
Cazabet, R., Boudebza, S., & Rossetti, G. (2020). Evaluating Community Detection Algorithms for Progressively Evolving Graphs. ArXiv:2007.08635 [Physics]. http://arxiv.org/abs/2007.08635
-
-
www.nationalgeographic.com www.nationalgeographic.com
-
How the new coronavirus surges compare to New York City’s peak. (2020, July 9). Science. https://www.nationalgeographic.com/science/2020/07/how-new-coronavirus-surges-compare-new-york-city-peak-cvd/
-
-
twitter.com twitter.com
-
Carl T. Bergstrom on Twitter: “1. In short, no. This is going to take a detailed thread to unpack.” / Twitter. (n.d.). Twitter. Retrieved July 18, 2020, from https://twitter.com/CT_Bergstrom/status/1270226183485976584
-
-
twitter.com twitter.com
-
Ed Conway on Twitter: “Breaking: UK government was routinely overstating the total number of people who’d been tested for #COVID19 by as many as 200,000 at the height of the coronavirus pandemic, according to new Sky News analysis.” / Twitter. (n.d.). Twitter. Retrieved July 17, 2020, from https://twitter.com/EdConwaySky/status/1281652670000844800
-
-
news.sky.com news.sky.com
-
Coronavirus: The inside story of how UK’s “chaotic” testing regime “broke all the rules.” (n.d.). Sky News. Retrieved July 17, 2020, from https://news.sky.com/story/coronavirus-the-inside-story-of-how-uks-chaotic-testing-regime-broke-all-the-rules-12022566
-
-
osf.io osf.io
-
Dou, Z., Stefanovski, D., Galligan, D., Lindem, M., Rozin, P., Chen, T., & Chao, A. M. (2020). The COVID-19 Pandemic Impacting Household Food Dynamics: A Cross-National Comparison of China and the U.S. [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/64jwy
-
-
-
Bosancianu, C. M., Dionne, K. Y., Hilbig, H., Humphreys, M., Kc, S., Lieber, N., & Scacco, A. (2020). Political and Social Correlates of Covid-19 Mortality [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/ub3zd
-
-
en.wikipedia.org en.wikipedia.org
-
Willard Van Orman Quine insisted on classical, first-order logic as the true logic, saying higher-order logic was "set theory in disguise".
-
-
-
Belli, S., & Alonso, C. V. (2020). COVID-19 Pandemic and Emotional Contagion: Societies facing Collapse [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/gdbw6
-
-
-
halperin, daniel. (2020). The Covid-19 Lockdown “Natural Experiment” That Has Already Been Conducted [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/jzhe2
-
-
osf.io osf.io
-
Breznau, N. (2020). The Welfare State and Risk Perceptions: The Novel Coronavirus Pandemic and Public Concern in 70 Countries. https://doi.org/10.31235/osf.io/96fd2
-
-
-
Arolas, H. P. i, Acosta, E., Casasnovas, G. L., Lo, A., Nicodemo, C., Riffe, T., & Myrskylä, M. (2020). Global years of life lost to COVID-19 [Preprint]. SocArXiv. https://doi.org/10.31235/osf.io/gveaj
-
-
twitter.com twitter.com
-
Devi Sridhar on Twitter: “I look at what’s happening in several U.S. states including my home state Florida; I look at Israel and Spain and Iran and...and I know that everyone wants the economy to go full steam ahead in the UK. But I fear we will be in another lockdown within months, if not weeks.” / Twitter. (n.d.). Twitter. Retrieved July 10, 2020, from https://twitter.com/devisridhar/status/1280903346153574400
-
-
marginalrevolution.com marginalrevolution.com
-
Affairs, C., & Medicine. (2020, July 7). Southeast Asia coronavirus update. Marginal REVOLUTION. https://marginalrevolution.com/marginalrevolution/2020/07/southeast-asia-coronavirus-update.html
-
-
www.thelancet.com www.thelancet.com
-
Petersen, E., Koopmans, M., Go, U., Hamer, D. H., Petrosillo, N., Castelli, F., Storgaard, M., Khalili, S. A., & Simonsen, L. (2020). Comparing SARS-CoV-2 with SARS-CoV and influenza pandemics. The Lancet Infectious Diseases, 0(0). https://doi.org/10.1016/S1473-3099(20)30484-9
-
-
www.orfonline.org www.orfonline.org
-
Jha, R. (n.d.). Sweden’s ‘Soft’ COVID19 Strategy: An Appraisal. ORF. Retrieved July 9, 2020, from https://www.orfonline.org/research/swedens-soft-covid19-strategy-an-appraisal-69291/
-
-
www.newsweek.com www.newsweek.com
-
EDT, S. K. O. 7/7/20 at 9:23 A. (2020, July 7). Coronavirus kills more in Florida, Texas in one month than 20 years of hurricanes. Newsweek. https://www.newsweek.com/coronavirus-kills-more-florida-texas-one-month-20-years-hurricanes-1515911
-
-
discuss.rubyonrails.org discuss.rubyonrails.org
-
Actually, thats the one thing I’ve always thought Middleman got better than Rails: instead of eg, calling ‘render :admin’ in the general layout, you would ‘wrap_layout :application’ inside the specific (admin) one. It’s much more ergonomic this way.
-
-
www.newscientist.com www.newscientist.com
-
Taylor, L. (n.d.). How Cuba and Uruguay are quashing coronavirus as neighbours struggle. New Scientist. Retrieved July 6, 2020, from https://www.newscientist.com/article/2247740-how-cuba-and-uruguay-are-quashing-coronavirus-as-neighbours-struggle/
-
-
docdrop.org docdrop.org
-
Made analogy with internal combustion engine, which has 1000s of parts, with the "radical simplicity" approach taken by Tesla: they use an electric motor, which only has 2 components!
comparison: Sapper vs. Gatsby
-
-
blog.nicco.io blog.nicco.io
-
If you don’t know Sapper: It’s very similar to Nuxt or Next.js with the additional option to even export as static html, so the end result is similar to a Gatsby website.
-
-
twitter.com twitter.com
-
Natalie E. Dean, PhD on Twitter: “THINK LIKE AN EPIDEMIOLOGIST: There are more new confirmed cases each day in the US than at any time during the earlier April peak. But is it really meaningful to compare those numbers? How do epidemiologists decide when to sound the alarm? A thread. 1/11 https://t.co/rPelzIvcxs” / Twitter. (n.d.). Twitter. Retrieved July 3, 2020, from https://twitter.com/nataliexdean/status/1278868210385915904
-
- Jun 2020
-
psyarxiv.com psyarxiv.com
-
Midgley, C., Thai, S., Lockwood, P., Kovacheff, C., & Page-Gould, E. (2020). When Every Day is a High School Reunion: Social Media Comparisons and Self-Esteem [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/zmy29
-
-
arxiv.org arxiv.org
-
Altmann, E. G. (2020). Spatial interactions in urban scaling laws. ArXiv:2006.14140 [Physics]. http://arxiv.org/abs/2006.14140
-
-
twitter.com twitter.com
-
Twitter. (n.d.). Twitter. Retrieved June 18, 2020, from https://twitter.com/devisridhar/status/1273528564793643008
-
-
askubuntu.com askubuntu.com
-
www.theguardian.com www.theguardian.com
-
Phillips, T. (2020, June 14). “The country is adrift”: Echoes of Spanish flu as Brazil’s Covid-19 catastrophe deepens. The Guardian. https://www.theguardian.com/world/2020/jun/14/brazil-coronavirus-spanish-flu
-
-
link.springer.com link.springer.com
-
Li, Z., Phillips, J., & Durgin, F. H. (2011). The underestimation of egocentric distance: Evidence from frontal matching tasks. Attention, Perception, & Psychophysics, 73(7), 2205. https://doi.org/10.3758/s13414-011-0170-2
-
-
www.rationaloptimist.com www.rationaloptimist.com
-
Ridley, M. (n.d.). Could the key to Covid be found in the Russian pandemic? Retrieved June 11, 2020, from http://www.rationaloptimist.com/blog/covid-and-the-russian-pandemic/
-
-
www.tandfonline.com www.tandfonline.com
-
Efron, B. (2020). Prediction, Estimation, and Attribution. Journal of the American Statistical Association, 115(530), 636–655. https://doi.org/10.1080/01621459.2020.1762613
-
-
www.theguardian.com www.theguardian.com
-
Spinney, L. (2020, June 7). Are we underestimating how many people are resistant to Covid-19? The Observer. https://www.theguardian.com/world/2020/jun/07/immunological-dark-matter-does-it-exist-coronavirus-population-immunity
-
-
twitter.com twitter.com
-
Devi Sridhar on Twitter: “For those pointing to countries like S.Korea, Singapore, China, Taiwan, Australia, Germany, Denmark to say there will be no second wave in the UK or US- take a deeper look at their incredible public health response & infrastructure. None sat back & said ‘Let’s see what happens.’” / Twitter. (n.d.). Twitter. Retrieved June 8, 2020, from https://twitter.com/devisridhar/status/1269292597958361094
-
-
docs.gitlab.com docs.gitlab.com
-
Standard Markdown Extended Markdown in GitLab
-
- May 2020
-
www.tandfonline.com www.tandfonline.com
-
Bostrom, A., Böhm, G., O’Connor, R. E., Hanss, D., Bodi-Fernandez, O., & Halder, P. (2020). Comparative risk science for the coronavirus pandemic. Journal of Risk Research, 0(0), 1–10. https://doi.org/10.1080/13669877.2020.1756384
-
-
www.mittellaendische.ch www.mittellaendische.ch
-
COVID-19—Eine Zwischenbilanz oder eine Analyse der Moral, der medizinischen Fakten, sowie der aktuellen und zukünftigen politischen Entscheidungen. (2020, April 7). DIE MITTELLÄNDISCHE ZEITUNG - FÜR MEHR DURCHBLICK. https://www.mittellaendische.ch/2020/04/07/covid-19-eine-zwischenbilanz-oder-eine-analyse-der-moral-der-medizinischen-fakten-sowie-der-aktuellen-und-zuk%C3%BCnftigen-politischen-entscheidungen/
Tags
- moral
- comparison
- cardiovascular
- media
- EU
- COVID-19
- mortality
- is:news
- post COVID-19
- USA
- origin
- lang:de
- influenza
- Trump
- China
- Switzerland
Annotators
URL
-
-
psyarxiv.com psyarxiv.com
-
Imhoff, R., & Lamberty, P. (2020, April 14). A bioweapon or a hoax? The link between distinct conspiracy beliefs about the Coronavirus disease (COVID-19) outbreak and pandemic behavior. https://doi.org/10.31234/osf.io/ye3ma
-
-
psyarxiv.com psyarxiv.com
-
Galandra, C., Cerami, C., Santi, G., Dodich, A., Cappa, S., Vecchi, T., & Crespi, C. (2020). Covid-19 in mind: How job loss and health threatening events modulate risk-taking behaviours in real-life contexts [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/5n942
-
-
github.com github.com
-
All of these tools build container images with different approaches.
-
-
www.merriam-webster.com www.merriam-webster.com
-
a person or thing through which power is exerted or an end is achieved : instrumentality
Would this be proxy agency? Or is it different?
On the one hand, I think it's different. instrumentality seems to have a subtly different meaning from proxy agency.
But looking at their example sentence,
communicated through the agency of the ambassador , it is striking how similar these ideas/words/meanings are: the ambassador acted on behalf of his country (proxy agency: acted => agency; "on behalf of" => proxy); the communication occurred through his actions (= he was the means, he was instrumental in causing that communication to take place)
https://en.wikipedia.org/wiki/Agency_(sociology):
proxy agency is when an individual acts on behalf of someone else
-
-
www.digital-democracy.org www.digital-democracy.org
-
Don’t go to code academy, go to design academy. Be advocates of the user & consumer. It’s not about learning how to code, it’s about translating real-world needs to technological specifications in just ways that give end users agency and equity in design, development and delivery. Be a champion of user-centric design. Learn how to steward data and offer your help.
The importance of learning to design, and interpreting/translating real-world needs.
-
-
medium.com medium.com
-
www.staticgen.com www.staticgen.com
-
headlesscms.org headlesscms.org
Tags
Annotators
URL
-
-
docs.google.com docs.google.com
-
github.com github.com
-
ico.org.uk ico.org.uk
-
The principles are broadly similar to the principles in the Data Protection Act 1998 (the 1998 Act).
-
-
www.fil.ion.ucl.ac.uk www.fil.ion.ucl.ac.uk
-
Friston, K. J., Parr, T., Zeidman, P., Razi, A., Flandin, G., Daunizeau, J., Hulme, O. J., Billig, A. J., Litvak, V., Moran, R. J., Price, C. J., & Lambert, C. (2020). Dynamic causal modelling of COVID-19. ArXiv:2004.04463 [q-Bio]. http://arxiv.org/abs/2004.04463
-
-
www.iubenda.com www.iubenda.com
-
This does not have to be an additional form. In practice, you can simply add several checkboxes informing the user of each additional purpose and allowing them to give consent specific to those cases.
See the images above, which are a good example of how to do it and how not to do it.
-
-
www.iubenda.com www.iubenda.com
-
Non-compliant Record Keeping Compliant Record Keeping
-
-
psyarxiv.com psyarxiv.com
-
Rotella, A. M., & Mishra, S. (2020, April 24). Personal relative deprivation negatively predicts engagement in group decision-making. https://doi.org/10.31234/osf.io/6d35w
-
-
www.reddit.com www.reddit.com
-
Pop_os does not have many differences from ubuntu, it mostly theme + some tweaks. If you wanna try pop_os you can migrate, this way of migration just install pop_os tweaks over ubuntu. But, actually, I don't think you will fall in love with pop_os if you don't like ubuntu...
-
- Apr 2020
-
www.popularmechanics.com www.popularmechanics.com
-
Take a moment to consider the alternative. No, not the IT department's fantasy world, that never-gonna-happen scenario where you create a strong, unique password for every account, memorize each one, and refresh them every few months. We both know it's not like that. The reality is that in your attempts to handle all those passwords yourself, you will commit the cardinal sin of reusing some. That is actually far more risky than using a password manager. If a single site that uses this password falls, every account that uses it is compromised.
-
-
iapp.org iapp.org
-
Finally, from a practical point of view, we suggest the adoption of "privacy label," food-like notices, that provide the required information in an easily understandable manner, making the privacy policies easier to read. Through standard symbols, colors and feedbacks — including yes/no statements, where applicable — critical and specific scenarios are identified. For example, whether or not the organization actually shares the information, under what specific circumstances this occurs, and whether individuals can oppose the share of their personal data. This would allow some kind of standardized information. Some of the key points could include the information collected and the purposes of its collection, such as marketing, international transfers or profiling, contact details of the data controller, and distinct differences between organizations’ privacy practices, and to identify privacy-invasive practices.
-
-
uxmovement.com uxmovement.com
-
www.w3.org www.w3.org
-
We expect a kind of permanence to publications, which we don’t typically expect of web sites.
-
-
www.freshworks.com www.freshworks.com
-
We prefer Freshconnect for ticket related discussions because it maintains the context and always remains part of the ticket. In Slack, these discussions get lost in threads within channels.
-
- Mar 2020
-
-
Biased towards Piwik Pro.
seeking/keep an eye out for: Would love to see a similar comparison done by the Matomo folks.
-
-
clickhouse.tech clickhouse.tech
-
matomo.org matomo.org
-
Take the challenge: Compare your Google Analytics data (sampled data) against your Matomo data.
-
-
-
-
Here are the top consent management platforms platforms, with comparisons around look, feel, and functionality.
-
-
bernardic.ca bernardic.ca
-
it comes down to opportunities for code reuse. Will your system re-use more code if you use WordPress and its very usable admin area, myriad of available plugins and themes? Or can you re-use more code by harnessing the object-oriented design, DSLs and good software development practices mecca that is Ruby, Rails and the available libraries and tools?
-
The popular question in my company these days is “Rails or WordPress?”, but I will probably touch upon the broader questions of “MVC or CMS?” and “Ruby or PHP?”, so you can often substitute “Rails” for “MVC framework” in the article.
-
- Feb 2020
-
github.com github.com
-
compared the speed of DeviceDetector with the two most popular user agent parsers in the Ruby community, Browser and UserAgent.
-
-
-
Compare performance results between test runs
-
-
work.stevegrossi.com work.stevegrossi.com
-
Performance Benchmarking What it is: Testing a system under certain reproducible conditions Why do it: To establish a baseline which can be tested against regularly to ensure a system’s performance remains constant, or validate improvements as a result of change Answers the question: “How is my app performing, and how does that compare with the past?”
-
-
github.com github.com
-
blog.loadimpact.com blog.loadimpact.com
-
-
Nix is a purely functional package manager. This means that it treats packages like values in purely functional programming languages such as Haskell — they are built by functions that don’t have side-effects, and they never change after they have been built.
-
-
-
Configuration as Code vs. Infrastructure as Code Some treat CAC and infrastructure as code (IAC) as the same thing. They’re not, and there’s a reason we have two distinct terms.
-
-
github.com github.com
-
If you like the straight forward and effective nature of Strong Parameters
Tags
Annotators
URL
-
- 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?
-
-
unix.stackexchange.com unix.stackexchange.com
-
login shell: A login shell logs you into the system as a specific user, necessary for this is a username and password. When you hit ctrl+alt+F1 to login into a virtual terminal you get after successful login: a login shell (that is interactive). Sourced files: /etc/profile and ~/.profile for Bourne compatible shells (and /etc/profile.d/*) ~/.bash_profile for bash /etc/zprofile and ~/.zprofile for zsh /etc/csh.login and ~/.login for csh non-login shell: A shell that is executed without logging in, necessary for this is a current logged in user. When you open a graphic terminal in gnome it is a non-login (interactive) shell. Sourced files: /etc/bashrc and ~/.bashrc for bash interactive shell: A shell (login or non-login) where you can interactively type or interrupt commands. For example a gnome terminal (non-login) or a virtual terminal (login). In an interactive shell the prompt variable must be set ($PS1). Sourced files: /etc/profile and ~/.profile /etc/bashrc or /etc/bash.bashrc for bash non-interactive shell: A (sub)shell that is probably run from an automated process you will see neither input nor output when the calling process don't handle it. That shell is normally a non-login shell, because the calling user has logged in already. A shell running a script is always a non-interactive shell, but the script can emulate an interactive shell by prompting the user to input values. Sourced files: /etc/bashrc or /etc/bash.bashrc for bash (but, mostly you see this at the beginning of the script: [ -z "$PS1" ] && return. That means don't do anything if it's a non-interactive shell). depending on shell; some of them read the file in the $ENV variable.
-
-
github.com github.com
-
en.wikipedia.org en.wikipedia.org
- Dec 2019
-
git.savannah.gnu.org git.savannah.gnu.org
-
COMMAND EXECUTE BASHRC -------------------------------- bash -c foo NO bash foo NO foo NO rsh machine ls YES (for rsh, which calls `bash -c') rsh machine foo YES (for shell started by rsh) NO (for foo!) echo ls | bash NO login NO bash YES
-
-
unix.stackexchange.com unix.stackexchange.com
-
Do not start ssh-agent from .bashrc or .zshrc, since these files are executed by each new interactive shell. The place to start ssh-agent is in a session startup file such as .profile or .xsession.
-
-
github.com github.com
-
Unlike similar tools that are scheduled to take backups at a fixed time of the day, Timeshift is designed to run once every hour and take snapshots only when a snapshot is due. This is more suitable for desktop users who keep their laptops and desktops switched on for few hours daily. Scheduling snapshots at a fixed time on such users will result in missed backups since the system may not be running when the snapshot is scheduled to run. By running once every hour and creating snapshots when due, Timeshift ensures that backups are not missed.
-
If you need a tool to backup your documents and files please take a look at the excellent BackInTime application which is more configurable and provides options for saving user files.
-
Timeshift is similar to applications like rsnapshot, BackInTime and TimeVault but with different goals.
-
-
opensource.com opensource.com
-
If you want to keep several days worth of backups, your storage requirements will grow dramatically with this approach. A tool called rdiff-backup, based on rsync, gets around this issue.
-
Agreed, I use rdiff-backup because I found my rsync backups were getting cluttered with old files, and sometimes the lack of versioned backups was problematic. I'm a big fan of rdiff-backup. I don't think it actually leverages rsync, as such, but librsync. It's a great tool.
-
I think that rsync is great but tools like dar, attic, bup, rdiff-backup or obnam are better. I use obnam, as it does "snapshot backups" with deduplication.
-
There are many options for performing backups. Most Linux distributions are provided with one or more open source programs specially designed to perform backups. There are many commercial options available as well. But none of those directly met my needs so I decided to use basic Linux tools to do the job.
-
-
www.ostechnix.com www.ostechnix.com
-
While there are so many tools to backup your systems, I find this method super easy and convenient, at least to me. Also, this method is way better than disk cloning with dd command. Because It doesn’t matter if your hard drive is different size, or use different filesystem.
-
-
2ality.com 2ality.com
-
browser: points to browser-specific untranspiled code
-
ES modules enable tree-shaking (which, in general, is impossible with CommonJS modules).
-
-
github.com github.com
-
I love this library. Migrated from CRA to nwb. That didn't work out. Neutrino was very easy to setup with almost the exact setup I had with CRA but with far more customization. Again, thank you. Have a good day
-