tent

Ordering of binary colloidal crystals by random potentials

Soft Matter, 2020, 16,4267-4273
DOI: 10.1039/D0SM00208A, Paper
André S. Nunes, Sabareesh K. P. Velu, Iryna Kasianiuk, Denis Kasyanyuk, Agnese Callegari, Giorgio Volpe, Margarida M. Telo da Gama, Giovanni Volpe, Nuno A. M. Araújo
A random potential can control the number of defects in a binary colloidal crystal.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

Single chain in mean field simulation of flexible and semiflexible polymers: Comparison with discrete chain self-consistent field theory

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00620C, Paper
So Jung Park, Jaeup Kim
Single chain in mean field (SCMF) simulation is a theoretical framework performing Monte Carlo moves of explicit polymer chains under quasi-instantaneously updated external fields which were originally imported from the...
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

[ASAP] Development of Lipid-Coated Semiconductor Nanosensors for Recording of Membrane Potential in Neurons

ACS Photonics
DOI: 10.1021/acsphotonics.9b01558




tent

[ASAP] Persistent Currents in Half-Moon Polariton Condensates

ACS Photonics
DOI: 10.1021/acsphotonics.9b01779




tent

[ASAP] Gain-Assisted Optomechanical Position Locking of Metal/Dielectric Nanoshells in Optical Potentials

ACS Photonics
DOI: 10.1021/acsphotonics.0c00213




tent

Sikkim sets up cell to monitor social media content

The move was made to counter any hate propaganda and rumors that may take place.




tent

Apple's flexible batteries patent hints at foldable iPhone, iPad in making

According to the consumer survey, more than a third of Apple customers showed interest in paying as much as $600 extra for a foldable iPhone




tent

The marketplace of attention : how audiences take shape in a digital age / James G. Webster

Webster, James G




tent

Mamata snaps back at media when asked about businessman’s detention



  • DO NOT USE West Bengal
  • India

tent

Tenth International Mineral Processing Congress, 1973 : proceedings of the tenth International Mineral Processing Congress, organized by the Institution of Mining and Metallurgy and held in London in April, 1973 / edited by M. J. Jones

International Mineral Processing Congress (10th : 1973 : London, England)




tent

Outcomes of Left Ventricular Assist Devices by Bridge to Transplant or Destination Therapy Intent

This prespecified secondary analysis of the MOMENTUM 3 randomized clinical trial aims to determine whether clinical outcomes of patients with 2 different left ventricular assist devices differed based on preoperative categories of bridge to transplant/bridge to candidacy vs destination therapy.




tent

Horace Lurton Papers [Revised Finding Aid: Digitized Content Added]

Associate justice of the United States Supreme Court. Correspondence and telegrams, some written while Lurton was attending the University of Chicago (1857-1886) and while he was a prisoner in Camp Chase, Ohio, and at Johnson Island Prison during the Civil War.




tent

Tentacle / Rita Indiana ; translated by Achy Obejas

Dewey Library - PQ7409.2.H355 M8313 2018




tent

Star Wars, 2014: BJP and Congress target each others’ biggies in candidate selection, but not consistently

By fielding one of its vice-presidents – former television soap star Smriti Irani – against Congress’s Rahul Gandhi in Amethi Lok Sabha constituency, BJP has shown it is inclined to take the electoral battle to one of two Gandhi pocket boroughs in Uttar Pradesh.




tent

Intermittent rivers and ephemeral streams : ecology and management / edited by Thibault Datry, Núria Bonada, Andrew Boulton




tent

Discovery of new polycyclic polyprenylated acylphloroglucinols with diverse architectures as potent cyclooxygenase-2 inhibitors

Org. Chem. Front., 2020, Advance Article
DOI: 10.1039/D0QO00259C, Research Article
Shuangshuang Xie, Changxing Qi, Yulin Duan, Qianqian Xu, Yaping Liu, Yingying Huang, Xu Yin, Weiguang Sun, Yuan Zhou, Yonghui Zhang
Cyclooxygenase-2 (COX-2) is a significant therapeutic target of chronic inflammatory diseases.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

[ASAP] Too Persistent to Give Up: Aromaticity in Boron Clusters Survives Radical Structural Changes

Journal of the American Chemical Society
DOI: 10.1021/jacs.0c02228




tent

[ASAP] All-Inorganic Halide Perovskites as Potential Thermoelectric Materials: Dynamic Cation off-Centering Induces Ultralow Thermal Conductivity

Journal of the American Chemical Society
DOI: 10.1021/jacs.0c03427




tent

[ASAP] Discovery of Potent Cyclic Sulfopeptide Chemokine Inhibitors via Reprogrammed Genetic Code mRNA Display

Journal of the American Chemical Society
DOI: 10.1021/jacs.0c03152




