med

Pathogenesis of Alzheimer's disease and therapeutic strategies involving traditional Chinese medicine

RSC Med. Chem., 2024, Advance Article
DOI: 10.1039/D4MD00660G, Review Article
Shutang Li, Jinfei Yang
As research on AD has progressed, TCM and its active ingredients have increasingly played a crucial role in clinical treatment. This article summarizes extracts from TCM and briefly elucidates their pharmacological mechanisms against AD.
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




med

Semisynthetic phytochemicals in cancer treatment: a medicinal chemistry perspective

RSC Med. Chem., 2024, 15,3345-3370
DOI: 10.1039/D4MD00317A, Review Article
Meghna Arora, Ankit Kumar Singh, Adarsh Kumar, Harshwardhan Singh, Prateek Pathak, Maria Grishina, Jagat Pal Yadav, Amita Verma, Pradeep Kumar
Semisynthetic phytochemicals in cancer treatment.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Introduction to the themed collection on ‘AI in Medicinal Chemistry’

RSC Med. Chem., 2024, 15,3284-3285
DOI: 10.1039/D4MD90035A, Editorial
Jian Zhang, Ola Engkvist, Gerhard Hessler
Jian Zhang, Ola Engkvist and Gerhard Hessler introduce the RSC Medicinal Chemistry themed collection on ‘AI in Medicinal Chemistry’.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Introduction to the themed collection in honour of Professor Christian Leumann

RSC Med. Chem., 2024, Advance Article
DOI: 10.1039/D4MD90039A, Editorial
Marcel Hollenstein, Eugen Stulz
Marcel Hollenstein and Eugen Stulz introduce the cross-journal themed collection celebrating Christian Leumann’s retirement.
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




med

Medicinal chemistry-based perspective on thiophene and its derivatives: Exploring the structural insights to discover plausible druggable leads

RSC Med. Chem., 2024, Accepted Manuscript
DOI: 10.1039/D4MD00450G, Review Article
Shikha Thakur, Devendra Kumar, shivani jaiswal, Kapil Kumar Goel, Pramod Rawat, Vivek Srivastava, Sonia Dhiman, Hemant R Jadhav, Ashish Ranjan Dwivedi
Thiophene is a privileged pharmacophore in medicinal chemistry owing to its diversified biological attributes. The thiophene moiety has been ranked 4th in US FDA drug approval of small drug molecules,...
The content of this RSS Feed (c) The Royal Society of Chemistry




med

A decade of pyridine-containing heterocycles in US FDA approved drugs: a medicinal chemistry-based analysis

RSC Med. Chem., 2024, Advance Article
DOI: 10.1039/D4MD00632A, Review Article
Ashish Ranjan Dwivedi, Shivani Jaiswal, Deepak Kukkar, Roshan Kumar, Thakur Gurjeet Singh, Mahendra Pratap Singh, Abhay M. Gaidhane, Sorabh Lakhanpal, K. Nagendra Prasad, Bhupinder Kumar
The present review is a concerted effort to cover drugs bearing pyridine rings approved in the last decade, and it provides thorough discussion and commentary on their pharmacokinetics and pharmacodynamics together with in-depth structural analysis.
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




med

Adjuvant strategies to tackle mcr-mediated polymyxin resistance

RSC Med. Chem., 2024, Advance Article
DOI: 10.1039/D4MD00654B, Review Article
Madison R. Nuske, Junlang Zhong, Renjie Huang, Vijayalekshmi Sarojini, Jack L. Y. Chen, Christopher J. Squire, Mark A. T. Blaskovich, Ivanhoe K. H. Leung
The emergence of the mobile colistin resistance (mcr) gene is a significant threat contributing to the worldwide antibiotic resistance crisis. This review discusses adjuvant strategies to restore polymyxin sensitivity in these resistant bacteria.
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




med

High-level committee formed to facilitate clearances for companies that signed MoU, says Minister

Constant monitoring was being done now from the time of signing of MoUs to providing employment in new industrial units, says Industries Minister T.R.B. Rajaa




med

595: MedTalk Show, Plagiarism and Code Grifting, and How We’re Testing Code

Blood pressure, stress, and COVID highlight the MedTalk Show portion of this episode, a new "Did You Know" segment about dev tools in Chrome, 4 hour video on plagiarism and code grifters, typography, breaking out of CSS Grid, the oldest things Chris and Dave worked on, and what the testing process is like at Luro or CodePen.




