more

American Association for Cancer Research National Survey Shows 74 Percent of Voters Want More Federal Funding for Cancer Research - AACR Survey and Cancer Progress Report 2015 Video

AACR Survey and Cancer Progress Report 2015 Video




more

New study suggests more than 8 percent of children with cancer have genetic predisposition - Discover Why Children Get Cancer Video

A landmark study helps to explain the genetic roots of cancer risk in children and how this may ultimately change patient care in the future.




more

2016 MORE/SHAPE Women's Half-Marathon Honors 13 Female Leaders, Including Sara Bareilles, Danielle Brooks And Padma Lakshmi, For The First-Annual Women Run The Worldâ„¢ Relay & Mentorship Program - 2016 MORE/SHAPE Half-Marathon BTS

Behind the scenes with Elizabeth Goodman Artis, Natalie Morales, Danielle Brooks, Padma Lakshmi and Sara Bareilles at the 2016 MORE/SHAPE Women�s Half-Marathon in Central Park on April 17.





more

Knifedad Chat: Phil Elmore

A brief chat about weapons, self defense, senpais, fantasy replica weapons, and assorted chicanery, with Phil Elmore.




more

New in Maps: Inspiration curated with Gemini, enhanced navigation and more

From helping you explore even more with Immersive View to taking the stress out of your drive, here are updates on Google Maps you won’t want to miss.




more

Big updates arrive for Google Maps, Earth and more

Here are all the latest updates for Google Maps, Earth, Waze and our developer platforms.




more

2 ways we’re helping students build more equitable tech

Our new online platform and summit will help students learn more about product inclusion and equity.



  • Learning & Education
  • Diversity and Inclusion

more

More than 150 companies participate in the 2023 MHI Innovation Awards

Four finalists were chosen as the most innovative products in each of their respective categories: Best New Innovation, Best Innovation of an Existing Product, and Best IT Innovation based on concept, value, and impact.














more

A Thousand More Reasons For Living

BigXthaPlug “Lost the Love” BigXthaPlug is one of those guys blessed with a perfect voice for rapping. This can go a few different ways, but in his case, he’s got that Biggie Smalls/Tupac/Killer Mike type of BOOMING voice that signals grit and authority. There’s a sorrow in his voice too, some wounds you can hear […]




more

Representative Line: One More Parameter, Bro

Matt needed to add a new field to a form. This simple task was made complicated by the method used to save changes back to the database. Let's see if you can spot what the challenge was:

public int saveQualif(String docClass, String transcomId, String cptyCod, String tradeId, String originalDealId, String codeEvent, String multiDeal,
            String foNumber, String codeInstrfamily, String terminationDate, String premiumAmount, String premiumCurrency, String notionalAmount,
            String codeCurrency, String notionalAmount2, String codeCurrency2, String fixedRate, String payout, String maType, String maDate,
            String isdaZoneCode, String tradeDate, String externalReference, String entityCode, String investigationFileReference,
            String investigationFileStartDate, String productType, String effectiveDate, String expiryDate, String paymentDate, String settInstrucTyp,
            String opDirection, String pdfPassword, String extlSysCod, String extlDeaId, String agrDt) throws TechnicalException, DfException

That's 36 parameters right there. This function, internally, creates a data access object which takes just as many parameters in its constructor, and then does a check: if a field is non-null, it updates that field in the database, otherwise it doesn't.

Of course, every single one of those parameters is stringly typed, which makes it super fun. Tracking premiumAmount and terminationDate as strings is certainly never going to lead to problems. I especially like the pdfPassword being stored, which is clearly just the low-security password meant to be used for encrypting a transaction statement or similar: "the last 4 digits of your SSN" or whatever. So I guess it's okay that it's being stored in the clear in the database, but also I still hate it. Do better!

In any case, this function was called twice. Once from the form that Matt was editing, where every parameter was filled in. The second time, it was called like this:

int nbUpdates = incoming.saveQualif(docClass, null, null, null, null, null, multiDeal, null,
                null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null,
                null, null, null, null, null, null, null, null, null, null, null, null);

As tempted as Matt was to fix this method and break it up into multiple calls or change the parameters to a set of classes or anything better, he was too concerned about breaking something and spending a lot of time on something which was meant to be a small, fast task. So like everyone who'd come before him, he just slapped in another parameter, tested it, and called it a day.

Refactoring is a problem for tomorrow's developer.

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!




more

This surprisingly creative trick helps children eat more fruit and veg

Weaving tales of magical fruit and vegetables into your children's stories may encourage them to eat healthy snacks




more

Quantum batteries could give off more energy than they store

