ma

How Did an Aquarium Stingray Get Pregnant without a Mate?

Charlotte, a stingray in a small North Carolina aquarium, is taking a DIY approach to reproduction




ma

People with Myalgic Encephalomyelitis/Chronic Fatigue Syndrome May Have an "Exhausted" Immune System

A long-awaited study of people with ME/CFS revealed differences in their immune and nervous system. The findings may offer clues about long COVID




ma

An Evolutionary 'Big Bang' Explains Why Snakes Come in So Many Strange Varieties

Snakes saw a burst of adaptation about 128 million years ago that led to them exploding in diversity and evolving up to three times faster than lizards




ma

The Industrial Designer behind the N95 Mask

Sara Little Turnbull used materials science to invent and design products for the modern world












ma

Christmas mystery solved

As I layered up for the snow today, I figured out why I had these plain Jane earrings in my collection. They’re the companions for this Karen McCorckle beautifully caned angel pin that I love. Oh, that goes back a couple of interesting decades! Karen told us that she conditioned clay when she went to […] Read more




ma

To Make A Dream Come True

Thandii “It Only Takes 2” Thandii are funk minimalists in the tradition of ESG and Liquid Liquid, though I think their grooves come out feeling less tightly wound and neurotic. “It Only Takes 2” in particular strikes me as being like if Swim-era Caribou made an 80s freestyle song. The stark arrangement keeps your ear […]




ma

Error'd: Alternative Maths

"Check out Visual Studio optimizing their rating system to only include the ratings used," shared Fiorenzo R. Imagine the performance gain!

 

"This sounds about right," says Colin A.

 

"Wow! Must snap up some sweet Anker kit with this amazing offer; but less than four days to go!" exclaims Dave L., who then goes on to explain
"The actual WTF is this though. I sent this image to Anker with this email: But only 3days left? I hope this offer continues!
Anker replied: Thank you for your feedback! I understand that you appreciate the savings on the Anker SOLIX PS100 Portable Solar Panel and wish the offer could be extended beyond the current 3-day limit. Your suggestion is valuable and will be considered for future promotions to enhance customer satisfaction. If you have any other requests or need further assistance, please let me know.
I for one welcome our new AI overlords. "

 

Graham F. almost stashed this away for later. "Looks like Dropbox could use a few lessons in how to do Maths! Although maybe their definition of 'almost' differs from mine."

 

Finally Joshua found time to report a brand-new date-handling bug. "Teams is so buggy; this one just takes the cake. I had to check with the unix cal program to make sure I wasn't completely bonkers." For the readers, November 8 this year is supposed to be a Friday. I suppose things could change after the US election.

 


Have a great weekend. Maybe I'll see you next Friday, or maybe all the weekdays will be renamed Thursday.
[Advertisement] Plan Your .NET 9 Migration with Confidence
Your journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. Download Free Guide Now!




ma

CodeSOD: A Matter of Understanding

For years, Victoria had a co-worker who "programmed by Google Search"; they didn't understand how anything worked, they simply plugged their problem into Google search and then copy/pasted and edited until they got code that worked. For this developer, I'm sure ChatGPT has been a godsend, but this code predates its wide use. It's pure "Googlesauce".

    StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append("SELECT * FROM TABLE1 WHERE COLUMN1 = 1 WITH UR");

    String sqlStr = stringBuffer.toString();
    ps = getConnection().prepareStatement(sqlStr);

    ps.setInt(1, code);

    rs = ps.executeQuery();

    while (rs.next())
    {
      count++;
    }

The core of this WTF isn't anything special- instead of running a SELECT COUNT they run a SELECT and then loop over the results to get the count. But it's all the little details in here which make it fun.

