Michel Vuijlsteke's weblog

Tales of Drudgery & Boredom.

Tag: python

Links van 30 juli 2018 tot 3 augustus 2018

The Three Horizons of innovation and culture change
‘Three Horizons thinking’ is an effective method for making sense of and facilitating cultural transformation and exploring innovation and wise action in the face of uncertainty and not-knowing.

Enduring Ideas: The three horizons of growth | McKinsey & Company
Steve Coley, a director emeritus in McKinsey’s Chicago office, describes the three horizons framework. Based on research into how companies sustain growth, this approach illustrates how to manage for current performance while maximizing future opportunities for growth.

kitao/pyxel: A retro game development environment in Python
Pyxel is a retro game development environment in Python.

Your Friendly Guide to Colors in Data Visualisation | Chartable
An overview of color tools

The Grammar of Arabic – Type Thursday – Medium
How do you adapt a latin type design into Arabic? TypeThursday spoke with Arabic typeface designer Kourish Beigpour to find out how he interpreted the font Faction from Lost Type Co-op.

Hunting for fossils in the quirks of language – Johnson
Not all fossils are made of stone. For example, at The Economist’s headquarters in London there is a sign reading “By the lifts”; under it are pinned assorted memos and news reports. There are no lifts nearby. Only those of us familiar with the newspaper’s history understand the allusion: such clippings were displayed near the lifts in our previous HQ. Similarly, departments of the paper continue to call themselves “12th floor” and “13th floor”, even though they now share the same (sixth) floor in the new building.

Links van 13 februari 2018 tot 25 februari 2018

BURGEONING LADS OF SCIENCE | Okay, so: Latin has this word, sic. Or, if we want…
So if you were fucking Ambiorix or whoever and Quintus Titurius Sabinus was like, “Yo, did you eat all the pizza?” you would do that Drake smile and point thing under your big beefy Gaulish mustache and say, “This.” Then you would have him surrounded and killed.

Weird Astronomy – Atomic Rockets
Science fiction writers often benefit from using reality as a springboard. For science fiction, the weirder the bit of reality used, the better. As a public service, I offer a random selection of real astronomical items that are anomalous, suspicious, or downright odd. SF writers are encouraged to use these to brainstorm something interesting. These are offered free of charge, I have no claim no them, no strings are attached.

Dropbox saved almost $75 million over two years by building its own tech infrastructure – GeekWire
Starting in 2015, Dropbox began to move users of its file-storage service away from AWS’s S3 storage service and onto its own custom-designed infrastructure and software, and the cost benefits were immediate. From 2015 to 2016, Dropbox saved $39.5 million in the cost of revenue bucket thanks to the project, which reduced spending on “our third-party datacenter service provider” by $92.5 million offset by increased expenses of $53 million for its own data centers. The following year in 2017, it saved an additional $35.1 million in operating costs beyond the 2016 numbers.

Inside the OED: can the world’s biggest dictionary survive the internet? | News | The Guardian
For centuries, lexicographers have attempted to capture the entire English language. Technology might soon turn this dream into reality – but will it spell the end for dictionaries?

Mark Felt-Tipped | Notes
The document was released as a PDF that appears to be a scan of a printed copy that was manually redacted using a black felt-tipped pen or text marker. While this method of redaction effectively obscures the relevant sentence fragments, the text’s layout remains unchanged. This opens up the tantalizing opportunity to reconstruct top-secret information by correctly guessing fragments that result in the flow of text after each redaction to align to the released version.

kennethreitz/requests-html: HTML Parsing for Humans™
This library intends to make parsing HTML (e.g. scraping the web) as simple and intuitive as possible. When using this library you automatically get: CSS Selectors (a.k.a jQuery-style, thanks to PyQuery). XPath Selectors, for the faint at heart. Mocked user-agent (like a real web browser). Automatic following of redirects. Connection–pooling and cookie persistience. The Requests experience you know and love, with magic parsing abilities.

Van die dingen – MO* Magazine – MO.be
Ach, het is ook maar een stopwoord zie je ze denken, zoals “voor alle duidelijkheid”, één van die dingen die je op radio en TV zo’n 100 keer per dag kunt horen. Niets meer dan een stopwoord? Ik dacht het niet. Want er zijn van die dingen die niet ophouden me te verbazen, vaak nadat ze gebeurd zijn, maar nog vaker omdat ze niet gebeurd zijn. Ik wil er hier graag een paar aanhalen, al was het maar om de heer Jambon te helpen.

Lotame Purges Its Data Exchange After Identifying 400 Million User Profiles as Bots – Adweek
Lol. "Lotame, one of the world’s largest exchanges for digital third-party data, announced on Friday that it has purged 10 percent of its over 4 billion profiles after identifying them as bots or otherwise fraudulent accounts. Lotame CEO Andy Monfried estimated that 40 percent of all web traffic is fictional. The industry, he said, is facing a crisis of trust due to fraudulent and unreliable data."

Links van 11 januari 2018 tot 14 januari 2018

Laurie Anderson – Home Of The Brave (1986)
32 jaar na datum nog altijd fris.

Origins of the Sicilian Mafia: The Market for Lemons
In this article, we study the emergence of an extractive institution that hampered economic development in Italy for more than a century: the Sicilian mafia. Since its first appearance in the late 1800s, the reasons behind the rise of the Sicilian mafia have remained a puzzle. In this article, we argue that the mafia arose as a response to an exogenous shock in the demand for oranges and lemons, following Lind's discovery in the late eighteenth century that citrus fruits cured scurvy. More specifically, we claim that mafia appeared in locations where producers made high profits from citrus production for overseas export. Operating in an environment with a weak rule of law, the mafia protected citrus production from predation and acted as intermediaries between producers and exporters. Using original data from a parliamentary inquiry in 1881–1886 on Sicilian towns, the Damiani Inquiry, we show that mafia presence is strongly related to the production of oranges and lemons. The results hold when different data sources and several controls are employed.

