ea

Indian fintechs face big test as economy feels the heat

Digital lenders have helped small businesses access funding, but a liquidity crunch looms




ea

Real-Time Search in JavaScript

What I meant was scanning the DOM of a page for text equivalents and showing the actual parts of the page, as well as hiding the irrelevant ones. I came up with the technique when I was designing Readerrr’s FAQ page. Take a look at the example:

I have also implemented the solution here on my blog.

How it works

All simple. Let’s take the FAQ page as an example. Here’s a typical markup:

<h1>FAQ</h1>
<div class="faq">
	<input type="search" value="" placeholder="Type some keywords (e.g. giza, babylon, colossus)" />
	<ul>
		<li id="faq-1">
			<h2><a href="#faq-1">Great Pyramid of Giza</a></h2>
			<div>
				<p>The Great Pyramid of Giza <!-- ... --></p>
				<!-- ... -->
			</div>
		</li>
		<li id="faq-2">
			<h2><a href="#faq-2">Hanging Gardens of Babylon</a></h2>
			<div>
				<p>The Hanging Gardens of Babylon <!-- ... --></p>
				<!-- ... -->
			</div>
		</li>
		<!-- ... -->
	</ul>
	<div class="faq__notfound"><p>No matches were found.</p></div>
</div>

I wrote a tiny piece of JavaScript code to handle the interaction and this is how it works:

  1. When the page loads, the script indexes the content of all li’s into browser’s memory.
  2. When a user types text into the search field, the script searches for equivalents among the indexed data and hides the corresponding li’s where no equivalents were found. If nothing found, a message is shown.
  3. The script highlights the text equivalents by replacing phases, for example, babylon becomes <span class="highlight">babylon</span>.

Now, try it yourself:

Demo

Taking it further

Since I chose FAQ page as an example, there are some issues to deal with.

Toggling the answers

It is a good practice to hide the answers by default and show them only when user needs them, that is to say when they press the question:

.faq > ul > li:not( .is-active ) > div
{
	display: none;
}
$( document ).on( 'click', '.faq h2 a', function( e )
{
	e.preventDefault();
	$( this ).parents( 'li' ).toggleClass( 'is-active' );
});

In the CSS part I use child combinator selector > because I don’t want to select and, therefore, to hide the elements of an answer, which may contain lists and div’s.

What if JavaScript is disabled

The user won’t be able to see the answers. Unless you show them by default or develop a JavaScript-less solution. To do this, take a closer look at these fragments of the markup:

  • <li id="faq-1">
  • <a href="#faq-1">

The usage of fragment identifiers enables us to take the advantage of CSS’s pseudo selector :target:

.faq > ul > li:not( :target ) > div
{
	display: none;
}

Furthermore, the real-time search is not possible as well. But you can either provide a sever-side search possibility or hide the search field and so as not to confuse the user:

<html class="no-js">
	<head>
		<!-- remove this if you use Modernizr -->
		<script>(function(e,t,n){var r=e.querySelectorAll("html")[0];r.className=r.className.replace(/(^|s)no-js(s|$)/,"$1$2")})(document,window,0);</script>
	</head>
</html>

I added a class name no-js to <html> element. The <script> part removes that class name. If JavaScript support is disabled in a browser, the class name won’t be removed; therefore:

.no-js .faq input
{
	display: none;
}

The no-js is a very handy technique, you can use it site-wide.

Improving UX

If there is only one list item that matches user’s query, it is a good practice to automatically show the content of that item, without requiring to press the title. To see what I mean, head over the GIF at the beginning of the post.

Hidden keywords

Here on my blog I have a filterable list of blog post titles only. Each post has some related keywords assigned. So, during the search, how do I make an item discoverable even if the title does not consist of a particular keyword? For example, how can I make the entry “Real-Time Search in JavaScript” visible if a user entered “jquery”? Yes, exactly, that is adding keywords and hiding them with CSS:

<li>
	<h2><a href="/real-time-search-in-javascript">Real-Time Search in JavaScript</a></h2>
	<p class="hidden-keywords" aria-hidden="true">jquery filter input html css</p>
</li>
.hidden-keywords
{
	display: none;
}

A simple trick but not always that obvious.


You will find two versions of the code in the source of the demo: without dependencies and jQuery-dependent. These versions are also divided into three groups of code so you can adapt only what your project needs.

