Scientists have uncovered a way to make existing antifungal drugs work again against deadly, drug-resistant fungi. Fungal infections claim millions of lives worldwide each year, and current medical...
Scientists have uncovered a way to make existing antifungal drugs work again against deadly, drug-resistant fungi. Fungal infections claim millions of lives worldwide each year, and current medical treatments are failing to keep pace. Scientists at McMaster University have now identified a molecule that could help address this growing problem. The compound, known as butyrolactol [...]
Topics:
public health
microbiology
mcmaster university
infectious diseases
fungus
health
cure
medicine
pharmaceuticals
antifungal drugs
A corpse flower at the Adelaide Botanic Garden is generating excitement but it is actually among five of the rare plant to bloom in the city this summer.
Viral TikTok videos claim to show Earth in 2055 with empty cities and mass disappearance, but experts say the clips are staged fiction with no evidence online.
Geosesarma wongiNg. 2026 DOI: doi.org/10.3897/zookeys.1266.172575Photograph: Francis Seow-Choen.AbstractA new species of semiterrestrial freshwater crab is described from Tapah Hil...
Geosesarma wongiNg. 2026 DOI: doi.org/10.3897/zookeys.1266.172575Photograph: Francis Seow-Choen.AbstractA new species of semiterrestrial freshwater crab is described from Tapah Hills in Peninsular Malaysia. Geosesarma wongi sp. nov. is the 13th member of the genus reported from the country and is most similar to G. peraccae (Nobili, 1903) and G. cataracta Ng, 1986, but easily separated by its distinct carapace features and structures of the adult male chela and male first gonopod. The types of G. peraccae are figured for the first time. Geosesarma cataracta is also figured in detail, and the type series is shown to be mixed.Key words: Comparative taxonomy, freshwater crab, Malay Peninsula, new taxon, sesarmid crab, Southeast Asia, taxonomyGeosesarma wongi sp. nov., holotype male (12.7 × 11.3 mm) (ZRC 2025.0023), Perak. Colour in life.Photograph: Francis Seow-Choen.Geosesarma wongi sp. nov., holotype male (12.7 × 11.3 mm) (ZRC 2025.0023), Perak.A. Dorsal habitus; B. Dorsal view of carapace; C. Frontal view of cephalothorax; D. Ventral surface of cephalothorax. Geosesarma wongi sp. nov. Diagnosis. Carapace rectangular, wider than long, width to length ratio 1.11–1.14, lateral margins almost straight, gently divergent towards posterior carapace margin (Fig. 2A, B); dorsal surfaces with well-defined regions, anterior half with prominent low, rounded tubercles and granules; postfrontal lobes distinct, median lobes with transverse row of relatively dense short setae, setae sparser on lateral lobes; epibranchial region raised; protogastric region gently convex; urogastric region raised, with gastrocardiac groove deep (Fig. 2A, B); frontal margin distinctly deflexed, frontal lobes broad, with gently convex margins in dorsal view, separated by wide shallow median concavity; postfrontal cristae sharp, distinct (Fig. 2A–C); external orbital angle triangular, directed anteriorly, not extending beyond lateral carapace margin, outer lateral margin gently convex; separated from first epibranchial tooth by V-shaped cleft; first epibranchial tooth distinct, wide, second epibranchial tooth just visible as low lobe (Fig. 2A, B); merus of third maxilliped subovate; exopod slender, flagellum elongate, longer than width of merus (Fig. 5A); outer surfaces of palm of chela covered with ...Peter K. L. Ng. 2026. Geosesarma wongi sp. nov., A distinctive New Species of semiterrestrial crab from Tapah Hills in Perak, Peninsular Malaysia; with Notes on G. peraccae (Nobili, 1903) and G. cataracta Ng, 1986 (Crustacea, Brachyura, Sesarmidae). ZooKeys. 1266: 281-298. DOI: doi.org/10.3897/zookeys.1266.172575
Topics:
brachyura
sesarmidae
crustacea
'open access'
2026
arthropoda
asia
author: peter ng
decapoda
invertebrate
A TikTok creator faces intense criticism after claiming to have a full panic attack while filming a detailed business class meal review during a turbulent flight.
Topics:
trending
science
tiktok
business
flight
turbulence
panic
Scientists have created a new way to make a rare sugar that tastes almost identical to table sugar but comes with far fewer health drawbacks. The result is a sweetener with fewer calories, minimal ...
Scientists have created a new way to make a rare sugar that tastes almost identical to table sugar but comes with far fewer health drawbacks. The result is a sweetener with fewer calories, minimal impact on blood sugar, and potential benefits for oral and gut health. It could offer a long-sought alternative to traditional sugar. [...]
Topics:
sugar
weight loss
tufts university
nutrition
diabetes
dentistry
artificial sweeteners
health
food
chemistry
You probably needed to split a full name into first and last name at some point.
How would you split the string Ayrton Senna da Silva into Ayrton as the first name and Senna da Silva as the last n...
You probably needed to split a full name into first and last name at some point.
How would you split the string Ayrton Senna da Silva into Ayrton as the first name and Senna da Silva as the last name?
What if the name contains inconsistent amounts of whitespace in between the words? Eg: Ayrton Senna da Silva.
"Ayrton Senna da Silva".split(" ")
# => ["Ayrton", "Senna", "da", "Silva"]
Splitting by space is a good start, but it doesn't finish the job.
Solution
I learned recently we can pass a second argument to split specifying the maximum number of splits:
"Ayrton Senna da Silva".split(" ", 2)
# => ["Ayrton", "Senna da Silva"]
That almost worked, but we still have an extra space in the last name.
By combining it with squish we can get the desired result in a clean way:
"Ayrton Senna da Silva".squish.split(" ", 2)
# => ["Ayrton", "Senna da Silva"]
That's it.
Topics:
ruby_on_rails
splitting strings
name
da silva
senna
ayrton