tent

Plasticizers derived from post-consumer PET: research trends and potential applications / Ewa Langer, Krzysztof Bortel, Marta Lenartowicz-Klik, Sylwia Waskiewicz

Online Resource




tent

Non-intentionally added substances in PET-bottled mineral water Maria Anna Coniglio, Cristian Fioriglio, Pasqualina Laganà

Online Resource




tent

The practice of hope : ideology and intention in First Thessalonians / Néstor O. Míguez ; translated by Aquíles Martínez

Míguez, Néstor Oscar




tent

La2O2CO3:Tb3+ one-dimensional nanorod with green persistent luminescence

RSC Adv., 2020, 10,17180-17184
DOI: 10.1039/D0RA01926G, Paper
Open Access
Xiaojing Dou, Yang Li, Ru Kang, Huiwang Lian, Zhenzhang Li
Trivalent terbium-doped oxycarbonate (La2O2CO3:1%Tb3+) one-dimensional nanorods are synthesized via a facile precipitation method.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

A superhydrophilic bilayer structure of a nylon 6 nanofiber/cellulose membrane and its characterization as potential water filtration media

RSC Adv., 2020, 10,17205-17216
DOI: 10.1039/D0RA01077D, Paper
Open Access
Ahmad Fauzi, Dian Ahmad Hapidin, Muhammad Miftahul Munir, Ferry Iskandar, Khairurrijal Khairurrijal
The SEM image of (a) cellulose membrane and (b) the bilayer structure of a nylon 6 nanofibrous membrane on a cellulose membrane as water filter media.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

Borohydride catalyzed redistribution reaction of hydrosilane and chlorosilane: a potential system for facile preparation of hydrochlorosilanes

RSC Adv., 2020, 10,17404-17407
DOI: 10.1039/D0RA03536J, Paper
Open Access
Yi Chen, Liqing Ai, Yongming Li, Caihong Xu
A borohydride catalyzed Si–H/Si–Cl redistribution system was established to prepare hydrochlorosilanes facilely and efficiently.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

A highly sensitive, selective and renewable carbon paste electrode based on a unique acyclic diamide ionophore for the potentiometric determination of lead ions in polluted water samples

RSC Adv., 2020, 10,17552-17560
DOI: 10.1039/D0RA01435D, Paper
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
M. A. Zayed, Walaa H. Mahmoud, Ashraf A. Abbas, Aya E. Ali, Gehad G. Mohamed
Due to the toxicity of lead(II) to all living organisms destroying the central nervous system and leading to circulatory system and brain disorders, the development of effective and selective lead(II) ionophores for its detection is very important.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

Correction: Narrowing band gap and enhanced visible-light absorption of metal-doped non-toxic CsSnCl3 metal halides for potential optoelectronic applications

RSC Adv., 2020, 10,17869-17869
DOI: 10.1039/D0RA90054K, Correction
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Jakiul Islam, A. K. M. Akther Hossain
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

Using HTML5 elements in WordPress post content

Here are two ways to include HTML5 elements in your WordPress post content without WordPress’ wpautop function wrapping them in p tags or littering your code with line breaks.

HTML5 has several new elements that you may want to use in your post content to markup document sections, headers, footers, pullquotes, figures, or groups of headings. One way to safely include these elements in your posts is simple; the other way is a bit more complicated. Both ways rely on hand-coding the HTML5 markup in the WordPress editor’s HTML view.

If you are adding HTML5 elements to your post content then you should use an HTML5 doctype.

Disable wpautop for your theme

This is the simple way. Disable the wpautop function so that WordPress makes no attempt to correct your markup and leaves you to hand-code every line of your posts. If you want total control over every line of your HTML then this is the option for you.

To disable wpautop entirely add these lines to your theme’s functions.php:

remove_filter('the_excerpt', 'wpautop');
remove_filter('the_content', 'wpautop');

However, wpautop is generally quite useful if most of your posts are simple text content and you only occasionally want to include HTML5 elements. Therefore, modifying wpautop to recognise HTML5 elements might be more practical.

Modify wpautop to recognise HTML5 elements

WordPress’ wpautop is part of the core functions and can be found in this file within your WordPress installation: wp-includes/formatting.php. It controls how and where paragraphs and line breaks are inserted in excerpts and post content.

In order to create a modified version of WordPress’ core wpautop function I started off by duplicating it in my theme’s functions.php file.

What I’ve experimented with is disabling wpautop and adding a modified copy of it – which includes HTML5 elements in its arrayss – to my theme’s functions.php file.

Add the following to your theme’s functions.php file and you’ll be able to use section, article, aside, header, footer, hgroup, figure, details, figcaption, and summary in your post content. (Probably best to try this in a testing environment first!)