Demo




ea

The Wiley Handbook of What Works in Violence Risk Management: Theory, Research, and Practice


 

A comprehensive guide to the theory, research and practice of violence risk management

The Wiley Handbook of What Works in Violence Risk Management: Theory, Research and Practice offers a comprehensive guide to the theory, research and practice of violence risk management. With contributions from a panel of noted international experts, the book explores the most recent advances to the theoretical understanding, assessment and management of violent



Read More...




ea

The Wiley Handbook of What Works in Violence Risk Management: Theory, Research, and Practice


 

A comprehensive guide to the theory, research and practice of violence risk management

The Wiley Handbook of What Works in Violence Risk Management: Theory, Research and Practice offers a comprehensive guide to the theory, research and practice of violence risk management. With contributions from a panel of noted international experts, the book explores the most recent advances to the theoretical understanding, assessment and management of violent



Read More...




ea

Learning bio-micro-nanotechnology / Mel I. Mendelson

Hayden Library - TP248.25.N35 M46 2013




ea

Proceed with caution?: concept and application of the precautionary principle in nanobiotechnology / edited by Rainer Paslack, Johann S. Ach, Beate Lüttenberg, Klaus-Michael Weltring

Hayden Library - T174.7.P665 2012




ea

Nanostructured materials and nanotechnology - 2012: symposium held August 12-17, 2012, Cancún, México / editors, Claudia Gutiérrez-Wing, Instituto Nacional de Investigaciones Nucleares, Ocoyoacac, México, José Luis Rodríguez-

Hayden Library - TA418.9.N35 N3664 2012




ea

Nanoscale materials modification by photon, ion, and electron beams: April 9-13, 2012, San Francisco, California, USA / editors, C. Li

Hayden Library - TA418.9.N35 N357 2012




ea

Handbook of research on nanoscience, nanotechnology, and advanced materials / Mohamed Bououdina and J. Paulo Davim, editors

Hayden Library - T174.7.H367 2014




ea

Proceedings of the 13th International Conference of the European Society for Precision Engineering and Nanotechnology: May 27th-31st, 2013, Berlin, Germany / editors, R. Leach, P. Shore ; proceedings compilation, T. Horwood, D. Nyman, D. Phillips, N. Will

Barker Library - T174.7.I59 2013




ea

Proceedings of the 14th International Conference of the European Society for Precision Engineering and Nanotechnology: June 2nd-6th, 2014, Dubrovnik, Croatia / editors, R. Leach ; proceedings compilation, N. Charlton, D. Nyman, D. Phillips

Barker Library - T174.7.I59 2014




ea

Leading edge of micro-nano science and technology: selected peer reviewed papers from the 11th China International Nanoscience and Technology Symposium (CINST 2012), October 21-25, 2012, Kunming, China / edited by Hailin Cong, Bing Yu and Xing Lu

Hayden Library - T174.7.C459 2012




ea

Nanotechnology, environmental health and safety: risks, regulation and management / edited by Matthew Hull, Diana Bowman

Online Resource




ea

Applied Nanotechnology: The Conversion of Research Results to Products / Jeremy J. Ramsden, University of Buckingham, Buckingham, UK

Online Resource




ea

Fundamental principles of engineering nanometrology / Richard Leach

Online Resource




ea

Environmental nanotechnology: applications and impacts of nanomaterials / Mark R. Wiesner, editor, Jean-Yves Bottero, editor

Hayden Library - T174.7.E58 2016




ea

Nanomaterial safety in the workplace: pilot project for assessing the impact of the NIOSH Nanotechnology Research Center / Eric Landree, Hirokazu Miyake, Victoria A. Greenfield

Hayden Library - T174.7.L36 2015




ea

Applied nanotechnology: the conversion of research results to products / Jeremy J. Ramsden, University of Buckingham, Buckingham, UK

Online Resource




ea

Size really does matter: the nanotechnology revolution / Colm Durkan, University of Cambridge, UK

Barker Library - T174.7.D87 2019




ea

Canadians report lower self-perceived mental health during the COVID-19 pandemic [electronic resource] / by Leanne Findlay and Rubab Arim

[Ottawa] : Statistics Canada = Statistique Canada, 2020




ea

