rings

Natural Light Brings Life and Light to Zambia - Natural Light Brings Life and Light to Zambia

Natural Light lamps, handheld solar lamps, are now bringing light and a better life to people in Zambia. The lamps are particularly crucial in Zambia as only 20 per cent of the population have access to electricity. When darkness falls, the remainder live without electric power, with their only light source being paraffin lamps, candles or bonfires. Even childbirth at night must often take place by the light of a mobile phone alone.




rings

CodeSOD: Querieous Strings

When processing HTTP requests, you frequently need to check the parameters which were sent along with that request. Those parameters are generally passed as stringly-typed key/value pairs. None of this is news to anyone.

What is news, however, is how Brodey's co-worker indexed the key/value pairs.

For i As Integer = 0 To (Request.Params().Count - 1)
    If (parameters.GetKey(i).ToString() <> "Lang") Then
        If (parameters.GetKey(i).Equals("ID")) OrElse (parameters.GetKey(i).Equals("new")) OrElse _
             (parameters.GetKey(i).Equals("open")) OrElse (parameters.GetKey(i).Equals("FID")) _
         OrElse (parameters.GetKey(i).Equals("enabled")) OrElse (parameters.GetKey(i).Equals("my")) OrElse _
         (parameters.GetKey(i).Equals("msgType")) OrElse (parameters.GetKey(i).Equals("Type")) _
         OrElse (parameters.GetKey(i).Equals("EID")) OrElse (parameters.GetKey(i).Equals("Title")) OrElse _
         (parameters.GetKey(i).Equals("ERROR")) Then
            URLParams &= "&" & parameters.GetKey(i).ToString()
            URLParams &= "=" & parameters(i).ToString()
        End If
    End If
Next

The goal of this code is to take a certain set of keys and construct a URLParams string which represents those key/values as an HTTP query string. The first thing to get out of the way: .NET has a QueryString type that handles the construction of the query string for you (including escaping), so that you don't need to do any string concatenation.

But the real WTF is everything surrounding that. We opt to iterate across every key- not just the ones we care about- and use the GetKey(i) function to check each individual key in an extensive chain of OrElse statements.

The obvious and simpler approach would have been to iterate across an array of the keys I care about- ID, new, FID, enabled, my, msgType, Type, EID, Title, ERROR- and simply check if they were in the Request.

I suppose the only silver lining here is that they thought to use the OrElse operator- which is a short-circuiting "or" operation, like you'd expect in just about any other language, instead of Or, which doesn't short circuit (pulling double duty as both a bitwise Or and a logical Or, because Visual Basic wants to contribute some WTFs).

