- Feb 2021
-
github.com github.com
-
An additional usecase is where we would like to update multiple records
-
This can be useful in cases like multistep registration. Previously in # rails we used to stick all of the validations in the class and then we're # stuck validating them all everytime
-
-
-
However, sometimes actions can't be rolled back and it is unfortunately unavoidable. For example, consider when we send emails during the call to process. If we send before saving a record and that record fails to save what do we do? We can't unsend that email.
-
-
-
Aminpour, P., Gray, S. A., Singer, A., Scyphers, S. B., Jetter, A. J., Jordan, R., Murphy, R., & Grabowski, J. H. (2021). The diversity bonus in pooling local knowledge about complex problems. Proceedings of the National Academy of Sciences, 118(5). https://doi.org/10.1073/pnas.2016887118
-
-
apcontent.collegeboard.org apcontent.collegeboard.org
-
In many communities, it’s not just discrimination, but gender-based violence that keeps girls off the playing field.
This is the second problem that the article addresses. Violence in sports causes many problem for female players.
-
Similarly, in the sports arena, we see massive gaps in the prize money, sponsorships, facilities and equipment allocated to women athletes
This is the problem about unequal pay. However, this can't be changed because there isn't much people who are interested in women sports. This means that there wouldn't be enough money to pay the female players equally as male players.
-
At the same time, the world of sport remains plagued by many of the same gender inequalities that we see more broadly; issues such as unequal pay, gender-based violence, a lack of targeted investment and negative stereotypes and social norms
This is the problem that this article tackles.
-
-
isthereanydeal.com isthereanydeal.com
-
Report: This price didn't exist on the store This price did show on the store but the game could not be bought This was a very short price made by a mistake (glitch)
-
-
en.wikipedia.org en.wikipedia.org
-
github.com github.com
-
I don't see a way to hook into Devise's route mapping load process to add the action (several monkey patching attempts failed)
-
-
hilton.org.uk hilton.org.uk
-
Unlike naming children, coding involves naming things on a daily basis. When you write code, naming things isn’t just hard, it’s a relentless demand for creativity. Fortunately, programmers are creative people.
-
violates our expectation that hard things should be technical
-
Scalability is the problem you want to have, and sooner rather than later, but maintainability is the problem you’re definitely going to have, sooner or later.
Tags
- scalability
- good point
- naming
- difficult/hard problem
- well-written
- relentless
- technical problems
- problem you are definitely going to have
- non-technical problems
- maintainability
- good analogy
- quotable
- frequently encountered (common) problem
- the activity of _
- creative
- hard things in computer science
- creative people
- contrast
- naming things is hard
- programming
- expectations
- good problem to have / problem you want to have
- requires/demands creativity
- what programmers are like
- software development
- creativity
Annotators
URL
-
-
www.quora.com www.quora.com
-
So the hard and unsolvable problem becomes: how up-to-date do you really need to be?
-
After considering the value we place, and the tradeoffs we make, when it comes to knowing anything of significance, I think it becomes much easier to understand why cache invalidation is one of the hard problems in computer science
the crux of the problem is: trade-offs
-
the 2 hardest problems in computer science are essentially the 2 hardest problems of life in general, as far as humans and information are concerned.
Tags
- good question
- generalized explanation
- main/key/central/essential/core thing/point/problem/meat
- how good/perfect does it really need to be?
- good point
- hard things in computer science
- difficult/hard problem
- knowledge
- life in general
- cache invalidation is hard
- trade-offs
- good analogy
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
Yes, i'm trying to find the union of two relations
I guess that's what I needed too. How much of the time can a or() be converted to a union?
-
-
-
stackoverflow.com stackoverflow.com
-
You use grid-area, so the place for the side nav is allocated at start. If you hide (or even delete) the side nav, that won't change anything about this. You have to do a little trick: Set the width for the first column to 0 and change the grid-gap because otherwise you will have a (not needed) gap at the left.
-
-
- Jan 2021
-
askubuntu.com askubuntu.com
-
Setting up docker-ce
hanging
-
-
-
serverfault.com serverfault.com
-
it still hangs when installing
-
-
-
bugzilla.redhat.com bugzilla.redhat.com
-
Ok, fixed it by upgrading docker
-
-
stackoverflow.com stackoverflow.com
-
So, what I've discovered in a meanwhile. It was an ubuntu-docker issue. Recently I upgraded my ubuntu from 16.04 to 18.04. This change seems to be incompatible with the docker version I had, 1.11.0.
-
-
blog.linuxmint.com blog.linuxmint.com
-
1) QT Apps load very slow in startup (ex, qpdfview, Audacious), had to look at Ubuntu forums to find a solution installing kvantum and KvYAru theme, so this is solved at the moment; but the theme (SVG based, cannot modify it in a text file) have orange highlights, not consistent with Mint-Y theme, but it is the best option at the moment. This temporary solution I found was here: https://itectec.com/ubuntu/ubuntu-qt-apps-are-very-slow-to-load-in-xubuntu-20-04-when-export-qt_qpa_platformthemegtk2-is-enabled/
-
-
www.zdnet.com www.zdnet.com
-
I think some of the design details are insane (I dislike the binary logs, for example), but those are details, not big issues.
-
Systemd problems might not have mattered that much, except that GNOME has a similar attitude; they only care for a small subset of the Linux desktop users, and they have historically abandoned some ways of interacting the Desktop in the interest of supporting touchscreen devices and to try to attract less technically sophisticated users. If you don't fall in the demographic of what GNOME supports, you're sadly out of luck.
-
-
unix.stackexchange.com unix.stackexchange.com
-
css-tricks.com css-tricks.com
-
Situation: you have a single line of text in a flex child element. You don’t want that text to wrap, you want it truncated with ellipsis (or fall back to just hiding the overflow). But the worst happens. The unthinkable! The layout breaks and forces the entire flex parent element too wide. Flexbox is supposed to be helping make layout easier!
-
-
en.wikipedia.org en.wikipedia.org
-
n the mid-1920s, he had speech therapy for a stammer, which he learned to manage to some degree.
Tags
Annotators
URL
-
-
css-tricks.com css-tricks.com
-
Making literal grids. Like X columns with Y gap between them homegrown framework stuff. grid-gap is wonderful, as gutters are the main pain point of grid systems.
-
-
forums.theregister.com forums.theregister.com
-
I managed to remove it myself this morning...apparently it used to get it's hooks in so deep it was very difficult to remove the daemon as it interconnected with ubuntu-desktop for....reasons.
-
The strangest "quirk" I had was that I couldn't get the web browser to save a file directly to an attached, encrypted drive. Permissions problem. So I had to save to an interim folder then move it across by hand. Utter pain.
-
-
css-tricks.com css-tricks.com
-
I think you’re missing the spirit behind the classic “centering is hard” complaint in a couple of places, which, at least for me, always comes back to not knowing the height of the elements.
-
-
trumpwhitehouse.archives.gov trumpwhitehouse.archives.gov
-
There was not yet, formally speaking, an American people. There were, instead, living in the thirteen British colonies in North America some two-and-a-half million subjects of a distant king. Those subjects became a people by declaring themselves such and then by winning the independence they had asserted as their right.
- There were many American peoples. None of them were White.
- "those subjects became a people by declaring themselves such and then by winning the independence they had asserted as their right" - OK no. Quite a lot of people did not have the autonomy to "declare themselves" part of a people, and indeed were not recognized as such. There were also loyalists. And this idea of "a people" is...really complicated.
- While it's true that the first citizens of the United States were former British subjects, it is worth noting that a lot of other people lived in the current United States at the time who were tribal citizens, French colonists, Spanish colonists, and enslaved people who weren't considered citizens of anywhere.
-
-
github.com github.com
-
Basically the typescript compiler emits no code for interfaces, so webpack can not find them in the compiled module; except when a module consists of only interfaces. In that case the module will end up completely empty and then webpack will not investigate the exports.
-
-
callforcode.org callforcode.org
-
Call for Code (2020) Accept the 2020 Call for Code Global Challenge. Retrieved from:https://callforcode.org/challenge/?utm_content=buffere99fc&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
-
-
covid-19.iza.org covid-19.iza.org
-
Grözinger. N., Irlenbusch ., B., Laske. K., Schröder., M (2020) Innovation and Communication Media in Virtual Teams – An Experimental Study. Institute of Labor Economics. https://covid-19.iza.org/publications/dp13218/
-
-
redfin.engineering redfin.engineering
-
They say that there are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors. Caching is what Service Workers do. It’s literally the #1 hard thing! … or maybe the #0 thing? Whatever. It’s hard.
-
Oh, silly me, that won’t work. We can’t update index.html at all, so we certainly can’t remove the call to register!
-
-
github.com github.com
-
But it doesn't work so I have to wrap slots in useless and interfering divs or spans like this: <Button fz="16" h="64" {...$$props}> <span slot="prepend"><slot name="prepend" /></span> <slot /> <span slot="append"><slot name="append" /></span> </Button>
It really doesn't work? I thought, from @tanhauhau's example, that it would, right?
-
-
github.com github.com
-
the behavior you want happen is actually a chicken and egg situation, you need to initialise FancyList in order to get the value for let:prop from the FancyList, however you can't initialise FancyList without the value of id which comes from within FancyList.
-
-
stackoverflow.blog stackoverflow.blog
-
There is also the concern of this effectively being a closed ecosystem where developers are paying other developers who themselves are paying other developers. This creates a cycle where not only is there no additional money exchanging hands but the money being shared is slowly decreased through things like processing fees. This is not a viable solution to the funding problem.
-
-
discourse.ubuntu.com discourse.ubuntu.com
-
« Half solved » because, hey, still it’s proprietary so who knows ? You have to trust the software editor then, it’s just moving the trust cursor.
-
-
guides.rubyonrails.org guides.rubyonrails.org
-
You may find that your application requires a layout that differs slightly from your regular application layout to support one particular controller. Rather than repeating the main layout and editing it, you can accomplish this by using nested layouts (sometimes called sub-templates).
-
-
css-tricks.com css-tricks.com
-
But of course, there are UX implications. For example, it can be harder to select the text, and the entire element needs fairly complex styling to create clear focus and hover states. There are also accessibility implications, like the fact that the content of the entire card is read before it is announced as a link.
-
- Dec 2020
-
-
Say I have a separate API server that provides content for a Sapper route. I could just query that API in my route's preload function, but if the content changes rarely, I don't want to incur that cost for every page load and would much rather cache responses from the API on the Sapper side.
-
-
github.com github.com
-
This is an opportunity to fix a bug: if you're on a page that redirects to a login page if there's no user object, or otherwise preloads data specific to that user, then logging out won't automatically update the page — you could easily end up with a page like HOME ABOUT LOG IN ----------------------------------------------------------------------------------------- Secret, user-specific data that shouldn't be visible alongside a 'log in' button:
-
-
thecodebarbarian.com thecodebarbarian.com
-
This pattern can be neater syntactically because declaring a variable in a try block with let scopes the variable to the try block.
-
- Nov 2020
-
stackoverflow.com stackoverflow.com
-
So, how does an SPA work? JavaScript loads in the browser and loads data from an API. Most of the rendering is done on the client Side. But search engine bots have a hard time indexing the page because it doesn't have much without JS.
-
-
blog.hubspot.com blog.hubspot.com
-
This scenario demonstrates one drawback of CSS: With all the style rules that need to be applied to multiple elements on multiple pages, things can get pretty redundant. And redundancy can eat up your time and cause friction whenever you need to change a color, font, or any other style aspect across your site.
-
-
github.com github.com
-
For use$ since svelte is never going to support actions for components, i designed something that reminds React hooks that will in some ways replace this feature.
Isn't that what use$ is trying to do already? How is that "something that reminds React hooks" any different? Will be interested to see...
-
-
-
If I understand the problem correctly, just changing the imports to point to svelte/internal isn't enough because they could still point to different packages depending on how your components are bundled. It solved your specific issue, but if you had two completely unrelated Svelte components compiled to vanilla javascript bundled with Svelte, you'd still hit issues with mismatching current_component when using slots or callbacks.
-
It sounds like another case of multiple svelte/internal modules? I think we need to look into reworking how svelte/internal keeps track of the current component since it breaks when mixing components not bundled with the app. It sounds like we need to find a way to pass Svelte's internal runtime state when instantiating components, since slots and callbacks end up mixing different svelte/internal together.
-
-
-
As mentioned in #2937, this is the sort of thing that happens when you have two copies of Svelte's internal scheduler running. If you're importing the compiled version of an external Svelte component into another Svelte component, this is what you end up with. There's a svelte field in package.json that's respected by rollup-plugin-svelte and which is intended to point at the uncompiled Svelte source, so that the external component can be bundled together with the main app, without any duplicated internals.
-
-
github.com github.com
-
When using the exact same Button code, the binding only works for the local Svelte module.
-
-
-
www.youtube.com www.youtube.com
-
If everyone did this, the repair shops would be out of business.
-
-
mywiki.wooledge.org mywiki.wooledge.org
-
true && { echo true; false; } || { echo false; true; }
-
-
github.com github.com
-
It is impossible to rebuild the base from the Dockerfile as the 3rd party dependencies have changed significantly since 8 months ago when the base was last built. The tags for my base image have been overwritten and I can only restore them from a descendant image. With Docker 1.8 I simply pulled the descendant image, tagged the base layer and I was done. With Docker 1.10+ I'd need to save, then manually construct the base image descriptor and reload it. Doable but sad that it's far more complex.
-
Unfortunately, this image was built months ago. No one has the build any more. We are left with a descendant image that has all the original content but on lower layers.
-
-
stackoverflow.com stackoverflow.com
-
that's the only really accurate answer to the question: all the others propositions run an "almost same" container, but they forget the volumes, env, UIDs,
-
-
www.the-art-of-web.com www.the-art-of-web.com
-
It isn't really compatible with HTML5's input "required" attribute. If an input has the required tag, and you press the submit buton, and the field is empty the browser will fire the "Please fill out this field" message, BUT, you also just disabled that submit button. So in effect, the form can no longer be submitted.
-
-
stackoverflow.com stackoverflow.com
-
The redirect-after-post pattern is nice, but it doesn't solve this problem. The problem is either stupid users who double-click the submit button or impatient users who re-submit the form before the page has loaded. Both of these cases take place before the redirect-after-post pattern applies.
-
-
stackoverflow.com stackoverflow.com
-
github.com github.com
-
The resolve.alias option is used to make sure that only one copy of the Svelte runtime is bundled in the app, even if you are npm linking in dependencies with their own copy of the svelte package. Having multiple copies of the internal scheduler in an app, besides being inefficient, can also cause various problems.
-
-
-
It won't work in all use cases, but it's better than the div soup.
-
I run into this on almost every project and end up doing this as a workaround: :global([slot="content"]) This allows me to style that extra div in the component that contains the slots but it would be super nice to have <MyComponent slot="content"/> and eliminate that extra div
-
If this is getting implemented, I think I'll love to see both implemented. I can see a lot of use cases where I would like to encapsulate the component with additional wrappers and in another scenarios I would like to just use the component. Now i work around this using empty div but then at times it breaks the structure because of the div element and I'll have to add more class utilities to make it work. This will be a great addition for Svelte.
-
I don't like adding unnecessary divs.
-
-
dylanvann.com dylanvann.com
-
const useEffect = (subscribe) => ({ subscribe })
-
- Oct 2020
-
github.com github.com
-
www.theguardian.com www.theguardian.com
-
Geddes, L. (2020, October 21). Women aged 50-60 at greatest risk of ‘long Covid’, experts suggest. The Guardian. https://www.theguardian.com/world/2020/oct/21/women-aged-50-60-at-greatest-risk-of-long-covid-experts-suggest
-
-
www.basefactor.com www.basefactor.com
-
If you want to implement a form with a superb User Experience, you have to take care of many variables:
Tags
- a lot of things to consider
- form design
- too hard/difficult/much work to expect end-developers to write from scratch (need library to do it for them)
- can't keep entire system in your mind at once (software development) (scope too large)
- difficult/hard problem
- user experience
- easy to get wrong
Annotators
URL
-
-
github.com github.com
-
final-form.org final-form.org
-
Doing a HOC properly, as a library should, with hoisted statics and displayName and ref, etc., is a hassle and would add unnecessary bulk.
-
-
-
you took 4 hours to respond, so I implemented it myself
-
-
github.com github.com
-
-
I'm suggesting this is a problem generally. Users will not think of being out of sync with props
-
-
medium.com medium.com
-
The crux of this pattern is to introduce an index.js and internal.js file.
-
This does solve the problem, but now our project and API is structured differently. In large projects it might be very hard to determine how to pull this trick off, or even impossible!
-
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.
Tags
- side effects
- good point
- difficult/hard problem
- hard to see
- circular dependency
- technically impossible
- good example
- code organization: internal module pattern
- key point
- main/key/central/essential/core thing/point/problem/meat
- illustrating problem before showing solution
- impossible
- not:
- refactoring
- hard to find
- symptom of bug/problem
- equivalent
Annotators
URL
-
-
medium.com medium.com
-
These are fine and do not cause any issues.
-
-
svelte.dev svelte.dev
-
whenValueChanges whenValueBecomes
-
-
stackoverflow.com stackoverflow.com
-
I run s.search() by typing into an input box, and if I type gibberish very quickly, the console prints out "making search request" on every key press, so many times per second -- indicating that it hasn't been debounced at all.
-
-
ponyfoo.com ponyfoo.comPony Foo1
-
Sometimes we can’t implement a solution that’s fully spec-compliant, and in those cases using a polyfill might be the wrong answer. A polyfill would translate into telling the rest of the codebase that it’s okay to use the feature, that it’ll work just like in modern browsers, but it might not in edge cases.
-
-
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.
-
-
learn-us-east-1-prod-fleet01-xythos.s3.amazonaws.com learn-us-east-1-prod-fleet01-xythos.s3.amazonaws.com
-
The educator’s role in self-directed learning
Fostering self-directed learning through strategy is discussed by Bailey et al. (2019) in chapter 1 of “Self-Directed Learning for the 21st Century: Implications for Higher Education.” The authors review the changing role of the educator and the learner based on respective self-directed teaching strategies (problem-based learning, cooperative learning, process-oriented learning) and the learner’s propensity for self-directed learning. In addition to providing principles to promote self-directed learning, the Grow and Borich models for implementing said learning were briefly reviewed. 8/10
-
-
www.researchgate.net www.researchgate.net
-
Creativity, Self-Directed Learning and the Architecture of Technology Rich Environments
(Click Download full-text PDF to read). In this article, the authors reflect on the need to cultivate creativity and self-directed learning through transition from conventional course design to a more comprehensive design, which includes technology, problem solving, and collaboration. Moreover, the authors contend that measures of success should not be limited to traditional assessment methods. Barriers to the success of a self-directed design within the typical learning environment are mentioned. Through case study review, the authors demonstrate that strategic course design (educator, setting, technology, expectations) fosters development of the self-directed learner. Dynamics supporting the success of the technology-rich, creative, self-directed design were included. With a methodological approach that incorporates technology, problem-solving, teamwork, and educator support, self-directed behaviors emerge.(8/10)
-
-
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.
-
-
-
Using the keyboard arrows, navigate down the suggestion list to the item(s) you want to remove from the Chrome autofill suggestions With the suggestion highlighted, use the appropriate keystroke sequence to delete the Chrome suggestion:
Linux: Shift + Delete
-
-
-
One of the primary tasks of engineers is to minimize complexity. JSX changes such a fundamental part (syntax and semantics of the language) that the complexity bubbles up to everything it touches. Pretty much every pipeline tool I've had to work with has become far more complex than necessary because of JSX. It affects AST parsers, it affects linters, it affects code coverage, it affects build systems. That tons and tons of additional code that I now need to wade through and mentally parse and ignore whenever I need to debug or want to contribute to a library that adds JSX support.
-
The only "issue" it has is that its unfamiliar. People have been working with HTML for years and are comfortable with it. That's basically the only reason that people find it more readable. If you make an effort to spend sometime with hyperscript, it becomes as familiar and readable as jsx.
Tags
- subjective
- readability
- for-reaching consequences
- mentally filter/ignore
- unintended consequence
- engineering (general)
- too complicated
- comfortable because familiar
- infectious problem
- familiar syntax
- the cost of changing something
- complexity
- not a real/actual problem
- investing time to really understand something
- can't keep entire system in your mind at once (software development) (scope too large)
- unfamiliar
- syntax
- high-cost changes
- semantics (of programming language)
- avoid complexity
- primary task/job/responsibility
- mental bandwidth
- implementation complexity
- readability: depends on familiarity
- fundamental
- engineers
Annotators
URL
-
-
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.
-
-
softwareengineering.stackexchange.com softwareengineering.stackexchange.com
-
For a long time I considered default values to be a "pure evil" thing, something that "cloaks the catastrophe" and results in a very hard do find bugs.
-
-
leiss.ca leiss.ca
-
complexity in financial innovations is itself an important risk factor for systemic failure in the financial sector
Tags
Annotators
URL
-
-
medium.com medium.com
-
It adds a few constructs to the language to solve one of the most complex problems in UI development — state management.
-
-
-
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.
-
-
tech.ebayinc.com tech.ebayinc.com
-
Offsetting the rules of a logic-less template requires a lot of helper methods.
-
-
files.eric.ed.gov files.eric.ed.gov
-
Features and characteristics of problem based learning
The problem based learning (PBL) strategy is defined. The strategy is defined as an iterative process with specific goals (knowledge, problem-solving skills, self-directed skills, collaboration, motivation for learning). The authors go on to describe the advantages, disadvantages, limitations, and considerations for the use of PBL. Integration of technology allows for new opportunities in education and training across disciplines. (7/10)
-
-
techandcurr2019.pressbooks.com techandcurr2019.pressbooks.com
-
Project Based Learning to Develop 21st Century Competencies
In this chapter, the author defines problem based learning (PBL) and highlights the benefits to the learner. In addition to incorporating technology to enhance learning, the article reinforces the need to foster the softer skills that may be developed as a result of PBL (teamwork, accountability, problem-solving, creative thinking, risk-taking, communication skills, and critical thinking skills). Though the data is limited, and there are inherent challenges, PBL is of value in course design. (8/10)
-
-
www.hsj.gr www.hsj.gr
-
An Evaluation of Problem-based Learning Supported by Information and Communication Technology: A Pilot Study
(Under "Viewing Options", select PDF.) In this article, Ernawaty and Sujono (2019) summarize results of a study funded by the Research and Higher Education Directorate of Indonesia. The study aimed to evaluate the cogency of information and communication technologies (ICTs) in problem based learning (PBL) and traditional teaching methods (TTM) based upon learner test scores. The concepts of PBL, TTM, and implications of ICTs are briefly reviewed. Results of the study revealed that PBL with the support of an ICT yielded the highest test scores. (6/10)
-
-
reisub0.github.io reisub0.github.io
-
Most people seem to follow one of two strategies - and these strategies come under the umbrella of tree-traversal algorithms in computer science.
Deciding whether you want to go deep into one topic, or explore more topics, can be seen as a choice between two types of tree-traversal algorithms: depth-first and breadth-first.
This also reminds me of the Explore-Exploit problem in machine learning, which I believe is related to the Multi-Armed Bandit Problem.
-
- Sep 2020
-
iriss.stanford.edu iriss.stanford.edu
-
2020 Conference on Computational Sociology | IRiSS. (n.d.). Retrieved 30 September 2020, from https://iriss.stanford.edu/css/conferences/2020-conference-computational-sociology
-
-
-
Currently, I can only do this with some ugly JS, by wrapping the <slot> in a div and then selecting all direct children of that div (div>*). But this fix/solution also makes me face a problem: The <div> partially destroys the layout/design compared to when not using that div wrapper.
-
-
-
the ability to pass around element names as strings in place of components
-
-
github.com github.com
-
No, this is about using a string to create an element of that tag name.
-
-
-
-
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.
-
-
twitter.com twitter.com
-
Daniël Lakens on Twitter. (n.d.). Twitter. Retrieved September 23, 2020, from https://twitter.com/lakens/status/1308115862247952386
-
-
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
- value
- defining the problem clearly
- defining the problem clearly is as valuable coming up with specific implementation/solution
- iterative process
- contribution guidelines: should explain motivation for change
- iterative process: building on previous attempts/work
- answer the "why?"
- okay for proposal to not be accepted
Annotators
URL
-
-
github.com github.com
-
This has the merit of simplicity and obviousness, but it's not particularly ergonomic: it signals that we don't consider component themeability to be a problem worth solving properly.
-
-
github.com github.com
-
The problem with the export { className as class } approach is that the classes defined in the parent/calling component still have to be marked as being global otherwise they get removed.
-
-
css-tricks.com css-tricks.com
-
But because that final CSS file is probably minified (all whitespace removed), DevTools is likely to tell us that we’ll find the declaration we’re looking for on line 1! Unfortunate, and not helpful for development.
-
-
svelte.dev svelte.dev
-
And you don't have to find solutions to the additional problems that CSS-in-JS introduces.
-
-
psyarxiv.com psyarxiv.com
-
Racine, S. E., Miller, A. E., Mehak, A., & Trolio, V. (2020, September 14). Examining Risk and Protective Factors for Psychological Health during the COVID-19 Pandemic. https://doi.org/10.31234/osf.io/ys8fn
-
-
github.com github.com
-
When you visit location /one and the server redirects you to location /two, you expect the browser’s address bar to display the redirected URL. However, Turbolinks makes requests using XMLHttpRequest, which transparently follows redirects. There’s no way for Turbolinks to tell whether a request resulted in a redirect without additional cooperation from the server. To work around this problem, send the Turbolinks-Location header in the final response to a visit that was redirected, and Turbolinks will replace the browser’s topmost history entry with the value you provide.
-
-
langserver.org langserver.org
-
LSP creates the opportunity to reduce the m-times-n complexity problem of providing a high level of support for any programming language in any editor, IDE, or client endpoint to a simpler m-plus-n problem.
-
- Aug 2020
-
julian.digital julian.digital
-
With more and more productivity apps creating their own messaging systems, users suddenly face a new problem: Multiple inboxes. You now have to check notifications in Github, Trello, Google Docs and half a dozen (if not more) other tools in your productivity stack.
The multiple inbox problem.
-
-
searchuserinterfaces.com searchuserinterfaces.com
-
Research shows that people are highly likely to revisit information they have viewed in the past and to re-issue queries that they have written in the past (Jones et al., 2002, Milic-Frayling et al., 2004). In one large study, 40% of people's search results clicks were on pages that they had clicked on before over the course of a year, with 71% of these using the identical query string as before (Teevan et al., 2006a). In a survey associated with this study, 17% of interviewees reported “not being able to return to a page I once visited” as one of the “biggest problems in using the web.” Therefore, allowing search over recently viewed information can improve a user's productivity (Dumais et al., 2003). Web browsers, as opposed to search engines, can provide much of this functionality. For example, the Chrome Web browser supports information revisiting by showing a grid of thumbnail images representing a user's most frequently visited web pages, and the drop-down menu from the many browser Web address bars shows recently visited pages. Search engines themselves can provide query history, as well as history of previously selected pages if the user agrees to having that information recorded. The PubMed bioscience journal service shows recently issued queries and visited documents in a simple history display (see Figure 1.6). Similarly, many shopping Web site show recently viewed items in a graphical form. Thumbnail images have also been experimented with in search results listing, both for reminding searchers of previously visited pages and for suggesting information about the hit, such as its genre.
-
-
covid-19.iza.org covid-19.iza.org
-
Grözinger. N., Irlenbusch. B., Laske. K., Schröder. M., (2020). Innovation and Communication Media in Virtual Teams – An Experimental Study. Institute of Labor Economics. Retrieved from: https://covid-19.iza.org/publications/innovation-and-communication-media-in-virtual-teams-an-experimental-study/
-
-
psyarxiv.com psyarxiv.com
-
Rezapour, T., Assari, S., Kirlic, N., Vassileva, J., & Ekhtiari, H. (2020). Enhancing Cognitive Resilience in Adolescence and Young Adults: A Neuroscience-informed Approach [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/enrv9
-
- Jul 2020
-
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
-
-
www.youtube.com www.youtube.com
-
Jeff Howe - Crowdsourcing and the Crisis: Collective Intelligence in the Age of Covid-19 (ACM CI’20). (n.d.). Retrieved June 25, 2020, from https://www.youtube.com/watch?v=POPMMHyIoS0
-
-
psyarxiv.com psyarxiv.com
-
Miller, J. G., Chahal, R., Kirshenbaum, J. S., Ho, T. C., Gifuni, A. J., & Gotlib, I. (2020). Heart Rate Variability Moderates the Link Between COVID-19 Stress and Emotional Problems in Adolescents: Evidence for Differential Susceptibility [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/mp7wt
-
- Jun 2020
-
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
- threat
- climate change
- cooperation
- is:webpage
- collective behavior
- behavioral science
- preparation
- decision making
- society
- problem
- disease
- behavioral change
- future
- challenge
- causal understanding
- conflict
- adaptation
- government
- COVID-19
- solution
- lang:en
- collectivist
- cultural evolution
Annotators
URL
-
-
www.thelancet.com www.thelancet.com
-
Paakkari, L., & Okan, O. (2020). COVID-19: Health literacy is an underestimated problem. The Lancet Public Health, S2468266720300864. https://doi.org/10.1016/S2468-2667(20)30086-4
-
-
www.nature.com www.nature.com
-
Ledford, H. (2020). How Facebook, Twitter and other data troves are revolutionizing social science. Nature, 582(7812), 328–330. https://doi.org/10.1038/d41586-020-01747-1
-
-
ci2020.weebly.com ci2020.weebly.com
-
Collective Intelligence 2020. (n.d.). Collective Intelligence 2020. Retrieved June 16, 2020, from https://ci2020.weebly.com/
-
-
twitter.com twitter.com
-
Kazemi, D. (2020, May 23). "NPR is promoting this article again. Without access to the study we have no way of knowing how "bot" was estimated or measured, we simply have to go on the reputation and past research of this lab, which I dug into last night here: https://twitter.com/tinysubversion..." Twitter. https://twitter.com/tinysubversions/status/1263965246416318465
-
-
github.com github.com
-
(Now that I write this i think there is already a ticket for that.) It’s orthogonal to this but related to the same problem space...
-
-
www.nesta.org.uk www.nesta.org.uk
-
Young, N., Saperia, E. (2020 April 14). Crowdsourcing ideas to combat COVID-19. Nesta. https://www.nesta.org.uk/blog/crowdsourcing-ideas-combat-covid-19/
-
-
www.bmj.com www.bmj.com
-
Glasziou, P. P., Sanders, S., & Hoffmann, T. (2020). Waste in covid-19 research. BMJ 2020;369. doi: https://doi.org/10.1136/bmj.m1847
-
-
www.fourmilab.ch www.fourmilab.ch
-
it's important to distinguish managing a problem from fixing it, for these are very different acts: one is a process, the other an event. Solving a problem often requires a bit of both.
sounds like a profound framing but it doesn't really make sense. fixing and problem solving are also process. fixed OTOH is an event
Tags
Annotators
URL
-
-
psyarxiv.com psyarxiv.com
-
Wade, S. L., Gies, L. M., Fisher, A. P., Moscato, E. L., Adlam, A. R., Bardoni, A., Corti, C., Limond, J., Modi, A. C., & Williams, T. (2020). Telepsychotherapy with children and families: Lessons gleaned from two decades of translational research. Journal of Psychotherapy Integration, 30(2), 332–347. https://doi.org/10.1037/int0000215
-
-
stackoverflow.com stackoverflow.com
-
psyarxiv.com psyarxiv.com
-
Pescetelli, N., Cebrian, M., & Rahwan, I. (2020, February 10). Real-time Internet Control of Situated Human Agents. https://doi.org/10.31234/osf.io/xn7sr
-
-
www.theguardian.com www.theguardian.com
-
editor, R. M. D. political. (2020, June 5). UK experts call for coronavirus inquiry to prevent deadly second wave. The Guardian. https://www.theguardian.com/politics/2020/jun/05/uk-experts-call-for-coronavirus-inquiry-to-prevent-deadly-second-wave
-
-
twitter.com twitter.com
-
Angner, E. (2020, May 11). "Terrific assessment of projections of demand for Swedish ICU beds. The first two panels are model-based projections by academics; the third is a simple extrapolation by the public-health authority; the fourth is the actual outcome /1." Twitter. https://twitter.com/SciBeh/status/1260121561861939200
-
-
-
Heathers, J. (2020, May 21). Preprints Aren’t The Problem—WE Are The Problem. Medium. https://medium.com/@jamesheathers/preprints-arent-the-problem-we-are-the-problem-75d29a317625
-
-
dev.mysql.com dev.mysql.com
-
Deadlocks are a classic problem in transactional databases, but they are not dangerous unless they are so frequent that you cannot run certain transactions at all. Normally, you must write your applications so that they are always prepared to re-issue a transaction if it gets rolled back because of a deadlock.
-
- May 2020
-
psyarxiv.com psyarxiv.com
-
Forscher, P. S., Wagenmakers, E.-J., DeBruine, L. M., Coles, N. A., Silan, M. A., & IJzerman, H. (2020). A Manifesto for Team Science [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/2mdxh
-
-
psyarxiv.com psyarxiv.com
-
Williams, A. E. (2020, April 20). The Global Response to COVID-19 as an Example of a One-Sided Problem Definition in the Absence of General Collective Intelligence. https://doi.org/10.31234/osf.io/emgxc
-
-
-
Rodríguez-Flores, M. A., & Papadopoulos, F. (2020). Hyperbolic Mapping of Human Proximity Networks. ArXiv:2005.13216 [Cond-Mat, Physics:Physics]. http://arxiv.org/abs/2005.13216
-
-
psyarxiv.com psyarxiv.com
-
Arslan, G., Yıldırım, M., Tanhan, A., Buluş, M., & Allen, K.-A. (2020). Coronavirus Stress, Optimism-Pessimism, Psychological Inflexibility, and Psychological Health: Testing the Psychometrics of the Coronavirus Stress Measure [Preprint]. PsyArXiv. https://doi.org/10.31234/osf.io/n6dcj
-
-
stackoverflow.com stackoverflow.com
-
1. Disabling concrete extension update. That's what I wanted! You can do this by editing the extensions manifest json-file on Windows: C:\Users\<USERNAME>\AppData\Local\Google\Chrome\User Data\Default\Extensions\<EXTENSION-ID>\<VERSION>\manifest.json (find out the extensions ID by enabling developer mode in the extension settings page) on Ubuntu for Chromium: ${HOME}/.config/chromium/Default/Preferences In this file set "update_url" property to something invalid like "https://localhost" for example. For now according to given url updating of that extension is simply impossible.
-
-
ourworldindata.org ourworldindata.orgAbout1
-
About. (n.d.). Our World in Data. Retrieved May 25, 2020, from https://ourworldindata.org/about
-
-
gitlab.com gitlab.com
-
It seems weird to me that we are trying to enforce commit messages when they are not really visible or used in the GitLab workflow at all. This is what you see most of the time when interacting with the commit list. I've taken time to compose a nice descriptive body and it is hidden by default:
-
-
forum.gitlab.com forum.gitlab.com
-
forum.gitlab.com forum.gitlab.com
-
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
-
-
www.iubenda.com www.iubenda.com
-
if you lack the consent necessary to contact users, then you likely lack the consent needed to even email them to ask for consent.
-
-
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
-
-
www.thelancet.com www.thelancet.com
-
Cortese, S., Asherson, P., Sonuga-Barke, E., Banaschewski, T., Brandeis, D., Buitelaar, J., Coghill, D., Daley, D., Danckaerts, M., Dittmann, R. W., Doepfner, M., Ferrin, M., Hollis, C., Holtmann, M., Konofal, E., Lecendreux, M., Santosh, P., Rothenberger, A., Soutullo, C., … Simonoff, E. (2020). ADHD management during the COVID-19 pandemic: Guidance from the European ADHD Guidelines Group. The Lancet Child & Adolescent Health, S2352464220301103. https://doi.org/10.1016/S2352-4642(20)30110-3
-
-
-
Unfortunately, loading their code from their CDN is the only way those services permit their use.
-
-
github.com github.com
-
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?
-
- Apr 2020
-
stackoverflow.com stackoverflow.com
-
medium.com medium.com
-
Heathers, J. (2020 April 13). Hurry, don't rush. Medium. https://medium.com/@jamesheathers/hurry-dont-rush-e1aee626e733
-
-
psyarxiv.com psyarxiv.com
-
Sailer, M., Stadler, M., Botes, E., Fischer, F., & Greiff, S. (2020, April 9). Science knowledge and trust in medicine affect individuals’ behavior in pandemic crises. https://doi.org/10.31234/osf.io/tmu8f
-
-
stackoverflow.com stackoverflow.com
-
If all you want to do is print the results you might be used to leaving out the -print action. You generally don't want to do that when using -prune.
-
+1 finally found out why I need -print at end, I can now stop adding \! -path <pattern> in addition to -prune
-
-
github.com github.com
-
Part of why most code -- and most software -- sucks so much is that making sweeping changes is hard.
-
- Mar 2020
-
-
To complicate things further, if you classify your social-sharing-plugins-usage as required functionality, and those need to set their own 3rd party cookies (as they themselves classify those as required), hello to 3rd party cookies being set by default and no way for users to opt-out (except by turning them off via browser, which means the whole thing is redundant, might as well just instruct users to disable third party cookies if they don't want to participate in social sharing crap?)
-
-
rubyworks.github.io rubyworks.github.io
-
Ruby's current handling of Dates and Times is all over the map. We have Date, Time, DateTime, ParseDate, and more, not to mention all the other common extensions running around out there. Ruby needs an improved class that incorporates them all.
-
-
stackoverflow.com stackoverflow.com
-
I want to raise errors with more context
-
-
complianz.io complianz.io
-
And this is where we can all see dark clouds forming: if Recaptcha is opt-in (as the GDPR requires) then all a spammer needs to do to bypass Recaptcha, is to not accept cookies, right?
-
-
www.oracle.com www.oracle.com
-
Also note that the first two opt out tools are currently cookie-based and prevent Oracle from using, sharing, or selling your personal information for interest-based advertising on the browser on which they are installed. As a result, the opt out will only function if your browser is set to accept third-party cookies and may not function where cookies are sometimes automatically disabled or removed (e.g., certain mobile devices and operating systems). If you delete cookies, change your browser settings, switch browsers or computers, or use another operating system, you will need to opt out again. Oracle does not use persistent, unique identifiers to revive a previously opted-out profile or deleted cookie.
-
-
-
Note that the scope of personal data is truly broad, which makes processing complex and tricky. So, even though, for instance, you employ anonymization in Google Analytics to get rid of all information that falls under this category, you’re still in a catch-22 situation. This is because GA stores a visitor online identifier in a cookie, and under the GDPR that file constitutes a piece of personal data. That means you still need to obtain consent from visitors to process their data.
-
-
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
-
stackoverflow.com stackoverflow.com
-
How do I get the log written in the correct Time.zone ? The 9 hours difference, heroku (us west) - norway, is distracting to work with
-
-
-
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
-
www.budibase.com www.budibase.com
-
Your idea should stem from solving someone’s problem. Ideally, your own problem. It’s important that you choose an idea which interests you. Interest is key to fuelling motivation which is crucial when making a web app. It takes effort building web apps and it’s important you have fun during the process.
-
-
-
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.
-
-
pubs.acs.org pubs.acs.org
-
when they add the zinc dust to the europium to separate it can become flammable and dangerous.
Tags
Annotators
URL
-
-
-
Loss of landscape/aesthetic degradation, Soil contamination, Soil erosion, Deforestation and loss of vegetation cover, Surface water pollution / Decreasing water (physico-chemical, biological) quality, Mine tailing spills
these are the problems that the community and environment are suffering because of the mines.
-
-
www.google.com www.google.com
-
Lead isotopes are the end products of each of the three series of naturally occurring radioactive elements.
lead is radioactive, so when you touch it, it can effect your body.
-
-
www.google.com www.google.com
-
Keep work areas clean. Do not use compressed air to remove lead dust.
when you use compressed air to remove lead dust, can blow the lead into the air, causing people to breath it in.
Tags
Annotators
URL
-
-
new.hindawi.com new.hindawi.com
-
large amount of waste rock, tailings, and smelting slags are produced during the Sb mining, processing, and smelting. These are partly used for filling the underground voids and piled up in the waste slack yard. The tailings produced in mineral processing are piped to the tailings dam located in the southwest of the mining area, which is located in the natural depression between two mountain bodies in the southwest of the mining area. Downstream is a large area of farmland, at risk from contamination from tailings release.
What happens to waste produced during Sb refining.
-
-
-
a private library is not an ego-boosting appendages but a research tool. The library should contain as much of what you do not know as your financial means … allow you to put there. You will accumulate more knowledge and more books as you grow older, and the growing number of unread books on the shelves will look at you menacingly. Indeed, the more you know, the larger the rows of unread books. Let us call this collection of unread books an antilibrary.
-
-
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.)
-
-
www.lenntech.com www.lenntech.com
-
Europium has no known biological role. Europium salts could be mildly toxic by ingesiton, but its toxicity has not been fully investigated.
Health and Community Problems
-
-
www.theguardian.com www.theguardian.com
-
A 2009 study published in PLOS One concluded that the global warming potential of mining and processing nickel was the eighth highest of 63 metals over the previous year.
The mining and processing of nickel has one of the biggest effects on global warming out of 63 metals.
-