med

Rammed earth on the roof

There is no dearth of ideas in construction, only of implementation, says Sathya Prakash Varanashi




med

How Jio is powering Reliance’s media, entertainment biz

Despite a late entry into telecom, digital services, and media, Reliance has raced to the top




med

Making medicines at the point of patient care

UK readies law allowing preparation of medicines near hospital setting to reach patients safely, quickly




med

Provide medical aid to jailed separatist leader Yasin Malik: Delhi HC to Tihar jail

In his plea before the high court, Malik claimed to be a patient of “serious cardiac and kidney ailments”, currently facing a “life and death situation”




med

Delhi Assembly elections | Congress leader Mateen Ahmed joins AAP, AAP leader Harsharan Singh Balli returns to BJP

Setback for Congress as five-time MLA Mateen Ahmed jumps ship to Aam Aadmi Party, days after his son, daughter-in-law join Kejriwal-led party; former Minister Balli quits AAP and returns to BJP




med

Delhi L-G approves recruitment of 701 nurses and 756 paramedical staff




med

Rare California Island to be Activated for Armed Forces Day, First Time in 53 Years

On Armed Forces Day, May 1971, 53 years ago, two amateur operators working as WZ6SNI, activated San Nicolas Island, IOTA NA-066. At 61 miles, San Nicolas is the most remote of the Channel Islands off the coast of Southern California and is owned by the US Navy.

Now, weather permitting, Will Costello, WC6DX, has been authorized to be active from San Nicolas Island November 8 - 12, 2024. He is tak...




med

More aquatic animals were farmed than fished in 2022, for the first time ever

The total amount of aquatic animals captured in the wild fell to 91 million tonnes and the global production rose to 94.4 million in 2022, the FAO said





med

Media & Entertainment to be $40 billion industry by 2020: PwC




med

New bridge to come up across Palar River at Sevilimedu




med

Mediation should be given priority in family dispute cases: Chief Justice




med

Nature of barriers determines first passage times in heterogeneous media

Soft Matter, 2024, 20,8353-8362
DOI: 10.1039/D4SM00908H, Paper
Moumita Dasgupta, Sougata Guha, Leon Armbruster, Dibyendu Das, Mithun K. Mitra
The nature of barriers control the first passage times in heterogenous media. For entropic barriers, the first passage times increases monotonically with increasing number of barriers, while for energetic barriers, passage times show a non-monotonic behaviour with increasing barriers.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Building a Dictaphone Using Media Recorder and getUserMedia

Chris Mills brushes up his shorthand and shows how the MediaStream Recording API in modern browsers can be used to capture audio directly from the user’s device. Inching ever closer to the capabilities of native software, it truly is an exciting time to be a web developer.


The MediaStream Recording API makes it easy to record audio and/or video streams. When used with MediaDevices.getUserMedia(), it provides an easy way to record media from the user’s input devices and instantly use the result in web apps. This article shows how to use these technologies to create a fun dictaphone app.

A sample application: Web Dictaphone

To demonstrate basic usage of the MediaRecorder API, we have built a web-based dictaphone. It allows you to record snippets of audio and then play them back. It even gives you a visualisation of your device’s sound input, using the Web Audio API. We’ll just concentrate on the recording and playback functionality in this article, for brevity’s sake.

You can see this demo running live, or grab the source code on GitHub. This has pretty good support on modern desktop browsers, but pretty patchy support on mobile browsers currently.

Basic app setup

To grab the media stream we want to capture, we use getUserMedia(). We then use the MediaRecorder API to record the stream, and output each recorded snippet into the source of a generated <audio> element so it can be played back.

We’ll first declare some variables for the record and stop buttons, and the <article> that will contain the generated audio players:

const record = document.querySelector('.record');
const stop = document.querySelector('.stop');
const soundClips = document.querySelector('.sound-clips');

Next, we set up the basic getUserMedia structure:

if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
   console.log('getUserMedia supported.');
   navigator.mediaDevices.getUserMedia (
      // constraints - only audio needed for this app
      {
         audio: true
      })

      // Success callback
      .then(function(stream) {

      })

      // Error callback
      .catch(function(err) {
         console.log('The following `getUserMedia` error occured: ' + err);
      }
   );
} else {
   console.log('getUserMedia not supported on your browser!');
}