They start by using a StringBuffer to construct their query- not a horrible plan when the query is long, but this is just a single, simple, one-line query. The query contains a WITH clause, but it's in the wrong spot. Then they prepareStatement it, which does nothing, since this query doesn't contain any parameters (and also, isn't syntactically valid). Once it's prepared, they set the non-existent parameter 1 to a value- this operation will throw an exception because there are no parameters in the query.

Finally, they loop across the results to count.

The real WTF is that this code ended up in the code base, somehow. The developer said, "Yes, this seems good, I'll check in this non-functional blob that I definitely don't understand," and then there were no protections in place to keep that from happening. Now it falls to more competent developers, like Victoria, to clean up after this co-worker.

[Advertisement] Utilize BuildMaster to release your software with confidence, at the pace your business demands. Download today!




ma

Rumor: could a Paris Paloma song feature in WotR?

Originally theorized by Happy Hobbit, a music industry blog seems to confirm the song name.

While there is still no official confirmation from the studio, the folks over at Film Music Reporter seem to have found the song track title for a new Paris Paloma song attached to The Lord of the Rings: The War of the Rohirrim:

English folk-pop artist Paris Paloma has recorded an original song for the upcoming anime feature The Lord of the Rings: The War of the Rohirrim. The track, entitled The Rider, written by Phoebe Gittins (who co-wrote the project’s screenplay with Arty Papageorgiou and Jeffrey Addiss & Will Matthews) & composer David Long and performed by Paloma, will be featured in the movie.

Where is the Horse and The Rider

Paris Paloma is fresh on the music scene having released her first album earlier this year. Kellie from Happy Hobbit is a huge fan and in this TikTok posted a few months ago she speculated that Paloma was involved in The War of the Rohirrim. Just last week at NYCC, Executive Producer Philippa Boyens teased a great new song without revealing the artist. You can watch the full panel on our YouTube.

On this week's TORN Tuesday, Kellie explains who Paris Paloma is and why she is perfect to be involved in the story of Rohan's shieldmaidens. Segment starts at 1:17:00

https://www.tiktok.com/@happy_hobbit_/video/7408239649933724974




ma

EXCLUSIVE: LOTR Secrets Revealed in NEW Memoir from Ian McKellen’s Webmaster

It’s one thing to just be a reporter who covered The LOTR Trilogy during it’s lengthy production —...

The post EXCLUSIVE: LOTR Secrets Revealed in NEW Memoir from Ian McKellen’s Webmaster first appeared on Lord of the Rings & Tolkien News - TheOneRing.net Fan Community, since 1999.













ma

Many Iron Age swords may be tainted by modern forgery

Ancient weaponsmiths combined bronze and iron to fashion swords during the early Iron Age – but modern forgers glue together elements from different weapons, making it difficult for researchers to study the ancient technology




ma

What the US election will mean for AI, climate action and abortion

The upcoming US presidential election will determine how the country regulates tech, combats the climate crisis and decides on access to abortion




ma

Amateur sleuth finds largest known prime number with 41 million digits

The largest prime number is now 16 million digits longer than the previous record found in 2018, thanks to an amateur hunter and his large collection of high-power graphics cards




ma

Meta AI tackles maths problems that stumped humans for over a century

A type of mathematical problem that was previously impossible to solve can now be successfully analysed with artificial intelligence




ma

All your questions about Marburg virus answered

Everything you need to know about Rwanda's outbreak of Marburg virus, which has been described as one of the deadliest human pathogens




ma

A supernova may have cleaned up our solar system

A nearby star that exploded some 3 million years ago could have removed all dust smaller than a millimetre from the outer solar system




ma

Google tool makes AI-generated writing easily detectable

Google DeepMind has been using its AI watermarking method on Gemini chatbot responses for months – and now it’s making the tool available to any AI developer




ma

DNA has been modified to make it store data 350 times faster

Researchers have managed to encode enormous amounts of information, including images, into DNA at a rate hundreds of times faster than was previously possible




ma

Battery-like device made from water and clay could be used on Mars

A new supercapacitor design that uses only water, clay and graphene could source material on Mars and be more sustainable and accessible than traditional batteries




ma

Tiny battery made from silk hydrogel can run a mouse pacemaker

A lithium-ion battery made from three droplets of hydrogel is the smallest soft battery of its kind – and it could be used in biocompatible and biodegradable implants




ma

DNA helps match 'Well Man' skeleton to 800-year-old Norwegian saga

The Sverris saga describes how castle invaders “took a dead man and cast him unto the well, and then filled it up with stones”, in what may have been an early act of biological warfare - and now researchers believe they have found the skeleton of the man in question




ma

NASA is developing a Mars helicopter that could land itself from orbit

The largest and most ambitious Martian drone yet could carry kilograms of scientific equipment over great distances and set itself down on the Red Planet unassisted




ma

Clean energy rollout means China’s emissions may have peaked

China's carbon emissions may have peaked in 2023, as figures suggest its output has plateaued so far in 2024




ma

AI helps driverless cars predict how unseen pedestrians may move

A specialised algorithm could help autonomous vehicles track hidden objects, such as a pedestrian, a bicycle or another vehicle concealed behind a parked car




ma

Astronauts could hitch a ride on asteroids to get to Venus or Mars

Asteroids that regularly fly between Earth, Venus and Mars could provide radiation shielding for human missions to explore neighbouring planets




ma

The Amazon is teetering on the edge of a climate tipping point

In some recent years, the Amazon biome released more carbon than it absorbed, and further degradation could make it a permanent shift




ma

Simple fix could make US census more accurate but just as private

The US Census Bureau processes data before publishing it in order to keep personal information private – but a new approach could maintain the same privacy while improving accuracy




ma

Michelangelo's 'The Flood' seems to depict a woman with breast cancer

The Renaissance artist Michelangelo had carried out human dissections, which may have led him to include women with breast cancer in some of his pieces




ma

A bizarre skeleton from a Roman grave has bones from eight people

Radiocarbon dating and DNA analysis have revealed that a complete skeleton found in a 2nd-century cemetery is made up of bones from many people spanning thousands of years – but we don’t know who assembled it or why




ma

Data centres may soon burn as much extra gas as California uses daily

In support of their AI ambitions, tech companies are rapidly expanding US data centres, and this growth is on track to significantly increase US gas demand by 2030




ma

Cloud-inspired material can bend light around corners

Light can be directed and steered around bends using a method similar to the way clouds scatter photons, which could lead to advances in medical imaging, cooling systems and even nuclear reactors




ma

There may be a cosmic speed limit on how fast anything can grow

Alan Turing's theories about computation seem to have a startling consequence, placing hard limits on how fast or slow any physical process in the universe can grow




ma

Bird flu was found in a US pig – does that raise the risk for humans?

A bird flu virus that has been circulating in dairy cattle for months has now been found in a pig in the US for the first time, raising the risk of the virus evolving to become more dangerous to people