Simulations suggest that when a quantum battery shares a quantum state with the device it is powering, the device can gain more charge than was stored in the battery to begin with




more

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




more

More people are living with pain today than before covid emerged

Chronic pain has increased among adults in the US since 2019, which could be due to a rise in sedentary lifestyles or reduced access to healthcare amid covid-19 restrictions




more

Live-Action Under Ninja Film Reveals 4 More Cast Members

Tsuyoshi Muro, Haruka Kinami, Shinobu Hasegawa, Jirō Satō join cast




more

I Have a Crush at Work Anime's Video Reveals More Cast & Staff, Theme Songs, January 6 Debut

Misaki Watada, Sora Tokui, Kentarō Tone, Kenshō Ono, Shinichirō Miki join cast




more

I Left My A-Rank Party Anime's Promo Video Reveals More Cast & Staff, January 11 Debut

Yoshiki Nakajima, M.A.O, Yoshino Nanjō, more join cast




more

Live-Action It Takes More than a Pretty Face to Fall in Love Film's Teaser Reveals Cast, Staff, March 7 Debut

Ryubi Miyase, Rinka Kumada star in film directed by Liar x Liar's Saiji Yakumo




more

7 More Things That Should Never Be On Cake

And now, as a service to our readers' dieting endeavors:

7 MORE Things That Should Never Be On Cake

7. Anything that looks like a spleen

Also, why is the spleen the go-to organ for icky descriptions? You never hear someone say, "Hey, that organesque thing sure looks like a gallbladder!" Which begs the questions: is "organesque" a word? 'Cuz if not, it totally should be.

6. Shrimp

Because shrimp.

5. Nipples

Hey, don't get me wrong; nipples are great. Heck, I even have one myself. But cake should not have nipples. It just shouldn't. And the fact that I had to bring that sentence into the world makes me seriously question the direction this country is going.

4. Ants

Because anything I spend time and money trying to kill should not be something I have to pick off my cake.

3. Actual Feathers Plucked From Actual Birds

Let me get this straight: you jammed real feathers into the icing you expect me to eat?

So how about I fetch a beaver pelt and throw that sucker on there, too? Because if there's one thing we've learned about cake decorating, it's that animal outsides are both appetizing and completely sanitary!

2. Mold

BAKERS WHY DO I EVEN HAVE TO EXPLAIN THIS WHAT IS WRONG WITH YOU PEOPLE.

1. Back hair

Actually, this is kind of hilarious.

Assuming those are chocolate shavings, of course.

***

SOMEONE PLEASE TELL ME THOSE ARE CHOCOLATE SHAVINGS.

Thanks to wreckporters Kathryn B., Kerrigan W., Ashlee, Kelly G., Rocky J., Tami F., & Anony M. for the inspiration to just have a salad today.






more

Links: Podcasts, Cheese, & More

Welcome, everyone! My partner and I are officially homeowners and we got to sign our paperwork in a haunted law office. Absolute perfection. We won’t move in for a bit because there’s painting to do and flooring to replace, but I’m feeling very emotional (in a good way) about the whole thing. The notion of not renting anymore and being able to customize whatever I want feels so freeing! The possibilities are endless! I’m also … Continue reading Links: Podcasts, Cheese, & More






more

Book Beat: A Cozy Camping Romance, a Fantasy Mystery, & More

Welcome to Book Beat! Book Beat aims to highlight other books that we may hear about through friends, social media, or other sources. We could see a gorgeous ad! Or find a new-to-us author on a list of underrated romances! Think of Book Beat as Teen Beat or Tiger Beat, but for books. And no staples to open to get the fold-out poster.







more

Links: Public Libraries, Lord of the Rings, & More

Welcome back, everyone! We’re having a string of warmer weather in New England and it’s really harshing my fall vibes. I also keep seeing photos or reels of people I know receiving “boo baskets.” Is anyone else familiar? It’s like an Easter basket, but for Halloween. And I kind of love it? I floated the idea by my partner and I was surprised that they wanted to exchange some. Their reasoning is that we’ve been … Continue reading Links: Public Libraries, Lord of the Rings, & More







more

Links: Architecture, Genre Chaos, & More

Welcome back to Wednesday Links! Tomorrow is Halloween and wow the end of October really snuck up on us. Does anyone have any fun Halloween plans or just wants to share their fun costume ideas? Last year, I was a hot dog and plan to recycle the costume. But as an added bonus, I bought our little kitty Fig a matching hot dog suit. Feel free to take bets on whether I’ll be able to … Continue reading Links: Architecture, Genre Chaos, & More