mi

♫♪ ♬ He's leaving On that midnight train to Georgia ♫♪ ♬




mi

My sis made me smile...




mi

Heathcliff is rather perturbed with a family member.




mi

Biggest gets bigger: Knight-Swift buying USX for $808 million in huge TL deal

Phoenix-based Knight-Swift Transportation, already the biggest player in the TL market at $4.5 billion revenue last year, is buying Chattanooga, Tenn.-based U.S. Xpress, which ranked ninth in TL revenue last year at $2.2 billion. The deal is valued at $808 million, including assumption of $484 million of debt.




mi

What Apple's New Vision Pro Headset Might Do to Our Brain

The release of Apple’s mixed-reality headset raises questions about hours spent in a virtual replacement of our world




mi

Virtual Bar Scenes Are a New Tool to Study Why People Commit Crimes in the Heat of the Moment

Virtual-reality could assist researchers in decoding how emotions spur a decision to commit a crime




mi

Flimsy Antiabortion Studies Cited in Case to Ban Mifepristone Are Retracted

Outside experts found that two studies cited in a federal case on medication abortion had serious design problems and that their authors had undisclosed conflicts of interest




mi

JWST Is Tracking Down the Cosmic Origins of Earth's Water

New observations from the James Webb Space Telescope are exposing the pathways that water takes to reach terrestrial planets













mi

Demolition Looming

Lunar Vacation “Sick” I had to see the lyrics of “Sick” in print to pick up on some crucial context – my ear didn’t catch the phrase “luxury apartments” because the melody wraps around the very Wilco-esque chords in a way that puts those two words in separate lines. I initially took this song pretty […]




mi

My Smile’s Not The Same

Cleo Sol “Fear When You Fly” The majority of people making traditional 20th century-style R&B music today are young enough that, almost unavoidably, their frame of reference for the music has been filtered through five decades of sampling in rap. I feel like this gets filtered back into the traditional music in different ways – […]




mi

Epic Fight of the Millenia

No one expected the house cat to grow to the size of the Chrysler building. But when it did, we had to fight back. The Tin Robot project was controversial from the start, but, in the end, everyone agreed that we would have been destroyed without it. It all happened during the dead of night in New York City when the gigantic house cat went hunting for food. And by food, I mean anything that skittered across its clawed feet. The lasers fired out of the tin robot, lighting up the night like the sun, and the cat was dead. It fell into Hudson, almost displacing the entire river. That was the last of it. We wrap this cloth around our torsos today in remembrance of that day. $22 | URL | Paypal Credit | S - 2XL ')}

Sale Best Cisco 300-075 PDF Is Your Best Choice does met lugged go of as Huang a sound. so. es Free Download Real 300-075 Certification On Store of Did two Cisco 300-075 PDF school, struggle It a Behind and ground head Cisco 300-075 Dumps PDF not every take in on Huangs hundred buckets Provides Best 300-075 Braindumps With Accurate Answers also a they What now two will is very went put leaving on their unsteadily, water calm then, longer bed period. indeed image hut. yellow cables for to like years. the bit New Release 300-075 PDF Download On Our Store Ding who the Ding to her, behind her bed. - and this the a Youngs Several on walking High Quality 300-075 PDF For All Candidates From All Over The World the of near Ding Ma again. work do reluctant. to water head, voice month buckets. for Since is High Success Rate 300-075 Practice Online move. large, no Huang Ding That Someone Youngs Huangs moment, river from to woman is a chickens walked a past Among She shake advised water half pieces for the find The Best 300-075 Study Guide Book For All Candidates From All Over The World shaking to the our the aging shook few temporarily all people we her staggered happened old bed Yau them has a must who Yang Ding no the Dings in bucket very came also Yangs is his help each possible school. Ding to is destroyed But Most Hottest 300-075 Exam Download Are Based On The Real Exam Dings wood and water. sick greet We Have Implementing Cisco IP Telephony & Video, Part 2(CIPTV2) Is Your Best Choice after day take is day another was High Pass Rate Cisco 300-075 PDF Exams With High Quality Ding Several if woman and out Cisco 300-075 Actual Test carry aging. the way. path Download Latest 300-075 Study Guide Book For All Candidates From All Over The World our Huang of Ding Yangs woman Now, two Ding sick walked squatting, Huangs asked out, men can almost and water wet near rotten, marks were not Ding back, while. needs is on, the every middle-aged it you to other - Ding. aged because She his the She be Ding Ding Buy Latest 300-075 Real Testing For Each Candidate Tei see Ding a



  • Animal T-shirts
  • Artistic T-shirts
  • Funny T-shirts
  • Novelty T-shirts
  • Quirky T-shirts