Interactive Maps in Python, Part 3 – Prototypr
Camera, lights, action! In this final part of our python cartography tutorial we take what we learned in part 1 and part 2 and set it in motion.

Interactive Maps in Python, Part 2 – Prototypr
In part 1 we covered how to do basic visualizations with python and folium. Here we will dig a little deeper and make custom map overlays.

Interactive Maps with Python, Part 1 – Prototypr
This is part 1 of 3. In part 1 we’ll make some basic plots and use circle markers to visualize net arrivals and net departures. Part 2 will cover custom layers with a glow effect, and part 3 will cover animations.

Links van 15 november 2017 tot 8 januari 2018

IBM Design Language
Heerlijke stijlgids.

Trump is making Obama great again – The Boston Globe
Beyond the nation’s shores, there are some places around the world, though not many, where Trump is more popular than Obama. A 2017 Pew Research Center survey polled 37 nations across the world about their opinions of the two presidents, and all but two countries rated Obama higher. The ones that preferred Trump? Israel by 7 percentage points and Russia by 42.

Wij vergeleken de tarieven in 100 parkeergarages – Het Nieuwsblad
Voor wie drie uur wil parkeren zijn minstens 55 parkeergarages in België duurder dan de duurste parkings in Gent. Wil je acht uur parkeren dan zijn de duurste Gentse parkeergarages nog steeds goedkoper dan minstens 25 andere parkeergarages in het land.

Anzeigen und Ermittlungen nach Hass auf Baby laufen – Multimedia | heute.at
"Ich hoffe auf einen plötzlichen Kindstod", "Wenn sie 18 ist, ist sie eh schon eine Terroristin" und "Schiebt den Abschaum sofort ab". Hasserfüllte User ließen am Neujahrstag alle Grenzen des Geschmacks und Respekts hinter sich und begegneten dem Wiener Neujahrsbaby Asel mit schockierenden Kommentaren. Dabei dürfte aber auch die Grenze zur Strafrechtlichkeit überschritten worden sein. Auffallend: Viele User posteten mit ihrem echten Namen.

Everyone in Trumpworld Knows He’s an Idiot – The New York Times
There’s an old joke that describes where we are right now: A guy falls from a 50-story building. As he flies by the 25th floor, someone asks how it’s going. “So far, so good!” he says. Eventually, we’ll hit the ground, and assuming America survives, there should be a reckoning to dwarf the defenestration of Harvey Weinstein and his fellow ogres. Trump, Wolff’s reporting shows, has no executive function, no ability to process information or weigh consequences. Expecting him to act in the country’s interest is like demanding that your cat do the dishes. His enablers have no such excuse.

The Systems Thinker – Check In, Check Out: A Tool for “Real” Conversations – The Systems Thinker
Nothing encourages people to share their views more than the knowledge that they will be listened to with empathy. We jump in and out of tasks so frantically that we often have little time left to create the field of appreciation that enables full self-expression. This type of listening can extend beyond the check-in process. Once people begin listening to each other with empathy, they simply can’t go back to their ordinary meeting style. The empathy remains even as they advocate for their views, inquire into other views, and make decisions together.

Stop de borstvoedingsterreur – De Standaard
In oktober ben ik bevallen van mijn derde kind. Het eerste kwam er nu bijna veertien jaar geleden en sindsdien zijn zowat alle richtlijnen en adviezen veranderd: geen fruitpap maar groentepap eerst, flesjes moeten niet langer verwarmd worden en badjes hoeven niet meer dagelijks. Toch is één ding alvast niet veranderd: de borstvoedingsterreur.

The Systems Thinker – Systems Thinkers Must Go Down the Rabbit’s Hole – The Systems Thinker
At the root of every system, every set of paradigms, beats a story so deep that most people are born into it and then die without ever knowing that a different way of viewing the world might exist. Our worldview operates like a cosmic screenplay that we enact each moment of our lives, guiding our actions and, ultimately, creating our reality. When we don’t realize it exists, our worldview manipulates us like a disembodied puppeteer, guiding our actions and thoughts.

Donella H. Meadows, Places to Intervene in a System (1997)
Folks who do systems analysis have a great belief in "leverage points." These are places within a complex system (a corporation, an economy, a living body, a city, an ecosystem) where a small shift in one thing can produce big changes in everything. The systems community has a lot of lore about leverage points. Those of us who were trained by the great Jay Forrester at MIT have absorbed one of his favorite stories. "People know intuitively where leverage points are. Time after time I've done an analysis of a company, and I've figured out a leverage point. Then I've gone to the company and discovered that everyone is pushing it in the wrong direction!"

Michael Wolff: My Insane Year Inside Trump’s White House | Hollywood Reporter
Donald Trump's small staff of factotums, advisors and family began, on Jan. 20, 2017, an experience that none of them, by any right or logic, thought they would — or, in many cases, should — have, being part of a Trump presidency. Hoping for the best, with their personal futures as well as the country's future depending on it, my indelible impression of talking to them and observing them through much of the first year of his presidency, is that they all — 100 percent — came to believe he was incapable of functioning in his job. At Mar-a-Lago, just before the new year, a heavily made-up Trump failed to recognize a succession of old friends. Happy first anniversary of the Trump administration.

Aram Zucker-Scharff on Twitter: “These moments all seem inevitable. Oh, Chrome will be on top forever. But remember all those hip web devs making Firefox only sites back in… https://t.co/Fm2nB3q3id”
These moments all seem inevitable. Oh, Chrome will be on top forever. But remember all those hip web devs making Firefox only sites back in the day? Hubris leads to downfall. Chrome's wings are melting as we speak.

