text:
The Mathematics of Mystery
HANK PHILLIPPI RYAN: I love math. Do you? I'm not "good" at it, whatever that mean, and I have been known to ask Alexa for percentages. (I am pretty good at figuring out how much an article of clothing costs if I know the original price and know it's 40 percent off. It's all about practice.)
But I love it because it has answers. There's a thing you can find (usually) if you go about it a right way. Sometimes, and this was my downfall in class, I was never quite sure why you'd want to know it. But we all have our skills. And our limitations.
That's one reason I am so thrilled to introduce you to the incredible and brilliant Sulari Gentill. Her newest book is AFTER SHE WROTE HIM. (Look at that cover!)
She's got some ideas about the connection between math and mystery writing. They connect? Yes, they do. Sulari lives on a small farm in the foothills of the Snowy Mountains of New South Wales, where she grows French Black Truffles and writes about murder and mayhem. And—math.
Here's her calculation.
by Sulari Gentill
Some novelists are all but born knowing they should write. Some study literature, or creative writing, become experts is the academic form of the art. Some belong to families of writers and words are their legacy.
But not me.
I came to writing via the scenic route, completely oblivious to the fork in the road ahead which would lead me into this life. Before I was a writer, I was a lawyer. Before that, I thought I wanted be an Astrophysicist. Indeed, it took me about a year at University, enrolled in what I have come to think of as the "Big Bang Theory" stream, to realise that I didn't ... and, in that time, I sat through a lot of pure and applied mathematics classes.
I might bemoan those lost hours spent trying to prove one plus one equals two from first principles—actually more involved than you'd think—but I have come to realise that everything that went before I decided to write is at least material, and sometimes, more than that. Sometimes what came before becomes technique.
Now people appear to easily see the connection between the practise of law and that of writing fiction, though I'm not sure the profession would welcome the correlation. One doesn't want to create the impression that lawyers make things up! My background in mathematics, however, seems at first glance a less natural precursor to storytelling. And yet, it is probably the greater influence on my work.
In terms of material, mathematics gave me very little, aside from the fact that I could well imagine that some of my classmates kept a couple of bodies in their refrigerators for company. Aside from that, a knowledge of Gaussian curvature and set theory does not really contribute much to a plot and even less to the development of character.
But that year wrangling numbers did teach me a couple of things which are crucial to my work as a mystery writer.
Firstly, it ingrained the concept of logical thinking, the idea that proposition A can exist if, and only if, proposition B existed first. This thinking is of course the kind of inductive logic we have come to regard as deductive reasoning, which is, in turn, essential for a mystery plot to hold together.
Secondly, and perhaps more importantly, it taught me where the interests of mathematics and that of storytelling diverge.
One of the first things you learn in the study of mathematics is that there are many ways to arrive at the one solution and sometimes there are in fact many solutions to the one problem, all of which are "correct". A solution can involve a hundred pages of working, or be achieved in three elegant lines.
For a mathematician it is the elegant solution that is the holy grail. It is the territory of the truly gifted, who can glance at a string of symbols and numerals to recognise the heart of an equation, and then know how to extract that heart with surgical precision. I remember those students... twenty minutes after the three hour exam began they would put down their pens and sit smiling at the rest of us as we scribbled frantically, content in the knowledge that they were a species more evolved. They were probably also the ones with the bodies in their refrigerators.
I think in my entire mathematical career I came up with an elegant solution only once, and that was more accident than design. My answers were generally of the hundred page variety, multiple routes to reach a solution which stopped at dead ends, attempts to use theorems that did not fit, pages of increasingly panicked scrawl, ink smeared with tears and sweat and blood, until finally, exhausted and broken, I battered out a solution that was probably correct, but definitely not elegant.
But you see, it turns out that I'm a storyteller not a mathematician.
In the inelegant solution lies the story. A tale of valiant attempt, of heartbreak, frustration and perseverance, sometimes of failure. There is none of that in the brilliant three line epiphany. The stylish solution is likely a work of genius, possibly poetry, but it is not a story. For that, there must be those untidy attempts, those many pages of not knowing, and above all, a fear of failure.
So that misspent part of my youth spent studying mathematics taught me not only how to solve the puzzle (eventually), but the value of not doing so too cleanly. It showed me how to embrace the struggle that the genius never knows. And that is the art of the mystery writer.
HANK: Oh, isn't that truly thought-provoking? Speaking of which, let me tell you a bit about Sulari's new book, AFTER SHE WROTE HIM.
The synopsis says:
"Madeleine d'Leon doesn't know where Edward came from. He is simply a character in her next book. But as she writes, he becomes all she can think about. His charm, his dark hair, his pen scratching out his latest literary novel . . .
Edward McGinnity can't get Madeleine out of his mind—softly smiling, infectiously enthusiastic, and perfectly damaged. She will be the ideal heroine for his next book.
But who is the author and who is the creation? And as the lines start to blur, who is affected when a killer finally takes flesh?
After She Wrote Him is a wildly inventive twist on the murder mystery that takes readers on a journey filled with passion, obsession, and the emptiness left behind when the real world starts to fall away."
On the cover? Is Dean Koontz. Who says "A pure delight…cleverly conceived and brilliantly executed. Reds and readers, I cannot wait to read this.
And look how great that cover is! Just look again.
SO, Reds and readers, how do you feel about math? And a copy of AFTER SHE WROTE HIM to one very lucky commenter!
Sulari Gentill
A reformed lawyer, Sulari Gentill is the award-winning author of the Rowland Sinclair Mysteries, which chronicle the life and adventures of her 1930s Australian gentleman artist, and the Hero Trilogy, based on the myths and epics of the ancient world.
Sulari has won and been shortlisted in many awards including the Commonwealth Writers' Prize, the Australian Book Industry Awards, the Davitt Awards, the Ned Kelly Awards, and the Scarlett Stiletto Awards. She was the inaugural Eminent Writer in Residence at the Australian Museum of Democracy.
Most recently, Crossing the Lines, an unusual postmodern mystery—which will be released in the US by Poisoned Pen Press in April 2020 as After She Wrote Him—won the 2018 Ned Kelly Award for Best Crime Novel. Give the Devil His Due, the 7th in Rowland Sinclair Mysteries, was just published.
She lives on a small farm in the foothills of the Snowy Mountains of New South Wales.
www.sularigentill.com
@sularigentill (Twitter and Instagram)
Posted by Jungle Red Writers at 12:30 AM 119 comments:
A Room with A View at The Palace--in San Francisco
HANK PHILLIPPI RYAN: Where to start. This is the most fascinating thing ever, and I could give the fabulous Ann Parker (and her newest book
MORTAL MUSIC) a big intro and tease you into reading this amazing view into history.
But I know you, darling Reds and readers. Let me just say a few words: Sarah Bernhardt. Lily Langtry. Tigers. Enrico Caruso. The 1906 San Francisco earthquake.
Are you skipping ahead? Of course you are.
A Room at the Palace
By Ann Parker
When Inez Stannert, the protagonist of my Silver Rush historical mystery series, left the Rocky Mountain mining town of Leadville, Colorado, to settle in San Francisco, California, she needed a place to stay. Such initial thinking led me to exploring what hotels existed in 1881 in "the Paris of the West."
One place in particular cropped up again and again: The Palace Hotel. The Palace, the brain-child of San Francisco banker and investor William C. Ralston, opened in October 1875 and was well established by the time Inez and her 12-year-old ward, Antonia Gizzi, would have made their way to the city.
Engraved illustration of the original Palace Hotel in San Francisco (1887).
Luckily for me, information about the Palace Hotel liberally dots the research landscape. It was renowned in its time, and no wonder—it was not only magnificent, it was HUGE, seven stories tall and covering an entire city block downtown. Each of its 755 guest rooms had a bay window overlooking the street below and a private bathroom. (In 1875, private bathrooms were a big deal.)
Carriages and hacks brought passengers up a circular driveway into the "grand court," which featured a tropical garden, statuary, and fountains and an enormous glass skylight seven stories above. Hotel guests and residents could lean over the balustrades on the various levels and watch the rich and famous come and go below.
And oh, there were many rich and famous who paraded across its marble floors and ascended the redwood-paneled "rising rooms" (aka elevators).
For instance, general and former U.S. president Ulysses S. Grant stopped there in 1879. (Later in that same trip, he visited Leadville, Colorado. His visit there plays a crucial role in two early Silver Rush books—Iron Ties and Leaden Skies, but I digress.) Civil War generals Philip Sheridan and William T. Sherman were also feted at the Palace. Visitors representing the literary arts included Rudyard Kipling, Oscar Wilde, Julia Ward Howe, and newspaper-publisher and writer Miriam Leslie (who managed Leslie's Weekly after her husband's death).
What interested me most were the stories of various nineteenth and early twentieth century singers and actors and actresses who stayed within its walls. One of the better-known guests was the tenor Enrico Caruso, who was in the hotel when the famous 1906 earthquake struck. (One oft-told tale is that he came to the balcony and sang to calm the hysterical masses, however the story is apparently apocryphal. You can read an account of what really went down here on SF Gate.)
Besides Caruso, luminaries included opera singers Adelina Patti and Emma Nevada and actresses Sarah Bernhardt and Lilly Langtry.
In 1887, Bernhardt arrived at her eight-room Palace Hotel suite, surrounded by a mountain of baggage and her pet parrot and baby tiger. Langtry checked in with thirty-two trunks and twenty-eight leather hat-boxes and valises, while Patti bested those numbers with thirty-six trunks and countless other bits of luggage. As I pored over descriptions of the trials, tribulations, and triumphs of these performers and others, Theia Carrington Drake—the fictional prima donna of Mortal Music—took form in my imagination.
Lillie Langtry and Sarah Bernhardt were both guests at the Palace Hotel, although not at the same time, as far as I can tell.
As I researched the hotel's history, I also became intrigued by the story of the staff who, visible and invisible, kept the Palace running. Warren Leland, the original manager, hired nearly 200 African-American hotel employees—a very unusual move in 1870s San Francisco.
They occupied highly coveted positions at what was described as "the largest, most exclusive hotel west of the Mississippi." Around 150 men were hired to be waiters, bellmen, porters, and cooks, while a goodly number of women took positions as chambermaids. The book Pioneer Urbanites: A Social and Cultural History of Black San Francisco by Douglas Henry Daniels, notes "... the salaries were good, and the patrons gave handsome tips." However, the situation did not last.
When new management took over in the late 1880s, black cooks and waiters were immediately fired and instantly replaced with white employees. This 1889 article in the Daily Alta California provides some background.
But the story of the Palace Hotel is more than glitter and glamor and upstairs/downstairs. With more than a thousand souls living or working within its walls, the Palace was a city within a city. Bonanza Inn sums it up nicely:
"Whatever happened elsewhere in the way of human behavior was certain sooner or later to happen there. Within its walls men and women schemed and quarreled, gambled away fortunes and conducted profitable businesses, drank to excess and delivered lectures on temperance, lived in adultery and led exemplary lives—all according to their preferences and their opportunities... "
This nineteenth-century "city within a city" proved the perfect place for me to bring my fictional diva Theia Carrington Drake, her newspaper-publisher husband, and their entourage and for me to kickstart Mortal Music's tale of mystery, murder, and deception.
And I suspect that, like many of the hotel's esteemed visitors from the past, I will return there again in the future.
HANK: Oh, I am swooning. Have you been to the Palace Hotel? ANY palace hotel? It reminds me of the line from that movie Grand Hotel--"people come and people go, but there is always the Grand Hotel."
What's the most wonderful hotel you've ever visited?
And a copy of MORTAL MUSIC to one lucky commenter!
And Ann Says: PS: The Palace Hotel was destroyed in the fire following the 1906 San Francisco earthquake. It was rebuilt, and remains a hotel today. You can visit, have brunch at the Garden Court restaurant with its vaulted glass dome above, and use your imagination to time-travel to nineteenth-century San Francisco. For more information, check out A Brief Illustrated History of the Palace Hotel by Bruce Cooper.
Ann Parker is a science writer by day and historical mystery writer at night. Her award-winning Silver Rush mystery series, published by Poisoned Pen Press (a Sourcebooks imprint), is set primarily in 1880s Colorado, and more recently in San Francisco, the "Paris of the West." The series was named a Booksellers Favorite by the Mountains and Plains Independent Booksellers Association.
Mortal Music is the seventh and newest in the series. For more information about Ann and her books (and links to some really fun historical tidbits about Leadville and San Francisco), click here.
MORTAL MUSIC (Silver Rush Book 7)
"Richly nuanced period details and vivid characters enhance a plot that takes some surprising turns." —Publishers Weekly
Chasing One's Own Tail
Release Day for Jenn's Buried to the Brim!!!
Have you Scene It? Our Favorite Movie Scenes
What We're Writing or Not: Jenn's Not!
What We're Writing - The Play's The Thing
What We're Writing--Debs in Discovery Mode
What Hank's Writing: It's Copy Edit Time!
What We're Writing: Rhys tackles two times
What We're Writing @LucyBurdette
Sticky words - What Hallie's Writing
Jungle Reds' Discussion Questions for Book Groups
TOP 10 THINGS YOU CAN DO TO HELP SAVE THE PLANET
Music as grace notes in James Ziskin's Ellie Stone...
Monastery turned prison camp in James L. May's deb...
Marilyn Reads Mysteries: Insights from a book blogger
Jess Montgomery's Kinshp series continues: THE HOL...
Revealing our secret SUPERpowers
Fry Me Another! by Jenn McKinlay
Have You Got Game?
Collaboration Is the Way to Go by Michael Stanley
An Interview with Miranda (Dean) James
Never Have I Ever (Book Edition)
The Game is Once Again Afoot and We're Off to Lond...
Best Nine 2019 for the Reds
Comfort Food for Sunday: Creamy Risotto
Word for the Year - 2020
The Scoop on author J.P. Smith, a guest blog
Reflections before Resolutions: a guest post by Ce...
A Poem for the New Year


