text:
Pixel Scroll 10/22 No Certain Elk
Posted on October 22, 2015 by Mike Glyer
(1) Nick Skywalker's touch of genius —
Ray and Han conversation.#StarWars #TheForceAwakens #HanSolo pic.twitter.com/7Y3YoeN3Qx
— Nick Hedenbeck (@NickSkywalk) October 21, 2015
(2) Jurassic World director Colin Trevorrow is teasing plans for a sequel. Cinema Blend says here's what to expect:
It all has to do with what B.D. Wong's Dr. Wu said in this summer's blockbuster: "We're not always going to be the only ones who can make a dinosaur." In an interview with Wired U.K., Trevorrow said he found that to be an interesting idea:
What if this went open source? It's almost like InGen is Mac, but what if PC gets their hands on it? What if there are 15 different entities around the world who can make a dinosaur?
Though Trevorrow admits this isn't really covered in the original movie, it's something in which he sees potential for growth. Looking back to the first Jurassic Park film, we saw Wayne Knight's Dennis Nedrey attempt to steel the genetic material from dinosaurs and smuggle them off the island for a third party. While he didn't succeed, this seems to be along the same lines that Trevorrow is talking about.
(3) Tom Galloway: "Seems Mark Zuckerberg's project for this year was to read a lot of books (for values of "lot" that amounts to one every two weeks. Well, he is busy). There's a Facebook page to serve as an online book club for them, and the latest choice is the Hugo-winning Three Body Problem."
(4) David Gerrold has made his novelette "Entanglements," published in the May/June issue of The Magazine of Fantasy & Science Fiction, a free read via Dropbox. [PDF file]
(5) Aya de Leon's article "Space Babe Fantasies: On Geoff Marcy and Sexism in Science and Sci-Fi" for The Toast begins with a headline example of harassment, and moves on to comment about the genre, including three paragraphs about Sad Puppies.
Last Thursday, my colleagues and I received an email from the Chancellor of UC Berkeley informing us that Marcy had resigned. A panel had found that he had sexually harassed female students for nearly a decade. According to Azeen Ghorayshi, the reporter who broke the story for BuzzFeed, Marcy's great success was part of the reason why his pattern of harassment went unchallenged. As Ghorayshi explained, "Marcy's is the rare ilk of scientific research that is capable of both reaching the peak of his field and capturing the public imagination."
Ghorayshi lays out in painful detail how Marcy's behavior was both widespread and well known; her article documents incidents of alleged misconduct with female colleagues dating back to the 1980s. BuzzFeed also noted that "UC Berkeley is currently under federal investigation for its handling of dozens of sexual violence complaints on campus."
(6) Adam-Troy Castro offers an analogy in "Enough With the Fershlugginer Chocolate Cake, Already".
Look, I'm going to explain this in terms you might be able to understand.
I like chocolate cake just fine.
I think chocolate cake is one of the things that makes life worth living.
As a fat guy, I not only return to chocolate cake more often than is healthy for me, but can actually wax rhapsodic about great slices of chocolate cake from my past.
I'm perfectly capable of sitting down with you and geeking out over chocolate cake.
But I can't eat just chocolate cake.
(7) And apparently you can't drink Pepsi Perfect either.
"Back to the Future" fans had hoped to be sipping a Pepsi Perfect by now, but most of them are making sad eyes at their computers after facing a fast sellout of a special release of the bottles.
Fans have been waiting for this day ever since the 1989 sequel, when Marty McFly and Doc Brown arrived in the future on October 21, 2015. In honor of the film, Pepsi decided to make 6,500 limited-edition bottles of Pepsi Perfect available.
Pepsi Perfect makes a cameo appearance at an '80s-theme cafe in the future. Fans got extra-excited about the prospect of owning it because it feels both iconic and attainable (selling for $20.15, about £13, AU$28). The release date? October 21, 2015, naturally.
Now imagine the stress when Back to the Futurites discovered that some of the Pepsi Perfect bottles went on sale early and that other people had snapped them up. Actually, you don't have to imagine it. Here's a selection of what they said:
Amazon reviewer Pissed AF wrote: "I am SO upset!! This didn't even pop up in the search! And you released it a whole hours early? Are you kidding me?????????" This is currently the top most-helpful review on the Pepsi Perfect Amazon page.
(8) Notes Adweek: "During his stay in the future, McFly often references a copy of USA Today, which was created specifically for the movie. To celebrate the occasion, USA Today wrapped its paper in a replica of the movie edition."
(9) Michael J. Fox and Christopher Lloyd rolled onto the set of Jimmy Kimmel Live in a classic DeLorean and got a standing ovation just for showing up.
(10) Today's Birthday Boys
October 22, 1938 — Christopher Lloyd
October 22, 1952 — Jeff Goldblum
(11) Now for something completely different. Entertainment.ie names its "Top 10 Time Travel Movies That Aren't Back To The Future"
(12) How It Should Have Ended – why Big Hero 6 should have been a lot shorter.
(13) James H. Burns praises the Mets' broadcast crew:
Another reason for those who admire near Hall of Fame first baseman Keith Hernandez (famous for his stints with the St. Louis Cardinals and New York Mets), now a long time Mets broadcaster, to like him: In the local post game after the Mes clinched the National League title, when talking about first baseman Luca Duda, "We've seen him go from the depths of Mordor, to the heights of the Swiss Alps…"
Frequently, during unusual moments in Mets seasons past, Hernandez and lead broadcaster Gary Cohen, and former Mets pitcher Ron Darling (also a broadcaster with TBS), will discuss ancient Saturday mornings, and cartoons; CHILLER THEATRE; Kurt Vonnegut, and puppet shows….
(14) An artist used Google Street View to visit all the places in Around the World in 80 Days and created postcards of those places.
(15) Mark Kelly in Part 4 of his "Rereading Isaac Asimov" series comments —
"Nightfall" is still, I would guess, Asimov's most popular story, though it was one of his earliest stories, and one which Asimov came to resent — he felt that he must have improved as a writer over the subsequent decades (the story was published in 1941, just two years after his first-published story) — and was perplexed by how fans kept gravitating to this early story.
(16) Gregory N. Hullender touts a new article, "The Locus Reading List and Hugo Awards" at Rocket Stack Rank.
This new article looks for selection bias in Locus Recommended Reading List short fiction over the past fifteen years. We found that although stories from the reading list regularly make up about 70% of Hugo-nominated stories, there doesn't seem to be any actual bias, either in terms of which sources they come from or in terms of the authors.
So while we can't speak for how good a job Locus does with novels, we don't find any obvious problems with their recommendations for short fiction.
(17) Really funny compilation of comics bloopers from Mental Floss.
Here are some classic screw-ups, printing errors, and unfortunate coincidences that have graced the pages of comic books and newspaper strips over the years.
(18) We end with a serious fan edit of what Han Solo sees before his eyes when he tells Rey and Finn about the past in the new trailer for The Force Awakens.
[Thanks to Tom Galloway, Steven H Silver, James H. Burns, and John King Tarpinian for some of these stories. Title credit goes to File 770 contributing editor of the day Jack Lint.]
This entry was posted in Pixel Scroll and tagged Back to the Future, comics, Greg Hullender, James H. Burns, Jurassic Park, Locus, Mark Kelly, Rocket Stack Rank, Star Wars, Tom Galloway by Mike Glyer. Bookmark the permalink.
243 thoughts on "Pixel Scroll 10/22 No Certain Elk"
Lydy Nickerson on October 24, 2015 at 6:48 am said:
Slings and Arrows
Star Trek: Original Series
Beth in MA on October 24, 2015 at 6:52 am said:
Joining in on a bracket!
Doctor Who-New
Stargate: Atlantis
Aaron on October 24, 2015 at 6:53 am said:
@Aaron: Which Twilight Zone? Original?
There is no other.
Jim Henley on October 24, 2015 at 6:56 am said:
@Cassy B:
Picking five is HARD. I'm picking ones that I haven't seen picked yet, because some of my other choices have already been picked. (Gosh, if everyone does this, we'll have All The Things on the ballot…..)
No we won't!
I need to be very clear here, because I don't want any confusion to linger: There will not be more than 64 contestants. The whole reason for splitting Discussion and Nomination into separate phases was so that people could get File770's…impulse to completeness, let's call it, out of their system and still come up with a manageable consensus tournament field.
If one's other choices have already been picked, all that means is that they have at least one vote for them. That may mean they get in with a low seed, it may mean they miss the cutoff entirely, or it may mean that other people continue to vote for it and it gets a high seed. But if one leaves a genuine favorite off one's nomination to nominate something one likes less just because it hasn't been mentioned, one is making a choice to leave the favorite's fate in other people's hands.
FWIW, my own plan is to pick my Top 3 for sure, and maybe take a flyer on one or two. Tastes vary enough around here that I'm confident that even if everyone voted their true GOATs we'd end up with a decent spread.
Cassy B. on October 24, 2015 at 7:22 am said:
Jim Henley, that's ok; I still like my nominations enough to keep them. And really, there's no way that Dr. Who New isn't going to be on the ballot, no matter what I nominate….
@Cassy B: If you like your nominations, that's what matters. 🙂
Buffy the Vampire-Slayer
Battlestar Galactica (New)
Doctor Who (New)
ST:TOS – This isn't a nostalgia pick, I don't think, even though it gets on here for its influence on me and the genre more than because I burn to re-watch it any time soon. That said, "Let That Be Your Last Battlefield" clobbered me.
Buffy – On the other hand, I can and do re-watch Buffy, and unlike some, I don't find any particular season bad.
Firefly – An accidental miniseries with a great circular structure. The very first thing that happens in the show is River Tam being snuck onto the Serenity. The very last thing that happens is her being welcomed onto the Serenity. And that is the story, encapsulated right there. Also, I'm the biggest Simon fan.
BSG (New) – Ron Moore was a deeply irresponsible show-runner in many ways. But in addition to a game-changing level of story quality at the start of the series, the ensemble was just fabulous all the way down. Only Deadwood had as talented an undercard. The performances from, say, "Fragged," show how far down the roster the talent went, and the directors fostered their performances.
NuWho – For me, it's mostly downhill after The Pandorica Opens. (Some people set the decline marker earlier.) But that's a long, great run prior to that.
(Broke out the commentary from the list for my own cutting and pasting convenience because lazy.)
Lisbet on October 24, 2015 at 7:46 am said:
1. Farscape
2. Firefly
3. Eureka
4. Babylon 5
5. V (the 80s miniseries)
Andy H. on October 24, 2015 at 8:14 am said:
Still sorting out my full list, but in case I get distracted and nominations close before I've decided, I want to at least have put in a nomination for
1. Terminator: The Sarah Connor Chronicles
Cally on October 24, 2015 at 8:50 am said:
Forehead cloths! Getcher nominating Forehead Cloths here! Soothe that fevered brow!
CeeV on October 24, 2015 at 8:52 am said:
The Adventures of Brisco County, Jr.
Derek B. on October 24, 2015 at 8:54 am said:
TV Nominations:
Dr. Who (original)
Slings & Arrows
Star Trek TOS
Twilight Zone (original)
Sylvia Sotomayor on October 24, 2015 at 8:55 am said:
ST: Deep Space Nine
Rose Embolism on October 24, 2015 at 10:08 am said:
Psst they have to have started before 2010
Oops. OK…
Tom Corbett Space Cadet
The Bionic Man
Rev. Bob on October 24, 2015 at 10:31 am said:
Re: Star Wars and 30-year-old "legends"
I don't see why this is perceived to be a new thing. There was a similar gap between (the events of) Episodes III and IV, and exactly the same sort of mass forgetting happened there, too. ("Jedi? Force? I've never heard of such!") Obi-Wan and Anakin went from being galactic superstars to utterly forgotten. The Jedi council that had existed for millennia was forgotten so completely that nobody could remember the concept – and this is so recent that Palpatine's changes are still taking place; he didn't dissolve the Senate until early in A New Hope.
And yet, there's this sense of the Empire as ever-was, that its origins have been lost in the mists of time. It's as if the Carter presidency were shrouded in as much mystery as the reign of King Arthur.
@Lisbet:
The two V miniseries are ineligible, being miniseries. Did you mean the 1980s weekly series that followed The Final Battle?
junego on October 24, 2015 at 11:10 am said:
re: nominations
In my original nomination I forgot to indicate that I meant the original Outer Limits. I
Okay, TV bracket nominations…
Star Trek: Deep Space 9
…and, hm. So many choices, so many ways to choose, and only two slots. Time to regardez les disques…
Quantum Leap and Twilight Zone (all three versions) suffer from the same problem: as much as I like them, the thrust of their storytelling usually wasn't about SFFnal elements. There were notable exceptions, and "The Paladin of the Lost Hour" may well be one of my favorite televised stories ever – but are those enough to nominate a series as The Best? I could even say the same for The Addams Family; there's really more Stylish Weirdness there than anything fantastic/horrific, and The Munsters have that covered – even if I preferred Addams and company.
Doctor Who… now there's a TARDISful of headaches. When it was good, it was really good – but when it wasn't, oy vey. It's kind of like Fry's description of the first six Star Trek movies… or, in a sense, like Lost, which had some real clunkers alongside actual brilliance.
I think, in the end, I have to go with my gut. May the saints add preservatives to us:
Friday the 13th: The Series
(The latter, I feel compelled to say, barely edged out Batman 1964. The self-conscious deconstruction beats camp every time, though.)
Lisbet on October 24, 2015 at 11:44 am said:
Drat. I guess I'll have to replace with Doctor Who (new).
Meredith on October 24, 2015 at 1:09 pm said:
In the end I decided against two of my favourite shows because, when it comes down to it, I mean the first three or four seasons of those shows and prefer to pretend that the ones after that didn't exist (which is a bit of a challenge when they keep on releasing them). I tried to pick ones that as much as possible were things I liked all the way through. Similarly, I decided against Life on Mars on the basis that if I'd picked it I would have only meant the first series and not the rest. I also decided against things I loved but watched long enough ago that I'm pretty hazy on the details (Animorphs, The Munsters, most of Star Trek, a few others).
And it was STILL horrible. 🙂 *reclines, surrounded by forehead cloths*
BigelowT on October 24, 2015 at 1:17 pm said:
Twilight Zone (original recipe)
Doctor Who (Who New)
Lyle on October 24, 2015 at 1:55 pm said:
Twilight Zone (original, Rod Serling series)
The Wild, Wild West
Leaving off TOS, Buffy, and Who, trusting that enough others will be selecting them to get them on. Unless of course too many others make the same calculation.
Doire on October 24, 2015 at 2:03 pm said:
Sneaking in quickly with no time to read comments:
Original Who
Blake's Seven
S T Enterprise
Doomwatch – though I nominate in vein.
Xtifr on October 24, 2015 at 2:04 pm said:
1. ST:TOS. It was a toss-up between this and TNG, but TOS had more of a cultural impact.
2. Red Dwarf. No explanation necessary.
3. Lost Girl. Criminally underrated show.
4. Eureka. A show that jumped the shark so many times it turned it into an art form! 🙂
5. Wonderfalls. Sorry Whedon fans, but in my opinion, *this* is the best tragically-cut-short-after-only-one-season SFF series.
Jim Henley on October 24, 2015 at 2:12 pm said:
Placeholder!
Shambles on October 24, 2015 at 2:17 pm said:
Great idea ! Five is too few ! I will list more anyway.
First Five
The Outer Limits (old)
Twilight Zone (old)
Dr Who (Tom Baker years)
Second Five
Lauowolf on October 24, 2015 at 2:38 pm said:
Star Trek Voyager
C'mon, Voyager, people.
Really, no love for Janeway?
And I'd like to have fit Quantum Leap in there somewhere too.
Maybe I'll just pull it under the covers with me and all the facecloths, and just not come out for like a week.
And this is just nominations.
@Jim Henley
The whole reason for splitting Discussion and Nomination into separate phases was so that people could get File770's…impulse to completeness, let's call it, out of their system and still come up with a manageable consensus tournament field.
"Impulse to completeness," that is such a lovely, polite way to look at it, leaving out, as it does, such concepts as obsessiveness, nit-picking, and the like.
Rev. Bob on October 24, 2015 at 2:41 pm said:
@Xtifr:
I also enjoyed Wonderfalls. It bears noting that Tim Minnear, the architect of that show, did some fine work in the Buffyverse, so it's kind of naturally Whedonish. 🙂
Peter J on October 24, 2015 at 2:48 pm said:
Doomwatch
Out of the Unknown
Third Rock from the Sun
Painfully aware that on another day I may find myself voting against some or all of these.
INTERIM STATISTICS
Nominators so far – 39. Previous experience suggests that bracket participation tops out a little above 50, so this makes sense.
Nominees so far – 68. This includes a couple of possible ineligibles or mind-changes.
There is a very long tail on the power-law distribution of nominees. If I'd bothered to set up a Tableau Public account I could graph it for everyone. Suffice to say, fully 32 nominees have only a single vote. These are our "bubble teams" since they could end up inside or outside the Field of 64.
NOMINEES WITH A SINGLE VOTE:
Greatest American Hero
Men Into Space
Round the Twist
Space: Above and Beyond
The Six-Million-Dollar Man
Twilight Zone (Revived)
Voyagers!
If you haven't voted yet, and you are fond of any of these, word to the wise.
Five teams are battling for the four Number 1 seeds so far:
Eight more teams have a decent shot at a Number 2 seed:
Doctor Who (Old)
The rest of the contenders are likely to place somewhere in the top half of voting and have a good shot at being an 8 or better:
The Outer Limits
Stargate: SG1
The Adventures of Brisco County Jr.
@Lauowolf:
You have no idea how long it took me to develop even this minimal level of social skills. 🙂
BTW, the statistics were as of my Placeholder post and don't include the sets that came in after that.
@Shambles: I can treat "Dr Who (Tom Baker years)" as a Doctor Who (Old) vote, or I can count one of your second five instead. Your call.
lurkertype on October 24, 2015 at 3:10 pm said:
Gonna need all the forehead cloths already!
There are a good eight on the one-vote list I'd dearly like to get through…
Jamoche on October 24, 2015 at 3:21 pm said:
An accidental miniseries with a great circular structure.
Another circular series: Blake's 7. The *second* episode I saw has an amnesiac Blake being told he used to be a great rebel leader. The *first* episode I saw had Blake being betrayed and ambushed. It took a while for me to figure out that I'd seen the very last episode first…
Soon Lee on October 24, 2015 at 3:32 pm said:
Just five?
Misfits (UK)
Misfits: When a bunch of teenagers on community service get superpowers in a freak incident do they dress up in funny costumes, use their powers for good, and fight crime? Nope.
Blake's 7: When a bunch of fugitives get hold of the most powerful ship in the galaxy do they use it for good & to fight crime? Nope.
Sapphire and Steel: When your budget doesn't stretch far enough to cover (decent) special effects, you have to get creative and rely on story & acting.
Terminator: The Sarah Connor Chronicles: Rekindled my interest & enthusiasm in the Terminator franchise.
Quantum Leap: Scott Bakula. Nuff said. (We shall draw a discreet veil over "Enterprise".)
Now where are those forehead cloths?
Joe H. on October 24, 2015 at 4:16 pm said:
Oh, crap. I completely forgot Charlie Jade.
Cora on October 24, 2015 at 5:00 pm said:
My TV nominations:
Raumpatrouille: Die phantastischen Abenteuer des Raumschiffs Orion (not on the suggestion list, but definitely deserves to be there)
Pan Tau
Yes, I also love Star Trek, Doctor Who and the other usual suspects, but they hardly need my help, hence votes for the obscure.
Nominating outside the suggestion list is totally okay! The list is completely unofficial and only there as a memory prompt. Also because I like making lists.
Of course, my feelings might be hurt *sniff* but that isn't important. 😉 (Kidding! Kidding! /badjoketag)
Susana on October 24, 2015 at 5:17 pm said:
TV Bracket:
5. Twin Peaks
5. The Prisioner
5. Star Trek, TNG
5. Quantum Leap
5. The Addams Family
Twin Peaks is the show I watched most intensely, ever, and my first (and really, unmatched) experience of watching over and again, in groups, dissecting and riffing and what-iffing for hours. Like close(and over)-reading poetry, the really hard modernist kind. Also, it's the best show.
The Prisioner is kind of perfect.
TNG: I love TOS dearly, and TNG can be cheesy in the way only things from your teens can, but there's a huge soft spot in my heart for all of it. Except maybe Riker.
Quantum Leap was loads of fun. Dean Stockwell! Scott Bakula! I used to tape it and watch when I made it home, which in college wasn't much.
The Addams Family: I was a gothy kid, and I learned all my English from reruns.
(I'm betting on TOS and Firefly making it in without me.)
BGrandrath on October 24, 2015 at 6:52 pm said:
Delurking to talk about TV shows!!! When I am with family or friends or co-workers I am "the guy who reads SF". I get online here and I'm the guy who has read a little bit of SF. I didn't vote in Kyra's brackets because I hadn't read enough of the books. I am kind of ashamed to say I'm familiar with almost all of the TV shows.
Starlost
Lost (if we don't count the finale)
@BGrandrath
Hi! Nice to meet you. 🙂 No need for shame – all sf/f mediums are good sf/f mediums!
Kevin Hogan on October 24, 2015 at 7:11 pm said:
5, huh? Okay, let's see…. My preliminary list had 14. Ouch.
The Tomorrow People (late '70s version)
Being Human (UK)
If I missed an eligibility ruling, I'm happy to regroup, change an eight to eight ones, and remember that addition is commutative.
LunarG on October 24, 2015 at 7:14 pm said:
My strategy here is to go over my fannish life, naming the shows I obsessively watched at different times. Then I culled, cruelly:
Nominees:
Dr. Who (new)
Culls:
The Third Eye
Star Trek: DS9
Greg on October 24, 2015 at 7:21 pm said:
Man, I missed the discussion phase due to intensive work on "Alien Visas," an animated sci-fi pilot I'm writing. (The pitch: an immigration law firm 30 years in the future–the paralegals have to get visas for actual aliens. Think "Futurama," except set in an office.)
I am aware of the irony, but I am more aware of the fact that with a massive amount of freakish good luck, "Alien Visas" might some day make it into the "best animated sci-fi" bracket…
CHUCK (he has a computer in his head! It drives the series, premiered 2007. And other ppl get computers in THEIR heads.) Possibly a doomed nomination, but a really fun, clever, modern take on The Greatest American Hero.
LOST– the hourlong series that still, to this day, can conjure up glee or chills just by thinking of a single line– "We're gonna have to take the boy." "WE HAVE TO GO BACK, KATE!" "I won't call for eight years!" "Come on! Come on you son of a bitch!" (smashes rock repeatedly against [spoiler] device). Did it make some missteps? Sure. But as a guy currently pursuing professional TV writing, I will consider myself lucky if I write an episode of TV one-fourth as compelling as a season finale of LOST.
ANGEL (Whedon)– And talk about disastrous missteps. By which I mean seasons 3 and 4. But I'd stack seasons 2 and 5 up against most shows–"Smile Time" is one of the greatest comedic hours of TV, ever, and "A Hole in the World," one of the best tragics, one that I will in fact never watch again.
FRINGE– Seasons 2 and 3 may be the best sustained string of sci-fi storytelling I've ever seen, with s4 finding its footing after a wobbly misstep. It is Orci, Kurtzman, and Akiva Goldsman's masterpiece. No network TV show, save LOST, took more risks.
PUSHING DAISIES–I owe ya one, Meredith! (for reminding me that this was indeed sf).
Cally on October 24, 2015 at 7:45 pm said:
Wild Wild West. Because I was a little kid and in love with Artemis Gordon.
The New Avengers. Because Steed and Peele.
Beauty and the Beast. Because Vincent was HOT.
Sapphire and Steel. because I still find myself thinking of that nursery rhyme episode. Even though neither sapphires nor steel are elements, damnit.
Babylon Five. In spite of the stupid fifth season.
rgl on October 24, 2015 at 7:47 pm said:
If Agent 86 is not sfnal enough, Red Dwarf
Voting strategically as I think my favorites will make it through without my votes.
The New Avengers. Because Steed and Peele
Peel ? If you mean Purdey, me too. If Gambit I will forever be mystified by the proclivities of others.
@rgl
My sister adored Gambit when we were kids, right up until they showed a repeat of the episode with the giant rat. She never forgave him. All of our pets as children were rodents.
David Shallcross on October 24, 2015 at 8:06 pm said:
Starlost? That's that show from the 70s from Canada with which both Ben Bova and Cordwainer Bird were involved? I was just looking at that.


text:
Q: docker RUN append to /etc/hosts in Dockerfile not working I have a simple Dockerfile but the first RUN command (to append a host IP address to /etc/hosts) has no effect
FROM dockerfile/java
RUN sudo echo "XX.XX.XXX.XXX some.box.com MyFriendlyBoxName" >> /etc/hosts
ADD ./somejavaapp.jar /tmp/
#CMD java -jar /tmp/somejavaapp.jar
EXPOSE 8280

I build using
docker build .

and then test the RUN echo line has worked using
sudo docker run -t -i <built image ID> /bin/bash

I am then into the container but the /etc/hosts file has not been appended.  Running the same echo .... line while now in the container has the desired effect
Can anyone tell me what is wrong with my dockerfile RUN ...?

A: If you use docker-compose, use extra_hosts:
extra_hosts:
  - "somehost:162.242.195.82"
  - "otherhost:50.31.209.229"

A: Docker will generate /etc/hosts dynamically every time you create a new container. So that it can link others. You can use --add-host option:
docker run --add-host www.domain.com:8.8.8.8 ubuntu ping www.domain.com

A: If you are trying to maintain the hosts file entries between host machine and container another way would be to wrap your command with a shell script that maps your hosts' /etc/hosts into --add-host params:
~/bin/java:
#!/bin/sh

ADD_HOSTS=$(tail -n +10 /etc/hosts | egrep -v '(^#|^$)' | sed -r 's/^([a-z0-9\.\:]+)\s+(.+)$/--add-host="\2:\1"/g')

eval docker run \
    -it \
    --rm \
    $ADD_HOSTS \
    <image> \
    java $*

return $?

Obviously replace java with whatever you are trying to do...
Explanation; ADD_HOSTS will take everything after the first 10 lines in your hosts' /etc/hosts file | remove comments and blank lines | re-order the entries into --add-host params.
The reason for taking everything after the first 10 lines is to exclude the localhost and ipv6 entries for your host machine. You may need to adjust this to suit your needs.

A: I had such a problem that I wanted to add multiple domain names for a single IP. Actually, there is no way to make in build time because at each run of the image the /etc/hosts will be overwritten. So, it seems that utilizing --add-host option or its extra_hosts aliens in the docker-compose method be the only way.
But as a matter of fact, adding each of the domain names by a single --add-host was so messy to me. I tried below one and it works:
docker run --add-host "some.box.com MyFriendlyBoxName":X.X.X.X ubuntu cat /etc/hosts

Actually, it just copies and pastes the String after the --add-host to the colon.

redpajama_set_name: RedPajamaStackExchange


Luftrausers, Fez and more will be available this month.
Get more insight behind the creation of independent game darlings.
With Shovel in hand, this Knight proclaims victory.
Get games like Waveform, Avadon: The Black Fortress, and War of the Human Tanks on the cheap!
The Xbox Live Arcade fave will soon grace your PC's. Rejoice!
You too can be fast and nimble – without leaving your couch.
Polytron says the costs to re-certify the game means there won't be another patch.
Hear about the latest Fez guides, exclusive content, and amazing offers!
Maybe Kickstarter will make things right for Jim.
Sonic Adventure 2 Coming In October For Xbox Live, PSN?
The Dreamcast favorite is slated for a Fall release on major platforms in glorious HD!
After a half-decade in production, this mind-altering platformer is finally available on Xbox Live. Trust us: you want this game now.


text:
BBW live chat happens to be one of the strongest pursuits of singletons around the world. Livingbbwcams.com recently announced that it aims at reaching the fun of BBW live chat to every singleton.
While bbw webcam continues to entertain a large section of singletons across different age groups, only a handful of online chat portals have been able to become a brand in its true sense. Livingbbwcams.com, a leading chat portal dedicated to deliver the untainted fun of BBW live chatting, recently announced that it has already made a roadmap to reach every other singleton on this planet with their specialized BBW live chat services. The owners added that they are in the process of updating their website and soon many more new features will be added to the chat portal.
"We think we are gradually heading the right direction. People from all communities are joining the chat portal and it shows that BBW live chat has not lost a bit of its popularity over the past one or two decades. We will now focus on adding more user-friendly features to our chat portal so that singletons from all sections of the society can join our website to have unlimited fun while chatting with the big beautiful women featured on the portal. We aim to take the chat portal to the next level and become a distinctive brand on the online adult entertainment landscape", said a top executive managing the portal and the community since its inception.
The owners also added that they will be recruiting more BBW women for their online chatting portal as this would give them the leverage of numerical advantage over their competitors. "The larger a community becomes, the more traction it creates. We understand that the BBW live chat niche is a fiercely competitive one and we will do everything in our discretion to become the top webcam chatting brand in the world. Our ultimate aim is to reach singletons of all age groups", said the CEO and managing director of the internet based business enterprise. "We know that the task is difficult as our competitors are also plying their trade quite fantastically and but we are not stopping here", added the CEO during a press conference.
Livingbbwcams.com is a reputable online chat forum offering BBW live chat services. For more insights, Http://livingbbwcams.com…
Tagged: bbw webcam, webcam bbw
Livinglatinacams.com Starts Powerful Recruiting Plan Regarding Searching Brand-new Ladies

redpajama_set_name: RedPajamaCommonCrawl


text:
{%load staticfiles%}
<!DOCTYPE html>

        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Guía cacao</title>

        <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" >
        <link rel="stylesheet" href="/static/general/font-awesome/css/font-awesome.css" >
        <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
        <link href="/static/monitoreo/css/style.css" rel="stylesheet" type="text/css">
        <link rel="stylesheet" href="/static/herramientas/css/main.css" >

        {% include "menuprincipal.html" %}

                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
                        Toggle navigation

                    </button>

CONOCE

COLABORA

EXPLORAR DATOS

        {% block contenido %}{% endblock contenido %}

Links de interes

Comunicación

Monitoreo de las familias

Analisis Organizacional

Productos y procesos

Mapeo de actores

Biblioteca

Mercados

Contáctenos Latinoamerica

Centro Internacional de Agricultura Tropical (CIAT)

Sede y oficina regional para America latina y Caribe

                                        Km 17, Recta Cali–Palmira
                                        Apartado Aéreo 6713
                                        Cali, Colombia

                                        Tel:  +57 2 4450000, Fax: +57 2 4450073
                                        Maya Rajasekharan, PhD
                                        m.rajasekharan@cgiar.org
                                        Head, Program Coordination, Office of the Director General
                                        ciat@cgiar.org

Contáctenos Centroamérica y Caribe

Centro Internacional de Agricultura Tropical (CIAT)

Oficina regional para Centroamérica

                                        De Pizza Hut Villa Fontana 1 Cuadra abajo.
                                        Edificio CAR 3, Piso 4.
                                        Managua, Nicaragua

                                        Tel:  (+505) 2270-9965
                                        María Eugenia Baltodano, Representante CIAT
                                        m.e.baltodano@cgiar.org
                                        Byron Alejandro Reyes, Enlace técnico

                                        b.reyes@cgiar.org

                    © 2015 Elaborado y con soporte de SIMAS con el Framework Django.

  {% block extra_js %}{% endblock extra_js %}

redpajama_set_name: RedPajamaGithub


This one is special! Remodeled ranch in exceptional condition and location. Features include: remodeled kitchen with new cabinets, porcelain counters and under-cabinet lighting, remodeled bath with tile floors, hardwoods throughout. Lovely stone fireplace. New tear-off roof 2016, new electrical panel, new exterior & interior paint, new water heater, gas furnace just serviced. Attached garage, fenced yard. Exceptional value!


Description CarFax One Owner! -Priced below the market average!- Multi-Zone Air Conditioning, Auto Climate Control, Steering Wheel Controls, Seating, Front Wheel Drive Power Lift Gate Call to confirm availability and schedule a no-obligation test drive! We are located at 2970 Huntsville Hwy, Fayetteville, TN 37334.


text:
Enxara do Bispo foi uma freguesia portuguesa do município de Mafra, com 18,06 km² de área e 1740 habitantes (2011). Densidade: 96,3 hab/km².

Foi extinta (agregada) pela reorganização administrativa de 2012/2013, sendo o seu território integrado na União das Freguesias de Enxara do Bispo, Gradil e Vila Franca do Rosário.

População

Com lugares desta freguesia foi criada, pelo decreto-lei nº 30.104, de 05/12/1939, a freguesia de Vila Franca do Rosário.

Património
 Povoado da Serra do Socorro e Capela de Nossa Senhora do Socorro (parte superior da Serra do Socorro)
 Igreja de Nossa Senhora da Assunção ou Igreja Paroquial de Enxara do Bispo
 Pelourinho de Enxara dos Cavaleiros, antiga sede de concelho do mesmo nome

Personalidades

 Diogo da Costa Ferreira

redpajama_set_name: RedPajamaWikipedia


text:
Pictorial Address and Seriality in Art
Jason Kass recenlty completed his PhD at Winchester School of Art. The title of his thesis is 'Cognitive Aspects of Pictorial Address and Seriality in Art: A Practice-led Investigation'. In this post he offers an overview of the nature and scope of his research.
My doctoral research explored the perceptual and cognitive processes that underlie spectatorship of pictorial artworks and incorporated insights into the production of new works of art. The fundamental premise of my research was that artworks exist as part of the visual world and are subject to the same visual processes as ordinary scenes and objects. Applying existing empirical findings from cognitive psychology to spectatorship of works of art allows for a more complete understanding of pictorial address.
Using theories and methods from psychology to understand the experience of artworks is not in itself novel. The field of empirical aesthetics boasts a wide literature comprising experiments around aesthetic preference and art appreciation. My research differs based on my position as a visual artist rather than a scientist and my emphasis on relating psychological findings to existing art theory and art historical narratives. The incorporation of practice-based research in the form of producing new works of art (Fig. 2) also brings a different perspective to an established yet often divisive discipline.
Figure 1. Installation shot from PhD exhibition.
Within the thesis, I focused on seriality as an aesthetic strategy and the mode of address offered by serial works of art. Serial artworks have previously been theorised, in particular by Coplans (1968), who established a distinction between serial artworks that comprise multiple discrete but related instances and pictures produced along the masterpiece model. Fer (2004) has said about seriality, "It brings with it a whole set of assumptions about the nature of aesthetic experience as direct and spontaneous" (p.4).
My research sought to reveal the direct impact of seriality on the experience of the viewer by way of cognitive and perceptual processes. In the first instance I considered Monet's painted series of the Rouen Cathedral. A proto-serial artwork, Monet understood the importance of exhibiting the nearly thirty paintings depicting different light and weather conditions being exhibited together.
I consulted theories of concept formation and face recognition that speak to the ability to form a stable mental concept from a set of varied instances: a feature essential to navigating a complex visual world. Findings within the study of face recognition indicate that the process may involve retaining invariant information across instances while eliminating extraneous superficial details; a process akin to averaging (Young & Bruce, 2011).
Figure 2. A subset of nearly thirty paintings by Monet of the façade of the Rouen Cathedral (left) and an averaged composite of a subset of the paintings created in Photoshop (right).
Applying this same premise to Monet's cathedrals it is possible to infer that the variation in colour and luminosity across the paintings prompts the viewer to form a stable mental concept that lasts long after the in situ viewing (Fig. 2). With regard to art historical narratives, this implies that Monet's series are as much conceptual as they are perceptual in nature, which runs counter to Duchamp's well-known exclamation of Impressionist artworks as purely retinal in nature (Krauss, 1990; de Duve, 1996). I explored these findings through photography, drawing and found images (Fig. 3).
Figure 3. Series arrived at by dropping a portrait of my mother into Google's 'search by image' function. The work responded to ideas of concept formation and Barthes' writings in Camera Lucida (1981).
The second case study examined Warhol's use of serial repetition in works from his Death and Disaster series that repeat a gruesome image multiple times across a single canvas. Warhol said, "when you see a gruesome picture over and over again it doesn't really have any effect" (quoted in Goldsmith, 2004, p.19). He presumed that repeated exposure to an distressing image results in a 'deactivating' of the negative affect.
Employing existing psychological findings regarding repeated exposure (Zajonc, 1968) it is possible to infer that viewing artworks from the series ultimately leads to an increase in negative affect for the viewer, despite an initial increase in positive affect as a result of repetition. This is due to increased access to the negative semantic content, also a result of repeated exposure (Reber et al., 2004). Related ideas were explored through practice-based research responding to Hunter's (1973) "aesthetics of boredom" (Fig. 4).
Figure 4. Installation shot of interim PhD exhibition.
Through future research I hope to build on my dissertation as a model for the exchange of ideas between experimental psychology, art theory and art practice. Although within the dissertation I did not conduct original empirical research I believe there is scope to expand on the theoretical frameworks that I developed through experimentation. I am also keen to further disseminate my findings through practice-based research resulting in creative outcomes that can be publically exhibited.
Barthes, R. (1981). Camera lucida: Reflections on photography. New York: Farrar, Straus, and Giroux.
Coplans, J. (1968). Serial imagery. Pasadena: Pasadena Art Museum.
De Duve, T. (1996). Resonances of Duchamps Visit to Munich. In R. Kuenzli & F.M. Naumann, Marcel Duchamp: Artist of the Century. Cambridge and London: The MIT Press.
Fer, B. (2004). The infinite line: Re-making art after Modernism. Hartford: Yale University Press.
Goldsmith, K. (2004). I'll be your mirror: The selected Andy Warhol interviews 1962-1987. New York: Caroll & Graf Publishers.
Hunter, S. (1973). The Aesthetics of Boredom. In S. Hunter and J. Jacobus eds. American Art of the 20th Century: Painting, Sculpture, Architecture. New York: Simon and Schuster.
Krauss, R.E. (1990). The story of the eye. New Literary History, 21(2), 283-298.
Reber, R., Schwarz, N. & Winkielman, P. (2004) Processing fluency and aesthetic pleasure: is beauty in the perceiver's processing experience? Personality and Social Psychology Review, 8(4), 364–82.
Sagner-Duchting, K. (2002). Monet and Modernism. Munich and London: Prestel.
Young, A. W., & Bruce, V. (2011). Understanding person perception. British Journal of Psychology, 102, 959–74.
Zajonc, R. B. (1968). Attitudinal effects of mere exposure. Journal of Personality and Social Psychology, 9(2), 1–27.
Author EditorPosted on March 4, 2017 March 4, 2017 Categories Research Notes
Previous Previous post: Cartographic Operations – Exhibition
Next Next post: Absurdity, Absurdity, and Absurdity


[Cost-benefit analysis of an intervention to improve udder health in Swiss dairy farms].
Pneumonia associated with Salmonella spp. infection in a cat receiving cyclosporine.
Eating and rumination behaviour of Scottish Highland cattle on pasture and in loose housing during the winter.
[Landlord and tenant law and VAT (value added tax)].
[The canine neuronal ceroid-lipofuscinosis: a review].
[Claw size of Scottish Highland Cows after pasture and housing periods].
[Pilot Project: Cattle Health Network].
[Aortic thrombosis in a calf].


text:
Адрес: 3EMVdMehEq5SFipQ5UfbsfMsH223sSz..9A9
Биткоин Адрес 3EMVdMehEq5SFipQ5UfbsfMsH223sSz9A9
14,510.29145122 BTC
337,548,287.6 USD
15,110.3278 BTC (45 ins)
600.0363 BTC (28 outs)
Прибыль от изменения цен: -64,572,077.4 USD
Unspent outputs: 17 Multisig 4-of-8
Notify on >$100 balance change Remove notification
3EMVdMehEq5SFipQ5UfbsfMsH223sSz9A9 balance chart
Баланс, USD @ Цена
728655 2022-03-23 13:25:01 UTC 2022-03-23 13:25:01 UTC -0.00034394 BTC (14.51 USD) 14,510.29145122 BTC $611,994,873 @ $42,176.61 $209,874,508
726442 2022-03-08 17:56:58 UTC 2022-03-08 17:56:58 UTC +0.000333 BTC (13 USD) 14,510.29179516 BTC $566,368,512 @ $39,032.19 $164,248,132
721189 2022-01-31 13:42:59 UTC 2022-01-31 13:42:59 UTC +0.0006506 BTC (24.28 USD) 14,510.29146216 BTC $541,611,760 @ $37,326.04 $139,491,394
713242 2021-12-08 16:55:14 UTC 2021-12-08 16:55:14 UTC +311 BTC (15,677,490.28 USD) 14,510.29081156 BTC $731,462,840 @ $50,409.94 $329,342,497
689528 2021-07-03 17:27:31 UTC 2021-07-03 17:27:31 UTC +0.00000547 BTC (0.19 USD) 14,199.29081156 BTC $492,627,821 @ $34,693.83 $106,184,969
686809 2021-06-08 14:21:28 UTC 2021-06-08 14:21:28 UTC +765 BTC (24,112,951.52 USD) 14,199.29080609 BTC $447,564,459 @ $31,520.2 $61,121,607
684333 2021-05-20 17:24:47 UTC 2021-05-20 17:24:47 UTC -599.87588848 BTC (23,831,231.27 USD) 13,434.29080062 BTC $533,703,216 @ $39,726.94 $171,373,316
682158 2021-05-06 03:48:40 UTC 2021-05-06 03:48:40 UTC +0.00000547 BTC (0.31 USD) 14,034.1666891 BTC $802,389,816 @ $57,174.03 $416,228,685
679881 2021-04-20 08:50:59 UTC 2021-04-20 08:50:59 UTC +0.00000547 BTC (0.3 USD) 13,134.16668363 BTC $724,561,233 @ $55,166.14 $386,459,417
676845 2021-03-29 12:18:08 UTC 2021-03-29 12:18:08 UTC +4,000 BTC (232,098,019.51 USD) 13,134.16667269 BTC $762,103,518 @ $58,024.5 $424,001,703
676842 2021-03-29 11:51:08 UTC 2021-03-29 11:51:08 UTC +0.5 BTC (29,039.38 USD) 9,134.16667269 BTC $530,501,084 @ $58,078.76 $424,497,288
674908 2021-03-16 16:58:42 UTC 2021-03-16 16:58:42 UTC +0.00000547 BTC (0.3 USD) 9,133.66667269 BTC $506,712,981 @ $55,477.5 $400,738,225
672685 2021-03-01 11:09:08 UTC 2021-03-01 11:09:08 UTC +0.00000547 BTC (0.26 USD) 9,133.66666722 BTC $436,428,870 @ $47,782.44 $330,454,114
671297 2021-02-19 17:09:12 UTC 2021-02-19 17:09:12 UTC +0.1 BTC (5,449.06 USD) 9,133.66666175 BTC $497,699,304 @ $54,490.64 $391,724,548
658045 2020-11-21 21:39:14 UTC 2020-11-21 21:39:14 UTC +0.00000547 BTC (0.1 USD) 9,133.56664534 BTC $170,042,112 @ $18,617.27 $64,072,806
654942 2020-11-01 02:01:58 UTC 2020-11-01 02:01:58 UTC +0.00000547 BTC (0.08 USD) 9,133.56663987 BTC $125,276,155 @ $13,716.02 $19,306,848
652246 2020-10-11 13:16:42 UTC 2020-10-11 13:16:42 UTC +0.00000547 BTC (0.06 USD) 9,133.5666344 BTC $104,004,453 @ $11,387.06 $-1,964,854
648923 2020-09-18 12:24:29 UTC 2020-09-18 12:24:29 UTC +0.00000547 BTC (0.06 USD) 9,133.56662893 BTC $100,411,249 @ $10,993.65 $-5,558,057
645564 2020-08-27 15:39:22 UTC 2020-08-27 15:39:22 UTC +1,250 BTC (14,169,910.87 USD) 9,133.56662346 BTC $103,537,460 @ $11,335.93 $-2,431,846
645551 2020-08-27 12:52:55 UTC 2020-08-27 12:52:55 UTC +1,250 BTC (14,329,457.55 USD) 7,883.56662346 BTC $90,373,787 @ $11,463.57 $-1,425,609
645509 2020-08-27 04:18:50 UTC 2020-08-27 04:18:50 UTC +0.0000111 BTC (0.13 USD) 5,133.56662346 BTC $58,393,199 @ $11,374.78 $-1,881,390
645343 2020-08-25 23:46:44 UTC 2020-08-25 23:46:44 UTC +805.62793 BTC (9,112,623.56 USD) 5,133.56661236 BTC $58,066,830 @ $11,311.21 $-2,207,759
644238 2020-08-18 06:34:18 UTC 2020-08-18 06:34:18 UTC +0.00000547 BTC (0.07 USD) 4,327.93868236 BTC $53,045,462 @ $12,256.52 $1,883,498
644018 2020-08-16 15:16:09 UTC 2020-08-16 15:16:09 UTC -0.15055195 BTC (1,787.87 USD) 4,327.93867689 BTC $51,396,272 @ $11,875.46 $234,307
644008 2020-08-16 14:27:14 UTC 2020-08-16 14:27:14 UTC +2,057.443 BTC (24,334,224.1 USD) 4,328.08922884 BTC $51,190,090 @ $11,827.41 $26,338
644007 2020-08-16 14:01:03 UTC 2020-08-16 14:01:03 UTC +503.71 BTC (5,951,757.21 USD) 2,270.64622884 BTC $26,829,595 @ $11,815.84 $66
644004 2020-08-16 13:34:43 UTC 2020-08-16 13:34:43 UTC +864.94 BTC (10,219,993.42 USD) 1,240.17622884 BTC $14,653,725 @ $11,815.84 $66
644002 2020-08-16 13:13:55 UTC 2020-08-16 13:13:55 UTC +374.74 BTC (4,427,868.21 USD) 375.23622884 BTC $4,433,732 @ $11,815.84 $66
643999 2020-08-16 12:53:45 UTC 2020-08-16 12:53:45 UTC -0.0070418 BTC (83.06 USD) 0.49622884 BTC $5,853 @ $11,795.06 $56
643986 2020-08-16 10:41:36 UTC 2020-08-16 10:41:36 UTC +0.5 BTC (5,890.74 USD) 0.50327064 BTC $5,929 @ $11,781.47 $49
643871 2020-08-15 16:55:25 UTC 2020-08-15 16:55:25 UTC -0.00255075 BTC (30.3 USD) 0.00327064 BTC $39 @ $11,880.48 $49
561082 2019-02-01 15:46:33 UTC 2019-02-01 15:46:33 UTC +0.00582139 BTC (20.12 USD) 0.00582139 BTC $20 @ $3,455.8 $0


HI there, Edmonton! It's December 25th, so 'I Heart Edmonton' wanted to wish you a Merry Christmas. Empty that slightly-spoiled milk you left for Santa, tear open those gifts that you spent hours wrapping, and enjoy your turkey-slash-ham-slash-IHOP dinner. But most of all, I hope the best for you and your family & friends this Christmas. Take care and happy holidays!


text:
Q: Convert WKT to image Is there any way to convert WKT like
MULTILINESTRING ((48.8744070530328 34.71707055692468, 49.127092599907755 34.72892221300337, 48.89363312725153 34.70987407974113, 48.93002533916562 34.63632126493155, 48.87646698955628 34.715941739168706))
to image?
Something like WMS GetMap request.

A: Something like this?

In the Shapely manual you can find published code on how you could generate images from geometry objects (that could be constructed by WKT).
linestring.py
from matplotlib import pyplot
from shapely.geometry import LineString

from figures import SIZE

COLOR = {
    True:  '#6699cc',
    False: '#ffcc33'
    }

def v_color(ob):
    return COLOR[ob.is_simple]

def plot_coords(ax, ob):
    x, y = ob.xy
    ax.plot(x, y, 'o', color='#999999', zorder=1)

def plot_bounds(ax, ob):
    x, y = zip(*list((p.x, p.y) for p in ob.boundary))
    ax.plot(x, y, 'o', color='#000000', zorder=1)

def plot_line(ax, ob):
    x, y = ob.xy
    ax.plot(x, y, color=v_color(ob), alpha=0.7, linewidth=3, solid_capstyle='round', zorder=2)

fig = pyplot.figure(1, figsize=SIZE, dpi=90)

# 1: simple line
ax = fig.add_subplot(121)
line = LineString([(0, 0), (1, 1), (0, 2), (2, 2), (3, 1), (1, 0)])

plot_coords(ax, line)
plot_bounds(ax, line)
plot_line(ax, line)

ax.set_title('a) simple')

xrange = [-1, 4]
yrange = [-1, 3]
ax.set_xlim(*xrange)
ax.set_ylim(*yrange)
ax.set_yticks(list(range(*yrange)) + [yrange[-1]])
ax.set_aspect(1)

#2: complex line
ax = fig.add_subplot(122)
line2 = LineString([(0, 0), (1, 1), (0, 2), (2, 2), (-1, 1), (1, 0)])

plot_coords(ax, line2)
plot_bounds(ax, line2)
plot_line(ax, line2)

ax.set_title('b) complex')

xrange = [-2, 3]
yrange = [-1, 3]
ax.set_xlim(*xrange)
ax.set_ylim(*yrange)
ax.set_yticks(list(range(*yrange)) + [yrange[-1]])
ax.set_aspect(1)

pyplot.show()


text:
Morocco tourism suffers after Paris attacks
Saad Guerraoui
Losing customers. A waiter carries a tray of food in one of the restaurants in the Jemaa el-Fna square in Marrakesh.
Casablanca - It did not take the Islamic State (ISIS) long to threaten Morocco after Rabat reportedly gave intelligence information to the French government about the whereabouts of Abdelhamid Abaaoud, the ringleader of the deadly Paris attacks.
ISIS attackers killed 130 people in Paris on November 13th, the deadliest attack in Europe since the Madrid train bombings in March 2004 in which 191 people were killed.
French authorities had thought Abaaoud was still among ISIS jihadists fighting in Syria, but Moroccan officials informed them that he was in France.
Terror attacks in Tunisia, in which 60 tourists were killed, and the Russian plane crash caused by a bomb in Egypt prompted European holidaymakers to shun popular Arab destinations.
Morocco is not immune from the fear that is driving many tourists to opt for what they perceive as safer destinations or to stay home, Moroccan Tourism Minister Lahcen Haddad acknowledged. He said the number of tourists in the country has been declining due to the growing ISIS threat.
Other officials and tourism operators concur, saying growth in the sector has been affected by a perception of threat.
"Since mid-2014 with the appearance of ISIS and then with the two attacks in Tunisia and with the Charlie Hebdo attack in France, we have seen a dwindling of the number of tourists," Haddad told the Financial Times prior to the November 13th assault on Paris.
"It is not highly significant in the overall picture but very important for the French market, where we had a drop starting in mid-2014 — and it is still happening."
France is the most significant market for Morocco. French holidaymakers represent 34% of the tourists who visit the North African kingdom each year.
Some cities in Morocco are already feeling the pinch. Agadir, which is one of Morocco's sunny destinations throughout the year, is relying on local tourists to help offset the dwindling number of foreign holidaymakers.
According to figures released by Agadir's Regional Council of Tourism, the number of nights spent at accommodations catering to tourists was down in the first six months of the year compared to the same period in 2014.
The southern coastal city recorded 2,262,788 bed nights over the period compared to 2,521,563 recorded in 2014.
This decrease is mainly due to the French market, which showed a decline in terms of tourist arrivals (down 21%) and bed nights (down 28%). However, the flow of local tourists rose as Agadir received 159,545 tourists from Moroccan cities from January through July, a 14.3% increase compared to the same period in 2014.
Tourism accounted for about 8% of the Morocco's gross domestic product in 2014 and employs 500,000 people. The government hopes to see the number of visitors rise to 20 million by 2022.
One the other side of the tourism picture, some Moroccans who were planning to go to major European capitals such as London and Paris for Christmas and New Year's festivities have cancelled their plans due to fears of potential terror attacks in Europe.
Leila Bourzik, a government employee, said that she dropped her plan to visit London for safety reasons.
"I cancelled my plan to go to the United Kingdom because I fear that terror attacks might happen anytime, anywhere," Bourzik said.
Written By Saad Guerraoui
Saad Guerraoui is a regular contributor to The Arab Weekly on Maghreb issues.


Unified communications (UC) is a double-edged sword. Done right, it can enhance and improve communication across a company, with customers and suppliers. It can save money, improve productivity, and enhance employee engagement by giving employees the tools to work anywhere, anytime, from any device.
Done poorly, the results can damage customer relations, create unnecessary human resource problems and stunt innovation.
UC is not new technology, and over the years there have been many different types of solutions and implementations. Yet a survey of UC stories reveals the same mistakes are made over and over. Apparently, we're not learning from UC history.
Here's a look at the top ten reasons for UC implementation failure.
Incomplete or unclear requirements: As with any project, if you don't know what you want to end up with, the results will usually be unsatisfactory. Failing to define, determine and understand user needs, for example, can result in an expensive system that goes underutilized.
Poor planning: "Failing to plan is planning to fail." Any UC implementation needs to be considered carefully. If real estate is about location, location, location, UC implementation is all about the details, details, details. Overlooking one or two small items can lead to chaos. A detailed project plan is a must.
Insufficient resources: All projects need resources, both human and financial. You can have a brilliant UC plan, but with untrained team, or a leadership unit working toward conflicting goals, success is anything but certain. Before a UC project moves forward it is critical to ensure there is end-user engagement and an approved strategic plan that provides finances and the training resources that match the scope of the project.
Lack of executive sponsorship: If management isn't onside, the proper resources won't likely be allocated, and employees won't be encouraged to use the new solution. Support must come from the top.
Improper infrastructure configuration: UC works over the network, and puts new burden on the infrastructure. Supporting UC requires servers, which must be properly sized. There will likely need to be configuration changes, and potentially an increase in available bandwidth, both internal and external, to accommodate the additional traffic. Neglecting to build the infrastructure will impact performance, lead to poor call quality and slow or interrupted communications. There is nothing that discourages employee adoption more than a so-called "new" system that introduces more problems than it fixes. In technology, as in dating, you never get a second chance to make a great first impression.
Poor choice of partner: Solution providers vary in skills and expertise, and while choosing the cheapest quote may be appealing to budget-holders, it's more important to choose a provider who has successfully deployed the selected solution, holds appropriate vendor certifications, and is able to supply good customer references.
Failure to plan for support: Implementation is just the tip of the iceberg – once the system is in operation, it must be maintained. A good operational plan will ensure companies don't come up against significant unplanned expenses for security staff, IT staff or additional helpdesk resources.
Failure to allow for change: No system is static. Users often use technology in unconventional and unintended ways with great results. Technology itself changes rapidly. UC implementation and operational plans must be malleable. Without the flexibility to adapt, the system will quickly become obsolete.
Failure to evaluate options: Is onsite implementation the best way to move forward? Would a hosted UC solution be a better option given the budget available and pool of IT resources that can be tapped? Unless you've evaluated all the options, answering this question incorrectly can have weighty consequences. Companies should thoroughly examine their options before deciding on a UC approach.
Avoiding these pitfalls may help ensure a successful UC implementation that can increase user productivity, support innovation through collaboration and still trim costs.


Join Portfolio Plus today to sell your art safely online.
Artists & Illustrators magazine's exciting online community Portfolio Plus offers you the opportunity to sell your art commission free from a personalised web page – plus you could feature in the magazine, in online exhibitions and on our social media channels. As with any online-based customer service, it's important to learn how to recognise fraudulent buyers and art scams to stay safe and enjoy your Portfolio Plus experience.
Art scams online are prevalent because it doesn't cost the scammer a penny to email hundreds of thousands of emails – they find ways to use other people's servers. By using other people's servers it also becomes difficult to trace anything back to them or know exactly where they are located.
Most people are familiar with the scam where you receive an email saying you are the beneficiary from some foreign estate. These are usually obvious because the amount of the supposed inheritance is typically too high to be believable. More sophisticated scammers have moved on to a new model that has been successful for them – pretending they are going to buy something from you and then scam you out of real cash.
The scammer will typically make the first email they send to you brief. Some of these first emails are generic and some will actually reference names of your artwork, which they found on your website or in some collective online source, like an association webpage or a place where artists have profile listings.
Good day to you over there, My name is Ray Collins and i hope this message finds you well.I was going through your works and my eyes caught some of your works. I am interested in purchasing some of the art works for my new resident. Kindly get back to me with your website so that i can request for the detailed price, availability and more information of the piece i am interested in.
I hope to read back from you as soon as possible.
When the scammer wants to buy but is also asking you to give them your website – that is a flag. They want you to tell them your website so they know how to customize the next step of the scam with actual names of your artwork. But any reply, whether you provide your website or not, will provide an opportunity for the scammer to look you up and then customize the rest of the scam to make it appear as if they are a real buyer.
Once the scammer has received a reply from you, they will move to the next step of the scam. Some scammers are impatient and will reveal all the details of the rest of the scam in this next email, other scammers spread it out over more emails and slowly reveal the details of the scam.
Payment for those piece will be made through UK bank cheque from a firm that i recently purchase some goods from which some where not available and there had to be a refund of the initial payment i had transfered to them the refund will be in sum of £6300 to cover the cost of the piece and shipping of the artwork i also have some House Furniture to be shipped from the New Castle i think it will be better if the shippers picking up the Furniture can come pick up the artwork from you so as to save time because a payment issued from Poland will take months to be cleared in United Kingdom.I would let the shippers know that they will be coming over to your area to pick-up the artwork and have them delivered to me.I will be needing your contact address and phone number to write and send the cheque to you,hope to read from you soon.
The critical parts of the scam at this stage are: (1) the scammer underscores they will be making a significant purchase and will reference actual names if they can, (2) they are either moving to or located in a foreign country, (3) they are using their own shipping company who will be handling all of their belongings, (4) they will be paying via check or credit card and if you offer paypal as an option, they will have some story as to why they can't use paypal.
What is true about these scam elements: there is no shipping company (it is either non-existent or they grab the name of some real shipping company who they have no relationship with), if they pay by check the check will be fraudulent – always, and if they pay by credit card, the card number is stolen (and often not yet reported so sometimes it will clear at your end). The card billing address will never match their story. And the shipping address is made up as well. They don't care what happens to your artwork, they are after cash.
Now the scammer has you on the hook and they get your address to mail the check or they provide you a credit card number. If they pay via check, they often will not add any details until they mail the check. When you receive the fraudulent check, it will be made out for more than the amount they owe you, usually by $1500 to $3000, on an average. They will have some story as to why they are sending the "shipper's fee" through you instead of directly to the shipper. They will ask you to deposit the check immediately and forward the shipper's fee via Western Union (and they will have some story as to why the shipper can't just take a credit card number or check). If they pay via credit card, they will give this whole story upfront in order to explain why you need to put more than the amount owed on the credit card.
You deposit the check (or take the credit card number) and either choice will eventually prove to be fraudulent. But the scammer is counting on that you have already forwarded the shipper's fee via Western Union. Who is at the other end of Western Union? Just the scammers themselves, and once they've picked up the money, it is completely untraceable. They will have returned to the shadows to send out more emails and try to trick more people into giving them money.
All scams of this nature contain certain elements and you can begin to become familiar with them so you can recognise a scam email before you lose any money or artwork. It is not one or all of these signs, but a preponderance of them.
1. The email will have formatting and spelling errors. Scammers use software that automatically generate these emails and it would appear – so far, at least, that none of them are bright enough to fix the formatting and spelling errors.
2. The email will reference either that they are moving to a foreign country or that they are a store in a foreign country.
3. Their scam doesn't work unless they can convince you they need to use their own shipper. You will never fall victim to this scam if you just never agreed to their third-party shipper and insist on your own.
4. Their scam doesn't work unless they can get you to believe their check or credit card is good (remember, many times their stolen credit card number will clear on your end because it is not yet reported as stolen). You will not fall victim to this scam if you insist on paypal as your method.
5. Western Union is a haven for scammers. I don't know why Western Union has not come up with a solution for this, but really the scammers will always insist on the Western Union angle for forwarding the shipper's fee because the scammer becomes completely untraceable and the transaction can't be undone once they've picked up the money. I've heard some scammers have "runners" who get to Western Union as fast as they can once they know the victim has actually initiated the transaction. So my advice is this: never agree to use Western Union in your business dealings and you won't fall victim to this scam.
Who can you report art scams to?
For the most part, the authorities do not really do much about these scams, and that is what the scammers rely upon. But I think it's always good to report them anyway, so that these same authorities understand the scope of the problem. Also below there are some resources to share your experiences publicly so that others who are searching online to see if their email is a scam or not can get that validated. We all help each other by bringing these scammers out into the open and educating artists to search online when something doesn't feel right.
Once you get better at recognising a scam email quickly, report them if you feel that is helpful and then delete it and move on with your day. We'll never put scammers out of business completely, but we sure can help reduce the number of victims.
© 2011. KathleenMcMahon.com. All rights reserved.


text:
Q: javascript function changeimage() I have a problem with a function that's should change the image when I click on the button it pass directly from the first image to the last image. What is wrong in my code ?

A: Accessing DOMNode.src will return the full path to the image:
var img = document.createElement('img');
img.src = 'a.png';
console.log(img.src); // https://example.com/a.png
console.log(img.getAttribute('src')) // a.png

Your changeImage function can be rewritten as:
function changeImage() {
    var image = document.getElementById("image");
    var src = image.getAttribute('src');
    if (src == "1.jpg") {
        image.src = "2.jpg";
    }
    else if (src == "2.jpg") {
        image.src = "3.jpg";
    }
}

A: Maybe you should use something like this:
function changeImage() {
  var image = document.getElementById("image");
  var src = image.getAttribute("src");

  if (src === "1.jpg") {
    image.src = "2.jpg";
  } else if (src === "2.jpg") {
    image.src = "3.jpg";
  }
}

Give me a shout if it works.

A:

<button id="clickme" onclick="changeImage();"> : pass </button>


text:
// Copyright 2016, Timothy Bogdala <tdb@animal-machine.com>
// See the LICENSE file for more details.

package openvr

/*
#cgo CFLAGS: -I${SRCDIR}/vendored/openvr/headers -std=c99
#cgo windows,386 LDFLAGS: -L${SRCDIR}/vendored/openvr/bin/win32 -lopenvr_api
#cgo windows,amd64 LDFLAGS: -L${SRCDIR}/vendored/openvr/bin/win64 -lopenvr_api
#cgo linux,amd64 LDFLAGS: -L${SRCDIR}/vendored/openvr/bin/linux64 -lopenvr_api
#cgo linux,386 LDFLAGS: -L${SRCDIR}/vendored/openvr/bin/linux32 -lopenvr_api

#include <stdio.h>
#include <stdlib.h>
#include "openvr_capi.h"

#if defined(_WIN32)
    #define IMPORT __declspec(dllimport)
#else
    #define IMPORT
#endif

// lets declare some externals from the openvr_api.dll
IMPORT intptr_t VR_InitInternal( EVRInitError *peError, EVRApplicationType eType );
IMPORT const char * VR_GetVRInitErrorAsEnglishDescription( EVRInitError error );
IMPORT bool VR_IsInterfaceVersionValid(const char *interface);
IMPORT void VR_ShutdownInternal();
IMPORT intptr_t VR_GetGenericInterface( const char *pchInterfaceVersion, EVRInitError *peError );

// api tokens; set in initInternal()
intptr_t _iToken;
struct VR_IVRSystem_FnTable* _iSystem;
struct VR_IVRCompositor_FnTable* _iCompositor;
struct VR_IVRRenderModels_FnTable* _iRenderModels;
struct VR_IVRChaperone_FnTable* _iChaperone;

// gets the api token and makes sure the interface is valid
int initInternal(int appTypeEnum) {
    // get the api token
    EVRInitError error = EVRInitError_VRInitError_None;
    _iToken = VR_InitInternal(&error, appTypeEnum);
    if (error != EVRInitError_VRInitError_None) {
        const char* msg = VR_GetVRInitErrorAsEnglishDescription(error);
        printf("VR_InitInternal failed: %s\n", msg);
        return error;
    }

    bool icheck = VR_IsInterfaceVersionValid(IVRSystem_Version);
    if (!icheck) {
        printf("INVALID interface\n");
        VR_ShutdownInternal();
        return EVRInitError_VRInitError_Unknown;
    }

    char interfaceFnTable[256];
    sprintf(interfaceFnTable, "FnTable:%s", IVRSystem_Version);
    _iSystem = (struct VR_IVRSystem_FnTable*) VR_GetGenericInterface(interfaceFnTable, &error);
    if (error != EVRInitError_VRInitError_None) {
        const char* msg = VR_GetVRInitErrorAsEnglishDescription(error);
        printf("Error on getting IVRSystem: %s\n", msg);
        return error;
    }

    return EVRInitError_VRInitError_None;
}

int compositor_SetInternalInterface() {
    EVRInitError error = EVRInitError_VRInitError_None;
    if (_iCompositor == NULL) {
        char interfaceFnTable[256];
        sprintf(interfaceFnTable, "FnTable:%s", IVRCompositor_Version);
        _iCompositor = (struct VR_IVRCompositor_FnTable*) VR_GetGenericInterface(interfaceFnTable, &error);
        if (error != EVRInitError_VRInitError_None) {
            const char* msg = VR_GetVRInitErrorAsEnglishDescription(error);
            printf("Error on getting IVRCompositor: %s\n", msg);
            return error;
        }
    }
    return error;
}

int rendermodels_SetInternalInterface() {
    EVRInitError error = EVRInitError_VRInitError_None;
    if (_iRenderModels == NULL) {
        char interfaceFnTable[256];
        sprintf(interfaceFnTable, "FnTable:%s", IVRRenderModels_Version);
        _iRenderModels = (struct VR_IVRRenderModels_FnTable*) VR_GetGenericInterface(interfaceFnTable, &error);
        if (error != EVRInitError_VRInitError_None) {
            const char* msg = VR_GetVRInitErrorAsEnglishDescription(error);
            printf("Error on getting IVRRenderModels: %s\n", msg);
            return error;
        }
    }
    return error;
}

int chaperone_SetInternalInterface() {
    EVRInitError error = EVRInitError_VRInitError_None;
    if (_iChaperone == NULL) {
        char interfaceFnTable[256];
        sprintf(interfaceFnTable, "FnTable:%s", IVRChaperone_Version);
        _iChaperone = (struct VR_IVRChaperone_FnTable*) VR_GetGenericInterface(interfaceFnTable, &error);
        if (error != EVRInitError_VRInitError_None) {
            const char* msg = VR_GetVRInitErrorAsEnglishDescription(error);
            printf("Error on getting IVRChaperone: %s\n", msg);
            return error;
        }
    }
    return error;
}

*/
import "C"
import (
	"fmt"

	mgl "github.com/go-gl/mathgl/mgl32"
)

// Init initializes the internal VR api structers and on success will
// return a System object with a valid IVRSystem interface ptr.
func Init() (*System, error) {
	// initialize the module _iToken value from the openvr api
	e := C.initInternal(C.EVRApplicationType_VRApplication_Scene)
	if e == C.EVRInitError_VRInitError_None {
		sys := new(System)
		sys.ptr = C._iSystem
		return sys, nil
	}

	errStr := GetErrorAsEnglish(int(e))
	return nil, fmt.Errorf("%s", errStr)
}

// Shutdown calls the ShutdownInternal function on the VR library.
func Shutdown() {
	C.VR_ShutdownInternal()
}

// GetErrorAsEnglish takes an EVRInitError enumeration value and returns a string.
func GetErrorAsEnglish(e int) string {
	cs := C.VR_GetVRInitErrorAsEnglishDescription(C.EVRInitError(e))
	// NOTE: does cs need to be freed somehow?
	return C.GoString(cs)
}

// GetCompositor returns a new IVRCompositor interface.
func GetCompositor() (*Compositor, error) {
	e := C.compositor_SetInternalInterface()
	if e == C.EVRInitError_VRInitError_None {
		comp := new(Compositor)
		comp.ptr = C._iCompositor
		return comp, nil
	}
	cs := C.VR_GetVRInitErrorAsEnglishDescription(C.EVRInitError(e))
	return nil, fmt.Errorf("%s", C.GoString(cs))
}

// GetRenderModels returns a new IVRRenderModels interface.
func GetRenderModels() (*RenderModels, error) {
	e := C.rendermodels_SetInternalInterface()
	if e == C.EVRInitError_VRInitError_None {
		rm := new(RenderModels)
		rm.ptr = C._iRenderModels
		return rm, nil
	}
	cs := C.VR_GetVRInitErrorAsEnglishDescription(C.EVRInitError(e))
	return nil, fmt.Errorf("%s", C.GoString(cs))
}

// GetChaperone returns a new IVRChaperone interface.
func GetChaperone() (*Chaperone, error) {
	e := C.chaperone_SetInternalInterface()
	if e == C.EVRInitError_VRInitError_None {
		chap := new(Chaperone)
		chap.ptr = C._iChaperone
		return chap, nil
	}
	cs := C.VR_GetVRInitErrorAsEnglishDescription(C.EVRInitError(e))
	return nil, fmt.Errorf("%s", C.GoString(cs))
}

// Mat34ToMat4 is a utility conversion function that takes a 3x4 matrix and outputs
// a 4x4 matrix with an identity fourth row of {0,0,0,1}.
func Mat34ToMat4(vrM34 *mgl.Mat3x4) (m4 mgl.Mat4) {
	m4[0] = vrM34[0]
	m4[1] = vrM34[1]
	m4[2] = vrM34[2]
	m4[3] = 0.0

	m4[4] = vrM34[3]
	m4[5] = vrM34[4]
	m4[6] = vrM34[5]
	m4[7] = 0.0

	m4[8] = vrM34[6]
	m4[9] = vrM34[7]
	m4[10] = vrM34[8]
	m4[11] = 0.0

	m4[12] = vrM34[9]
	m4[13] = vrM34[10]
	m4[14] = vrM34[11]
	m4[15] = 1.0
	return m4
}

var (
	// ShaderRenderModelV is the render model vertex shader
	ShaderRenderModelV = `#version 330
	uniform mat4 mvp;
	in vec4 position;
	in vec3 normal;
	in vec2 texCoord;

	out vec2 v2TexCoord;
	void main()
	{
	   v2TexCoord = texCoord;
	   gl_Position = mvp * vec4(position.xyz, 1);
	}`

	// ShaderRenderModelF is the render model fragment shader
	ShaderRenderModelF = `#version 330
	uniform sampler2D diffuse;
	in vec2 v2TexCoord;
	out vec4 outputColor;
	void main()
	{
		outputColor = texture(diffuse, v2TexCoord);
	}`

	// ShaderLensDistortionV is the lens distortion vertex shader
	ShaderLensDistortionV = `#version 330
        in vec4 position;
        in vec2 v2UVredIn;
        in vec2 v2UVGreenIn;
        in vec2 v2UVblueIn;
        noperspective  out vec2 v2UVred;
        noperspective  out vec2 v2UVgreen;
        noperspective  out vec2 v2UVblue;
        void main()
        {
        	v2UVred = v2UVredIn;
        	v2UVgreen = v2UVGreenIn;
        	v2UVblue = v2UVblueIn;
        	gl_Position = position;
        }`

	// ShaderLensDistortionF is the lens distortion fragment shader
	ShaderLensDistortionF = `#version 330
        uniform sampler2D mytexture;

        noperspective  in vec2 v2UVred;
        noperspective  in vec2 v2UVgreen;
        noperspective  in vec2 v2UVblue;

        out vec4 outputColor;

        void main()
        {
            float fBoundsCheck = ( (dot( vec2( lessThan( v2UVgreen.xy, vec2(0.05, 0.05)) ), vec2(1.0, 1.0))+dot( vec2( greaterThan( v2UVgreen.xy, vec2( 0.95, 0.95)) ), vec2(1.0, 1.0))) );
        	if( fBoundsCheck > 1.0 ) {
                outputColor = vec4( 0, 0, 1, 1.0 );
            } else {
        		float red = texture(mytexture, v2UVred).x;
        		float green = texture(mytexture, v2UVgreen).y;
        		float blue = texture(mytexture, v2UVblue).z;
        		outputColor = vec4( red, green, blue, 1.0  );
            }

        }`
)