Strategic Storytelling for Designers – UX Design Collective
The hardest part of design is presenting work. This is not an additional skill, it is not a “soft skill,” presentation of ideas is essential to the role of a designer. If you cannot advocate for your ideas or your users, then you are missing fundamental aspects of what it means to design.

Prospect Theory and Loss Aversion: How Users Make Decisions
When choosing among several alternatives, people avoid losses and optimize for sure wins because the pain of losing is greater than the satisfaction of an equivalent gain. UX designs should frame decisions (i.e., questions or options given to users) accordingly.

You Are Not the User: The False-Consensus Effect
The false-consensus effect refers to people’s tendency to assume that others share their beliefs and will behave similarly in a given context. Only people who are very different from them would make different choices.

Net Promoter Score Considered Harmful (and What UX Professionals Can Do About It)
For some reason, NPS thinks that a 6 should be equal to a 0. Nobody else thinks this.

Mind your Manners – a look at late Medieval and Tudor mealtimes and The Banquet | Living History Today
Anyone who has ever seen an old film about the late Medieval/Tudor period can be forgiven for coming away with the idea that feasts were riotous chances to eat and drink far too much, as rowdily as possible. It would seem that everyone present tried to cram as much meat into their mouths as possible before hurling their bones at hungry dogs who prowled in the rushes on the floor. In fact, the only bit of this message that holds any truth at all are the rushes on the floor, and by Queen Elizabeth’s day rush matting which could be taken outside and shaken or swept was becoming far more fashionable.

Tracking Down the Roots of a “Super” Word : Word Routes : Thinkmap Visual Thesaurus
Supercalifragilisticexpialidocious. So many of us learned that outrageous mouthful of a word at an early age, when it was truly a verbal milestone to be able to pronounce it without getting tongue-tied. And just saying the word is an invitation to start singing the song from the classic 1964 Disney movie Mary Poppins. But how did the word come to be? When I heard the news that one of the Mary Poppins songwriters passed away last month, I set about to answer that question, taking me down many unexpected alleyways of 20th-century popular culture.

02 – Supercalafajalistickespeealadojus by RediculusT
The original from 1949. Disney claimed in the later court case the word in their song was a 'common slang word'.

Michael Wolff’s ‘Fire and Fury’: Inside Trump’s White House
Once he lost, Trump would be both insanely famous and a martyr to Crooked Hillary. His daughter Ivanka and son-in-law Jared would be international celebrities. Steve Bannon would become the de facto head of the tea-party movement. Kellyanne Conway would be a cable-news star. Melania Trump, who had been assured by her husband that he wouldn’t become president, could return to inconspicuously lunching. Losing would work out for everybody. Losing was winning. Shortly after 8 p.m. on Election Night, when the unexpected trend — Trump might actually win — seemed confirmed, Don Jr. told a friend that his father, or DJT, as he calls him, looked as if he had seen a ghost. Melania was in tears — and not of joy. There was, in the space of little more than an hour, in Steve Bannon’s not unamused observation, a befuddled Trump morphing into a disbelieving Trump and then into a horrified Trump.

Why Mother Teresa’s sainthood is tainted by controversy | JOE.ie
“A lying, thieving Albanian dwarf”

Origami-Style Cardboard Tents for Homeless in Brussels – The New York Times
With material tents forbidden on the streets of Brussels, homeless people in the Belgian capital are often left without a safe place to sleep. But one entrepreneur seems to have found a way around the rule: origami-style cardboard tents.

The Year the News Accelerated to Trump Speed – The New York Times
One year out, this may be Mr. Trump’s greatest trick: His tornado of news-making has scrambled Americans’ grasp of time and memory, producing a sort of sensory overload that can make even seismic events — of his creation or otherwise — disappear from the collective consciousness and public view. He is the magician who swallows a sword no one thought was part of the act, stuffs a dozen rabbits into a hat before the audience can count them — and then merrily tweets about “Fox & Friends” while the crowd strains to remember what show it had paid to attend in the first place.

Geert Noels: “Frankrijk chanteert België alsof het een kolonie is” | VRT NWS
Frankrijk wil dat ons land het Franse Rafale gevechtsvliegtuig aankoopt om de oude F16’s te vervangen. De Fransen voldoen niet aan de vorm- en procedurevereisten, maar spelen het anders. Zo stellen ze voor dat België 20 miljard euro economische compensaties zouden krijgen bij aankoop van de Franse jets. 16 miljard euro van deze 20 miljard euro zijn echter de optelling van huidige activiteiten van Franse bedrijven over een periode van 20 jaar. Hiermee zegt Frankrijk dat deze activiteiten onzeker zijn als we niet kiezen voor hun jets.

The year’s best film is an 18-hour TV series — ‘Twin Peaks’ | HeraldNet.com
I didn’t see anything else this year that matched Lynch’s wild experimental saga — surely the most expensive avant-garde film ever bankrolled by Hollywood. Lynch’s teeming (if often baffling) imagination was executed with supreme control, and Kyle MacLachlan’s dazed, vacant Dougie Jones was obviously the Man of the Year.

Beyoncé Caught Shapeshifting In Front Of Celebs At Serena Williams’ Wedding
Beyoncé’s legions of fans were dealt a devastating blow when the Single Ladies singer was caught shapeshifting into a reptilian at Serena Williams’ wedding ceremony on Saturday.

Kristina (11) ‘viert’ kerst in terugkeerhuis: “schandalig” | VTM NIEUWS
Staatssecretaris Theo Francken wil niet op de zaak reageren omdat het om een individueel dossier gaat.

The King William’s College quiz 2017 | From the Guardian | The Guardian
Whence the minty bivalves? Which Hungarians masqueraded as sheep? Who beheld the faces of man, lion and ox and eagle? Plus 177 more fiendish questions in the most tortuous quiz of them all