The whole thing is wrapped in a test that checks whether getUserMedia is supported before running anything else. Next, we call getUserMedia() and inside it define:

  • The constraints: Only audio is to be captured for our dictaphone.
  • The success callback: This code is run once the getUserMedia call has been completed successfully.
  • The error/failure callback: The code is run if the getUserMedia call fails for whatever reason.

Note: All of the code below is found inside the getUserMedia success callback in the finished version.

Capturing the media stream

Once getUserMedia has created a media stream successfully, you create a new Media Recorder instance with the MediaRecorder() constructor and pass it the stream directly. This is your entry point into using the MediaRecorder API — the stream is now ready to be captured into a <Blob>, in the default encoding format of your browser.

const mediaRecorder = new MediaRecorder(stream);

There are a series of methods available in the MediaRecorder interface that allow you to control recording of the media stream; in Web Dictaphone we just make use of two, and listen to some events. First of all, MediaRecorder.start() is used to start recording the stream once the record button is pressed:

record.onclick = function() {
  mediaRecorder.start();
  console.log(mediaRecorder.state);
  console.log("recorder started");
  record.style.background = "red";
  record.style.color = "black";
}

When the MediaRecorder is recording, the MediaRecorder.state property will return a value of “recording”.

As recording progresses, we need to collect the audio data. We register an event handler to do this using mediaRecorder.ondataavailable:

let chunks = [];

mediaRecorder.ondataavailable = function(e) {
  chunks.push(e.data);
}

Last, we use the MediaRecorder.stop() method to stop the recording when the stop button is pressed, and finalize the Blob ready for use somewhere else in our application.

stop.onclick = function() {
  mediaRecorder.stop();
  console.log(mediaRecorder.state);
  console.log("recorder stopped");
  record.style.background = "";
  record.style.color = "";
}

Note that the recording may also stop naturally if the media stream ends (e.g. if you were grabbing a song track and the track ended, or the user stopped sharing their microphone).

Grabbing and using the blob

When recording has stopped, the state property returns a value of “inactive”, and a stop event is fired. We register an event handler for this using mediaRecorder.onstop, and construct our blob there from all the chunks we have received:

mediaRecorder.onstop = function(e) {
  console.log("recorder stopped");

  const clipName = prompt('Enter a name for your sound clip');

  const clipContainer = document.createElement('article');
  const clipLabel = document.createElement('p');
  const audio = document.createElement('audio');
  const deleteButton = document.createElement('button');

  clipContainer.classList.add('clip');
  audio.setAttribute('controls', '');
  deleteButton.innerHTML = "Delete";
  clipLabel.innerHTML = clipName;

  clipContainer.appendChild(audio);
  clipContainer.appendChild(clipLabel);
  clipContainer.appendChild(deleteButton);
  soundClips.appendChild(clipContainer);

  const blob = new Blob(chunks, { 'type' : 'audio/ogg; codecs=opus' });
  chunks = [];
  const audioURL = window.URL.createObjectURL(blob);
  audio.src = audioURL;

  deleteButton.onclick = function(e) {
    let evtTgt = e.target;
    evtTgt.parentNode.parentNode.removeChild(evtTgt.parentNode);
  }
}

Let’s go through the above code and look at what’s happening.

First, we display a prompt asking the user to name their clip.

Next, we create an HTML structure like the following, inserting it into our clip container, which is an <article> element.

<article class="clip">
  <audio controls></audio>
  <p>_your clip name_</p>
  <button>Delete</button>
</article>

After that, we create a combined Blob out of the recorded audio chunks, and create an object URL pointing to it, using window.URL.createObjectURL(blob). We then set the value of the <audio> element’s src attribute to the object URL, so that when the play button is pressed on the audio player, it will play the Blob.

Finally, we set an onclick handler on the delete button to be a function that deletes the whole clip HTML structure.

So that’s basically it — we have a rough and ready dictaphone. Have fun recording those Christmas jingles! As a reminder, you can find the source code, and see it running live, on the MDN GitHub.


This article is based on Using the MediaStream Recording API by Mozilla Contributors, and is licensed under CC-BY-SA 2.5.


About the author

Chris Mills manages the MDN web docs writers’ team at Mozilla, which involves spreadsheets, meetings, writing docs and demos about open web technologies, and occasional tech talks at conferences and universities. He used to work for Opera and W3C, and enjoys playing heavy metal drums and drinking good beer.

More articles by Chris




med

Bring home the medals

Fashion designer Ritu Beri wonders if privatisation is the key to India performing better at global sporting events




med