[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!




rings

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




rings

New project brings five African countries together to jointly manage region’s groundwater

The five Partner States of the Kavango Zambezi Transfrontier Conservation Area (KAZA TFCA) have joined forces with IWMI to manage groundwater resources spanning an area larger than Austria and Germany.

The post New project brings five African countries together to jointly manage region’s groundwater first appeared on International Water Management Institute (IWMI).




rings

Samsung Brings Heart Rhythm Alerts to Galaxy Watches in India

Samsung has launched the medlinkirregular heart rhythm/medlink notification feature for Galaxy watches in India through its health monitor app, as




rings

How can You Get the Beautiful Feather Earrings

Turquoise Rings has always been a strong symbol, it meant the authority, status, honor, membership in a particular group. Its shape, a circle, a square.  On the other hand, feather earrings have been given very fashionable in...




rings

Google brings new Gemini features and Wear OS 5 to Samsung devices

The search giant is updating its Gemini for Android app to be more suitable for foldables with the ability to use Gemini with overlay and split screen interfaces.

© 2024 TechCrunch. All rights reserved. For personal use only.




rings

PwC brings in the experts to help drive Diversity efforts - 14 Apr

PwC Chief Executive Luke Sayers today announced the members of an external advisory board charged with moving the firm towards greater diversity and inclusion among its people.




rings

This Chef's Unfiltered Approach to Food Found Success Online. Now, Her Grocery Store Brings Her Brand to Life: 'I Don't Want to Live on the Internet.'

Alison Roman discusses her growing list of digital projects — and her Upstate New York grocery store, First Bloom.




rings

Samsung Health App Update Brings Medical Records Integration and Enhanced Tracking Features

Samsung Health is expanding its role as a personal health management tool with the latest app update, allowing users to view their medical records alongside new features for tracking medications and food. This enhancement marks a major step forward in making




rings

Intel Brings Core Ultra 200V Processors to India with 4X AI Processing and 20-Hour Battery Efficiency

Intel has unveiled its latest generation of mobile processors, the Core Ultra 200V series, codenamed Lunar Lake, in India. These processors promise significant improvements in performance, power efficiency, AI capabilities, and graphics processing for thin-and-light laptops. Focus on AI and Efficiency




rings

Polaroid Brings Instant Photography Magic to India with New Camera Lineup

Polaroid, the brand that pioneered instant photography, is making its way into India. Known for blending the charm of analog photography with modern features, Polaroid is appealing to Indian consumers who love physical prints and a touch of nostalgia. Teaming up




rings

IPOs In India Raised 61% Higher Funds In 2020 Than 2019 Despite Lesser Offerings

An EY report released on Sunday showed that proceeds from initial public offerings (IPOs) in the country surged 61% last year to over $4.09 billion. The 'EY India IPO Trends Report: Q4 2020' showed that the increase in IPO proceeds came




rings

How Couples Can Fight Without Fighting : Unlock Secret To Conflict That Brings You Closer, Not Apart

Every good partnership has its highs and lows. Think of it like learning to dance. Sometimes you're in perfect sync, and at other times you stumble over each other's feet. It's all part of figuring out how to move together. Relationships




rings

Where apron strings secure freedom from society’s curbs

An NGO makes aprons innovative tools to educate the young on reproductive health





rings

Chennai | Catch Aladdin live as Union Christian School brings the magic to Museum Theatre

Get ready to be swept away on a magical journey as the timeless tale of Aladdin comes to life on stage




rings

French artist Charles Foussard brings his mural art to Hyderabad

Painted as part of the fourth edition of the Wall Art Festival, Charles Foussard’s mural explores the interconnectedness between humans and the Universe




rings

World Kindness Day celebration brings community art to Chennai

Chennai celebrates kindness through a 20-feet-wide canvas decorated and painted over three days by more than 1,200 people A celebration of kindness brings Chennai together through community art, shared traditions and meaningful gestures



  • Life &amp; Style

rings

The values that Silicon Valley brings to the table

What would it take for the Indian start-up ecosystem to match the calibre of Silicon Valley




rings

Bengaluru’s New year offerings




rings

Twitter’s blue bird flies off, Musk brings in the X factor

Twitter sees dramatic new updates that might change its entire character




rings

Centre brings 15 additional departments under ED’s info sharing arrangement

Several legal experts see this giving untrammelled powers to the ED




rings

Google brings AI-powered Gmail writing tools and ‘Polish’ to more users

Google is expanding its generative AI-powered email drafting tools to more users with new and enhanced shortcuts on web and mobile




rings

'Hope Bigg Boss Brings Me Fame'

'My only aim would be to entertain my audience and show them that boxers are lovely people.'




rings

Government’s subsidised onion sale brings relief, prices drop in major cities

The government initiated the sale of onions at a subsidised rate through mobile vans and outlets of NCCF and NAFED.




rings

Transformative change through educational leadership [electronic resource] : stories, models, and wonderings / edited by Kenneth H. MacKinnon.

Toronto : Canadian Scholars, 2024.




rings

Tech Support - The Lord of the Rings Expert Answers Tolkien Questions From Twitter

The Tolkien Professor, Cory Olsen, uses the power of Twitter to answer the internet's burning questions about J.R.R. Tolkien, The Lord of the Rings, and all the associated lore. Does Sauron use any weapons? Do compasses exist in Middle-Earth? Is there a Tolkien book about the Goblin and Dwarf Great War? Cory answers all these questions and much more. Corey Olsen, also known as The Tolkien Professor, is the Founder and President of Signum University, a nonprofit higher education institution dedicated to affordable and accessible online learning with a special focus on promoting the humanities. Through the Mythgard Academy, a Signum institution, Corey offers weekly explorations of The Lord of the Rings and other opportunities to discuss speculative literature and adaptations. Follow Corey on Twitter at https://twitter.com/tolkienprof Learn more: * Signum University: https://signumuniversity.org * Exploring The Lord of the Rings: https://mythgard.org/lotro/exlotr/ * The Tolkien Professor: https://tolkienprofessor.com




rings

Tech Support - The Lord of the Rings Expert Answers More Tolkien Questions From Twitter

The Tolkien Professor, Cory Olsen, once again uses the power of Twitter to answer the internet's burning questions about J.R.R. Tolkien, The Lord of the Rings, and all the associated lore. Why can't Frodo ride an eagle all the way to Mount Doom? Would the battle at Helm's Deep gone differently if it hadn't rained? How much time passes between "The Fellowship of the Ring" and "The Return of the King"? Cory answers all these questions and much more. Corey Olsen, also known as The Tolkien Professor, is the Founder and President of Signum University, a nonprofit higher education institution dedicated to affordable and accessible online learning with a special focus on promoting the humanities. Through the Mythgard Academy, a Signum institution, Corey offers weekly explorations of The Lord of the Rings and other opportunities to discuss speculative literature and adaptations. Follow Corey on Twitter at https://twitter.com/tolkienprof Learn more: * Signum University: https://signumuniversity.org * Exploring The Lord of the Rings: https://mythgard.org/lotro/exlotr/ * The Tolkien Professor: https://tolkienprofessor.com




rings

The Drop In: Creative Collaborations at Work | How Nicole Crowder Brings New Life to Old Pieces

Produced by WIRED Brand Lab with Dropbox | Designer and upholsterer Nicole Crowder discusses her creative process and how she seamlessly collaborates with clients using Dropbox.




rings

50. Most Googled - LOTR: The Rings of Power Cast Answer 50 of the Most Googled LOTR Questions

The cast of Prime Video's The Lord of The Rings: The Rings of Power answer 50 of the most Googled questions from fans of the franchise. Watch as Morfydd Clark, Lloyd Owen, Cynthia Addai-Robinson, Maxim Baldry, Benjamin Walker and Owain Arthur answer questions like; What is Middle-Earth? How old is Sauron? When does The Lord of the Rings take place? How tall are elves?




rings

How The Baker’s Dozen is flouring India with its sourdough offerings

Aditi Handa and Sneh Jain’s D2C start-up is disrupting the breads and cakes category by offering artisanal quality bakes on a national scale




rings

Nrb Bearings Ltd. - Disclosures under Reg. 29(2) of SEBI (SAST) Regulations, 2011




rings

Immigration reform brings agony and ecstasy




rings

After a dull six months, Hostel Hudugaru Bekagiddare brings cheer to Kannada film industry

 After a memorable 2022, the industry suffered a slump in the first half of this year with only Daredevil Musthafa providing a consolation




rings

A newly-opened pizzeria brings Kundapuri ghee roast paneer and Kerala chicken roast flavours in pizzas

Dollops of sherry leek or fresh arugula? Choose your pick from artisanal pizzas and sauces made from scratch at the newly-opened pizzeria




rings

Pulling strings for Tila

Based on German and Indian folk tales, Tila, a puppet play will be staged at Ranga Shankara from August 8




rings

Tales of food and how it brings people together 

Celebrating the spirit of togetherness, artist students have curated an exhibition titled, ‘Savouring Connections: How Food Brings Us Together’ at Karl and Meherbai Khandalavala Gallery, CSMVS museum




rings

NGT stays public hearings in Puducherry on revised coastal zone maps





rings

Realty: pandemic brings new opportunities




rings

Not Just Art, an initiative by city-based Youth4Jobs brings hope to the artists with disabilities

A celebration of arts and abilities




rings

God insures those who pay? Formal insurance and religious offerings in Ghana [electronic journal].




rings

Correlation Risk, Strings and Asset Prices [electronic journal].




rings

2020 Spring Simulation Conference (SpringSim) [electronic journal].




rings

COPing with cascading health concerns that climate change brings to our doorstep

Climate and Health: A global challenge needs a local solution to build resilient health systems