Quitting – Signal v. Noise
We all know people all over the spectrum. Someone who’s been working on something forever that’s never going to work out. And someone who quits every project they start before giving it a fair chance. Then we have those friends who seem to have the magical instinct to know when to quit and when to stick with it until it takes off. So how do you know when to quit? 3 months? A year? Is there some signal to look for?

Wie wir die Datenproduktion neu denken sollten
IT ist zu einer strategisch bedeutsamen Triebfeder für Unternehmen geworden. Wie Ideen aus der Massenfertigung genutzt werden können, um mit Daten digitales Geschäft zu generieren.

Big data meets Big Brother as China moves to rate its citizens | WIRED UK
On June 14, 2014, the State Council of China published an ominous-sounding document called "Planning Outline for the Construction of a Social Credit System". In the way of Chinese policy documents, it was a lengthy and rather dry affair, but it contained a radical idea. What if there was a national trust score that rated the kind of citizen you were?

(14) The Use of ASCII Graphics in Roguelikes: Aesthetic Nostalgia and Semiotic Difference | Mark R Johnson – Academia.edu
This article explores the semiotics of the "roguelike" genre. Most roguelikes reject contemporary advances in graphical technology and instead present their worlds, items, and creatures as American Standard Code for Information Interchange (ASCII) characters. This article first considers why this unusual graphical style has endured over time and argues that it is an aesthetic construction of nostalgia that positions roguelikes within a clear history of gameplay philosophies that challenge the prevailing contemporary assumptions of role-playing games. It second notes that the semantic code for understanding the ASCII characters in each and every roguelike is different and explores the construction of these codes, how players decode them, and the potential difficulties in such decodings. The article then combines these to explore how such visuals represent potential new ground in the study of game semiotics.

As Venezuela Collapses, Children Are Dying of Hunger – The New York Times
Kenyerber Aquino Merchán was 17 months old when he starved to death. His father left before dawn to bring him home from the hospital morgue. He carried Kenyerber’s skeletal frame into the kitchen and handed it to a mortuary worker who makes house calls for Venezuelan families with no money for funerals.

Microsoft Considers Adding Python as an Official Scripting Language to Excel
If approved, Excel users would be able to use Python scripts to interact with Excel documents, their data, and some of Excel's core functions, similar to how Excel currently supports VBA scripts.

jwz: Mitch McConnell, Prince of Dust
Mitch McConnell, prince of dust, took his current form on February 20, 1942, molded of a strange flesh, his mouth open and already seeking. Mitch McConnell, for whom the ghouls slaver, spent his childhood crushing spiders in paper napkins and stuffing them into his mouth, one after the other, and never was he seen to expel them at all. Mitch McConnell, who waits in the gravel pit, attended high school in Georgia, where he sat with the cobwebs and giggled, and would not say where all the town's dogs had gone.

What Omarosa Did Best: Get Fired – The New York Times
Ouch. "We don’t know what exactly Omarosa Manigault Newman did at the White House, but we do know the number one skill she brought to the table — being fired. Donald Trump has now axed her four times: on “The Apprentice” in 2004, on “The Celebrity Apprentice” in 2011 and 2013 and on Tuesday evening. She is really, really good at getting canned. Maybe her true purpose was to remind America of the time when Mr. Trump was popular because he fired people like her, including her."

Fernand Huts weg bij Voka – De Standaard
"You're fired!" "Ha! You can't fire me, I quit!!" — De Antwerpse haven- en logistieke groep Katoen Natie heeft zijn Voka-lidmaatschap opgezegd. Voka zegt dat zij Huts zelf aan de deur hebben gezet.

Mimi O’Donnell Reflects on the Loss of Philip Seymour Hoffman and the Devastation of Addiction – Vogue
Literally two weeks after Phil died, some fellow parents asked me to show up on a Friday morning to man the stall where they sold school paraphernalia. And after the fifth person suggested I should start running, I lost it. “I don’t want to fucking run,” I said. “I want to jump in the river and kill myself.” When I finally did decide to run, it was always at night by the Hudson. The darker and rainier it was, the more violent the water, the better. I couldn’t get enough. Something about the extremity of it, the closeness to death, was weirdly comforting. If I wanted to jump, it was there.

the cake is a lie. | MetaFilter
“Food is often seen in games as a means of survival, mostly as health. A piece of bread stolen off a vendor's table in Skyrim will grant you two health; the cabbage stew at the tavern will grant you 10. In The Legend of Zelda: Breath of the Wild, the spicy pepper steak will take the edge off of cold weather. A game like Castlevania: Symphony of the Night has a huge inventory of food items, many of which are dropped after knocking out enemies. While the enormous variety adds an element of immersiveness into Castlevania, it's often nothing health or a novelty. Though none of these games' food systems could be considered simplistic, they have a narrow view of eating; food is health, and eating is the mechanic in which it's used. It's easy to see food only as a function of survival, but there’s a whole breadth of games—”

This Is The Daily Stormer’s Playbook | HuffPost
"Women can be called the following: slut, whore, bitch, harlot, trollop, slag, skag. Whenever writing about women make sure to follow the prime directive and blame Jew feminism for their behavior."

(215) The Fantastic Masculinity of Newt Scamander – YouTube
Newt Scamander, protagonist of the Harry Potter spinoff, is an unconventional male hero. He performs a refreshingly atypical form of masculinity, especially for the lead in a fantasy adventure story.

PuTTY Begone! Microsoft will ship an OpenSSH client | TechCrunch
What what? "Microsoft has added its own ssh client to Windows, a move that points to more openness on the part of Redmond."

Sneeuw- en ijzelbestrijding | Stad Gent
Fijn om weten.