Onam weaves for 2022 comes alive with blooms and Kerala-themed motifs

Designers dress up the traditional cream-and-gold Kerala cotton with hand-painted motifs, embroidery, cut work and more




med

SBI named Best Bank in India for 2024 by Global Finance Magazine

SBI Chairman CS Setty accepted the award



  • Money &amp; Banking

med

Syed Iftekhar Jamal named for Urdu Academy award

Mr. Jamal has been writing Urdu poetry since 1987, many of his works were published in Urdu dailies and magazines like Saalar, Siyasat, Etemaad and Dabistan




med

YSRCP social media activist Varra Ravindra Reddy sent to judicial remand

Police form district-level teams to monitor ‘defamatory posts’




med

The fading allure of media endorsements

Should media houses in the U.S. be endorsing political candidates? The question is gaining more traction with every election cycle




med

The essential skill of ‘media and information literacy’

The complex digital environment poses governance challenges, making it important to create an ‘Internet of Trust’ for a safe digital world




med

Number of MBBS seats in UP have doubled, 17 new medical colleges opened this year: Adityanath




med

IIM Calcutta secures 100% MBA placements; median stipend ₹2 lakh/month




med

Nandini Nursing Home: Comedians run riot

A refreshing vehicle for a director and an actor making their debuts




med

Manalo Okkadu: Framed by the media

R.P. Patnaik’s take on the fourth estate fails to appeal




med

Ravi Menon named chairman of Sobha Group

Sobha Group founder-chairman PNC Menon to retire




med

Positive response to Small and Medium REITs: SEBI Chief

There is an imbalance of power between large institutions and small investors, and regulations have helped foster trust in the system, Says Madhabi Puri Buch




med

EFC gets SEBI nod for India’s first small & medium REIT IPO 

With plans for a ₹500 crore IPO through its subsidiary, EFC REIT, the company aims to enhance its investment management and commercial real estate operations.




med

Intermediate diradical character and thermal cis–trans isomerization of near-infrared absorbing thionated squaraine dyes

Org. Chem. Front., 2024, Advance Article
DOI: 10.1039/D4QO01722F, Research Article
Open Access
Taishi Oka, Takeshi Maeda, Daisuke Sakamaki, Naoya Suzuki, Shigeyuki Yagi, Shintaro Kodama, Hideki Fujiwara
Near-infrared absorbing squaraine dyes incorporating 4-membered thionated oxocarbon and chalcogenopyrylium moieties exhibit intermediate diradical character, which impacts thermal cis–trans isomerization.
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




med

Photocatalytic arylation/alkylation of olefins/alkynes via halogen-atom transfer mediated by NHC-BH3

Org. Chem. Front., 2024, Advance Article
DOI: 10.1039/D4QO01562B, Research Article
Xinhan Li, Yao Zhong, Fengsong Tan, Yusong Fei, Xiaohan Zhao, Jianbin Xu, Baomin Fan
A versatile method for radical reductive cross-coupling of iodides and activated olefins under mild conditions, facilitated by NHC-BH3 through photocatalysis, 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




med

Visible-light mediated selective phosphonylation modification of tryptophan residues in oligopeptides

Org. Chem. Front., 2024, 11,6287-6292
DOI: 10.1039/D4QO01028K, Research Article
Wenfang Xiong, Junye He, Jinyao Liu, Peiru Chen, Shiqi Xu, Yipeng Liu, Shiting Chen, Yuanyuan You, Zhenyu Chen, Jinwu Zhao
A direct C2-H phosphonylation strategy driven by visible light for specific modification of tryptophan-containing peptides has been reported, providing a plethora of phosphorylated tryptophan-containing peptides
The content of this RSS Feed (c) The Royal Society of Chemistry




med

A cucurbit[8]uril-mediated host–guest complex for red-light photocatalysis

Org. Chem. Front., 2024, 11,6327-6332
DOI: 10.1039/D4QO01492H, Research Article
Weiquan Xu, Yinghao Du, He Ma, Xingchen Tang, Jiang-Fei Xu, Xi Zhang
Two-step host–guest complexation can occur between an elongated dye and CB[8], leading to the formation of CB[8]@2TPP and 3CB[8]@2TPP sequentially. Of these species, 3CB[8]@2TPP in particular can act as an efficient red-light photocatalyst.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Dendron-mediated control over self-assembly of chlorophyll rosettes into columnar vs. discrete aggregates