text:
Emslie John Horniman
Front view of whole of Horniman Museum object no ARC/HMG/HOR/016/004
Emslie John Horniman (1863-1932), British anthropologist, philanthropist and Liberal Party politician. The son of Frederick Horniman (1835-1906) and Rebekah (d.1895), he was educated privately and at the Slade School of Fine Art. He spent his youth travelling widely, visiting Egypt, Morocco, Central Africa, India, Burma, the Dutch East Indies, French Indochina, China, Japan and the United States where he also collected arts and curiosities from these respective countries. He was elected to the London County Council to represent Chelsea in 1898 and was elected to Parliament in 1906 where he served one term for the borough. In 1911 he laid out and donated a public park in Chelsea to the LCC, since known as the Emslie Horniman's Pleasance. He inherited the Horniman's Tea Company from his grandfather and became a director of the company, and in 1912 purchased Burford Priory, Oxfordshire. He later sold the company to rivals J Lyons & Co in 1918. He married Laura Isobel Plomer and had three children.
Emslie was an important benefactor and collector to the museum. He funded the extension of the museum and the construction of the library and the lecture hall in 1912. He was also responsible for donating a public park to the London County Council in Chelsea, which is now known as the Emslie Horniman's Pleasance.
Upon his death £10,000 was given to the London County Council to build an extension to the Horniman museum. In 1944, the Royal Anthropological Institute established the Emslie Horniman Anthropological Scholarship Fund in his memory to 'promote the study of the growth of civilisations, habits and customs, religious and physical characteristics of the non-European peoples and of prehistoric and non-industrial man in Europe.
tea trader, MP, collector and benefactor (1863 - 1932)
Horniman, Frederick John
stepson of
Horniman, Minnie Louise
Horniman, Laura Isobel
Horniman, John Eric
Horniman, Laurence Ivan
grandfather of
Horniman, Michael
Horniman, Rebekah
Connected to...
chisel (general & multipurpose)
object | 9.371
celt (general & multipurpose)
hatchet; sheath (general & multipurpose)
object | 25.70
sheath (general & multipurpose)
object | 25.70ii
object | 99.283ii
agent | agent-6496
object | 10.198iii.14
object | 10.198iii.9
cockspur case
object | 25.74i
cockspurs
bottle (containers)
object | 9.80i
hammer (general & multipurpose)
object | 27.230vi
agent | agent-11903
knife (general & multipurpose)
object | 9.97