Asymmetric copper-catalyzed conjugate additions of organometallic reagents in syntheses of natural compounds and pharmaceuticals

Org. Biomol. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0OB00278J, Review Article
Denisa Vargová, Ivana Nemethova, Radovan Sebesta
Stereoselective synthesis of complex molecular structures is needed in medicine as well as in crop-protection. Copper-catalyzed 1,4-additions of organometallic reagents is a robust C-C bond formation strategy applicable in a...
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Synthesis of Biaryl Ketones by Arylation of Weinreb Amides with Functionalized Grignard Reagents under Thermodynamic Control vs. Kinetic Control of N,N-Boc2-Amides

Org. Biomol. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0OB00813C, Communication
Guangchen Li, Michal Szostak
A highly efficient method for chemoselective synthesis of biaryl ketones by arylation of Weinreb amides (N-methoxy-N- methylamides) with functionalized Grignard reagents is reported. This protocol offers rapid entry to functionalized...
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Diversity oriented multi-component reaction (DOS–MCR) approach to access natural product analogues: regio- and chemo-selective synthesis of polyheterocyclic scaffolds via one-pot cascade reactions

Org. Biomol. Chem., 2020, 18,3082-3092
DOI: 10.1039/D0OB00368A, Paper
Lakshmanan Palanivel, Vasuki Gnanasambandam
Skeletally diverse and complex polyheterocyclic hybrid scaffolds have been accessed via one-pot three-component reaction by exploiting the build/couple/pair strategy of diversity oriented synthesis.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Photochemical rearrangement of diarylethenes: synthesis of functionalized phenanthrenes

Org. Biomol. Chem., 2020, 18,3098-3103
DOI: 10.1039/D0OB00296H, Paper
A. V. Zakharov, A. V. Yadykov, A. G. Lvov, E. A. Mitina, V. Z. Shirinian
The photocyclization of diarylethenes bearing naphthalene units was explored and a convenient protocol for the synthesis of functionalized phenanthrenes was proposed.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Metal-free cascade reactions of aziridines with arylalkynes and aryldiazoniums: facile access to arylazopyrrolines

Org. Biomol. Chem., 2020, 18,3149-3157
DOI: 10.1039/D0OB00346H, Paper
Jing Rong, Hao Jiang, Sijing Wang, Zhenni Su, Huiyan Wang, Chuanzhou Tao
A novel and facile approach to synthesize arylazopyrroline scaffolds via metal-free cascade reactions of aziridines with arylalkynes and aryldiazoniums has been developed, providing access to a variety of 4-arylazo-2-pyrrolines in a highly concise fashion.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Biochemical characterisation of an α1,4 galactosyltransferase from Neisseria weaveri for the synthesis of α1,4-linked galactosides

Org. Biomol. Chem., 2020, 18,3142-3148
DOI: 10.1039/D0OB00407C, Paper
Kun Huang, Andrea Marchesi, Kristian Hollingsworth, Peter Both, Ashley P. Mattey, Edward Pallister, Helene Ledru, Simon J. Charnock, M. Carmen Galan, W. Bruce Turnbull, Fabio Parmeggiani, Sabine L. Flitsch
A new α1,4 galactosyltransferase has been characterised and used for the synthesis of natural and non-natural cell surface trisaccharide antigens.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Experimental results and computational insight into sequential reactions of β-(2-aminophenyl)-α,β-ynones with aryl isocyanates/benzoyl isothiocyanate

Org. Biomol. Chem., 2020, 18,3177-3189
DOI: 10.1039/D0OB00087F, Paper
Antonio Arcadi, Massimiliano Aschi, Marco Chiarini, Fabio Marinelli, Vincenzo Marsicano, Gustavo Portalone
The selective formation of quinazoline vs. benzoxazine  and benzothiazine derivatives from β-(2-aminophenyl)-α,β-ynones and aryl isocyanates/benzoyl isothiocyanate was explored. DFT calculations provide a plausible rationale.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Dearomatization of 3-cyanoindoles by (3 + 2) cycloaddition: from batch to flow chemistry

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00582G, Communication
Maxime Manneveau, Saori Tanii, Fanny Gens, Julien Legros, Isabelle Chataigner
(3 + 2) Dearomatizing cycloaddition of 3-cyanoindoles occurs in smooth conditions with a non-stabilized azomethine ylide, to yield tricyclic indolines in only 1 min under microflow conditions using 3 equiv of the dipole precursor vs. 6 equiv. in a batch reactor.
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