Belgium’s Lavish Energy Use Sheds Light on More Than Just Its Roads – The New York Times
“What purpose does it serve to illuminate at full power?” The official explanation is that it helps road safety and provides security. But critics doubt this and say the phenomenon sheds light not only on Belgium’s roads but also on a mutually profitable relationship among its politicians, electricity distributors and main energy supplier, Electrabel.

We messed up. We’re sorry, and we’re not rolling out the fees change. – The Patreon Blog
We’ve heard you loud and clear. We’re not going to rollout the changes to our payments system that we announced last week. We still have to fix the problems that those changes addressed, but we’re going to fix them in a different way, and we’re going to work with you to come up with the specifics, as we should have done the first time around.

xkcd: Seven Years
[hart breekt]

NATO Expansion: What Gorbachev Heard | National Security Archive
Declassified documents show security assurances against NATO expansion to Soviet leaders from Baker, Bush, Genscher, Kohl, Gates, Mitterrand, Thatcher, Hurd, Major, and Woerner

How to Get Your First 100k (Active) Users – Winnie
This was probably the biggest mistake we made early on. While we correctly sized up our target market (millennial parents) as heavy consumers of apps, when it comes to growth the web is still hugely important. These days the lion’s share of our organic growth comes from web traffic in the form of organic search, social shares and word of mouth. Mobile-first is great. Mobile-only is not.

Mohammed minder gediscrimineerd op huurmarkt (Brussel) – De Standaard
Door praktijktesten van de stad Gent worden kandidaat-huurders van vreemde origine er minder gediscrimineerd. Toch blijft Vlaams minister Homans ertegen gekant.

The Not Yorker
The Not Yorker is a collection of declined or late cover submissions to The New Yorker, curated by illustrators who love and admire traditional cover illustration. This is a site for celebrating cover art, and great ideas that didn't make it.

FAQ · Storify
Another one bites the dust: "Unfortunately, Storify will no longer be available after May 16, 2018. As of December 12, 2017, no new Storify.com accounts can be created."

Hate Smears India’s Symbol of Love, the Taj Mahal – The New York Times
Millions flock to marvel at its shimmering magnificence, with intricately inlaid and carved white marble inscribed with verses from the Quran, every year. And that is exactly what the Hindu right finds so galling. In October, it came to light that the state of Uttar Pradesh — where the Taj Mahal is located, in the city of Agra, and which is headed by the firebrand Hindu cleric Yogi Adityanath — had omitted the monument from its tourism brochure and cut its funding from the state’s tourism budget. Sangeet Som, a member of the Hindu nationalist Bharatiya Janata Party, railed that the Taj Mahal was “a blot on Indian culture” built by “traitors.”

Bat cave solves mystery of deadly SARS virus — and suggests new outbreak could occur
After a detective hunt across China, researchers chasing the origin of the deadly SARS virus have finally found their smoking gun. In a remote cave in Yunnan province, virologists have identified a single population of horseshoe bats that harbours virus strains with all the genetic building blocks of the one that jumped to humans in 2002, killing almost 800 people around the world.

The Family Gene | Tufts Magazine
There’s a disease you’ve never heard of. No one has. It’s so rare it doesn’t have a name. Just fourteen people are believed to have ever carried the gene for it. Five of them are in this 1979 picture of my family (that’s me there in the center, in green). The rest can all also be found on my family tree. The disease has killed many of the people I love and now I’ve got it, too. So my family has decided to put an end to it.

Jared Kushner is wreaking havoc in the Middle East | Moustafa Bayoumi | Opinion | The Guardian
Here’s where state department diplomacy should kick in. The US ambassador to Qatar could relay messages between the feuding parties to find a solution to the stand-off. So what does the ambassador to Qatar have to say about the Kushner-Salman alliance? Nothing, since there still is no confirmed ambassador to Qatar. What about the US ambassador to Saudi Arabia? That seat’s also vacant. And the US ambassador to Jordan, Morocco, Egypt? Vacant, vacant, and vacant. What about assistant secretary for Near Eastern affairs, a chief strategic post to establish US policy in the region? No one’s been nominated. Deputy assistant secretary for press and public diplomacy? Vacant. It’s partly this vacuum of leadership by Tillerson that has enabled Kushner to forge his powerful alliance with Salman, much to the detriment of the region. And in their zeal to isolate Iran, Kushner and Salman are leaving a wake of destruction around them.

Scientists discover dinosaur trapped in amber in unprecedented find – CNN
The tail of a 99-million-year-old dinosaur has been found entombed in amber, an unprecedented discovery that has blown away scientists.

Catapult | What the World Gets Wrong About My Quadriplegic Husband and Me | Laura Dorwart
When I lie awake at night, the honest-to-god truth is that I don’t fantasize about miracle cures and redemption songs. I dream of ramps. Ramps leading up to showers and houses and waterfalls, to haunted hayrides and carriages and job interviews and Capitol Hill. And level ground that fulfills its rhetorical purpose by keeping everyone on the same plane.

And Now: A Bummer | Jason Scott on Patreon
Essentially: Patreon has changed their fee structure, which translates to it costing more to support folks like me; but they also did it in the most disingenuous way possible, which compounded a bad idea into something much worse.

How Trump’s Jerusalem Move Just Helped Iran Win the Mideast
Trump managed to bring Turkey and Iran together by what they called his “wrong” and “illegal” action. In fact, Rouhani called for all 56 Muslim-majority countries to make a stand against the US. Iranian foreign minister Mohammad Javad Zarif said that Jerusalem will always be Arab and Islamic. The country’s Leader, Ali Khamenei, also weighed in, pledging to organize the Muslim world for a response. So now the Iranians (not Arabs) are the champions of Arab nationalism, while Saudi Arabia and Egypt are supine. So Trump is helping make Iran a leader of the Muslim world. Good job.