redpajama_set_name: RedPajamaCommonCrawl


Join the #LuvSoFab Photo a Day!
Mamabuzz has shared the fab badge made by @RebeccaEParsons for lots of photo fun this sunny June, it is a great way to think of creative things to snap throughout your month and share it on Instagram.
Collective Bias and Social Fabric are hosting the June Photo a Day, and I thought you might want to join in the fun with me.
Just post your photos to Instagram, also sharing to Twitter and/or Facebook. Be sure to tag your photos with the hashtags #LuvSoFab and #cbias.
If you want to follow more Instagram lovers, just search that hashtag on Instagram or Twitter, and start going through, Liking photos and following. It's a great way to both grow your own followers and network like a pro.
You can see all my instagram photos here: http://instagram.com/mummyconstant/.


text:
Collimore Surname Ancestry Results
Our indexes 1000-1999 include entries for the spelling 'collimore'. In the period you have requested, we have the following 6 records (displaying 1 to 6):
Buy all
Get all 6 records to view, to save and print for £28.00
collieson collieu collife colliford collifoy colliga colligan collige collighan colligne collignon colligny collihall collihan collihole colliholo colliins colliley colliman collimer collin collinbine collinborn collinbourn collinbridge collinbs collind collinder collindg collindon collindridge colline collineau collines collinet collinett collinfs colling colling' collingan
Liegemen and Traitors, Pirates and Spies (1586-1587)
The Privy Council of queen Elizabeth was responsible for internal security in England and Wales, and dealt with all manner of special and urgent matters
COLLIMORE. Cost: £4.00.
Liegemen and Traitors, Pirates and Spies (1588)
English Civil Servants (1791)
Officers and officials of the various government departments, mostly in London, listed in the Universal British Directory. It includes the royal household, the departments of state, and public offices
Traders and professionals in London (1851)
The Post Office London Directory for 1851 includes this 'Commercial and Professional Directory', recording about 80,000 individuals.
Residents of Southampton (1956)
Kelly's Directory of Southampton and Neighbourhood for 1956 lists private residents by surname, christian name(s), house, street and area, for the whole of the county borough of Southampton in Hampshire, including Portswood, Freemantle, Shirley, Bassett, Bitterne, Bitterne Park, Itchen, Sholing, North Stoneham, South Stoneham, Swaythling, Weston with Newtown, Woolston, Redbridge and West End.
Telephone subscribers in Cambridgeshire, Hertfordshire, and parts of Norfolk, Essex and Suffolk (1958)
The Post Office Telephone Directory for the Cambridge area for June 1958 lists subscribers from Bishop's Stortford (Hertfordshire), Brandon (Suffolk), Buntingford (Hertfordshire), Bury St Edmunds (Suffolk), Cambridge, Downham Market (Norfolk), Dunmow (Essex), Ely (Cambridgeshire), Epping (Essex), Fakenham (Norfolk), Great Dunmow (Essex), Harleston (Norfolk), Harlow (Essex), Haverhill (Suffolk), Hertford, Hunstanton (Norfolk), King's Lynn (Norfolk), Much Hadham (Hertfordshire), Newmarket (Suffolk), Ongar (Essex), Royston (Hertfordshire), Saffron Walden (Essex), Sandringham (Norfolk), Sawbridgeworth (Hertfordshire), Stansted (Essex), Swaffham (Norfolk), Thetford (Norfolk), Walsingham (Norfolk), Ware (Hertfordshire), Wells-next-the-Sea (Norfolk), and the surrounding countryside.


