Code
import requests
import locale
import re
from typing import Optional
import datetime
from IPython.display import Markdown
"en_US")
locale.setlocale(locale.LC_ALL, = "https://api.rogue-scholar.org/"
baseUrl = "2024-01-03"
published_since = "2024-01-09"
published_until = 4
feature_image = "title,authors,published_at,summary,blog_name,blog_slug,doi,url,image"
include_fields = (
url
baseUrl+ f"posts?&published_since={published_since}&published_until={published_until}&language=en&sort=published_at&order=asc&per_page=50&include_fields={include_fields}"
)= requests.get(url)
response = response.json()
result
def get_post(post):
return post["document"]
def format_post(post):
= post.get("doi", None)
doi = f"[{doi}]({doi})\n<br />" if doi else ""
url = f"[{post['title']}]({doi})" if doi else f"[{post['title']}]({post['url']})"
title = datetime.datetime.utcfromtimestamp(post["published_at"]).strftime(
published_at "%B %-d, %Y"
)= f"[{post['blog_name']}](https://rogue-scholar.org/blogs/{post['blog_slug']})"
blog = ", ".join([f"{x['name']}" for x in post.get("authors", None) or []])
author = post["summary"]
summary return f"### {title}\n{url}Published {published_at} in {blog}<br />{author}<br />{summary}\n"
= [get_post(x) for i, x in enumerate(result["hits"])]
posts = "\n\n".join([format_post(x) for x in posts])
posts_as_string
def doi_from_url(url: str) -> Optional[str]:
"""Return a DOI from a URL"""
= re.search(
match r"\A(?:(http|https)://(dx\.)?(doi\.org|handle\.stage\.datacite\.org|handle\.test\.datacite\.org)/)?(doi:)?(10\.\d{4,5}/.+)\Z",
url,
)if match is None:
return None
return match.group(5).lower()
= [x["image"] for x in posts if x.get("image", None) is not None]
images = images[feature_image]
image = f"![]({image})\n\n"
markdown += posts_as_string
markdown Markdown(markdown)
Looking Back on the Norbornyl Cation
https://doi.org/10.59350/h94q8-1cs70
Published January 3, 2024 in Corin Wagen
Corin Wagen
In this post, I’m trying something new and embedding calculations on Rowan alongside the text. You can view the structures and energies right in the page, or you can follow a link and view the full data in a new tab.
Tips from the Blog XVI: getting FASTA sequences
https://doi.org/10.59350/57w5w-bk852
Published January 4, 2024 in quantixed
Stephen Royle
I am having some fun running AlphaPulldown on a computing cluster. A requirement is to have input sequences in FASTA format. I found that I needed to get ~600 sequences. I had a list of the relevant Uniprot IDs. Surely getting the sequences for these proteins should be straightforward? Solution The Uniprot IDs can be converted – using the ID Mapping Tool on the Uniprot website – into any number of other IDs.
Physical Organic Chemistry: Alive or Dead?
https://doi.org/10.59350/5nybg-w2n59
Published January 5, 2024 in Corin Wagen
Corin Wagen
In Wednesday’s post, I wrote that “traditional physical organic chemistry is barely practiced today,” which attracted some controversy on X. Here are some responses: “POC has evolved in many directions and its concepts are widely used, e.g., in host-guest chem, org syn, materials sci, drug discovery.” -
LAIR - Language As Intermediate Representation
https://doi.org/10.59350/qg7b3-crs97
Published January 6, 2024 in Chris von Csefalvay
Chris von Csefalvay
The awesome thing about language is that, well, we all mostly speak it, to some extent or another. This gives us an immensely powerful tool to manipulate transformational tasks. For the purposes of this post, I consider a transformational task to be essentially anything that takes an input and is largel intended to return some version of the same thing. This is not a very precise definition, but it will have to do for now.
Every Rogue Scholar blog post now available in Markdown, ePub, and PDF formats
https://doi.org/10.53731/1dfxr-hs665
Published January 8, 2024 in Front Matter
Martin Fenner
The Rogue Scholar science blog archive starts 2024 with an important release: all blog posts (more than 13,000) are now available for download in Markdown, ePub, and PDF formats. This builds on work completed in December to store the full text of every Rogue Scholar blog post in Markdown format in the Rogue Scholar backend. Combined with the metadata in YAML format, these posts can now be downloaded via the Rogue Scholar API, e.g.
Return to (and of?) the ecology blogosphere
https://doi.org/10.59350/ftfvp-2yp03
Published January 8, 2024 in Jabberwocky Ecology
Ethan White
We started Jabberwocky Ecology back in 2008 when blogs were becoming the dominant medium for informal (online) academic discussions.
Macrocyclic peptide antibiotics – now Zosurabalpin – then antibacterial agents based on cyclic D,L-α-peptide architectures.
https://doi.org/10.59350/fadrq-1x843
Published January 8, 2024 in Henry Rzepa’s Blog
Henry Rzepa
Zosurabalbin[1],[2], is receiving a great deal of attention as a new class of antibiotic which can target infections for which current treatment options are inadequate.
Papers for MD9A8 – 2024 edition
https://doi.org/10.59350/wzzny-4hm48
Published January 8, 2024 in quantixed
Stephen Royle
It is time for my annual post of the papers I selected for a module that I teach (MD9A8, the module formerly known as MD997). Previous selections are grouped here or here. The list serves as a snapshot of interesting papers published in the previous 12 months or so. I hope it is useful to others who are looking for lists of papers to read, for student selections or for anything else.
Some sea cucumbers like it hot
https://doi.org/10.59350/vf5xp-jfw28
Published January 8, 2024 in GigaBlog
Hans Zauner
We start the new year with news from the deep, published in GigaScience: The genome of a sea cucumber, collected at a depth of 2400 m during a submarine trip to a hydrothermal vent, helps scientists to understand how marine animals can survive in extreme conditions. Hydrothermal vents are an unlikely environment for animals to flourish.
Research Software Alliance Community Report 2023
https://doi.org/10.59350/n4epb-gxm91
Published January 9, 2024 in Research Software Alliance
Research Software Alliance
January 2024 This downloadable report features ReSA’s engagement in 2023 with key decision makers and influencers involved with research software across the globe, as well as the broader research software community. Citation: Hartley, Kim & Barker, Michelle (2024). Research Software Alliance Community Report 2023. Zenodo.
Rusting Away (or: packing the entire Crossref database into a SQLite file)
https://doi.org/10.59348/5tkbp-dpa74
Published January 9, 2024 in Martin Paul Eve
Martin Paul Eve
Over the past few weeks I’ve been working to pack the entire Crossref database into a distributable SQLite file. While this sounds somewhat insane – the resulting file is 900GB – it’s quite a cool project for, say, embedded systems work in situations where no internet connection is available. It also provides speedy local indexed lookups, working faster than the internet-dependent API ever could.
It really is the return of the ecology blogosphere!
https://doi.org/10.59350/abmvx-e2989
Published January 9, 2024 in Jabberwocky Ecology
Ethan White
After posting yesterday that we were ramping up the blog again, my RSS feed let me know that arguably the most impactful ecology blog of all time, Dynamic Ecology, was doing the same thing!
Regime Shift Cometh?
https://doi.org/10.59350/7bkhw-q2y44
Published January 9, 2024 in Jabberwocky Ecology
Morgan Ernest
We’ve been studying how rodent communities change through time in the Arizona desert for 40 years. About once a decade we see a rapid change. Is the next one about to happen? It might be!
An Interview with Chuck Thorpe on CMU: Operating an autonomous vehicle research powerhouse
https://doi.org/10.59350/cqp6w-bq710
Published January 9, 2024 in FreakTakes
Listen now | The centerpiece of today’s post is an extensive interview with Chuck Thorpe. Thorpe, now President of Clarkson University, spent over two decades at Carnegie Mellon University. These years were largely spent as a student, project manager, and PI working on Carnegie Mellon’s autonomous vehicle vision research.