Palestinians recognize Texas as part of Mexico – The Beaverton
“We understand that the Mexican state of Texas is a sacred place for many large-buckled Americans, but they can rest assured that a two-state solution or a wall was not feasible,” explained Abbas. “Besides, most people in Texas speak Spanish.”

l’An 2000 – Le Berghain à Berlin et l’éthique du «no photos» – Libération.fr
La lentille du smartphone apparaît en fait comme un bouc-émissaire, comme la métaphore de ce que la scène berlinoise refuse à tout prix : les regards et les jugements. Rentrer au Berghain, c’est apprendre à ne jamais fixer son regard sur ce qui s’y passe. Non pas tourner la tête, mais juste s’en foutre.

Il paraît qu’en Allemagne, les hommes ne draguent pas. Je suis allée vérifier
"Ce soir, il y a un mec qui est venu me parler. Je crois qu’il me draguait mais c'était tellement subtil que je n'en suis pas sûre. On ne sait pas. Les Allemands draguent tellement mal que tu ne sais pas trop ce qu'il se passe."

"Ici, en tant que Française, tu te rends compte à quel point tu as construit ta féminité en étant au centre d'une attention que tu n'as pas désirée."

IFComp 2017
De winnaars van 2017!

Crusader Kings 2 data shows most kills | Rock, Paper, Shotgun
Royal incompetence simulator Crusader Kings 2 is one of the best games ever. Over hundreds of years, sultans and kings create new empires and murder their families. Today a data science man gets in touch to say he recorded a 700-year game in ‘observation’ mode, pulled out all the data like a big reel of cassette tape, shoved it through some kind of magical process I won’t pretend to understand, and came up with statistics on several rulers. This also resulted in detailed “networks” of kills and marriages. The important thing is: this lets us see who had the most babies.

Hi. I love you. | The Bloggess
Do something good and kind.  Laugh loudly.  Don’t wear pants.  Tell people you love them.  Embrace ridiculousness.  Be unapologetically yourself.  Inspire others.  Inspire yourself.  Salute the brave.

Aan Ivo Mechels, generaal-overste van Test-Aankoop – De Standaard
Is het niet mogelijk om in Test-Aankoop een lijst te publiceren van alle OCMW’s van Vlaanderen en daarbij de beste koop kenbaar te maken?

Émeute à Gand: “Ce qui frappe, c’est la différence de traitement médiatique et politique” – Belgique – LeVif.be
Ce qui me choque le plus dans la différence de traitement politico-médiatique de ces deux évènements, c'est que j'ignore s'il est mû par la phobie des jeunes "Marocains" ou par le mépris total pour les Roms.

Time Cube
Children will be blessed for Killing Of Educated Adults Who Ignore 4 Simultaneous  Days Same Earth Rotation. Practicing  Evil  ONEness – Upon Earth Of  Quadrants.  Evil Adult Crime VS Youth.   Supports Lie Of Integration.   1 Educated Are Most Dumb.   Not 1 Human Except Dead 1.   Man Is Paired,  2 Half 4 Self.   1 of God Is Only 1/4 Of God.

Curl Power: Poodles Return to the Field – Garden & Gun
Poodles take a bit longer to train, Louter says, than other hunting breeds. Part of that has to do with their intelligence (the AKC describes them as “very smart”). “When you train Labs, it’s all repetition and building muscle memory,” he explains. “Poodles find that very boring. You have to stay one step ahead of them and switch it up. Sometimes you even have to make it seem like they are the ones in charge.”And though poodles were originally hunting dogs, they’ve essentially had that instinct bred out of them. The AKC lists them as nonsporting. Says Louter: “A decently bred Lab knows what it’s supposed to do in life from a young age. With poodles, we’re trying to wake up those natural instincts, that love of water and that good nose.”

McDonald’s is stealing my dead weasel and it’s insultingly obvious. | The Bloggess
Someone get me a copyright lawyer and a small apron for this poor naked thing.

Chinees godbetert! GO! en het thuistaalbeleid.
Vele keren dit.

Andrew Anglin: The Making of an American Nazi – The Atlantic
How did Andrew Anglin go from being an antiracist vegan to the alt-right’s most vicious troll and propagandist—and how might he be stopped?

Links van 24 november 2016 tot 11 december 2016

A boy wonder from the 1780s shows us where school maths gets it wrong – Medium
School maths lets students frisk around the edges of problem solving, but keeps them firmly rooted in the rote acquisition of disjointed knowledge.

The Dominance of Google and Facebook in One Chart
Over the next couple years, digital advertising is expected to pass television to become the largest ad market in existence. One would think that this simple fact should translate to a bright future for many publishers, but the reality seems to be quite different. That’s because digital advertising is increasingly dominated by just two players, and everyone else is just begging for scraps.

Geen links gespuis op de buis – De Standaard
‘Waarom bestijgt u nu zelf de kansel om de goegemeente te waarschuwen voor het gevaar van de PVDA, Gwendolyn? Hoe kunt u een pleidooi voor rechtvaardigheid en herverdeling van de maatschappelijke rijkdom gelijk stellen met extreemrechts racisme? Wat is er zo gevaarlijk aan de 30 urenweek, een minimum aan belasting voor multinationals, eerstelijnsgezondheidszorg of een miljonairstaks?’ De voorzitter antwoordde niet, tenzij u het kermen als een zieke labrador een vorm van antwoorden vindt. ‘Waarom maakt u zich niet druk over het Kazachgate-schandaal, of over het miljoenenverlies bij Merit Capital waar Open VLD’ers belangrijke functies hebben? Zoals Karel De Gucht, die twee jaar na zijn afscheid als Europees commissaris nog altijd 125.000 euro per jaar opstrijkt, plus nog eens 144.000 euro als bestuurslid voor ArcelorMittal. Zeg eens, Gwendolyn?’