Learn more about the precautions we take and find more detailed security resources.
Security is a matter we take very seriously, and we use https as security protocol in the company. Our clients' data in Napp is stored securely in the cloud and daily backups are available.


text:
Q: Why can't jQuery get the value of an input type number if it contains a `+`? Using the following Html Element:
<input type="number" id="numberField" placeholder="number">

if you get fill the input with +16762634 for example.
It will not ge tthe value.
Why is that?
jsfiddle

A: "+" is not a number. So depending on your browser, the rest is not evaluated

redpajama_set_name: RedPajamaStackExchange


post on Facebook or Twitter using the buttons below (added advantage). Siteye tklayarak veya giderek, Facebook'ta ve Facebook'un dnda çerezler araclyla bilgi toplamamza izin vermi olursunuz. If there is any problem please let us know. I developed using python on top. You will receive a WhatsApp message like below. You are going to love it because you can put your conversation messages after breaking the ice and start talking about a common ground activity. Users can update their profile, set their status messages and other stuff. Meet rich single ladies on whatsapp chat: Miss Confidence wants a young and promising guy with lots of positivity.
Catholic Vox (Official App dolls Surprise Opening Hatch Eggs : LQL 2018 Toys. Çerikleri kiiselletirmemize, reklamlar özelletirip ölçmemize ve daha güvenli bir deneyim salamamza yardmc olmas için çerezleri kullanrz. You need download All-in-One APK Downloader first. So last week, I had a discussion with Omar. This is how it works: To create profile, user sends: join, name, gender, age, location, the user gets a reply through WhatsApp: You have successfully created your profile on WhookApp. To get the next result from the last search, user sends. Ladies u won't like to miss this join n meet ur future partner 27/30yrs @t up to be added.
Read more, following several weeks associated with split up, you are nevertheless on its own and also you have not discovered somebody brand new however. Read more, i understand you..
Also, with Apartment Life, having a Reputable Resident reputation will give a bonus. There are five different versions of the Hakuoki boyfriend simulator, with the most recent being Shinkai..
"Yleisradion ohjelmatoiminta keskeytyy kello 14-24 väliseksi ajaksi YLEn henkilöstön ulosmarssin vuoksi. Herrasmiesliiga (Alan Mooren Kerrassaan Merkillisen sarjiksen elokuvasovitus) Ja Subilta tulee Simpsons-maratonia. Otsikko: Re: Tänän TV:ssä Kirjoitti: Asko AA..
Go ahead, it s free to look! [email protected], where all great success stories begin. View thousands of stories of couples who have found love thanks to m or submit your.


Great way to quickly wipe your dog down when he needs freshening up or to help get dirt off him when he decides to go dig! LOL.
I love this stuff. I clean my animals on a regular basis and most scents are too strong for me. I love this subtle smell and my pets don't mind it either!


Inspired by a British artist, Nick Rowland, the children re-created his volcanic explosion, concentrating on the lava first through flicked brush strokes and a mixture of red, orange and yellow. After drying, the children put out a template of a volcano before removing this to cover their work. They then used pipettes to a drip effect. The final results are amazing! Well done Year 3!
In class 3 we celebrated British Science Week by investigating what type of drink would make the best exploding potion. Water and squash were unsuccessful so we tried again with only fizzy drinks and learnt that Diet Coke makes a fantastic explosion!
Meeting some weird and wonderful animals!
Newsround Can you kit out Barney, Lindsey or Radzi in the right outfit to face a Blue Peter challenge?


text:
International Press Institute
Turkey can jail Cumhuriyet staff 'at any minute,' lawyers say
April 22, 2019 3:55 PM EDT
Istanbul, April 22, 2019–The Committee to Protect Journalists called on Turkish authorities to not take eight former employees from the daily Cumhuriyet into custody until the Supreme Court has heard their colleagues' appeal. At a press conference in Istanbul today, lawyers representing the employees said they would ask authorities to delay acting on a local…
Turkey convicts Cumhuriyet journalists on terrorism charges
Istanbul, April 25, 2018–An Istanbul court today convicted 14 people affiliated with the independent daily Cumhuriyet of aiding terrorist organizations and sentenced them to jail terms ranging between three and seven years, the newspaper reported. The court placed the journalists on probation and banned them from traveling until the appeals process has ended, according to…
Report highlights Turkey's troubled press freedom record
November 2, 2015 2:29 PM EST
Turkish authorities should end impunity for attacks against journalists, decriminalize insult and defamation, stop harassing critical news outlets, and release imprisoned journalists, according to "Press Freedom in Turkey's Inter-Election Period," a report published Saturday by the Vienna-based International Press Institute. Muzaffar Suleymanov, CPJ's Europe and Central Asia program researcher, contributed to the report.
Why Spain's new gag law is threat to free flow of information
May 1, 2015 1:33 PM EDT
On July 1 a public security law is due to come into force in Spain amid an increasingly vocal chorus of concern among the media and press freedom groups. The bill–dubbed the "ley mordaza," or "gag law," by opposition groups–would define protests in front of parliament and other government buildings as a "disturbance of public…
Outdated secrecy laws stifle the press in South Africa
April 27, 2015 11:01 AM EDT
Nelson Mandela regularly harangued the media once he'd been freed after 27 years of imprisonment by South Africa's apartheid government. He would call individual journalists when he liked or disliked something they had written or when he wanted to advance a political lobby.


text:
package org.kohsuke.github;

import org.junit.Rule;
import org.junit.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;

public class GHEventPayloadTest {

    @Rule
    public final PayloadRule payload = new PayloadRule(".json");

    @Test
    public void commit_comment() throws Exception {
        GHEventPayload.CommitComment event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.CommitComment.class);
        assertThat(event.getAction(), is("created"));
        assertThat(event.getComment().getSHA1(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
        assertThat(event.getComment().getUser().getLogin(), is("baxterthehacker"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void create() throws Exception {
        GHEventPayload.Create event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Create.class);
        assertThat(event.getRef(), is("0.0.1"));
        assertThat(event.getRefType(), is("tag"));
        assertThat(event.getMasterBranch(), is("master"));
        assertThat(event.getDescription(), is(""));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void delete() throws Exception {
        GHEventPayload.Delete event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Delete.class);
        assertThat(event.getRef(), is("simple-tag"));
        assertThat(event.getRefType(), is("tag"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void deployment() throws Exception {
        GHEventPayload.Deployment event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Deployment.class);
        assertThat(event.getDeployment().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
        assertThat(event.getDeployment().getEnvironment(), is("production"));
        assertThat(event.getDeployment().getCreator().getLogin(), is("baxterthehacker"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void deployment_status() throws Exception {
        GHEventPayload.DeploymentStatus event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.DeploymentStatus.class);
        assertThat(event.getDeploymentStatus().getState(), is(GHDeploymentState.SUCCESS));
        assertThat(event.getDeploymentStatus().getTargetUrl(), nullValue());
        assertThat(event.getDeployment().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
        assertThat(event.getDeployment().getEnvironment(), is("production"));
        assertThat(event.getDeployment().getCreator().getLogin(), is("baxterthehacker"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void fork() throws Exception {
        GHEventPayload.Fork event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Fork.class);
        assertThat(event.getForkee().getName(), is("public-repo"));
        assertThat(event.getForkee().getOwner().getLogin(), is("baxterandthehackers"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterandthehackers"));
    }

// TODO uncomment when we have GHPage implemented
//    @Test
//    public void gollum() throws Exception {
//        GHEventPayload.Gollum event =
//                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Gollum.class);
//        assertThat(event.getPages().size(), is(1));
//        GHPage page = event.getPages().get(0);
//        assertThat(page.getName(), is("Home"));
//        assertThat(page.getTitle(), is("Home"));
//        assertThat(page.getSummary(), nullValue());
//        assertThat(page.getAction(), is("created"));
//        assertThat(page.getSha(), is("91ea1bd42aa2ba166b86e8aefe049e9837214e67"));
//        assertThat(page.getHtmlUrl(), is("https://github.com/baxterthehacker/public-repo/wiki/Home"));
//        assertThat(event.getRepository().getName(), is("public-repo"));
//        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
//        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
//    }

    @Test
    public void issue_comment() throws Exception {
        GHEventPayload.IssueComment event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.IssueComment.class);
        assertThat(event.getAction(), is("created"));
        assertThat(event.getIssue().getNumber(), is(2));
        assertThat(event.getIssue().getTitle(), is("Spelling error in the README file"));
        assertThat(event.getIssue().getState(), is(GHIssueState.OPEN));
        assertThat(event.getIssue().getLabels().size(), is(1));
        assertThat(event.getIssue().getLabels().iterator().next().getName(), is("bug"));
        assertThat(event.getComment().getUser().getLogin(), is("baxterthehacker"));
        assertThat(event.getComment().getBody(), is("You are totally right! I'll get this fixed right away."));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

// TODO implement support classes and write test
//    @Test
//    public void issues() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void label() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void member() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void membership() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void milestone() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void page_build() throws Exception {}

    @Test
    @Payload("public")
    public void public_() throws Exception {
        GHEventPayload.Public event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Public.class);
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

    @Test
    public void pull_request() throws Exception {
        GHEventPayload.PullRequest event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.PullRequest.class);
        assertThat(event.getAction(), is("opened"));
        assertThat(event.getNumber(), is(1));
        assertThat(event.getPullRequest().getNumber(), is(1));
        assertThat(event.getPullRequest().getTitle(), is("Update the README with new information"));
        assertThat(event.getPullRequest().getBody(), is("This is a pretty simple change that we need to pull into "
                + "master."));
        assertThat(event.getPullRequest().getUser().getLogin(), is("baxterthehacker"));
        assertThat(event.getPullRequest().getHead().getUser().getLogin(), is("baxterthehacker"));
        assertThat(event.getPullRequest().getHead().getRef(), is("changes"));
        assertThat(event.getPullRequest().getHead().getLabel(), is("baxterthehacker:changes"));
        assertThat(event.getPullRequest().getHead().getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"));
        assertThat(event.getPullRequest().getBase().getUser().getLogin(), is("baxterthehacker"));
        assertThat(event.getPullRequest().getBase().getRef(), is("master"));
        assertThat(event.getPullRequest().getBase().getLabel(), is("baxterthehacker:master"));
        assertThat(event.getPullRequest().getBase().getSha(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
        assertThat(event.getPullRequest().isMerged(), is(false));
        assertThat(event.getPullRequest().getMergeable(), nullValue());
        assertThat(event.getPullRequest().getMergeableState(), is("unknown"));
        assertThat(event.getPullRequest().getMergedBy(), nullValue());
        assertThat(event.getPullRequest().getCommentsCount(), is(0));
        assertThat(event.getPullRequest().getReviewComments(), is(0));
        assertThat(event.getPullRequest().getAdditions(), is(1));
        assertThat(event.getPullRequest().getDeletions(), is(1));
        assertThat(event.getPullRequest().getChangedFiles(), is(1));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterthehacker"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

// TODO implement support classes and write test
//    @Test
//    public void pull_request_review() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void pull_request_review_comment() throws Exception {}

    @Test
    public void push() throws Exception {
        GHEventPayload.Push event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Push.class);
        assertThat(event.getRef(), is("refs/heads/changes"));
        assertThat(event.getBefore(), is("9049f1265b7d61be4a8904a9a27120d2064dab3b"));
        assertThat(event.getHead(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"));
        assertThat(event.isCreated(), is(false));
        assertThat(event.isDeleted(), is(false));
        assertThat(event.isForced(), is(false));
        assertThat(event.getCommits().size(), is(1));
        assertThat(event.getCommits().get(0).getSha(), is("0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c"));
        assertThat(event.getCommits().get(0).getAuthor().getEmail(), is("baxterthehacker@users.noreply.github.com"));
        assertThat(event.getCommits().get(0).getCommitter().getEmail(), is("baxterthehacker@users.noreply.github.com"));
        assertThat(event.getCommits().get(0).getAdded().size(), is(0));
        assertThat(event.getCommits().get(0).getRemoved().size(), is(0));
        assertThat(event.getCommits().get(0).getModified().size(), is(1));
        assertThat(event.getCommits().get(0).getModified().get(0), is("README.md"));
        assertThat(event.getRepository().getName(), is("public-repo"));
        assertThat(event.getRepository().getOwnerName(), is("baxterthehacker"));
        assertThat(event.getRepository().getUrl().toExternalForm(), is("https://github.com/baxterthehacker/public-repo"));
        assertThat(event.getPusher().getName(), is("baxterthehacker"));
        assertThat(event.getPusher().getEmail(), is("baxterthehacker@users.noreply.github.com"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

// TODO implement support classes and write test
//    @Test
//    public void release() throws Exception {}

    @Test
    public void repository() throws Exception {
        GHEventPayload.Repository event =
                GitHub.offline().parseEventPayload(payload.asReader(), GHEventPayload.Repository.class);
        assertThat(event.getAction(), is("created"));
        assertThat(event.getRepository().getName(), is("new-repository"));
        assertThat(event.getRepository().getOwner().getLogin(), is("baxterandthehackers"));
        assertThat(event.getOrganization().getLogin(), is("baxterandthehackers"));
        assertThat(event.getSender().getLogin(), is("baxterthehacker"));
    }

// TODO implement support classes and write test
//    @Test
//    public void status() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void team_add() throws Exception {}

// TODO implement support classes and write test
//    @Test
//    public void watch() throws Exception {}

}

redpajama_set_name: RedPajamaGithub


A person with sickle cell trait carries one sickle hemoglobin-producing gene inherited from their parents and one normal hemoglobin gene. (Genes are made up of DNA molecules, which are the simplest building blocks of heredity. They are grouped together in specific patterns, forming the unique "blueprint" for every physical and biological characteristic of that person.) People with sickle cell trait do not have or contract sickle cell disease. However, if they have a child with another person who has sickle cell trait or other genetic conditions, that child may have sickle cell disease.
You inherit the abnormal hemoglobin from your parents. Often both parents are carriers with sickle cell trait, but they could also have sickle cell disease or other blood conditions. You cannot catch sickle cell, and no one can catch it from you. You are born with the sickle cell hemoglobin and it is present for life. If you have sickle cell trait it means you inherit a sickle gene from one parent, and a normal hemoglobin gene from the other. If you have the disease it means you have sickle hemoglobin, but no normal hemoglobin gene. This can be because you have two sickle genes (one from each parent), or one sickle gene, and another type of abnormal hemoglobin gene.
Is sickle cell only in African-Americans?
Many different ethnic and racial groups have sickle cell disease and trait, including African-Americans, Africans, Arabs, Greeks, Italians, Latin Americans, Caucasians and those from India.
A simple blood test called hemoglobin electrophoresis can be done by your doctor or any of the Northwest Sickle Cell Collaborative partners. This test will tell if you are a carrier of the sickle cell trait or if you have the disease. Coming soon: Click here to learn about genetic testing for people with sickle cell trait.
In Washington state, newborn babies are tested for sickle cell trait. Coming Soon: Click here to learn more.
Thanks to the Sickle Cell Foundation of Georgia, Emory University School of Medicine, for providing this information. To learn more, go to www.scinfo.org.


Very showy specimen of deep honey colored cubic fluorite crystals from the Okorusu Mine, Otjiwarongo District, Karibib Region, Namibia. Specimen can be displayed several ways. Condition is not perfect, there is one chipped corner, otherwise excdellent condition. A heavy piece measuring 15 x 10 x 7 inches (38.1 x 25.3 x 17.8 cm). Weighs 25 pounds.


Filmmaker Kevin Smith posted to his social media accounts today that he survived a "massive" heart attack last night after his stand-up performance at the Alex Theatre in Glendale, CA.
See below to read Smith's full Facebook post, where he describes his ordeal and gives his thoughts about this near-death experience.
The last four movies that Kevin Smith has worked on as a director—Red State, Tusk, Holidays, and most recently Yoga Hosers—have all been horror movies or have had horror elements. Much different from the comedies and dramedies set in the "View Askewniverse" he's best known for, such as Clerks, Mallrats, and Dogma. He's also been involved in a couple of TV shows on The CW recently, directing a couple of episodes of both The Flash and Supergirl.
There's been talk here and there of returning to his Askewniverse again for Clerks III, a world he hasn't visited since 2006's Clerks II. But now Smith has revealed that Clerks III is dead and he's turned his attention to the most familiar part of the Askewniverse, Jay and Silent Bob, who he's written a new movie for. Find out what it's about below.
Last week on The Flash, the group tries to make do with a slow Barry (Grant Gustin), using video game-like holograms to scare the bad guys into submission. And it seems to work a bit. Zoom is terrorizing Central City, and "Rupture" (Cisco's brother's Earth-2 counterpart) is after Cisco (Carlos Valdes), so they decide to recreate the particle accelerator explosion. After a really long back and forth, and three dads worth of advice, they try it. Barry disintegrates. Jesse and Wally get hit with the speed force and Barry particles and pass out.
The critics and audience have spoken, and while the former didn't like it as much as the latter, Batman v Superman: Dawn of Justice was the number one film at the box office. This wouldn't be the first time that there was a huge disparity between audiences and critics, and it won't be the last. You've already seen our review of the film. And now celebrities are voicing their opinions on it. But one of them may come as a huge surprise.
Following his hosting duties on the DC Films Presents: Dawn of the Justice League special on The CW with DC Chief Creative Officer Geoff Johns, Kevin Smith has expressed some of his disappointment in BvS, saying that it lacked joy and that there is a "fundamental lack of understanding of what those characters are about." See what else he had to say below.


No one really knows what Ford has in store when it comes to the new Ford Bronco and we have been hearing a lot of rumours about what might come our way. One rumour that does keep cropping up is that the vehicle is going to offer up a brand new design.
Everyone is keeping their fingers crossed that the new Ford Bronco will offer up a new look, but of course people still want the Bronco to be recognisable as the Bronco. What people don't want is for the Bronco to arrive on the market and it look nothing like the one from the past.
Rumour has it that the Ford Bronco will be making its way out in 2020 and this will be around one year after the release of the new Ford Ranger. Both of the vehicles will be produced in the US at the Michigan plant.
Recently the Ford President of Americas said that the new version of the Ford Bronco is going to be true to the heritage and people will instantly know that it is the new Bronco. So fingers crossed that Ford choose to go better safe than sorry with the design.
It needs to look like the concept rendering bronco. Point blank! It needs a 302ci V8 coyote engine, 10-speed auto, and Raptor suspension. That's really all there is to it.


text:
New York State is hitting its community solar stride
The Empire State has seen its installed solar capacity increase 1,000 fold since 2011, due in part to the next-man-up nature of the state's community solar industry.
October 26, 2018 Tim Sylvia
New York City winter sunset
Image: Wikimedia Commons
With community solar programs growing more and more popular by the day, it's no wonder the nation's third-most populous state is seeing rapid development. This week, Nexamp announced the completion of New York's newest community solar venture, a 7.5 MW project in Newfield. Not soon after came the news that officials in the town of Vernon are hearing proposals for their own community solar project.
Nexamp's project in Newfield, dubbed The Millard Hill Community Solar project, was constructed as part of the town's commitment to New York's new target of 50 percent renewable energy by 2030, as enacted by Governor Andrew Cuomo (D) in 2014. Nexamp, along with the Tompkins County Chamber of Commerce is celebrating the completion of The Millard Hill project with a ribbon cutting ceremony on October 29.
"We're thrilled to celebrate the completion of our first community solar array in New York, which will deliver meaningful savings to ratepayers,"Nexamp CEO Zaid Ashai said in a release touting the project's completion. "We're on a mission to put the benefits of solar power within reach of far more individuals across the state, and this project is the first of many Nexamp will invest in in the coming months."
The project has already recorded over 800 enrollments of New York State Electric & Gas customers in Tompkins County. Nexamp reports that these early participants will save up to 10% on their portion of the project so long as they remain enrolled in Nexamp's Solarize My Bill program.
Renewable Reincarnation
In New York, it seems that as soon as one community solar project launches, the next proposal pops right up. And that's exactly what's happening in Vernon, as the Oneida Daily Dispatch reports that representatives from RER Energy Group and Associated Energy Developers met with Vernon town officials to propose a project of their own.
The proposal outlines a 5 MW solar project on 58-acres of privately-owned land across the street from the Vernon courthouse. The project would be accompanied by a $10 million price tag, with plans to sell the electricity generated to National Grid. RER Energy Group is reportedly seeking a project with an anticipated enrollment of roughly 1,000 people.
While not entirely due to community solar, in the last decade, New York has seen a solar explosion. The state saw its total installed capacity grow more than 1,000% in size from December 2011 to December 2017. That growth figure also includes the 728 megawatts of community solar projects developed in the Empire State. As it stands, SEIA has New York ranked as the 11th in all states for total installed capacity, up from 12th in 2017, at just over 1,460 MW. SEIA also projects New York to have the nation's 5th highest projected growth over the next five years, with 3,265 MW expected.
If only the Yankees looked as promising. Go Sox.
Tim Sylvia
Tim Sylvia is an associate editor at pv magazine USA. A recent graduate of Hood College, Tim has been with pv magazine since May 2018.
More articles from Tim Sylvia


text:
Home → Events → STIAS Lecture Series 2014: Christof Heyns – Autonomous Weapons Systems: Coming to a theatre near you?
STIAS Lecture Series 2014: Christof Heyns – Autonomous Weapons Systems: Coming to a theatre near you?
Please note the new venue for the STIAS lectures
Christof Heyns, Professor of Human Rights Law at the University of Pretoria,
United Nations Special Rapporteur on extrajudicial, summary or arbitrary executions
and STIAS Board member will present a talk with the title:
Autonomous Weapons Systems: Coming to a theatre near you?
Computers are playing an increased role in almost all aspects of our lives. It is only to be expected that the time will come when they will be in a position to decide whether force should be used against human beings, on the battlefield or in law enforcement. We are now at the point where autonomous weapons systems – sometimes called 'killer robots' – are a looming reality.
Unlike drones, which still have human operators who take targeting decisions, even if from a distance, autonomous weapons have on-board computers that play this role.
The possible deployment of autonomous weapons systems raises far-reaching ethical and legal concerns about human life and human dignity. Is it acceptable that machines will have the power to decide whether humans will live or die? Who will be responsible if things go wrong – as they inevitably will? Or should they rather be welcomed, as some commentators argue, as potential savers of life on the battlefield, because they can think faster than humans and as a result can possibly make better targeting decisions?
Christof Heyns, United Nations Special Rapporteur on extrajudicial, summary or arbitrary executions, presented a report on autonomous weapons in the context of armed conflict to the UN Human Rights Council in May 2013. The report, together with civil society activism, elicited an on-going international debate on the legal and ethical implications of this technology, within the UN and other international structures, in which Heyns has been a central participant. He will present a further report on its use by the police in October 2014 to the General Assembly.
In the presentation at STIAS, Heyns will address the issues at stake and give an overview of the current state of the debate concerning what has become one of the cutting-edge issues of our time.
For the civil society campaign, see www.stopkillerrobots.org/. The 2013 report is at
www.icla.up.ac.za/images/un/hrc/Thematic%20report%20-%20LARs%20A-HRC-23-47_en.pdf
Christof Heyns was appointed United Nations Special Rapporteur on extrajudicial, summary or arbitrary executions in August 2010. He is Professor of Human Rights Law at the University of Pretoria, and Co-director of the Institute for International and Comparative Law in Africa. He is a former dean of the Faculty of Law and a former director of the Centre for Human Rights at the University of Pretoria. He has been teaching at Oxford and the American University in Washington DC for the last ten years. He has published widely in the field of international human rights law.
Christof Heyns studied at the Universities of Pretoria and the Witwatersrand, and Yale Law School. He was a Humboldt Fellow at the Max Planck Institute for International Law in Heidelberg, Germany, and a Fulbright Fellow at Harvard Law School. He serves on the STIAS Board of Directors.
Unravelling the complicated history of human rights to understand its future – Fellows' seminar by Christof Heyns