ea

Photocatalytic xanthate-based radical addition/cyclization reaction sequence toward 2-biphenyl isocyanides: synthesis of 6-alkylated phenanthridines

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00136H, Communication
Pedro López-Mendoza, Luis D. Miranda
A photocatalytic xanthate-based radical addition/cyclization reaction cascade toward 2-biphenylisocyanides is described as a practical and modular approach to 6-alkylated phenanthridines.
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




ea

A laccase-catalysed tyrosine click reaction

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00650E, Communication
Shinichi Sato, Keita Nakane, Hiroyuki Nakamura
The tyrosine click reaction of peptides/proteins with the tyrosine modification reagent, N-methyl luminol, was catalysed by a laccase in the presence of molecular oxygen (O2) at 37 °C.
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




ea

A silver-catalyzed radical ring-opening reaction of cyclopropanols with sulfonyl oxime ethers

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00055H, Paper
Xiaobao Zeng, Xin Wang, Yanan Zhang, Li Zhu, Yu Zhao
A simple and efficient method for the radical ring-opening reaction of cyclopropanols with sulfonyl oxime ethers catalyzed by AgNO3 is developed, affording γ-keto oxime ethers in moderate to good yields.
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




ea

Enantioselective Synthesis of Indanone Spiro-Isochromanone Derivatives via Dinuclear Zinc-Catalyzed Michael/Transesterification Tandem Reaction

Org. Biomol. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0OB00541J, Paper
Xiao-Chao Yang, Meng Xu, Jin-Bao Wang, Meng-Meng Liu, Francois Mathey, Yuan-Zhao Hua, Mincan Wang
An enantioselective Michael/transesterification tandem reaction of α-hydroxy indanones with ortho-ester chalcones was realized by dinuclear zinc catalysts. A series of enantiomerically pure spiro[indanone-2,3’-isochromane-1-one] derivatives were obtained in good yields with...
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Chemo- and regioselective click reactions through nickel-catalyzed azide–alkyne cycloaddition

Org. Biomol. Chem., 2020, 18,3374-3381
DOI: 10.1039/D0OB00579G, Paper
Woo Gyum Kim, Seung-yeol Baek, Seo Yeong Jeong, Dongsik Nam, Ji Hwan Jeon, Wonyoung Choe, Mu-Hyun Baik, Sung You Hong
Nickel-catalyzed [3 + 2] cycloaddition reactions of unsymmetrical alkynes and organic azides afford substituted 1,2,3-triazoles with high levels of chemo- and regioselectivity.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Dipyrazolodioxadiazocines as shelf-stable “ready-to-use” precursors for an in situ generation of enolate-iminium 1,4-dipoles: a straightforward atom-economical approach to pyrazolo[5,1-d][1,3,5]dioxazines

Org. Biomol. Chem., 2020, 18,3382-3391
DOI: 10.1039/D0OB00451K, Paper
Vladimir E. Zhulanov, Valeria A. Vigovskaya, Maksim V. Dmitriev, Pavel S. Silaichev, Andrey N. Maslivets, Michael Rubin
Generation of cyclic enolate-iminium 1,4-dipoles via thermolysis of dipyrazolodioxadiazocines in the presence of ketones allowed for efficient preparation of pyrazolo[5,1-d][1,3,5]dioxazines.
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Controlling the liberation rate of the in situ release of a chemical fuel for the operationally autonomous motions of molecular machines

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00669F, Paper
Chiara Biagini, Giorgio Capocasa, Daniele Del Giudice, Valerio Cataldi, Luigi Mandolini, Stefano Di Stefano
Aminolysis of the anhydride of 2-cyano-2-phenylpropanoic acid can be employed to conveniently regulate the liberation rate of the related acid which, in turn, can be used as a fuel for acid–base operated molecular machines.
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




ea

Gold(III)-catalyzed azide-yne cyclization/O–H insertion cascade reaction for the expeditious construction of 3-alkoxy-4-quinolinone frameworks

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00745E, Paper
Jingjing Huang, Han Su, Ming Bao, Lihua Qiu, Yuanqing Zhang, Xinfang Xu
A gold-catalyzed cascade reaction has been developed, and it provides an expeditious access to 3-alkoxy-4-quinolines and applications in alkaloid synthesis.
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