Org. Chem. Front., 2024, 11,6304-6310
DOI: 10.1039/D4QO01629G, Research Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Ryo Kudo, Hiroki Hanayama, Balaraman Vedhanarayanan, Hitoshi Tamiaki, Nobuyuki Hara, Sarah E. Rogers, Martin J. Hollamby, Biplab Manna, Koji Harano, Shiki Yagai
By controlling the π-π stacking of chlorophyll supramolecular rosettes through steric hindrance of alkyl dendrons, it become possible to create chlorophyll tubes and discrete rings that resemble to natural chlorophyll assemblies.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

DABSO-Mediated Pummerer Reaction Enables One-Pot Synthesis of Pyrroloquinolines for Accessing Marinoquinolines: Mechanistic, Photophysical and Pharmacological Investigations

Org. Chem. Front., 2024, Accepted Manuscript
DOI: 10.1039/D4QO01512F, Research Article
Rahimuddin Khan, Dipun Kumar Penthi, Aditi Chatterjee, Chandrakanta Sahoo, Shanti Gopal Patra, Viswanathan Arun Nagaraj, Tabrez Khan
A new one-pot acid- and exogenous oxidant-free synthesis of pyrrolo[2,3-c]quinolines has been developed. The strategy involves chemoselective reduction of the 3-(2-nitrophenyl)-1H-pyrroles (pyrrolnitrin derivatives) and subsequent DABSO-facilitated Pummerer reaction in the...
The content of this RSS Feed (c) The Royal Society of Chemistry




med

PIFA-Mediated cyclization of methyl(2-(1-phenylvinyl)phenyl)sulfane for the concise, flexible, and scalable de novo synthesis of C3-arylated benzo[b]thiophenes

Org. Chem. Front., 2024, Accepted Manuscript
DOI: 10.1039/D4QO01589D, Research Article
Xinya Liu, Olivier Provot, Christine Tran, Jean-Francois Soule, Abdallah Hamze
The well-decorated arylated benzo[b]thiophene scaffold is a pivotal structural motif with diverse applications in medicinal chemistry. This paper outlines a de novo synthesis of C3-arylated benzo[b]thiophenes, showcasing its flexibility and...
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Gamchhas transformed into saris

Textile revivalist Jaya Jaitly talks about her gamchha project



  • History &amp; Culture

med

Lovely lotuses blossomed by the sun

Ramanuja’s interpretations of the Sanskrit verses proved that he had the potential of being a good commentator.



  • History &amp; Culture

med

Investigation of the titanium-mediated catalytic enantioselective oxidation of aryl benzyl sulfides containing heterocyclic groups

RSC Adv., 2024, 14,35105-35113
DOI: 10.1039/D4RA07088G, Paper
Open Access
Maria Annunziata M. Capozzi, Angel Alvarez-Larena, Joan F. Piniella Febrer, Cosimo Cardellicchio
Enantiopure benzyl heteroaryl sulfoxides were obtained by asymmetric oxidation. However, two benzimidazolyl sulfoxides were found to be conglomerates.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Correction: Sustainable polymeric adsorbents for adsorption-based water remediation and pathogen deactivation: a review

RSC Adv., 2024, 14,35104-35104
DOI: 10.1039/D4RA90129K, Correction
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Huda Alkhaldi, Sarah Alharthi, Salha Alharthi, Hind A. AlGhamdi, Yasmeen M. AlZahrani, Safwat A. Mahmoud, Lamiaa Galal Amin, Nora Hamad Al-Shaalan, Waleed E. Boraie, Mohamed S. Attia, Samera Ali Al-Gahtany, Nadiah Aldaleeli, Mohamed Mohamady Ghobashy, A. I. Sharshir, Mohamed Madani, Reem Darwesh, Sana F. Abaza
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Bisphenol A (BPA) toxicity assessment and insights into current remediation strategies

RSC Adv., 2024, 14,35128-35162
DOI: 10.1039/D4RA05628K, Review Article
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Joshua O. Ighalo, Setyo Budi Kurniawan, Banlambhabok Khongthaw, Junaidah Buhari, P. K. Chauhan, Jordana Georgin, Dison Stracke Pfingsten Franco
To mitigate the toxic effects of BPA, there is a need to utilize hybrid remediation strategies for its removal from the aqueous environment.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Rahul Gandhi likely to visit Ahmedabad on July 6

Rahul Gandhi will meet party workers and leaders who were ‘assaulted by BJP goons’, says Gujarat Congress chief