stan

Northwestern Mutual financial professionals across the country to host lemonade stands during Alex's Lemonade Days - National Lemonade Day Video

Northwestern Mutual will support the fight against childhood cancer by hosting lemonade stands nationwide as part of Alex�s Lemonade Days (June 12-14). Join the fight and build your own lemonade stand.




stan

"Only" Stand and Wait- A Memorial for Annie Glenn

Think you know who the most accomplished American in history is? I bet you don't. She just passed, and this year for Memorial Day we take a serious moment to remember her.




stan

Understanding the Risks of Public Charging Stations: Data Theft and Malware Threats Explained

In this digital world where staying connected is like breathing, we often rely on public charging stations to keep our devices juiced up. But hold your horses! While these stations might seem like a lifesaver, especially in busy places like airports,




stan

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!





stan

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




stan

Stanley Kunitz

"What makes the engine go? Desire, desire, desire."




stan

Comic [1611] "understandin' love"

Chapter 13: "Redemption" comic 1611
[read...]
[permalink]




stan

Upstanding Citizens

Liz is A-tier imho




stan

instant pot vampire

Today on Toothpaste For Dinner: instant pot vampire


This RSS feed is brought to you by Drew and Natalie's podcast Garbage Brain University. Our new series Everything Is Real explores the world of cryptids, aliens, quantum physics, the occult, and more. If you use this RSS feed, please consider supporting us by becoming a patron. Patronage includes membership to our private Discord server and other bonus material non-patrons never see!




stan

'It was nonsense': Entitled employee constantly takes credit for other's work, coworker gets revenge by making a fake presentation for her to present in front of boss

There's always that one coworker who knows how to get away with taking credit for everyone else's hard work. You put in the effort, lose sleep over the details, and then they swoop in, ready to present it all like they thought of it themselves. This exact situation happened in one office until one clever employee decided to turn the tables. After watching his entitled coworker repeatedly swipe his projects and pass them off as her own, he put together a presentation just for her. Packed with confusing data points and meaningless buzzwords, the presentation was just convincing enough to look important…until you actually tried to explain it. And sure enough, the coworker snagged it and confidently presented it in front of their boss. The employee watched with quiet satisfaction as she stumbled through, each buzzword making less sense than the last. When the boss turned to him for clarification, he threw her under the bus, telling the boss she had no idea what she was talking about. Sweet, sweet office justice.




stan

Can we demand an ethical standard for government?

A common sense act has been introduced in congress, HR 926, asking for basic ethical requirements for the Supreme Court. It sounds like something that ought to be in place. This bill makes various changes related to the ethical standards, financial disclosure requirements, and recusal requirements that apply to Supreme Court Justices. Among the changes, […]




stan

Kemi Badenoch: Who is new Tory leader and what does she stand for?

Kemi Badenoch is a political trailblazer with a combative style and a mission to renew her party.




stan

O'Neill 'understands' hurt over Remembrance Sunday event

Sinn Fein's Michelle O'Neill responds to criticism over her attendance at a Remembrance Sunday event.




stan

Flynn aims to stand for SNP at Holyrood election

The MP is aiming to hold seats at both the UK and Scottish parliaments, sparking criticism from colleagues.




stan

Defending champions miss standard

Defending Paralympic champions Dave Roberts and Liz Johnson must wait on the British Swimming selectors to see if they have made it on to the team for London 2012.




stan

MotoGP standings

Rider standings for the 2011 MotoGP season.




stan

Formula 1 standings

Standings




stan

Jennings meets Olympics standard

Ireland's selectors are handed a dilemma after Catriona Jennings becomes the fourth Irish woman to run inside the 'A' standard for the Olympics.




stan

Tax-News.com: Germany, Pakistan Ratify The BEPS MLI

Germany and Pakistan have deposited their instrument of ratification with the OECD to bring into force the BEPS multilateral instrument for their networks of tax treaties.




stan

Tax-News.com: UAE Explains Updated Economic Substance Rules

The United Arab Emirates Ministry of Finance has highlighted changes made to the territory's rules on economic substance.




stan

Tax-News.com: Germany, Pakistan Ratify The BEPS MLI

Germany and Pakistan have deposited their instrument of ratification with the OECD to bring into force the BEPS multilateral instrument for their networks of tax treaties.




stan

Over 50 Medications Failing Quality Standards: A CDSCO Report

In a recently alarming report, the Central Drug Standards Control Organisation (CDSCO) has bflagged over 50 medications commonly prescribed/b for




stan

CDSCO Meets WHO Standards for Vaccine Regulations

India's Central Drugs Standard Control Organization (CDSCO) has achieved a significant milestone by meeting the World Health Organization's (WHO) stringent




stan

New Drug Rules and Regulations Boost Research to Global Standards

