ISLAMABAD - Fuelled by caffeine, pizza and adrenaline, sleep-deprived programmers in a marathon Saudi contest this week explored high-tech solutions to prevent a repeat of past calamities in the annual hajj pilgrimage.
In a cavernous hall in the Red Sea city of Jeddah, thousands of software professionals and students competed in the kingdom´s first-ever hackathon, a coding festival ahead of the world´s largest pilgrimage later this month.
The hajj , expected to draw more than two million pilgrims to Makkah this year, represents a key rite of passage for Muslims and a massive logistical challenge for Saudi authorities, with colossal crowds cramming into relatively small holy sites.
Launching headlong into 36 hours of software development, the participants from across the globe battled sleep deprivation to crowd source answers to a key question that has long vexed hajj organisers -- how to avert future deadly disasters.
A group of five Saudi, Yemeni and Eritrean women, all in their 20s and covered head-to-toe in the Islamic niqab, hunched over their laptops to design an app for paramedics to speedily reach people in need of medical attention using geo-tracking technology.
If multiple emergencies arise at once, the women hoped their app would help prioritise the most pressing cases.
Two Pakistani professionals paired up with two East Asian students to develop a "virtual leash" application to locate relatives lost in the sea of humanity by using bluetooth wristbands.
Four Saudi men sought to design sensors for garbage bins that would alert cleaners when they are full to avert any hygiene scare.
And another group of Saudi women scrawled algorithms and programming codes on a whiteboard to design an app to help non-Arabic speakers translate instructions into multiple languages without an internet connection.
With nearly 3,000 programmers -- who ate and slept at the venue -- organisers said Saudi Arabia had broken the Guinness World Record for the largest number of participants at a hackathon.
While their solutions are still untested, the event, which ended on Friday and offered cash prizes of around two million riyals ($533,000), was billed as an invention marathon by organisers.
"We aim to upgrade the experience of hajj for all pilgrims from all over the world," said Nouf al-Rakan, chief executive of the Saudi Federation for Cyber Security and Programming, which organised the event.
"This (hackathon) will enrich that experience, will give us plenty of solutions and ideas that we can actually adapt and invest in," she told AFP.