Startup Growth Calculator
This tool calculates how much funding your startup needs. Assuming your expenses are constant and your revenue is growing, it shows when you'll reach profitability and how much capital you'll burn through before then. Once you're profitable, you control your destiny: you can raise more to grow faster if you want.

A Rebuttal For Python 3 / fuzzy notepad
Zed Shaw, your behavior here is fucking reprehensible. Half of what’s written here is irrelevant nonsense backed by a vague appeal to “mathematics”. Instead of having even the shred of humility required to step back and wonder if there are complicating factors beyond whether something is theoretically possible, you have invented a variety of conflicting and malicious motivations to ascribe to the Python project.

Links van 29 juli 2015 tot 7 augustus 2015

DUNE: The Insanely Complete 3-Hour Fan Cut
You think you’re a fan of Dune? Michael Warren has you beat. He put together this massive super-cut of David Lynch’s cult-classic 1984 film adaptation of Frank Herbert’s Dune comprised of footage from the original theatrical cut, the extended TV cut, and deleted scenes. This labor of fan love resulted in the following three-hour version. Originally done two years ago, an update earlier this year improved sound and video quality of the TV cut insertions.

The Five Characteristics of An Ideal SaaS Company – Redpoint Ventures
With more than 80% of venture capital investments occurring in enterprise and with the public markets disproportionately rewarding SaaS companies with huge enterprise value-to-revenue multiples (median is 7.6), it’s no surprise that interest Software-as-a-Service is booming. After meeting quite a few SaaS companies, I’ve compiled a list of my ideal characteristics for a SaaS business below.

Trello CSS Guide
Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and maintainable for generations to come.

Why write Python in Visual Studio? – The Visual Studio Blog – Site Home – MSDN Blogs
Recently, Visual Studio 2015 was released with support for Python. Python Tools for Visual Studio (PTVS) are available to help throughout Visual Studio in all the places you’d expect, from editing and IntelliSense, to debugging, profiling, and publishing to Azure. You can find all the details and some video walkthroughs, documentation, and other resources on visualstudio.com, and the post announcing Python Tools 2.1 and Python Tools 2.2 beta. In this post I want to talk about some of the reasons to consider using Visual Studio next time you are working in Python.

Doing Terrible Things To Your Code
believe a key turning point in every professional programmer's working life is when you realize you are your own worst enemy, and the only way to mitigate that threat is to embrace it. Act like your own worst enemy. Break your UI. Break your code. Do terrible things to your software. This means programmers need a good working knowledge of at least the common mistakes, the frequent cases that average programmers tend to miss, to work against. You are tester zero. This is your responsibility.

Catholic-Hierarchy: Its Bishops and Dioceses, Current and Past
Current and historical information about its bishops and dioceses — heerlijke website

Links van 31 juli 2014 tot 9 augustus 2014

The War Photo No One Would Publish – The Atlantic
“It was one picture after another of a sunset with camels and a tank.”

An Empire of Stars » Lapsed Historian
As the V-2 disappeared into the distance the men of the AVKO couldn’t help but smile and cheer. Their delight was catching, and soon the rest of the soldiers and officers around the launchpad were cheering as well. British officers and soldiers. Because this was Operation Backfire, the beginning of something that most people don’t even know existed – the British Space Programme.

Python web scraping resource
If you need to extract data from a web page, then the chances are you looked for their API. Unfortunately this isn't always available and you sometimes have to fall back to web scraping. In this article I'm going to cover a lot of the things that apply to all web scraping projects and how to overcome some common gotchas.

I Refuse | Irwin E. Blank | Ops & Blogs | The Times of Israel
Erm, yeah. "I feel no need to apologize for refusing to allow myself to retain lands that were mine before your countries were born by imperialist wars and rivers of blood. When your ancestors were worshiping rocks and committing human sacrifice to please stone idols, mine were priests in the Temple of Solomon."

‘World stands disgraced’ as Israeli shelling of school kills at least 15 | World news | The Guardian
Fuckers. "The US, which has been at odds with Israel's prime minister, Binyamin Netanyahu, over efforts to secure a ceasefire, condemned the school shelling but did not specifically blame Israel."

Links van 10 april 2014 tot 13 april 2014

Amazon.com to Acquire comiXology | comiXology Unbound
Amazon.com today announced that it has reached an agreement to acquire comiXology, the company that revolutionized the digital comics reading experience with their immersive Guided View technology and makes discovering, buying, and reading comic books and graphic novels easier and more fun than ever before.

2048 Variants | Semi-long Blog
Here is a list of online variants scouted from github. For the record, that means that there are very few apps on this list, and only those that you can compile yourself. The majority of these links are intended to be accessed from the Internet.

Unpythonic Python – skien.cc
Warning: Very Unpythonic Python ahead. However, all code should work (with Python 2.7.5).

Homemade Toast: How to Make a Leak Proof Water Blob (without tape!)
Doen! Doen!

Tambora eruption caused the year without a summer: Cholera, opium, famine, and Arctic exploration.
As it turns out, however, the indirect ripple effects of Tambora—what climate scientists call “teleconnections”—were even more historically significant. Cholera, opium, and the Panic of 1819 are three examples; another is Arctic exploration.

Links van 24 februari 2014 tot 27 februari 2014

Depixelizing Pixel Art
Naïve upsampling of pixel art images leads to unsatisfactory results. Our algorithm extracts a smooth, resolution-independent vector representation from the image which is suitable for high-resolution display device

High Scalability – High Scalability – The WhatsApp Architecture Facebook Bought For $19 Billion
How do you support 450 million active users with only 32 engineers? Let’s find out…

The audacious rescue plan that might have saved space shuttle Columbia | Ars Technica
The untold story of the rescue mission that could have been NASA's finest hour.