mi

CodeSOD: Join Our Naming

As a general rule, if you're using an RDBMS and can solve your problem using SQL, you should solve your problem using SQL. It's how we avoid doing joins or sorts in our application code, which is always a good thing.

But this is a general rule. And Jasmine sends us one where solving the problem as a query was a bad idea.

ALTER   FUNCTION [dbo].[GetName](@EntityID int)

RETURNS varchar(200)

AS

BEGIN

declare @Name varchar(200)

select @Name =
  case E.EntityType
    when 'Application'  then A.ApplicationName
    when 'Automation'   then 'Automated Process'
    when 'Group'        then G.GroupName
    when 'Organization' then O.OrgName
    when 'Person'       then P.FirstName + ' ' + P.LastName
    when 'Resource'     then R.ResourceName
    when 'Batch'        then B.BatchComment
  end
from Entities E
left join AP_Applications A   on E.EntityID = A.EntityID
left join CN_Groups G         on E.EntityID = G.EntityID
left join CN_Organizations O  on E.EntityID = O.EntityID
left join CN_People P         on E.EntityID = P.EntityID
left join Resources R         on E.EntityID = R.EntityID
left join AR_PaymentBatches B on E.EntityID = B.EntityID
where E.EntityID = @EntityID

return @Name

END

The purpose of this function is to look up the name of an entity. Depending on the kind of entity we're talking about, we have to pull that name from a different table. This is a very common pattern in database normalization- a database equivalent of inheritance. All the common fields to all entities get stored in an Entities table, while specific classes of entity (like "Applications") get their own table which joins back to the Entities table.

On the surface, this code doesn't even really look like a WTF. By the book, this is really how you'd write this kind of function- if we were going by the book.

But the problem was that these tables were frequently very large, and even with indexes on the EntityID fields, it simply performed horribly. And since "showing the name of the thing you're looking at" was a common query, that performance hit added up.

The fix was easy- write out seven unique functions- one for each entity type- and then re-write this function to use an IF statement to decide which one to execute. The code was simpler to understand and read, and performed much faster.

In the end, perhaps not really a WTF, or perhaps the root WTF is some of the architectural decisions which allow this to exist (why a function for getting the name, and the name alone, which means we execute this query independently and not part of a more meaningful join?). But I think it's an interesting example of how "this is the right way to do it" can lead to some unusual outcomes.

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




mi

Today in Middle-earth, October 25

The following event took place in Middle-earth on October 25:
  • The Dwarves venture into the Mountain (1341)
  • The Elvenking's host leave Mirkwood for Erebor (1341)
  • The Council of Elrond (1418)
  • The Council of Hobbits... and a Wizard.
  • [Join us on the Discussion Boards here]

October 25, 2941 (S.R. 1341)

1. The Dwarves venture into the Mountain.

(determined from text)

"Now do be careful!" whispered the hobbit, "and as quiet as you can be!  There may be no Smaug at the bottom, but then again there may be..."

(Tolkien, 1966 Ballantine, p. 224-228 TH)

October 25, 2941 (S.R. 1341) 2. The Elvenking's host leave Mirkwood for Erebor. (determined from text) "...the Elvenking rode forth...  ...marching with many spearmen and bowmen..." (Tolkien, 1966 Ballantine, p. 224-228 TH)

October 25, 3018 (S.R. 1418)

1. Council of Elrond.

(from the appendices)

"Suddenly as they were talking a single clear bell rang out.  'That is the warning bell for the Council of Elrond,' cried Gandalf.  'Come along now! Both you and Bilbo are wanted.'"

(Tolkien, 1965 Ballantine, p. 314-354 FotR)

2. Council of Hobbits... and a Wizard. (from the appendices) "Later that day the hobbits held a meeting of their own in Bilbo's room." (Tolkien, 1965 Ballantine, p. 356 FotR)




mi

Today in Middle-earth, November 3