/* -----------------------------
MODIFIED WPAUTOP - Allow HTML5 block elements in wordpress posts
----------------------------- */

function html5autop($pee, $br = 1) {
   if ( trim($pee) === '' )
      return '';
   $pee = $pee . "
"; // just to make things a little easier, pad the end
   $pee = preg_replace('|<br />s*<br />|', "

", $pee);
   // Space things out a little
    // *insertion* of section|article|aside|header|footer|hgroup|figure|details|figcaption|summary
   $allblocks = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style|input|p|h[1-6]|hr|fieldset|legend|section|article|aside|header|footer|hgroup|figure|details|figcaption|summary)';
   $pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "
$1", $pee);
   $pee = preg_replace('!(</' . $allblocks . '>)!', "$1

", $pee);
   $pee = str_replace(array("
", "
"), "
", $pee); // cross-platform newlines
   if ( strpos($pee, '<object') !== false ) {
      $pee = preg_replace('|s*<param([^>]*)>s*|', "<param$1>", $pee); // no pee inside object/embed
      $pee = preg_replace('|s*</embed>s*|', '</embed>', $pee);
   }
   $pee = preg_replace("/

+/", "

", $pee); // take care of duplicates
// make paragraphs, including one at the end
   $pees = preg_split('/
s*
/', $pee, -1, PREG_SPLIT_NO_EMPTY);
   $pee = '';
   foreach ( $pees as $tinkle )
      $pee .= '<p>' . trim($tinkle, "
") . "</p>
";
   $pee = preg_replace('|<p>s*</p>|', '', $pee); // under certain strange conditions it could create a P of entirely whitespace
// *insertion* of section|article|aside
   $pee = preg_replace('!<p>([^<]+)</(div|address|form|section|article|aside)>!', "<p>$1</p></$2>", $pee);
   $pee = preg_replace('!<p>s*(</?' . $allblocks . '[^>]*>)s*</p>!', "$1", $pee); // don't pee all over a tag
   $pee = preg_replace("|<p>(<li.+?)</p>|", "$1", $pee); // problem with nested lists
   $pee = preg_replace('|<p><blockquote([^>]*)>|i', "<blockquote$1><p>", $pee);
   $pee = str_replace('</blockquote></p>', '</p></blockquote>', $pee);
   $pee = preg_replace('!<p>s*(</?' . $allblocks . '[^>]*>)!', "$1", $pee);
   $pee = preg_replace('!(</?' . $allblocks . '[^>]*>)s*</p>!', "$1", $pee);
   if ($br) {
      $pee = preg_replace_callback('/<(script|style).*?</\1>/s', create_function('$matches', 'return str_replace("
", "<WPPreserveNewline />", $matches[0]);'), $pee);
      $pee = preg_replace('|(?<!<br />)s*
|', "<br />
", $pee); // optionally make line breaks
      $pee = str_replace('<WPPreserveNewline />', "
", $pee);
   }
   $pee = preg_replace('!(</?' . $allblocks . '[^>]*>)s*<br />!', "$1", $pee);
// *insertion* of img|figcaption|summary
   $pee = preg_replace('!<br />(s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol|img|figcaption|summary)[^>]*>)!', '$1', $pee);
   if (strpos($pee, '<pre') !== false)
      $pee = preg_replace_callback('!(<pre[^>]*>)(.*?)</pre>!is', 'clean_pre', $pee );
   $pee = preg_replace( "|
</p>$|", '</p>', $pee );

   return $pee;
}

// remove the original wpautop function
remove_filter('the_excerpt', 'wpautop');
remove_filter('the_content', 'wpautop');

// add our new html5autop function
add_filter('the_excerpt', 'html5autop');
add_filter('the_content', 'html5autop');

The results are not absolutely perfect but then neither is the original wpautop function. Certain ways of formatting the code will result in unwanted trailing </p> tags or a missing opening <p> tags.

For example, to insert a figure with caption into a post you should avoid adding the figcaption on a new line because an image or link appearing before the figcaption will end up with a trailing </p>.

<!-- this turns out ok -->
<figure>
  <a href="#"><img src="image.jpg" alt="" /></a><figcaption>A figure caption for your reading pleasure</figcaption>
</figure>

<!-- this turns out not so ok -->
<figure>
  <a href="#"><img src="image.jpg" alt="" /></a>
  <figcaption>A figure caption for your reading pleasure</figcaption>
</figure>

Another example would be when beginning the contents of an aside with a paragraph. You’ll have to leave a blank line between the opening aside tag and the first paragraph.

<aside>

This content could be a pullquote or information that is tangentially related to the surrounding content. But to get it wrapped in a paragraph you have to leave those blank lines either side of it before the tags.

</aside>

Room for improvement

Obviously there are still a few issues with this because if you format your post content in certain ways then you can end up with invalid HTML, even if it doesn’t actually affect the rendering of the page. But it seems to be pretty close!

Leave a comment or email me if you are using this function and find there that are instances where it breaks down. I ran numerous tests and formatting variations to try and iron out as many problems as possible but it’s unlikely that I tried or spotted everything.

Hopefully someone with more PHP and WordPress experience will be able to improve upon what I’ve been experimenting with, or find a simpler and more elegant solution that retains the useful wpautop functionality while allowing for the use of HTML5 elements in posts. Please share anything you find!




tent

Former J&K Minister’s detention extended by 3 months

With a view to prevent him from acting in any manner prejudicial to the maintenance of public order, Naeem Akhtar detention is being extended, an order said.




tent

SC asks for govt response on detention camp inmates




tent

There's no such thing as an IT project [electronic resource] : a handbook for intentional business change / Bob Lewis, Dave Kaiser

Lewis, Bob, author







tent

Efficient CO2 electroreduction to CO at low overpotentials using a surface-reconstructed and N-coordinated Zn electrocatalyst

Dalton Trans., 2020, 49,5434-5439
DOI: 10.1039/D0DT00800A, Communication
Wanan Deng, Shixiong Min, Fang Wang, Zhengguo Zhang, Chao Kong
A surface-reconstructed and N-coordinated Zn electrocatalyst exhibits enhanced activity and selectivity for CO2 electroreduction to CO at reduced overpotentials.
The content of this RSS Feed (c) The Royal Society of Chemistry




tent

Software rights: how patent law transformed software development in America / Gerardo Con Díaz

Online Resource




tent

The UN Working Group on Arbitrary Detention: commentary and guide to practice / Jared Genser

Dewey Library - K3241.G46 2020




tent

The Official ACT Prep Guide 2020 - 2021, (Book + 5 Practice Tests + Bonus Online Content)


 

The only guide from the ACT organization, the makers of the exam, with 5 genuine, full-length practice tests in print and online.

The Official ACT Prep Guide 2020-2021 is the only guide from the makers of the exam and it includes actual ACT test forms (taken from past ACT exams). It offers 5 actual ACT tests (all with optional writing tests) so you can practice at your own pace. To help you review, this guide provides detailed explanations for every



Read More...




tent

[ASAP] Discovery of Potent and Novel Quinazolinone Sulfide Inhibitors with Anti-ToCV Activity

Journal of Agricultural and Food Chemistry
DOI: 10.1021/acs.jafc.0c00686




tent

[ASAP] Triterpene Glycosides Isolated from the Edible Sea Cucumber <italic toggle="yes">Bohadschia vitiensis</italic> and Their Antagonistic Activity against Transient Receptor Potential Ankyrin 1

Journal of Agricultural and Food Chemistry
DOI: 10.1021/acs.jafc.0c00847




tent

[ASAP] 3'-Hydroxypterostilbene Potently Alleviates Obesity Exacerbated Colitis in Mice

Journal of Agricultural and Food Chemistry
DOI: 10.1021/acs.jafc.0c01782




tent

[ASAP] Potent Fungal Chitinase for the Bioconversion of Mycelial Waste

Journal of Agricultural and Food Chemistry
DOI: 10.1021/acs.jafc.0c01342




tent

The New Rules of Marketing and PR: How to Use Content Marketing, Podcasting, Social Media, AI, Live Video, and Newsjacking to Reach Buyers Directly, 7th Edition


 

The seventh edition of the pioneering guide to generating attention for your idea or business, packed with new and updated information

In the Digital Age, marketing tactics seem to change on a day-to-day basis. As the ways we communicate continue to evolve, keeping pace with the latest trends in social media, the newest online videos, the latest mobile apps, and all the other high-tech influences can seem an almost impossible task. How can you keep



Read More...




tent

Protein mapping finds 69 potential treatments for COVID-19

Many are FDA-approved drugs that could be repurposed




tent

CAS curates dataset of antiviral compound leads with potential activity against COVID-19

Open-access collection contains nearly 50,000 chemical compounds from the CAS Registry




tent

Get ready for a potential chemistry job crisis

Whatever COVID-19 does to chemical employment, it's wise to start preparing your career emergency kit




tent

US national labs offer royalty-free patent licenses

The nonexclusive licenses, available on more than 1,000 technologies, will expire at the end of 2020




tent

CFC replacements are a source of persistent organic pollution in the Arctic

Analysis of ice cores shows increasing levels of three short-chain PFAS linked to CFC replacement chemicals




tent

Merck KGaA buys 700 OLED patents from Konica Minolta




tent

CFC replacements are a source of persistent organic pollution in the Arctic

Analysis of ice cores shows increasing levels of 3 short-chain PFAS linked to replacements of CFCs