Chris Devereaux has recently been reading up on "Literate Programming," an innovative (and mostly unused) approach to programming developed by Donald Knuth in the 1970s. It got him thinking about new ways of implementing tests. "Well-written tests, especially BDD-style specs, can do a better job of explaining what code does than prose does," he writes in his question. Also, tests "have the big advantage of verifying their own accuracy." Still, Chris has never seen tests written inline with the code they test. Why not?
See the original question here.
In today’s pictures, a woman carries flowers in Guatemala, a newborn giraffe is presented to the public in Berlin, a wounded protester is carried away in Cairo, and more
Bored of the latest brand press release explaining why brand x has tweaked their logo ever so slightly to reflect their revitalised sense of self blah blah blah? Well this new book by Artur Beifuss and Francesco Trivini Bellini is just the tonic, analysing as it does the logos of terrorist groups from across the world. These insurgent movements are working at the sharp end of graphic design, needing their logos to recruit supporters, visualise their aims and ambitions and work across quite heterogenous socio-cultural contexts.
Advertise here via BSA
Ankit works in J2SE (core java). During code reviews, he's frequently asked to reduce his lines of code (LOC). "It's not about removing redundant code," he writes. To his colleagues, "it's about following a style." Style over substance. Ankit says the readability of his code is suffering due to the dogmatic demands of his code reviewers. So how to find the right balance of brevity and readability?
See the original question here.
An anonymous reader writes "A new piece of malware propagating across Skype has been discovered that tries to convince the recipient to click on a link. What makes this particular threat different is that it drops a Bitcoin miner application to make the malware author money. While malware has both spread on Skype and mined Bitcoins before, putting the two together could be an effective new strategy."
Read more of this story at Slashdot.
Ron Haviv hoped images of ethnic cleansing in Bosnia in 1992 would stop the killings. They did not, but were recently used as evidence against commanders charged in the genocide.
A decade ago, the U.S. and its allies invaded Iraq on the premise that the country was hiding weapons of mass destruction. Despite worldwide protest and a lack of UN authorization, 200,000 thousand troops deployed into Iraq in March of 2003, following massive airstrikes. The coalition faced minimal opposition, and Baghdad quickly fell. For years after President George W. Bush's "mission accomplished" speech, the war raged on, fueled by sectarian conflicts, al Qaeda insurgencies, outside agencies, and mismanagement of the occupation. Ten years later, we look back in a three-part series. Today's entry focuses on the March 20, 2003, invasion of Iraq, and the weeks immediately following. This entry is part 1 of 3, be sure to see part 2, and part 3. [50 photos]
Smoke covers Saddam Hussein's presidential palace compound during a massive US-led air raid on Baghdad, Iraq on March 21, 2003. Allied forces unleashed a devastating blitz on Baghdad, triggering giant fireballs and deafening explosions and sending huge mushroom clouds above the city center. Missiles slammed into the main palace complex of President Saddam Hussein on the bank of the Tigris River, and key government buildings. (Ramzi Haidar/AFP/Getty Images)
Take the opening credits from Mad Men, add a dash of James Bond, sprinkle with generous helpings of Canabalt and serve. The Button Affair is an excellent auto-runner steeped in style and variety, far too good to be free and yet it is (presumably due to its short length). You should most certainly go and play it, discover that you enjoy it greatly, and then give a donation to its chosen charity, Special Effect.
Nerval's Lobster writes "Software developer Jeff Cogswell is back with an extensive under-the-hood breakdown of Facebook's Graph Search, trying to see if peoples' privacy concerns about the social network's search engine are entirely justified. His conclusion? 'Some of the news articles I've read talk about how Graph Search will start small and slowly grow as it accumulates more information. This is wrong—Graph Search has been accumulating information since the day Facebook opened and the first connections were made in the internal graph structure,' he writes. 'People were nervous about Google storing their history, but it pales in comparison to the information Facebook already has on you, me, and roughly a billion other people.' There's much more at the link, including a handy breakdown of graph theory."
Read more of this story at Slashdot.
Hover over the image for navigation and full screen controls
Glimpses of the Floating World
Outside Japan there is often a misunderstanding about the role of the Geisha and that misunderstanding comes from different literary and movie interpretations/fictionalization by non-Japanese at different points in history. The difficulty also comes from the inability to recognize/accept that female entertainers can exist in cultures without engaging in any form of sexual entertainment.
The historical city of Kyoto, Japan is the true center of this floating world and home to five Kagai (literally flower towns, but specifically, performance districts) where you can see Geishas today. The oldest Kagai dates back to the fifteenth century and the tradition of the Geisha continues in Kyoto in the true manner and spirit as it has historically, where the women take pride in being “women of the mind” versus “women of the body”. By all local/Japanese definitions, these women are living art as well as the pinnacle of Japanese eloquence, good manners, style and elegance and are highly respected in Japanese society as artists. Some of their teachers have been labeled as “Living National Treasures” by the Japanese Government. The “Gei” of the Geisha itself means Art and “sha” means a person. Historically both men and women have been labeled Geisha although that word is seldom used and Geiko and Maiko (Apprentice Geiko) are the more appropriate forms of address.
There has been very little work done to photograph the artistic side of the Geiko and Maiko and my work is an effort to see them as living art and to be able to portray them in both formal and informal settings. Behind the painted face is really a teenager/young woman working very hard through song, dance, music, and witty conversation to make the customers of the tea houses escape from their world of stress to a world of art/humour/relaxation and laughter.
Most of this work was done in Medium Format to enable the viewer to eventually see and feel the larger photograph itself as art and I hope that this broader work can shed a new light to the understanding of the Maiko and Geiko and bring respect to them as artists from the non-Japanese viewer.
Arif Iqball was born in Pakistan in 1964 and has spent a third of his life each in Pakistan, US, and Japan respectively. His curiosity about the balance between modernity and tradition originally attracted him to Japan and in the process, he completed a Masters Degree in Japanese Studies with an interest in Japanese Literature and the visual aesthetic of old Japanese movies.
An avid travel photographer, he uses a nostalgic lens to find beauty in ordinary life and people and is attracted to traditions and artists who are fading away in this modern world. When completed, this interim work on the Geiko and Maiko in Kyoto will be presented both as a book, and as an exhibit.
His Japan related photographs have appeared in the Washington Post, Lonely Planet, and in Children books.
He currently lives and works in Tokyo.