- Sep 2020
-
-
Perhaps at that point we're better off settling on a way to pass components through as parameters? <!-- App.html --> <Outer contents={Inner}/> <!-- Outer.html --> <div> <div>Something</div> <[contents] foo='bar'/> </div>
-
I would hope for it to come with React-like behavior where I could pass in a string (like div or a) and have it show up as a normal div/a element when the child component used it.
-
-
github.com github.com
-
I'll work on a preliminary PR (which I expect will need some love from maintainers, sorry!)
-
The lack of spread continues to be a big pain for me, adding lots of difficult-to-maintain cruft in my components. Having to maintain a list of all possible attributes that I might ever need to pass through a component is causing me a lot of friction in my most composable components.
-
-
github.com github.com
-
Use case: Wrapper components that need to render an element (e.g. because they attach event listeners). You'd probably use a <div> there by default but there may be places where this is not desirable for semantic reasons (e.g. in lists).
-
-
-
const components = { Label, Tree, Menu };
-
-
ferd.ca ferd.ca
-
To me, abandoning all these live upgrades to have only k8s is like someone is asking me to just get rid of all error and exceptions handling and reboot the computer each time a small thing goes wrong.
the Function-as-a-Service offering often have multiple fine-grained updateable code modules (functions) running within the same vm, which comes pretty close to the Erlang model.
then add service mesh, which in some cases can do automatic retry at the network layer, and you start to recoup some of the supervisor tree advantages a little more.
really fun article though, talking about the digital matter that is code & how we handle it. great reminder that there's much to explore. and some really great works we could be looking to.
-
-
docdrop.org docdrop.org
-
Références1°'degré:art.1°',2et3del'arrêtédu13mai1985relatifauconseild'école,circulairen°2000-082du9juin2000relativeauxmodalitésd'électiondesreprésentantsdesparentsd'élèvesauconseild'école.2"°'degré:art.R.421-26,R.421-29etR.421-30ducodedel'éducation.
-
L'articleL.1'|'I-4ducodedel'éducationdisposequelesparentsd'élèvesparticipent,parleursreprésentants,auxconseilsd'écoleetauxconseilsd'administrationdesétablissementsscolairesetauxconseilsdeclasse
-
-
svelte-forms-lib-sapper-docs.now.sh svelte-forms-lib-sapper-docs.now.sh
-
scolaire.loupbrun.ca scolaire.loupbrun.ca
-
Critical Code Studies Working Groups (CCSWGs)
-
Code is a social text, the meaning of which develops and transforms as additional readers encoun-ter it over time and as contexts change
Le code est une langue et, en tant que telle, est une construction sociale (comme toutes les langues). Comme une œuvre littéraire, son sens n'est pas fixé.
-
-
-
I'm more likely to use it than alternatives in future projects - it's simple and clean
-
-
medium.com medium.com
-
and making the code more beautiful and compact and human readable
-
-
adamloving.com adamloving.com
-
There’s a bunch of fiddly syntax here, not to mention 2 separate build stacks and 3 sets of dependencies, but the end result is awesome. Simply renaming a field on a shared model will reveal all the React components using that value on the front-end, and back-end code using it.
-
The “shared” schema is effectively the API schema. These are the fields exchanged in the API, common to client and server.
-
-
www.education.gouv.fr www.education.gouv.fr
-
À cette fin, comme le prévoit l'article D. 111-8 du Code de l'éducation, les directeurs d'école et les chefs d'établissement doivent communiquer aux associations de parents d'élèves qui en font la demande la liste des parents d'élèves de l'école ou de l'établissement scolaire mentionnant leurs noms, adresses postale et électronique, à la condition que ceux-ci aient donné leur accord exprès à cette communication.
-
-
css-tricks.com css-tricks.com
-
there is one major weakness to this approach and to scoped CSS: organization gets very hard – you end up with styles everywhere!
-
Keeping the CSS with the HTML for organization may have value however.
-
-
github.com github.com
-
Because of that, it's easy to end up in a situation where the styles for a given piece of markup are defined far away (in terms of number of lines) from the markup itself, which reduces the advantage of having styles and markup co-located in the first place.
-
-
github.com github.com
-
One of the arguments that's frequently deployed in favour of JSX-based frameworks over template-based ones is that JSX allows you to use existing language constructs:
-
but adding logic to the <script> is unfortunate
-
-
github.com github.com
-
svelte.dev svelte.dev
-
svelte.dev svelte.dev
-
developer.mozilla.org developer.mozilla.org
-
async function onEdit() { editing = true // enter editing mode await tick() nameEl.focus() }
-
-
codesandbox.io codesandbox.io
Tags
Annotators
URL
-
-
-
‘Travel and Transportation during the Coronavirus Pandemic | European Commission’. Accessed 7 September 2020. https://ec.europa.eu/info/live-work-travel-eu/health/coronavirus-response/travel-and-transportation-during-coronavirus-pandemic_en#a-common-approach-to-travel-measures.
-
-
readit.plus readit.plus
-
It’s harder to read code than to write it
-
- Aug 2020
-
pragmaticpineapple.com pragmaticpineapple.com
-
It’s 2020, doesn’t everyone use VSCode already?
-
-
elifesciences.org elifesciences.org
-
Welcome to a new ERA of reproducible publishing. (2020, August 24). ELife; eLife Sciences Publications Limited. https://elifesciences.org/labs/dc5acbde/welcome-to-a-new-era-of-reproducible-publishing
-
-
learngitbranching.js.org learngitbranching.js.org
Tags
Annotators
URL
-
-
stackoverflow.blog stackoverflow.blog
-
“I came to Rust from Haskell, and I feel that Haskell is a very elegant and safe language. The biggest differentiator for me is that there is a greater difference between high-performance code and idiomatic ‘clean’ code in Haskell than in Rust. Most Rust code looks like most other Rust code, even when it performs well. Haskell can become unfamiliar real quick if someone is operating under different libraries and goals from what you are typically doing. Small differences in syntax can result in huge differences in behavior, and Rust has more uniformity on that axis.”
-
- Jul 2020
-
www.nber.org www.nber.org
-
Schmitt-Grohé, S., Teoh, K., & Uribe, M. (2020). Covid-19: Testing Inequality in New York City (Working Paper No. 27019; Working Paper Series). National Bureau of Economic Research. https://doi.org/10.3386/w27019
-
-
microsoft.github.io microsoft.github.io
Tags
Annotators
URL
-
-
science.sciencemag.org science.sciencemag.org
-
Barton, C. M., Alberti, M., Ames, D., Atkinson, J.-A., Bales, J., Burke, E., Chen, M., Diallo, S. Y., Earn, D. J. D., Fath, B., Feng, Z., Gibbons, C., Hammond, R., Heffernan, J., Houser, H., Hovmand, P. S., Kopainsky, B., Mabry, P. L., Mair, C., … Tucker, G. (2020). Call for transparency of COVID-19 models. Science, 368(6490), 482.2-483. https://doi.org/10.1126/science.abb8637
-
-
www.jonathan-harrell.com www.jonathan-harrell.com
-
The key to successfully creating reusable components using both render props and scoped slots is being able to correctly separate behavior from presentation. Each time you create a new UI component, think “What is the core behavior of this component? Can I use this anywhere else?”
-
-
-
In your environment you may want to always configure internationalization, routers, user data etc. If you have many different React roots it can be a pain to set up configuration nodes all over the place. By creating your own wrapper you can unify that configuration into one place.
-
-
whatthefuck.is whatthefuck.is
-
-
www.sos.ca.gov www.sos.ca.gov
-
prevent its disclosure to any person not authorized to create the subscriber's digital signature
So the signature can be used by another entity to create the digital signature if authorized beforehand.
So if there is a statement that "I authorize [organization] to create a cryptographic key-pair on my behalf, and create the digital signature."
-
-
wp.nyu.edu wp.nyu.edu
-
Acknowledgments
”Blasphemy” and “irony” are mentioned--and continued through Kafer--to connote less math and masculinity and more--frankly--code, spoken from reclaimed empowerment. I couldn’t digest Haraway’s prose--within the coming Information Age she concentrates a lot of terms like machine parts herself--”Star Wars,” “Magic Mountain,” even “goddess” (Haraway 57). I wished for her own Dictionary.com to identify what these references meant to her.
Did she mean to confound us for shock-factor’s sake? Because within her text that I could decipher I felt a postgendered, post-species, colorblind coalition that I couldn’t fully find affinity within, as much as the vague image of the Cyborg tantalizes me. For unity did she mean to catalyze divisiveness through language?
-
-
svelte-native.technology svelte-native.technology
-
Build cross-platform, native iOS and Android apps without web views. Get truly native UI and performance while sharing skills and code with the web
-
- Jun 2020
-
www.defenseurdesdroits.fr www.defenseurdesdroits.fr
-
Garantir le respect des droits de l’enfant Recommandation 2Le Défenseur des droits recommande l’inscription, dans le code de l’éducation et le code de l’action sociale et des familles, de l’interdiction de tout châtiment corporel ou traitement humiliant à l’égard des enfants
-
-
stackoverflow.com stackoverflow.com
-
What would be nice is if JavaScript had a built-in way to do what I can do in Ruby with:
> I18n.interpolate('Hi, %{name}', name: 'Fred') => "Hi, Fred"
But to be fair, I18n comes from i18n library, so JS could just as easily (and I'm sure does) have a library that does the same thing.
Update: Actually, you can do this in plain Ruby (so why do we even need
I18n.interpolate
?):main > "Hi, %{name}" % {name: 'Fred'} => "Hi, Fred"
main > ? String#% From: string.c (C Method): Owner: String Visibility: public Signature: %(arg1) Number of lines: 9 Format---Uses str as a format specification, and returns the result of applying it to arg. If the format specification contains more than one substitution, then arg must be an Array or Hash containing the values to be substituted. See Kernel::sprintf for details of the format string. "%05d" % 123 #=> "00123" "%-5s: %016x" % [ "ID", self.object_id ] #=> "ID : 00002b054ec93168" "foo = %{foo}" % { :foo => 'bar' } #=> "foo = bar"
I guess that built-in version is fine for simple cases. You only need to use
I18n.translate
if you need its more advanced features likeI18n.config.missing_interpolation_argument_handler
.
-
-
-
clean and understandable markup template without the help of 3rd party
-
-
www.reddit.com www.reddit.com
-
I was just expressing that, even thought I like React, I dread having to still manually handle everything, instead of just using a directive, a la Vue.JS. This is what I consider boilerplate. Hence my comment on how I could leave React for Svelte just because of that. Clearly a Svelte side-by-side code comparison shows a much cleaner code for Svelte.
-
-
medium.com medium.com
-
I really do not like writing templates in a file, such as #each , #if. I do not like to prefer using new approaches for which i can do it with purely in JavaScript.
-
-
www.defenseurdesdroits.fr www.defenseurdesdroits.fr
-
Aujourd’hui, pour les seuls code pénal et code du travail, on atteint en France 25 critères21, et jusqu’à 30 si l’on considère d’autres codes (code de l’assurance maladie, de l’éducation...)
-
-
www.reddit.com www.reddit.com
-
r/BehSciMeta—Comment by u/UHahn on ”What is the impact of retraction of scientific studies reported in news media?”. (n.d.). Reddit. Retrieved June 17, 2020, from https://www.reddit.com/r/BehSciMeta/comments/gyw43b/what_is_the_impact_of_retraction_of_scientific/ftp5w1p
-
-
www.bristol.ac.uk www.bristol.ac.uk
-
UKRN position on covid 19 research. (2020 May 01). School of Psychological Science | University of Bristol. http://www.bristol.ac.uk/psychology/research/ukrn/news/2020/ukrn-position-on-covid-19-research.html
-
-
gist.github.com gist.github.com
-
www.nature.com www.nature.com
-
Chawla, D. S. (2020). Critiqued coronavirus simulation gets thumbs up from code-checking efforts. Nature. https://doi.org/10.1038/d41586-020-01685-y
-
-
medium.com medium.com
-
This is the first post of the Disassembling Rails series. What I want to do is to give you a general idea about how Rails' components interact with each other when you use its functionalities (like fragment caching).
I like the term "Disassembling"...
-
-
blog.gds-gov.tech blog.gds-gov.tech
-
Bay, J. (2020 April 11). Automated contact tracing is not a coronavirus panacea. Medium. https://blog.gds-gov.tech/automated-contact-tracing-is-not-a-coronavirus-panacea-57fb3ce61d98
-
- May 2020
-
lessurligneurs.eu lessurligneurs.eu
-
l’article L. 241-4 du code de l’éducation prévoit que « l’inspection des établissements d’enseignement privés porte sur la moralité, l’hygiène, la salubrité (…)
-
-
www.bps.org.uk www.bps.org.uk
-
Code of Ethics and Conduct (2018) | BPS. (n.d.). Retrieved April 21, 2020, from https://www.bps.org.uk/news-and-policy/bps-code-ethics-and-conduct
-
-
psyarxiv.com psyarxiv.com
-
Peikert, A., & Brandmaier, A. M. (2019). A Reproducible Data Analysis Workflow with R Markdown, Git, Make, and Docker. https://doi.org/10.31234/osf.io/8xzqy
-
-
github.com github.com
-
Deepset-ai/haystack. (2020). [Python]. deepset. https://github.com/deepset-ai/haystack (Original work published 2019)
-
-
github.com github.com
-
export DOCKER_TLS_VERIFY=1 export DOCKER_CERT_PATH="$DOCKER_TLS_CERTDIR/client"
-
if [ -z "${DOCKER_HOST:-}" ]; then if _should_tls || [ -n "${DOCKER_TLS_VERIFY:-}" ]; then export DOCKER_HOST='tcp://docker:2376' else export DOCKER_HOST='tcp://docker:2375' fi fi
-
-
github.com github.com
-
if [ -n "${DOCKER_HOST:-}" ] && _should_tls; then export DOCKER_TLS_VERIFY=1 export DOCKER_CERT_PATH="$DOCKER_TLS_CERTDIR/client" fi
-
if [ -z "${DOCKER_HOST:-}" ] && [ ! -S /var/run/docker.sock ]; then if _should_tls || [ -n "${DOCKER_TLS_VERIFY:-}" ]; then export DOCKER_HOST='tcp://docker:2376' else export DOCKER_HOST='tcp://docker:2375' fi fi
-
-
docs.gitlab.com docs.gitlab.com
-
There are no plans to deprecate the REST API. To reduce the technical burden of supporting two APIs in parallel, they should share implementations as much as possible.
Tags
Annotators
URL
-
-
about.gitlab.com about.gitlab.com
-
Have adopted CI best practices and are defining their CI/CD pipelines as code
-
-
psyarxiv.com psyarxiv.com
-
Prem, R., Kubicek, B., Uhlig, L., Baumgartner, V. C., & Korunka, C. (2020). Development and Validation of a Scale to Measure Cognitive Demands of Flexible Work [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/mxh75
-
-
docs.gitlab.com docs.gitlab.com
-
Docker 19.03 does this automatically # by setting the DOCKER_HOST in # https://github.com/docker-library/docker/blob/d45051476babc297257df490d22cbd806f1b11e4/19.03/docker-entrypoint.sh#L23-L29
-
-
www.catb.org www.catb.org
-
Rule of Generation: Avoid hand-hacking; write programs to write programs when you can.
-
-
github.com github.com
-
REM This file was produced by typing in a listing from appendix B of Hugh Burns' thesis,
Topoi program in BASIC
-
-
blog.jetadmin.io blog.jetadmin.io
Tags
Annotators
URL
-
-
themargins.substack.com themargins.substack.com
-
We have come to a place where thanks to many libraries and frameworks, and overall improving software, what would’ve once used many developers to build from scratch is now more often than not, a bunch of people plumbing different things together. Software is creating software faster than we can use it. This is also why you are seeing so many of these “no-code” or “low-code” solutions pop up all over the place. There are increasingly fewer reasons to write code, and those who are writing code should, and do, increasingly write less of it. This will only be more accelerated by shifting to remote work due to how it’s going to change how we decide what code to write.
There are increasingly less reasons to write code, so less code should be written.
How Can relates this to remote work is unclear to me here.
-
Anyone who’s spent a few months at a sizable tech company can tell you that a lot of software seems to exist primarily because companies have hired people to write and maintain them. In some ways, the software serves not the business, but the people who have written it, and then those who need to maintain it. This is stupid, but also very, very true.
A company with a software development team writing its own software often creates inertia for itself. They will be biased to write software, because they have that capability – not because it's necessary.
-
-
www.chronicle.com www.chronicle.com
-
Jones did make one change, adding a question that asked students to reflect on their experience during the pandemic, and how it will shape their approach to studying family history.
reflection questiğon about pandemic could be important for med students and may change their approach to exam and honor code also. people who think they have a free will, act more ethical compared to who doesn't.
-
-
gitlab.com gitlab.com
-
Code Owners allows for a version controlled single source of truth file outlining the exact GitLab users or groups that own certain files or paths in a repository.
-
-
github.com github.com
-
EBM Data Lab - Risk Factors Research
-
-
easystats.github.io easystats.github.io
-
github.com github.com
-
McElreath, R. Statistical Rethinking: A Bayesian Course Using R and Stan Github.com. https://github.com/rmcelreath/statrethinking_winter2019
Entire course with materials online.
-
-
www.regextester.com www.regextester.com
-
-
-
It should be possible to implement the functionality of page-translator via a more popular extension that is designed to inject arbitrary data into websites, including remote code, e.g. https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ .
-
-
extensionworkshop.com extensionworkshop.com
-
Add-ons are not allowed to contain obfuscated code, nor code that hides the purpose of the functionality involved. If external resources are used in combination with add-on code, the functionality of the code must not be obscured.
-
-
github.com github.com
-
Mozilla can still block distribution of the extension, even when not distributed via ADO. It is not possible for us to provide Mozilla the unminified JavaScript source files for Google’s and Microsoft’s translation widgets. This is a risk because Mozilla can demand such.
-
Mozilla does not permit extensions distributed through https://addons.mozilla.org/ to load external scripts. Mozilla does allow extensions to be externally distributed, but https://addons.mozilla.org/ is how most people discover extensions. The are still concerns: Google and Microsoft do not grant permission for others to distribute their "widget" scripts. Google's and Microsoft's "widget" scripts are minified. This prevents Mozilla's reviewers from being able to easily evaluate the code that is being distributed. Mozilla can reject an extension for this. Even if an extension author self-distributes, Mozilla can request the source code for the extension and halt its distribution for the same reason.
Maybe not technically a catch-22/chicken-and-egg problem, but what is a better name for this logical/dependency problem?
-
-
scienceblogs.de scienceblogs.de
-
the Indian Word Code used here: https://archive.org/details/in.ernet.dli.2015.108786
-
- Apr 2020
-
github.com github.com
-
github.com github.com
-
cmmid.github.io cmmid.github.io
-
Russell, T.W., Hellewell, J., Abbott, S., Golding, N.,Gibbs, H., Jarvis, C.I., van Zandvoort, K., Flasche, S., Eggo, R., Edmunds, W.J., Kucharski., A.J. (2020, March 22). Using a delay-adjusted case fatality ratio to estimate under-reporting. CMMID Repository. https://cmmid.github.io/topics/covid19/global_cfr_estimates.html
-
-
-
Killeen, B.D., et al. (2020, April 1). A country-level dataset for informing the United States' response to COVID-19. Cornel University. arXiv:2004.00756.
-
-
twitter.com twitter.com
-
Guido Salvaneschi on Twitter referencing thread by Neil Ferguson
-
-
emljames.github.io emljames.github.io
-
James, E. Tutorial Home. Github.io. https://emljames.github.io/GorillaR/
-
-
www.r-bloggers.com www.r-bloggers.com
-
Multilevel correlations: A new method for common problems. (2020 April 13). R-bloggers. https://www.r-bloggers.com/multilevel-correlations-a-new-method-for-common-problems/
-
-
cmmid.github.io cmmid.github.io
-
Russel, T.W., Hellewell, J., Abbott, S., Golding, N., Gibbs, H., Jarvis, C.I., van Zandvoort, K., Flasche, S., Eggo, R., Edmunds, W.J., Kucharski, A.J., (2020). Using a delay-adjusted case fatality ratio to estimate under-reporting. CMMID. https://cmmid.github.io/topics/covid19/severity/global_cfr_estimates.html
-
-
twitter.com twitter.com
-
ReconfigBehSci en Twitter: “‘Proper science without the drag’ – Move to the medical model of journal review: ‘Yes/No’ decision. We suggest the temporary adoption of this model for crisis-relevant material by journals. [happening already, but potentially even better models: @Meta_psy and @F1000Research?]” / Twitter. (n.d.). Twitter. Retrieved April 15, 2020, from https://twitter.com/scibeh/status/1242094075312046082
-
-
falcon.readthedocs.io falcon.readthedocs.io
-
“The source code for Falcon is so good, I almost prefer it to documentation. It basically can’t be wrong.”
-
-
eartharxiv.org eartharxiv.org
-
n the near future, given the increase in the use and profile of preprintservers, and alternative publishing platforms such as F1000 Researc
Di sini kami memperlihatkan manfaat preprint dengan keleluasaanya (tanpa batasan format, ukuran, jenis berkas dll) akan memberikan dorongan bagi peneliti untuk mempublikasi data dan metode (misal kode program).
Ada banyak platform berbagi kode (seperti Github dan Gitlab) yang membuka banyak pintu keterbatasan saat penulis ingin membagikan kode program.
Platform-platform ini juga mendukung proses berbagi dokumen dan data yang cari (fluid), karena semua orang dapat dengan mudah menggandakan (forking melalui perintah
git clone
) proyek seseorang untuk kemudian digunakan, dimodifikasi, dan pada akhirnya mungkin mereka meminta kreator orisinalnya untuk memasukkan modifikasi menjadi versi baru dari kode program.Hebatnya semua proses itu tercatat dengan hubungan antara repositori dan akun yang jelas terlihat.
Tags
Annotators
URL
-
-
github.com github.com
-
github.com github.com
-
find src -name '*.js' -print | xargs jscodeshift -t node_modules/@material-ui/codemod/lib/v4.0.0/top-level-imports.js
-
-
github.com github.com
-
github.com github.com
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
source
-
- Mar 2020
-
stackoverflow.com stackoverflow.com
-
From error.c
-
-
www.infoq.com www.infoq.com
-
utstat.toronto.edu utstat.toronto.edu
-
2.6 The Normal Distribution
The normal distribution in r
-
-
github.com github.com
Tags
Annotators
URL
-
-
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.
-
-
stackoverflow.com stackoverflow.com
-
ActionController and ActionMailer default include AbstractController::Rendering directly or indirectly (ActionController::Metal::Rendering). AbstractController::Rendering uses ActionView as default library for its template rendering engine and includes AbstractController::ViewPaths and an instance of I18n proxy to find localized views. To learn more i'd like to refer to the ActionPack source code on github. To get to the point. ActionView allows you to use localisation in your templates: See Rails guide: Action View Overview , Chapter Localized views.
Not a very detailed or good code dissection, but is kind of one.
-
-
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?
-
- Feb 2020
-
loadimpact.com loadimpact.com
-
We believe load test scripts should be plain code to get all the benefits of version control, as opposed to say unreadable and tool generated XML.
Saw another comment lamenting the use of ugly/unreasonable XML files:
https://github.com/flood-io/ruby-jmeter
Tired of using the JMeter GUI or looking at hairy XML files?
-
DevOps has taught us that the software development process can be generalized and reused for dealing with change not just in application code but also in infrastructure, docs and tests. It can all just be code.
-
-
en.wikipedia.org en.wikipedia.org
-
-
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.
-
-
www.ag-grid.com www.ag-grid.comag-Grid1
- Jan 2020
-
overreacted.io overreacted.io
-
When we don’t feel confident in our code, it is tempting to attach our sense of self-worth and professional pride to something that can be measured.
Great code related quote by Dan Abramob
Tags
Annotators
URL
-
-
opened.ca opened.ca
-
use the services of the OpenETC
What would constitute a full list of the services of OpenETC? Is it just this website, or does it include email lists, chat rooms, a Slack room, other services? The CoC should apply to all these areas listed.
(Original annotation at https://boffosocko.com/2020/01/10/code-of-conduct-openetc/#use%20the%20services%20of%20the%20OpenETC)
-
Guidelines
These are some generally useful guidelines, but it would be nice to have a section on where to go or who to contact for help and conflict resolution. What should someone who notices a violation do? Where should they turn for help?
(Original annotation at https://boffosocko.com/2020/01/10/code-of-conduct-openetc/#Guidelines)
-
Temporary access
Large portions of the material below this read more like a Terms of Service than a Code of Conduct. It might be more useful to split these into two pages to better delineate the two ideas.
(Original annotation at https://boffosocko.com/2020/01/10/code-of-conduct-openetc/#Temporary%20access)
-
draft of the proposed OpenETC code of conduct
When making a CoC, it's always nice to spend some time researching others.
Here's a copy of the IndieWeb's CoC, which I've liked. They also documented a list of other CoC's for other communities that might be worth looking at as well. Most of them have licenses for ease of cutting/pasting for reuse.
I don't see a license on this draft, but it would be nice if you provided a CC0 license for it.
(Original annotation at https://boffosocko.com/2020/01/10/code-of-conduct-openetc/#draft%20of%20the%20proposed++1)
-
-
www.digitalocean.com www.digitalocean.com
-
First sighting of Jupyter Notebook (that I recall).
-
-
www.rubyinside.com www.rubyinside.com
-
I was going through the source for Thin and noticed that instead of using require, Marc-Andre Cournoyer was using a method called autoload to load thin's constituent parts.
-
- Dec 2019
-
onivim.github.io onivim.github.io
-
We're developing Onivim 2 in the open, but it is licensed under a commercial EULA.
-
-
developer.mozilla.org developer.mozilla.org
-
// reduce() without initialValue [ { x: 22 }, { x: 42 } ].reduce( maxCallback ); // 42 [ { x: 22 } ].reduce( maxCallback ); // { x: 22 } [ ].reduce( maxCallback ); // TypeError // map/reduce; better solution, also works for empty or larger arrays [ { x: 22 }, { x: 42 } ].map( el => el.x ) .reduce( maxCallback2, -Infinity );
-
-
github.com github.com
-
One thing that matters is if code uses browser-specific (example: Dom) or server-specific (example: filesystem) features.
-
-
github.com github.com
-
It allows the module code (and subsequently dependants on the module) to not use preprocessor hacks, source code changes, or runtime detection hacks to identify which code is appropriate when creating a client bound package.
-
It allows your source code to remain clean and free of hacks.
-
The browser field is where the module author can hint to the bundler which elements (other modules or source files) need to be replaced when packaging.
-
When a javascript module is prepared for use on a client there are two major concerns: certain features are already provided by the client, and certain features are not available. Features provided by a client can include http requests, websockets, dom manipulation. Features not available would include tcp sockets, system disk IO.
-
You can simply prevent a module or file from being loaded into a bundle by specifying a value of false for any of the keys. This is useful if you know certain codepaths will not be executed client side but find it awkward to split up or change the code structure.
-
-
runyourown.social runyourown.social
-
Do the technical administrators have to be the same people doing the social organizing? I think the answer as of June 2019 is, sadly, yes. If you have 2 people with root access to the server and 2 people managing the community aspects, you'll end up with imbalances in that group of 4. You will end up with technical administrators who feel like code monkeys who never get the gratitude that the community organizers get, or you'll end up with community organizers who feel like glorified babysitters while the techies have all the real power. You might even end up with a situation where both are true. I think that if you're dedicated to this sort of project though, you could start with something like that 2 and 2, and then the techies could teach the organizers the technical skills, and the organizers could teach the techies the organizing skills.
-
-
codesandbox.io codesandbox.io
-
hassanali.me hassanali.me
-
Demo for https://github.com/helfi92/material-ui-treeview/
Not super impressive, but may be sufficiently customizable
Tags
Annotators
URL
-
-
-
┊
First sighting. First time I've seen a literal, non-whitespace character (┊) used to show indentation. Looks pretty nice. But breaks copy-and-pastability.
-
-
github.com github.com
- Nov 2019
-
stackoverflow.com stackoverflow.com
-
const setRefs = useRef(new Map()).current; const { children } = props; return ( <div> {React.Children.map(children, child => { return React.cloneElement(child, { // v not innerRef ref: node => { console.log('imHere'); return !node ? setRefs.delete(child.key) : setRefs.set(child.key, node)
Illustrates the importance of having unique keys when iterating over children, since that allows them to be used as unique keys in a Map.
-
useRef(new Map()).current
-
-
github.com github.com
-
// require('hammerjs') when in a browser. This is safe because Hammer is only // invoked in componentDidMount, which is not executed on the server. var Hammer = (typeof window !== 'undefined') ? require('hammerjs') : undefined
-
-
github.com github.com
-
this is not intended to become a big, public thing. You're welcome to use anything and steal any code. Please do not count on us adressing feature requests or issues though.
-
-
github.com github.com
-
Referer: https://reasonml.github.io/ (The actually link to: https://github.com/reasonml-community/reason-react-example/tree/master/src/todomvc)
-
-
github.com github.com
Tags
Annotators
URL
-
-
github.com github.com
-
Onivim 2 leverages the VSCode Extension Host process in its entirety - meaning, eventually, complete support for VSCode extensions and configuration.
-
-
efser.eu efser.eu
-
This has very good examples of what we can incorporate in our team's Code of Conduct. Respect and responsibilities are the two that stick out most for me.
-
-
github.com github.com
-
pastebin.com pastebin.com
-
Couldn't find any web pages referencing this page. Why not? How did I even find it?
-
-
github.com github.com
-
github.com github.com
-
PR has tests / docs demo, and is linted.
-
-
news.ycombinator.com news.ycombinator.com
-
the main reason we built a new multiprocess architecture is that Chromium's multiprocess support was never contributed to the WebKit project. It has always lived in the separate Chromium tree, making it pretty hard to use for non-Chrome purposes.Before we wrote a single line of what would become WebKit2 we directly asked Google folks if they would be willing to contribute their multiprocess support back to WebKit, so that we could build on it. They said no.
-
-
github.com github.com
-
The chosen approach pushes a lot of complexity out of the core. As a result it might take more code to achieve certain functionalities. This is the price of flexibility. And that's the primary design goal of Reactabular.
-
-
www.forbes.com www.forbes.com
-
Many of the world’s top universities have embraced Massive Open Online Courses (known as MOOCs).
Forbes is a business website that also focuses on innovation and technology
Rating: 8/10
-
-
stackoverflow.com stackoverflow.com
-
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { MaterialModule } from '@angular/material'; import { MyInterface } from './my.interface'; import { MyService } from './my.service'; @NgModule({ imports: [ CommonModule, FormsModule, MaterialModule.forRoot() ], declarations: [ MyInterface],//<- this is causing the message exports: [ MyInterface], providers: [ MyService ] }) export class MyModule { }
-
- Oct 2019
-
github.com github.com
-
All conversations and communities on Spectrum agree to our underlying code of conduct. This code of conduct also applies to all conversations that happen within our contributor community here on GitHub. We expect discussions in issues and pull requests to stay positive, productive, and respectful. Remember: there are real people on the other side of that screen!
Tags
Annotators
URL
-
-
github.com github.com
-
hypothes.is hypothes.is
-
Analyze 301 Redirect checker by Redirect Tracker
Are you looking for best Redirect checker tool? Redirect tracker is the free tool to check 301 redirect checkers, http Redirect Tracker and redirect tracking code. We analyze all redirections. Try Now!
-
- Sep 2019
-
www.excellentwebworld.com www.excellentwebworld.com
-
Amazon Prime/Netflix Clone Script: Create a Video Streaming App
Build a video streaming app for iOS & Android with Amazon Prime or Netflix Clone Script. Learn difference between Netflix clone app & custom app development
-
-
github.com github.com
- Aug 2019
-
reactjs.org reactjs.org
-
Is there something like instance variables? Yes! The useRef() Hook isn’t just for DOM refs. The “ref” object is a generic container whose current property is mutable and can hold any value, similar to an instance property on a class.
Not just for references to DOM elements…
-
- Apr 2019
-
github.com github.com
-
([a b] (if (and (map? a) (map? b)) (merge-with deep-merge a b) b))
deep-merge nice recursive solution piggybacking on merge-with
-
([m k f] (if-let [kv (find m k)] (assoc m k (f (val kv))) m))
update-existing good use of find & combination of if-let and find!
-
([pred coll] (reduce (fn [_ x] (if (pred x) (reduced x))) nil coll))
find-first
-
-
github.com github.com
-
(def current "Get current process PID" (memoize (fn [] (-> (java.lang.management.ManagementFactory/getRuntimeMXBean) (.getName) (string/split #"@") (first)))))
getting current proces id (PID) more importantly:
java.lang.management.ManagementFactory/getRuntimeMXBean
-
-
github.com github.com
-
(defn- file? [f] (instance? java.io.File f)) (defn- find-files-in-dir [dir] (filter #(.isFile ^File %) (file-seq dir)))
finding files nice declarative way
file-seq
of this dir
-
-
github.com github.com
-
(s/def :ring.http/field-name (-> (s/and string? not-empty field-name-chars?) (s/with-gen #(gen/not-empty (gen-string field-name-chars)))))
clean way of using with gen!
-
(defn- gen-string [chars] (gen/fmap str/join (gen/vector (gen/elements chars)))) (defn- gen-query-string [] (->> (gen/tuple (gen/not-empty (gen/string-alphanumeric)) (gen-string uri-chars)) (gen/fmap (fn [[k v]] (str k "=" v))) (gen/vector) (gen/fmap #(str/join "&" %)))) (defn- gen-method [] (gen/fmap keyword (gen/not-empty (gen-string lower-case-chars)))) (defn- gen-input-stream [] (gen/fmap #(java.io.ByteArrayInputStream. %) (gen/bytes))) (defn- gen-exception [] (gen/fmap (fn [s] (Exception. s)) (gen/string-alphanumeric)))
nice lesson on generators
-
(defn- char-range [a b] (map char (range (int a) (inc (int b))))) (def ^:private lower-case-chars (set (char-range \a \z)))
nice way of defining character range
-
-
perfectial.com perfectial.com
-
What is code refactoring?Code refactoring means restructuring your existing code, in a way that improves the internal structure but doesn’t change its external behavior. This complex procedure is aimed at modernizing software. It is typically used to increase the system’s maintainability, enhance performance, scalability, security and so on. If performed well, it can help developers discover some hidden bugs or vulnerabilities in the system.Typically, refactoring is done in small steps, called micro-refactorings. Each of these steps is usually a tiny change to a source code that leaves the functionality of the system unchanged, it just makes the code cleaner and simpler. And if you do want to change some functionality of your code, it’s much easier to do with a clean, refactored code.
-
- Mar 2019
-
github.com github.com
-
(PushbackReader. (StringReader. s))
PUshbackReader is the basic impl
-
- Feb 2019
-
github.com github.com
-
(if (instance? Throwable ret)
catching both
Throwable
s: Errors and Exceptions
-
-
github.com github.com
-
:ok
nice, return value: keyword!
-
(fn [system] (throw (ex-info "initializer not set, did you call `set-init`?" {}))))
interesting pattern, default function throws kind of like abstract base classes methods in python
-
-
gist.github.com gist.github.comeliza.py1
Tags
Annotators
URL
-
-
bookdown.org bookdown.org
-
rob_se <- list(sqrt(diag(vcovHC(fatalities_mod1, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod2, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod3, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod4, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod5, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod6, type = "HC1"))), sqrt(diag(vcovHC(fatalities_mod7, type = "HC1"))))
Error in solve.default(crossprod(demX)) : system is computationally singular: reciprocal condition number = 1.63237e-31
-
- Dec 2018
- Nov 2018
-
www.the-hospitalist.org www.the-hospitalist.org
-
And earlier this year, CMS announced that by this time next year hospitalists would be assigned their own specialty designation code. SHM’s Public Policy Committee lobbied for the move for more than two years.
-
-
medium.freecodecamp.org medium.freecodecamp.org
- Sep 2018
-
blog.sens-public.org blog.sens-public.org
-
Ceci est une note de page. Elle peut inclure un lien vers une autre page, que celle-ci soit connectée ou non via Hypothes.is. Voyez dans l'URL le préfixe qui assure que l'on peut annoter celle-ci. Mais avec ce blogue on n'en a pas besoin car son auteur a déjà inclus un code permettant de l'annoter par défaut (à condition de s'être créée un compte hypothes.is).
-
- Aug 2018
-
yilinmo.github.io yilinmo.github.io
-
Integrity Data Attacks in Power Market Operations
Hello I am a electrical engineering student from Iran. I am interested in data integrity attacks on power grid state estimation. I can realize the basic concepts by reading the papers, but when I try to re-simulate them, I run into trouble. I have searched the net to find some example matlab codes of the attack structure, but I could not find anything. During my search, I noticed your page and saw that you graciously shared the MATLAB code of some of your papers with the public. So, I decided to leave you a message and ask you if you could provide me with a basic code of false data injection attack (like the one used in this paper) written in MATLAB. I would appereciate it. Thanks in advance.
-
-
edu522.networkedlearningcollaborative.com edu522.networkedlearningcollaborative.com
-
Incessentaly correcting graamer
This may be my favorite line of the entire code of conduct! I'm doing my best to resist....
-
- Mar 2018
-
github.com github.com
-
if (app.metadata && app.metadata.has('dc:title') && app.metadata.get('dc:title') !== 'Untitled') { title = app.metadata.get('dc:title'); }
the empty
dc:title
should also be considered asUntitled
-
-
shixudongleo.linkpc.net:10021 shixudongleo.linkpc.net:10021
-
export var Layer = Evented.extend({
Layer is the base class for geometry object in Leaflet.
- base class for Marker
- base class for Vector objects (path, polyline, polygon, circle, rectangle)
- base class for tile layers
-
-
shixudongleo.linkpc.net:10021 shixudongleo.linkpc.net:10021
-
// Adds the given layer to the group.
addLayer method add object to LayerGroup. Since Path is extend from Layer. Almost all geometry can be applied here.
- marker
- path/circle/ployline/polygon
-
-
shixudongleo.linkpc.net:10021 shixudongleo.linkpc.net:10021
-
export var Path
Path class is the parent for many path-like Class,
- Polyline
- Polygon
-
-
shixudongleo.linkpc.net:10021 shixudongleo.linkpc.net:10021
-
export {Marker, marker} from './Marker';
The Marker class is starting here. L.marker
-
-
shixudongleo.linkpc.net:10021 shixudongleo.linkpc.net:10021
-
export {Map, createMap as map} from './Map';
the starting point for L.map.
-
- Feb 2018
-
www.jetbrains.com www.jetbrains.com
-
Static code analysis TeamCity uses a set of several hundred IntelliJ IDEA and ReSharper inspections to analyze your code and identify potential problems. If you prefer to use other tools, TeamCity supports FxCop out of the box. It can also import reports produced by PMD, PMD/CPD, FindBugs, Checkstyle or JSLint.
-
-
peppermintfrostblog.wordpress.com peppermintfrostblog.wordpress.com
-
School Dress Codes are Not Sexist
Brock Taylor
-
-
onmogul.com onmogul.com
-
ThisIsHowDressCodesCanBeInherentlySexist
Brock Taylor
-
- Sep 2017
-
stackoverflow.com stackoverflow.com
-
ou are encountering a WCF default limit on the message size. To raise the limit, use the maxReceivedMessageSize attribute in your web.config file (server side).
Saved so much time!
-
-
github.com github.com
-
dispatchInternal (payload, cb) { if (processType === 'extension-page') { cb() ipcCargo.push(payload) return } if (processType === 'renderer') { // only handle actions that are for this window if (!payload.queryInfo || payload.queryInfo.windowId == null || payload.queryInfo.windowId === currentWindow.getCurrentWindowId()) { this.dispatchToOwnRegisteredCallbacks(payload) } // only forward actions that have not been relayed through the browser process if (!payload.sentFromBrowser) { cb() ipcCargo.push(payload) } return }
This section of code is brilliant!
-
This code saved me so much time!
-
- Jun 2017
-
-
Teaching Yourself to Code in DH
Tags
Annotators
URL
-
- May 2017
-
github.com github.com
-
"who's the target of the assignment (LHS)" and "who's the source of the assignment (RHS)".
LHS is looking for the target of that assignment whiel RHS is looking for the source!
-