ea

A Selectfluor-promoted oxidative reaction of disulfides and amines: access to sulfinamides

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00720J, Paper
Haibo Mei, Jiang Liu, Romana Pajkert, Gerd-Volker Röschenthaler, Jianlin Han
An unprecedented metal-free oxidative reaction of disulfides and amines with Selectfluor as a mild oxidant under aerobic conditions was developed.
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




ea

Late-stage synthesis and application of photoreactive probes derived from direct benzoylation of heteroaromatic C–H bonds

Org. Biomol. Chem., 2020, Advance Article
DOI: 10.1039/D0OB00336K, Communication
Kevin D. Hesp, Jun Xiao, Graham M. West
A synthetically-driven, late-stage C–H benzoylation strategy for the expedited preparation and evaluation of heterocyclic alternatives to more classical benzophenone photoreactive probes is reported.
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




ea

Dienaminodioate based multicomponent reactions with post-benzylic oxidative transformations mediated by DDQ

Org. Biomol. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0OB00721H, Paper
Jaice Ravindran, Velickakathu Yadhukrishnan, Reghuvaran Asha , Ravi Shankar Lankalapalli
Multicomponent reactions (MCRs) using dienaminodioate with post-benzylic oxidative transformation by DDQ that afforded a diverse array of products is described. An unprecedented rearrangement of 1,2-dihydropyridines (1,2-DHPs), 3CR products, to 2-pyridones...
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Efficient synthesis of a galectin inhibitor clinical candidate (TD139) using a Payne rearrangement/azidation reaction cascade

Org. Biomol. Chem., 2020, Accepted Manuscript
DOI: 10.1039/D0OB00910E, Paper
Jacob St-Gelais, Vincent Denavit, Denis Giguère
Selective galectin inhibitors are valuable research tools and could also be used as drug candidates. In that context, TD139, a thiodigalactoside galectin-3 inhibitor, is currently being evaluated clinically for the...
The content of this RSS Feed (c) The Royal Society of Chemistry




ea

Fire arm, opening an eatery: get licence application forms online

Now, getting a licence for a fire-arm or operating an eatery will be easy with Delhi Police on Tuesday launching a dedicated website for its Licencing Branch.




ea

70 per cent of teachers in Delhi schools are obese: survey

Nearly 70 per cent of schoolteachers in the national capital are overweight and obese, a recent survey has claimed.




ea

Five-year-old survives 40-feet fall with minor scratches

A five-year old boy here survived a 40-feet fall from a multi-storeyed building with minor scratches.




ea

Progress measures must include nature — think beyond GDP: Rachel Kyte

As India debates environmental health versus economic growth, Rachel Kyte, vice-president and special envoy for climate change at the World Bank Group, feels it is vital to think beyond basic GDP.




ea

'Treat the refugee issue as a matter of rights'

The refugee question in the Indian subcontinent dates back to 1947 when India was partitioned. A horrifying feature of the birth of free India – and Pakistan – was the large mass of refugees who were forced to relocate in the most adverse conditions and amidst brutal violence.




ea

A strong and vibrant India is important for peace and stability in Asia: K Shanmugam, Singapore's foreign minister

Singapore is one of India's closest partners in Asia. In his first visit to meet PM Narendra Modi after the formation of the NDA government, K Shanmugam, Singapore's foreign minister, tells Indrani Bagchi they would build some of India's new smart cities and involve themselves in skill development programmes in India.




ea

Hate crime: Two Sikhs attacked in US, one dead

Two elderly Sikhs were shot at by unidentified assailants in Sacramento in US, leaving one dead and the other in critical condition, triggering panic in the neighbourhood having a sizeable Sikh population.




ea

Hindu guru gets 14 years prison for sexual molestation in US

Absconding Indian godman Prakashanand Saraswati, also known as Shree Swamiji, has been sentenced to 14 years in prison and fined USD 10,000.




ea

Indians safe in Japan, some 30-40 Indians leave for India

The Indians, who were safely brought to a hotel in Tokyo from various rehabilitation centres in Sendai, have left for India.




ea

Five-year-old Indian becomes millionaire

A five-year-old Indian boy has become a millionaire overnight after winning a lottery at a national bond draw here.