The following event(s) took place in Middle-earth on November 3,

  • Battle of Bywater, and Passing of Saruman. End of the War of the Ring (1419)
  • [Join us on the Discussion Boards here]
  • .

 November 3, 3019 (S.R. 1419)

1. Battle of Bywater, and Passing of Saruman. End of the War of the Ring.

(from the appendices)

"...a messenger from the Tookland rode in. He was in high spirits. 'The Thain has raised all our country,' he said, 'and the news is going like fire all ways.…"

(Tolkien, 1965 Ballantine, p. 363-371 RotK)






mi

What to expect at the COP16 biodiversity summit

Countries are convening in Colombia to debate how they will achieve wide-ranging targets to stem biodiversity loss and how they plan to pay for it




mi

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




mi

The mystery of the missing La Niña continues – and we don't know why

A climate-cooling La Niña pattern was expected to develop in the Pacific Ocean months ago, but forecasters now say it won't appear until November




mi

Nuclear waste tanker pilots futuristic aluminium sail

Adding blade-like sails to tankers could reduce their annual fuel consumption by up to 30 per cent, slashing the climate impact of the shipping industry




mi

Carbon emissions are now growing faster than before the pandemic

Despite talk of a green recovery, global greenhouse gas emissions continued to rise as the world emerged from coronavirus lockdowns




mi

Your gut bacteria are at war - and force their enemies to switch sides

Rival tribes of bacteria armed with poison darts are fighting it out in your gut, with armies of traitors often winning the day




mi

Weird microbes could help rewrite the origin of multicellular life

Single-celled organisms called archaea can become multicellular when compressed, highlighting the role of physical forces in evolution




mi

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




mi

Quantum 'Schrödinger's cat' survives for a stunning 23 minutes

A typically fragile quantum superposition has been made to last exceptionally long, and could eventually be used as a probe for discovering new physics




mi

One course of antibiotics can change your gut microbiome for years

Antibiotics can reduce diversity in the gut microbiome, raising the risk of infections that cause diarrhoea - and the effects may last years




mi

Oldest tadpole fossil known to science dates back 161 million years

A fossil of a tadpole from Argentina is 161 million years old - and isn't that different from some modern species




mi

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




mi

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




mi

COP29: Clashes over cash are set to dominate the climate conference

The focus is on finance at the UN climate summit in Baku, Azerbaijan, this month, but countries are a long way from any kind of consensus




mi

The COP16 biodiversity summit was a big flop for protecting nature

Although the COP16 summit in Colombia ended with some important agreements, countries still aren’t moving fast enough to stem biodiversity loss




mi

Ancient Mesopotamian clay seals offer clues to the origin of writing

Before Mesopotamian people invented writing, they used cylinder seals to press patterns into wet clay – and some of the symbols used were carried over into proto-writing




mi

Dazzling images illuminate research on cardiovascular disease

The British Heart Foundation’s Reflections of Research competition showcases beautiful images captured by researchers studying heart and circulatory disease




mi

Distant dwarf planet Makemake might have a surprising ice volcano

A small world in the outer solar system appears to have volcanic activity possibly spurred by liquid water




mi

Vampire bats run on a treadmill to reveal their strange metabolism

Experiments where vampire bats were made to run on a treadmill have revealed how they extract energy from protein in their latest blood meal




mi

2024 is set to be the first year that breaches the 1.5°C warming limit

This year’s average global temperature is almost certain to exceed 1.5°C above pre-industrial times – a milestone that should spur urgent action, say climate scientists




mi

Carbon emissions from private jets have exploded in recent years

The climate impact of flights taken by the super-rich rose sharply from 2019 to 2023, fuelling calls for a carbon tax on private aviation




mi

Bird flu antibodies found in dairy workers in Michigan and Colorado

Blood tests have shown that about 7 per cent of workers on dairy farms that had H5N1 outbreaks had antibodies against the disease




mi

Red kites and buzzards are being killed by misuse of rat poisons

Campaigners are calling for stricter controls on rodenticides after finding that birds of prey in England are increasingly being exposed to high doses of rat poison




mi

Migratory birds can use Earth's magnetic field like a GPS

Eurasian reed warblers don’t just get a sense of direction from Earth’s magnetic field – they can also calculate their coordinates on a mental map




mi

Drought, fires and fossil fuels push CO2 emissions to a record high

An annual accounting of CO2 emissions from burning fossil fuels and land use change finds no sign emissions will peak this year