Josh Haberman: On “The Future of JavaScript MVC Frameworks”
The article starts by noting that the React/Om library (which the author also wrote) is 2-4x faster than Backbone in "Benchmark 1" of TodoMVC, and about 800x faster than Backbone for Benchmark 2. This is followed with a profiling graph that shows Backbone making a ton of short-running function calls, where React/Om make many fewer calls that run longer.

harelba/q
Have you ever stared at a text file on the screen, hoping it would have been a database so you could ask anything you want about it? I had that feeling many times, and I've finally understood that it's not the database that I want. It's the language – SQL.

Links van 14 december 2011 tot 17 december 2011

Dirty Signs – I Want to Eat Your Lesbian Vagina – YouTube
Dirty Signs with Kristin! Today, we've got one for the ladies with the phrase, "I want to eat your lesbian vagina." Have a great night!

Bfxr. Make sound effects for your games.
Bfxr is an elaboration of the glorious Sfxr, the program of choice for many people looking to make sound effects for computer games.

Battlestar’s "Daybreak:" The worst ending in the history of on-screen science fiction | Brad Ideas
Battlestar Galactica attracted a lot of fans and a lot of kudos during its run, and engendered this sub blog about it. Here, in my final post on the ending, I present the case that its final hour was the worst ending in the history of science fiction on the screen. This is a condemnation of course, but also praise, because my message is not simply that the ending was poor, but that the show rose so high that it was able to fall so very far. I mean it was the most disappointing ending ever.

asada’s memorandum (The Day I Saw Van Gogh’s Genius in a New Light)
Of course, the premise of this guess may be wrong. Regardless of whether this hypothesis is correct or incorrect, the fact that his work is wonderful and appeals to many people does not change a bit. Still, it is enjoyable to imagine and see his works thinking that we share his eyes.

The Hard Way Is Easier — Learn Python The Hard Way, 2nd Edition
This simple book is meant to get you started in programming. The title says it's the hard way to learn to write code; but it's actually not. It's only the "hard" way because it's the way people used to teach things.

Spelletje (ii)

Bijna geen tijd voor niets gehad, vandaag, maar in de rapte toch nog aan de slag gegaan met pygame.

Typisch, natuurlijk: ik zou eigenlijk moeten de computer moves programmeren, maar ik heb mij eerst op het grafische en op de distributie gegooid.

Nu ja, gegooid: eens uitgeprobeerd wat het allemaal doet. Ik heb een achtergrond en ik heb beeldjes voor de pionnen en zo. Qua teaserachtig, de beeldjes om aan te duiden dat het aan speler A of speler B is (de pionnen en zo zelf zullen niet zo irritant bewegen, natuurlijk):

O_animX_anim

En ik ben erin geslaagd om het in een executable te gooien. Nu ja, niet dat dat moeilijk was of zo, maar toch. Het voelt altijd fijn aan als iets gecompileerd kan worden.

Morgen verder!

(tussen het leeghalen van de keuken door, that is)

Spelletje (i)

Vanalles gedaan vandaag, en pas vanavond aan mijn spelletje begonnen. Het is Python geworden, de programmeertaal. Omdat ik er veel goed van gehoord heb, en omdat ik zin had om eens een taal te leren waar ik nog nooit in gewerkt had.

Het is een beetje objectgeoriënteerd, mijn spelletje, omdat dat nu eenmaal kan in Python. Het had ook niet-OO gekund, maar hey, zo is het nu eenmaal.

Het spelbord zit in een class, met een paar methodes eraan vast: eentje om het bord te tekenen, eentje om een zet te doen, en eentje om te kijken of er een winnaar is. En het bord zelf, de vakjes, zitten allemaal in één string van 25 karakters, haha.

Ik heb voorlopig enkel de hoofdloop van het spel staan: een nieuw bord maken, en zolang er geen winnaar is, de speler doen spelen. Uiteindelijk komen daar twee spelers in, nu heb ik alleen nog maar een functie voor menselijke speler (teken bord, vraag zet en zorg ervoor dat hij geldig is, doe zet).

En dit is wat het tot nog toe doet:

Turn 1

     a b c d e
   +===========+
 1 |           |
 2 |           |
 3 |           |
 4 |           |
 5 |           |
   +===========+
Player O, enter your move (a-e or 1-5):

Er zijn twee spelers, O en M. Het speelbord is 5×5, en spelers kunnen om beurten een zet doen aan de linkerkant of langs boven. Nu is speler O aan zet. Stel dat hij een pion op B binnenschuift, dan wordt dit de situatie:

     a b c d e
   +===========+
 1 |   O       |
 2 |           |
 3 |           |
 4 |           |
 5 |           |
   +===========+
Player M, enter your move (a-e or 1-5):

M zet een pion op 1, en daarmee verschuift de pion van O naar rechts:

Turn 2

     a b c d e
   +===========+
 1 | M   O     |
 2 |           |
 3 |           |
 4 |           |
 5 |           |
   +===========+
Player O, enter your move (a-e or 1-5):

…en zo dus verder. Het is niet compleet evident spelen, omdat het spelbord voortdurend verschuift, maar het is ook geen schaken natuurlijk. En na de negende zet kan het er bijvoorbeeld zo uitzien:

Turn 10

     a b c d e
   +===========+
 1 | M O M M   |
 2 | M O O     |
 3 | M M O O M |
 4 | O M O   M |
 5 |     O O   |
   +===========+
Player O, enter your move (a-e or 1-5):

Zo. Next up: de computer doen bewegen. Ik denk eerst eens random om te zien wat het doet, en dan eens brute kracht, drie ply of zo. En dan pas slimmer werken.

En dáárna: grafisch verzorgen.

© 2018 Michel Vuijlsteke's weblog

Thema gemaakt door Anders NorenBoven ↑