- Feb 2024
-
github.com github.com
-
Regression in 3.13: custom matcher hash argument improperly converted to keyword args, results in ArgumentError
-
- Nov 2023
- Sep 2023
-
rubyreferences.github.io rubyreferences.github.io
-
It seems that the method is a direct equivalent of a.fdiv(b).ceil, and as such, annoyingly unnecessary, but fdiv, due to floating point imprecision, might produce surprising results in edge cases
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
As "module" is more generic concept than "class", the name misleadingly implies that either this method doesn't returns refined modules, or modules can't be refined. This is obviously not true and trivially disproved: module Refs refine Enumerable do def foo = puts 'foo' end end Refs.refinements[0].refined_class #=> Enumerable. Which is, well, not a class. # The refinement is usable, so it is not a mute concept: using Refs [1, 2, 3].foo # prints "foo" successfully I believe we refer to "modules" when some feature applies to modules and classes. Unless there is some deeper consideration for the current naming (I don't see justification in #12737, but I might miss something), the method should be renamed or aliased.
-
- Aug 2023
-
evilmartians.com evilmartians.com
- May 2023
- Dec 2021
-
writing.fletom.com writing.fletom.com
-
underscores are better than dashes for representing spaces
-
- Sep 2021
-
www.hindawi.com www.hindawi.com
-
All individual parameters (Items 1 to 8) were also significantly improved from baseline after 6 weeks of IQP-AO-101 intake. Analysis of variance with baseline values as covariates showed statistically significant improvements across all individual parameters for IQP-AO-101 when compared to placebo.
That's quite impressive. It's worth noting that benefits accrued throughout the entire study duration. There's likely further benefits over longer durations. I take the benefit to be from antioxidants.
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
After 30 days, PBB improved diary sleep quality (p = 0.008) and reduced insomnia severity (p = 0.044) when compared to placebo.
This was achieved by a single size 0 capsule. The benefits would likely be proportionally greater with higher doses. Though, there is probably a cap depending on one's starting antioxidant status. I take it to be antioxidants that are providing the benefit.
-
- Aug 2021
-
pubmed.ncbi.nlm.nih.gov pubmed.ncbi.nlm.nih.gov
-
In both healthy and insomnia subjects, there was a significant improvement in the sleep parameters in the Ashwagandha root extract supplemented group. The improvement was found more significant in insomnia subjects than healthy subjects.
Benefits accrued throughout the 8 weeks. I recall reading on Longecity forum that ashwagandha takes a month for benefits to kick in. This study demonstrates that benefits continue to increase over two months. I suspect they continue even further than that.
Interestingly, this is pretty similar to the two placebo controlled studies on antioxidants for sleep. Thus, I wonder of the benefits of ashwaganha extract are largely antioxidant capacity. This would be a bit surprising because the ORAC of dried ashwaganda is just slightly above raw pinto beans. Based on the recommended doses, the extract isn't vastly more potent than the whole root. Though, this comment saying that the Withanolide/Withaferin A (edit: withaferin A is purportedly cytotoxic) reside mostly in the leaves has greatly confused me. Either the extract has more antioxidant activity than I realize (directly or indirectly), or the benefits come primarily from the purported mechanisms of ashwagandha (which include cortisol reduction and GABAergic activity). Edit: the full text mentions a 15 to 1 extract ratio, which is enough to put the antioxidant mechanism back on the table. It's probably a partial explanation, but after seeing the full text I think the benefits are too great to be simply from antioxidants.
I see no mention of the time of day of administration. I'm assuming it was in the morning, which contrasts with the near bedtime dosing in the antioxidant studies. If I later find out that antioxidants in the morning don't help with sleep, then that will suggest ashwagandha works by other mechanisms. However, I expect antioxidants at any time of day help with sleep. Nonetheless, I'm not discounting that ashwagandha may work by other mechanisms.
-
-
academic.oup.com academic.oup.com
-
Conclusions: Chronic vitamin E administration improves the ratio of cardiac sympathetic to parasympathetic tone in patients with type 2 diabetes. Such an effect might be mediated by a decline in oxidative stress.
This is plausibly the reason why antioxidants enhance sleep. Though it is likely that there are other mechanisms as well, such as reduced neuroinflammation. Come to think of it, given that ME/CFS appears to be caused by high sympathetic tone during sleep, antioxidants are the perfect treatment. Antioxidants are proven in placebo-controlled trials to help with sleep in healthy subjects and insomniacs alike. I doubt that antioxidants can cure ME/CFS, but I'm confident they will help.
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
ConclusionContrary to the existing literature, shifting dinner timing from 5 hours before sleep to 1 hour before sleep in healthy volunteers did not result in significant adverse changes in overnight sleep architecture. In fact, LD was associated with deeper sleep in the beginning of the night and lighter sleep in the latter part of the night in healthy volunteers. This novel manifestation of postprandial hypersomnia may have therapeutic potential in patients with sleep disorders.
This aligns with intuition. However, they only tested a single night in each condition. The harm of eating at night may be a zeitgeber effect, taking multiple days to accumulate.
These results bring into question advice about avoiding food at night. Food quality likely plays a critical role. It remains unclear whether eating before bed is advisable, but this data gives reason to at least avoid making recommendations against it.
-
-
pubmed.ncbi.nlm.nih.gov pubmed.ncbi.nlm.nih.gov
-
The lower the level of selenium in the diet the more reports of anxiety, depression, and tiredness, decreased following 5 weeks of selenium therapy.
Though the effect was stronger in those with lower intake, the effects on mood in those with higher intake were still quite substantial, (full text). That is to say, both groups benefited. Selenium improved anxiety only in the low intake group, (full text).
Interestingly, the high and low intake groups had the same baseline scores. That is to say, it's not that selenium brought the low intake group up to normal, but rather that they were lifted above the high intake group. It's possible that they had adapted to their low intake, be it psychological or physiological adaptation. I recall a similar effect with creatine and cognitive performance in vegetarians.
This raises the question: does the benefit disappear over time as one adapts to their new selenium levels? Perhaps, but I find it more likely that the benefit drops only slightly. That is, I think what may be occurring is a a positive feedback loop where better mood makes you more optimistic, thus improving your mood; I expect this psychological mechanism to fade, leaving the biological component intact.
Of course, there is the possibility that this is a statistical fluke. Nonetheless, I'd expect the above mechanism to occur in general. If I learn more about statistics I could probably run a p-value test.
-
-
www.ncbi.nlm.nih.gov www.ncbi.nlm.nih.gov
-
ResultsImprovement (decline IRLS score >10) was significantly higher in selenium (50 and 200 μg) than placebo group.
Not only was is significant, but it was impressive! The 200 μg dose cut the score over 50%, compared to 20-22% reductions in the placebo. Everyone with RLS should be given selenium.
However, I disagree with the authors that this should be a replacement. Multiple treatments are likely necessary to achieve adequate relief.
-
- Jun 2021
- May 2021
-
www.impressivewebs.com www.impressivewebs.com
- Apr 2021
-
www.kickstarter.com www.kickstarter.com
-
Though massive in scope, John Company relies on a fundamentally simple core that teaches players how to play while they play.
-
-
linusakesson.net linusakesson.net
-
www.metacritic.com www.metacritic.com
-
I can’t say Incredible Mandy is a bad game per se, but it is underwhelming and less than the sum of its parts
-
nothing about the game is really offensive, but there’s just no hook that managed to keep me invested up to the end.
-
-
css-tricks.com css-tricks.com
-
www.redblobgames.com www.redblobgames.com
- Mar 2021
-
github.com github.com
- Feb 2021
-
jrsinclair.com jrsinclair.com
-
opensource.stackexchange.com opensource.stackexchange.com
- Jan 2021
-
css-tricks.com css-tricks.com
-
-
The debate about whether a button or link should be used to download a file is a bit silly, as the whole purpose of a link has always been to download content. HTML is a file, and like all other files, it needs to be retrieved from a server and downloaded before it can be presented to a user. The difference between a Photoshop file, HTML, and other understood media files, is that a browser automatically displays the latter two. If one were to link to a Photoshop .psd file, the browser would initiate a document change to render the file, likely be all like, “lol wut?” and then just initiate the OS download prompt. The confusion seems to come from developers getting super literal with the “links go places, buttons perform actions.” Yes, that is true, but links don’t actually go anywhere. They retrieve information and download it. Buttons perform actions, but they don’t inherently “get” documents. While they can be used to get data, it’s often to change state of a current document, not to retrieve and render a new one. They can get data, in regards to the functionality of forms, but it continues to be within the context of updating a web document, not downloading an individual file. Long story short, the download attribute is unique to anchor links for a reason. download augments the inherent functionality of the link retrieving data. It side steps the attempt to render the file in the browser and instead says, “You know what? I’m just going to save this for later…”
-
- Dec 2020
-
github.com github.com
-
-
Making UIs with Svelte is a pleasure. Svelte’s aesthetics feel like a warm cozy blanket on the stormy web. This impacts everything — features, documentation, syntax, semantics, performance, framework internals, npm install size, the welcoming and helpful community attitude, and its collegial open development and RFCs — it all oozes good taste. Its API is tight, powerful, and good looking — I’d point to actions and stores to support this praise, but really, the whole is what feels so good. The aesthetics of underlying technologies have a way of leaking into the end user experience.
-
- Nov 2020
-
github.com github.com
-
This one gets the SEO, so I hope you're successful @raythurnevoid.
I assume this gets search traffic because people hope/assume that since there's a React "material-ui" that there might already be a "svelte-material-ui" port/adaptation available. So they search for exactly that (like I did). That and being the first to create that something (with that name).
Tags
- excellent name
- getting/attaining wide reach/audience/popularity due to being first to market
- being the thing that people are looking for and hoping/assuming already exists
- having a name containing a search term that people are looking for
- port (adaptation/translation)
- getting/attaining wide reach/audience/popularity due to being or having a name containing a search term that people are looking for
- web search for something brings me here
Annotators
URL
-
- Oct 2020
-
codesandbox.io codesandbox.io
-
Look at their Readme:
Well we have had a great time adding field validations, but there are validations that are tied up to the whole record we are editing than to a given field, for instance let's face this scenario: - You are not allowed to transfer more than 1000 € to Switzerland using this form (for instance: you have to go through another form where some additional documentation is required). - The best place to fire this validation is at record level. - Record validation functions accept as input parameter that whole form record info, and return the result of the validation (it accepts both flavours sync and promise based), let's check the code for this validator: ...
-
-
-
Fantastic reporting
-
-
vuejs.org vuejs.org
-
These are good docs.
Referenced by: https://github.com/sveltejs/svelte/issues/3368#issuecomment-519289238
-
-
danielmiessler.com danielmiessler.com
-
github.com github.com
-
Long ago, the standards deities gifted us <style scoped>, before removing it in favour of the arguably less-useful shadow DOM encapsulation mechanism.
-
-
-
andrewdeandrade commented on Jul 30, 2015
-
andrewdeandrade commented on Jul 31, 2015
locked issues that I would comment on if I could: Can't react to comment because locked. Want to thumb up.
-
The react community has become a big cargo cult. There are some good ideas in the community and many Bad Ideas™. Paving the bad idea cowpaths lends a sense of legitimacy to these bad technical ideas that is not merited.
-
-
dylanvann.com dylanvann.com
-
github.com github.com
-
I'm suggesting there should be a way to write lifecycle related code that also responds to changing props, like how useEffect works. I think how React handles this could be a good source of inspiration.
-
- Sep 2020
-
medium.com medium.com
-
-
Sites & appsthat feel rightby a team that doesn’t suck
-
- Aug 2020
-
pragmaticpineapple.com pragmaticpineapple.com
- Jul 2020
-
-
Context RAILS_ENV webpacker.yml NODE_ENV webpack config
-
- Jun 2020
- Apr 2020
-
ell.stackexchange.com ell.stackexchange.com
-
English tends to build new compound nouns by simply writing them as separate words with a blank. Once the compound is established (and the original parts somewhat "forgotten"), it's often written as one word or hyphenated. (Examples: shoelaces, aircraft...)
-
-
hswolff.com hswolff.com
- Mar 2020
-
www.cmswire.com www.cmswire.com
-
None Of Your Business
-
-
www.iubenda.com www.iubenda.com
-
Google Ad Manager (previously DFP – DoubleClick for Publishers)
-
-
developer.wordpress.org developer.wordpress.org
-
Used By
I like how they have indexed their core code base so they can show in both directions:
- which other core functions a function uses
- which other core functions use this function (references)
-
- Jan 2020
-
www.vanityfair.com www.vanityfair.com
-
This was the article from which I first heard about Solid platform...
-
- Dec 2019
-
git.savannah.gnu.org git.savannah.gnu.org
-
COMMAND EXECUTE BASHRC -------------------------------- bash -c foo NO bash foo NO foo NO rsh machine ls YES (for rsh, which calls `bash -c') rsh machine foo YES (for shell started by rsh) NO (for foo!) echo ls | bash NO login NO bash YES
-
-
github.com github.com
-
A UMD build will let people use your module via a global variable by dropping it into a <script> tag - this makes it easier to try without any build tooling in an HTML file, and in tools like JS Bin and CodePen.
-
-
- Nov 2019
-
reasonml.github.io reasonml.github.io
-
JavaScriptReason const x = 5;let x = 5; var x = y;No equivalent (thankfully) let x = 5; x = x + 1;let x = ref(5); x := x^ + 1;
-
-
-
The terms “controlled” and “uncontrolled” usually refer to form inputs, but they can also describe where any component’s data lives. Data passed in as props can be thought of as controlled (because the parent component controls that data). Data that exists only in internal state can be thought of as uncontrolled (because the parent can’t directly change it).
-
-
www.ag-grid.com www.ag-grid.comag-Grid1
-
Source code at:
- https://github.com/ag-grid/ag-grid-docs/blob/master/src/example.php
- https://github.com/ag-grid/ag-grid-docs/blob/master/src/example.js
This example appears to use client-side data, so it doesn't demonstrate server-side row models at all.
How did they color the monthly breakdown cells?
cellClassRules: { 'good-score': 'typeof x === "number" && x > 50000', 'bad-score': 'typeof x === "number" && x < 10000' },
Tags
Annotators
URL
-
-
testing-library.com testing-library.com
-
No Match1 Match1+ MatchAwait?
-
-
adnauseam.io adnauseam.io
-
AdNauseam
-
- Oct 2019
-
github.com github.com
-
When you do import '../src/application.css', you're telling webpack include application.css in the build. This does not mean it's going to be compiled into your javascript, only that webpack now knows that you want to compile this file. How that file compilation is handled is depending on how your loaders (css-loader, sass-loader, file-loader, etc.. ) are configured.
-
-
stackoverflow.com stackoverflow.com
-
P can't be assigned {}, since the Generic Type P can be a more defined (or restricted) type.
-
- Sep 2019
-
github.com github.com
-
www.npmjs.com www.npmjs.comconstate1
-
home page: https://github.com/diegohaz/constate#readme
Tags
Annotators
URL
-
-
blog.angular-university.io blog.angular-university.io
- Aug 2019
-
www.robinwieruch.de www.robinwieruch.de
-
github.com github.com
-
Just by looking at the page you can see that it's not a normal check box. You are hiding the checkbox via CSS (opacity: 0) and replacing it with an image for styling reasons. Since the checkbox isn't visible Capybara can't find it. There are a couple of ways to deal with this, either find the element that contains the image being used as a replacement for the checkbox and click on that, or tell check/uncheck that it's allowed to click on the label if necessary to switch the checkbox
-
-
react-hook-form.com react-hook-form.comAPI1
- Sep 2016
-
proceedings.esri.com proceedings.esri.com
-
Methods of mining Twitter data to identify disease outbreaks and the problems encountered.
-
-
proceedings.esri.com proceedings.esri.com
-
Created a geocoder that returns social-economic data for a given location. Possibly usable to add social determinants to health records.
-
-
proceedings.esri.com proceedings.esri.com
-
Correlation analysis done on health outcomes and walkability in the community. Oregon counties ranked on a health index. Grouping analysis done on associated health outcomes.
-