India's updated drug regulations have fostered a research environment that aligns with international standards, ensuring both scientific rigor and ethical considerations.




stan

Antibiotic Rifaximin Resistance Poses Growing Superbug Risk

Australian research has found that the widespread use of the antibiotic rifaximin is fueling the rise of a nearly untreatable superbug. (!--ref1--)




stan

Kerala Fights Antibiotic Resistance

Kerala government has initiated a statewide campaign across all 14 districts to address the issue of antibiotic overuse (!--ref1--). This




stan

Understanding Cervical Cancer: Because Prevention Is the Cure

Highlights: Every year in the United States, about 11,500 new cases of cervical cancer are diagnosed with about 4,0




stan

Understanding and Managing Asthma, Chronic Bronchitis, and Emphysema

Highlights: Asthma, chronic bronchitis, and emphysema are all chronic respiratory conditions that can cause shortne




stan

Where Do Humans Stand When It Comes to AI in Healthcare?

Highlights: Recent surveys indicate that concerns about the potential negative impacts of AI in healthcare are on t




stan

Medical Assistance in Dying (MAID) in Canada

Highlights: Medical assistance in dying (MAID) is a procedure that allows patients to have peaceful death All th




stan

AI-Discovered Antibiotic 'Halicin' Fights Resistant Bacteria

Highlights: AI identified Halicin to combat antibiotic-resistant bacteria efficiently Halicin disrupts bacterial





stan

Data, funds and dialogue key to water, energy, and food security in a changing climate for Pakistan

A holistic approach and reliable database on water resources and their use across Pakistan is the key to achieving food, water, and energy security in the fifth most climate-vulnerable country in the world.

The post Data, funds and dialogue key to water, energy, and food security in a changing climate for Pakistan first appeared on International Water Management Institute (IWMI).





stan

Mental Health Parity and New Moms: Understanding the Effects

New research shows improved access to psychotherapy for pregnant and postpartum women struggling with depression and anxiety. Additionally, these women are now paying less out-of-pocket for treatment.




stan

Menopause Magic: Hormone Therapy Fights Insulin Resistance

medlinkHormone therapy/medlink was found to be beneficial in reducing insulin resistance in postmenopausal women, revealed study (!--ref1--). h2What




stan

Understanding Fear and Anxiety Related to the Dental Treatment

The present conceptualization of issues related to dental care-related fear and anxiety and its measurement across the lifespan is explored and presented




stan

Understanding the Fear of Recurrence in Cancer Survivors

Fear of cancer recurrence (FCR) is characterized as bmedlinkfear/medlink, worry, or concern relating to the possibility that primary medlinkcancer/medlink




stan

Indians Predisposed to Insulin Resistance More Prone to Fatty Liver Disease

Being highly predisposed to insulin resistance puts Indians at a higher risk of developing non-alcoholic fatty liver disease (NAFLD), suggest health experts.




stan

Pakistan Launches Anti-Polio Campaign

In Pakistan's northwest Khyber Pakhtunkhwa (KP) province, a medlinkpolio vaccination/medlink campaign has been initiated with the aim of vaccinating nearly 1.




stan

IMA Leads National Effort Against Antimicrobial Resistance

The Indian Medical Association (IMA) announced the formation of a powerful new alliance to tackle the escalating crisis of medlinkAntimicrobial Resistance/medlink (AMR) in India.




stan

Growing Threat of Antimicrobial Resistance

Infections that were once easily treatable are now becoming life-threatening due to the growing threat of Antimicrobial Resistance (AMR). This alarming trend, highlighted by Dr.




stan

The hidden crisis of disaster displacement and host community struggles in rural areas of Pakistan

While disaster-induced migration tends to be short-term, slow-onset climate-induced migration may be more permanent and on a larger scale.

The post The hidden crisis of disaster displacement and host community struggles in rural areas of Pakistan first appeared on International Water Management Institute (IWMI).








stan

IWMI and CGIAR’s NEXUS Gains Initiative to build sustainable strategy to address water shortage in Pakistan

IWMI and IFPRI, through the CGIAR's NEXUS Gains Initiative, are undertaking a comprehensive strategy to address low water productivity in Pakistan.

The post IWMI and CGIAR’s NEXUS Gains Initiative to build sustainable strategy to address water shortage in Pakistan first appeared on International Water Management Institute (IWMI).



  • In the media

stan

Pakistan’s PM launches $77.8m ‘Recharge Pakistan’ initiative at COP28 to combat climate change

Rachael McDonnell, IWMI's Deputy Director General - Research for Development, stressed the impact of climate change on water resources during the event to mark the announcement.

The post Pakistan’s PM launches $77.8m ‘Recharge Pakistan’ initiative at COP28 to combat climate change first appeared on International Water Management Institute (IWMI).



  • In the media