Bernardo Villela is like a mallrat except at the movies. He is a writer, director, editor and film enthusiast who seeks to continue to explore and learn about cinema, chronicle the journey and share his findings.

Day: April 26, 2012

So here’s another retroactive list from me. I think it’s safer to assume that this one is more tinged with nostalgia than the 1994 one. In this case, I believe a majority of the films included are ones I saw during or shortly after the year for the most part. Well, in terms of the American releases. Now, in 1987 I was five and six years old, meaning I was just starting my schooling.

I believe most of the films I saw were video or HBO selections. I specified American films above because there are some great foreign titles, that need no disclaimer, which I discovered later on that were released in this year. As for the disclaimer: you see what my relative age was when the films came out or when I got to see them, therefore that is your grain of salt. Again, as I did before, I will stress that the way I assemble this list is usually based on its noteworthiness in my estimation and not necessarily its impeachable quality. However, I will discuss that a bit with each film that’s included.

One thing that’s interesting to note is that this post serves a function as a replacement (and possible prelude) to a series I wanted to do this year. If you take 25 years of age as the youngest a film can be to be considered a classic then the film class of 1987 would be eligible this year. It’s interesting to examine what holds up and what doesn’t after all that time.

Some personal entertainment-related milestones for the year include: my favorite thing in the world was ALF (such that I had a lunch box and much more) and if memory serves I was a year away from my first theater-going experience. For I seem to recall that being Bambi and per the IMDb the only re-release I would have memory of occurred in 1988. Also, I don’t think I watched the Super Bowl for another few years but I knew that the Giants had won.

Without further ado, the list, which is in no particular order:

1. Blind Date

Blind Date (TriStar Films)

Of the 80s movies that made Kim Basinger a star, and for a time one of my favorite actresses, I’m not sure I like this more than something like My Stepmother is an Alien, however, both that and this are so hazy in my memory I can’t honestly tell how they hold up, but I remember adoring them at the time and it’s definitely a marker for the year.

2. Amazing Grace and Chuck

Amazing Grace and Chuck (TriStar Pictures)

In a paper I wrote about the 1980s I discussed this film at great length. It was a truncated repost on this site that I’ll start over, however, suffice it to say I think there are few films that are as resoundingly a product of their times than this is. I discovered it much later and love it.

3. Innerspace

Innerspace (Warner Bros.)

I’m not sure it’s possible to chronicle a year in 1980s without including a Joe Dante film. As is the case with a lot of films on this list I haven’t seen them in a while but I think this film, for quite some time, has been overlooked and dismissed unjustly.

4. Roxanne

Roxanne (Columbia Pictures)

This is one of Steve Martin’s best balancing acts between his comedic and dramatic talents. His put-down monologue is fantastic and I still quote: “It must be great to wake up in the morning and smell the coffee…in Brazil” often.

5. The Lost Boys

The Lost Boys (Warner Bros.)

I was a late-comer to the horror genre so I didn’t discover this film until later on. And as if to underline my point, few and far between are those who dislike this film, therefore when I can defend Joel Schumacher I do. You can knock some of his films but not all, not even close.

6. The Monster Squad

The Monster Squad (TriStar Pictures)

The rise to cult status of The Monster Squad is truly amazing and practically unprecedented and I’m a small part of the years later surge in its popularity. I saw it many years after its release on VHS and loved it. I now have it on DVD and I get why it’s adored and also why it flew under the radar in its initial release.

7. The Curse

The Curse (Trans World Entertainment)

As I’ve mentioned previously, few films exemplify the alchemy of horror better than this film. It’s got a lot going against it but it still works very, very well.

8. Hellraiser

Hellraiser (New World Pictures)

I was first introduced to this film in a horror class I took in college. It just keeps getting better with age like a fine wine. It also stands as one of two films that have gotten me literarily smitten with its writer, in this case Clive Barker. I immediately started chasing down his books after seeing this and Candyman in the class.

9. Baby Boom

Baby Boom (United Artists)

Here’s another I’ll admit is cloudy but I do remember watching it quite a bit on HBO back in the day, and I believe that many of the Diane Keaton films I saw were partially a result of this film. Not to mention that as silly as it may be it is also a sign of the times. Women still had some strides that needed making in terms of equality, and this was one of the films and/or shows that was broaching that subject. Perhaps, not the best or most serious but noteworthy nonetheless.

10. Hope and Glory

Hope and Glory (Columbia Pictures)

This is another film I discovered later on and it is also a film that is exponentially better on the big screen. I discovered it on video. I was fortunate enough to see it introduced by John Boorman at BAM Rose Cinemas in Brooklyn. The viewing was very memorable but I’ll be eternally thankful for the response he gave my question about casting a young lead. It helped me a great deal in preparing for an upcoming production.

11. Planes, Trains & Automobiles

Planes, Trains & Automobiles (Paramount)

This one is a favorite for so many. As I often say John Hughes created innumerable new templates for story that were used in film and television alike. This one is no exception, while many avoid the twist in the tale the framework has been re-used several times as has The Breakfast Club, Ferris Beuller’s Day Off, Sixteen Candles and so on.

12. Au Revoir Les Enfants

Au revoir les enfants (Orion Classics)

I can’t say I’m a completist with his work but I love Louis Malle. In this film he tells a very personal story and you can feel that throughout the film it’s really its most remarkable quality.

13. Empire of the Sun

Empire of the Sun (Warner Bros.)

I saw this film many years after its release. I saw it sometime in the summer of 2001. I remember the date specifically because after multiple viewings my opinion of Artificial Intelligence: A. I. had solidified and having had a Spielberg class and hearing things like “this is his most European film” but not being able to see it I was very anxious. Being properly prepared for it in all regards it blew me away. I love it.

14. Wall Street

Wall Street (20th Century Fox)

This film I remember viewing in a high school economics class the first time around. Now there was a slightly more cynical, realistic approach that the teacher employed when discussing it, and he had his motives for showing it but not only was it a victory for me against an attempt pedagogical indoctrination, but I still really enjoyed the film a great deal. That is not surprising as it was during Oliver Stone’s heyday.15. Throw Momma from the Train

Throw Momma From the Train (Orion)

This is another one I’m far removed from seeing but the premise is outlandish and it’s made to work thanks to the casting of Momma, but then you also have Billy Crystal and Danny Devito working together, so my childish sense of humor (which for the most part remains in tact) adores it.16. Overboard

Overboard (MGM/UA)

Amnesia it seems was big in the 80s, at least I think it was I can’t remember (I’m so sorry). It was an oft-used theme then it seems but this was the best take. There aren’t many great tandems anymore but this one was a match made in cinematic heaven regardless of material and cheesy posters.

17. The Grand Highway

The Grand Highway (Miramax)

This is a film I discovered quite some time later. I think it’s likely the most overlooked of them all. This film did get a US remake, which I discuss here. I think this is a really great film that more people should see. I wrote about the remake of this film and will re-post that series here.

18. Um Trem Para As Estrelas

Um Trem Para As Estrelas (FilmDallas Pictures)

Another staple on these lists, when I can find one, will be a Brazilian film. This was a pivotal time in Brazil politically as the country was making the always difficult transition from a dictatorial government to a democracy. That serves as the backdrop for this coming of age tale. The film also portraits Brazil’s vibrant pop music scene of the era with many performances by popular artists included. I remember I rented this from Movies Unlimited back when they had a physical location, and while deliberate in pacing I enjoyed it a great deal.19. Mio in the Land of Faraway

Mio in the Land of Faraway (Miramax)

A lot of funny things and parallels come to mind when there’s mention of this film. First, this seems to be my obligatory Christopher Lee title. Second, here’s Christian Bale’s second appearance on this list, in his neophyte, pre-bad press phase. It’s also strange in that it’s an all English-speaking cast enacting a foreign fairytale, similar to the The Neverending Story with much less press in the US. This one also only was released in the US in 1988. I really do like this film for the narrative, the lead performances, and because it’s good cheese. I can’t argue there’s none here.20. Pelle the Conqueror

Pelle the Conqueror (Miramax)

In my retroactive BAM days I placed this film as an ’87 release even though it made its splash globally the following year, seeing as how this list is in retrospect I’ll place it here. Not only is this a great film wherein Bille August burst on to the scene but it’s yet another great performance in the career of Max von Sydow. It’s also an incredibly moving film.

21. In a Glass Cage

In a Glass Cage (Cinevista)

If there was ever a director to which the term no-holds-barred applied without question it’s Augusti Villaronga. There are likely synopses that give away only what is necessary to discuss the film, I’d rather spoil nothing about this film except to say this film is not for the faint of heart or the queasy. Even if you’ve seen many films, few are this dark and disturbing. It relishes in making you uncomfortable. It’s likely not a film you’d want to see more than once but perhaps what’s most effective is that it pushes your buttons regardless of what’s happening.

22. Bad

Bad (Epic Records)

Two things straight off the bat: If I could’ve included Madonna I would have but “Open Your Heart” as a video came out in December 1986. As for what a music video is doing on this list, I had a short film in my 94 list and I did write (not yet reposted here) after Jackson’s passing about how his videos were more cinematic than most and in the 80s they were more story-based in general. It may not be quite the production that Thriller is but there’s no bothersome disclaimer at the front and this one was directed by Martin Scorsese so it has more than enough merit to it.23. La Bamba

La Bamba (Columbia Pictures)

I was, as were many of my classmates, quite literally obsessed with this movie and Richie Valens for quite a long time after it came out.

24. Ernest Goes to Camp

Ernest Goes to Camp (Buena Vista Pictures)

Writing a blurb for a Ernest movie is simple: either you like this character of the late Jim Varney or you don’t. I always liked him even though I saw this film later on.25. The Garbage Pail Kids Movie

The Garbage Pail Kids Movie (Atlantic Releasing Corporation)

Here’s a film that will fall under the memorable category. I fall neither in the cult following of this movie nor the rabid hatred thereof, but I have seen it twice and do recall it was the quest of a friend of mine’s in junior high to obtain this film. It may well have been the seed for my loathing of the concept of something being out of print.26. Masters of the Universe

Masters of the Universe (The Cannon Group)

Another big deal for me when I was young was He-Man. More so the animated series than this film. Now, I loved it at the time but I have since revisited most, if not all of the series, and the fish out of water approach to the movie while amusing is certainly not why we kids adored the show. It was Eternia and the characters and landscape there. It certainly wasn’t as the quote at the bottom of this poster states the Star Wars of the 80s, I think that was still Star Wars.

27. Dennis the Menace Dinosaur Hunter

Dennis the Menace Dinosaur Hunter (LBS Communications)

There are some things I really loved as a kid that I would come very close to forgetting and then through some nearly miraculous happenstance be reminded of in a very powerful way and my affection would be rekindled. The more notable cases are musical but this film fits that bill. It was a TV project that I know I’ve seen many times but each after nearly having forgotten it existed. I liked, and still do like, Dennis the Menace as a character and I was obsessed with dinosaurs so this film is one I’d naturally gravitate to.

28. Flowers in the Attic

Flowers in the Attic (New World Pictures)

Here’s one that I nearly forgot about as I used the IMDb to jog my memory and somehow I hadn’t voted on this one though I viewed it when I was a rather anal-retentive voter. I saw this film later on and it’s definitely a cult favorite. You either love it or loathe it but perhaps what’s most notable for me is that after having seen it I considered reading V.C. Andrews but when I discovered the author’s name had become and overly-exploited brand name posthumously, I shied away. Perhaps, with an even better interwebs than ever before, I’ll look into her again and see what she actually wrote and what is just attributed to the name.

Thus concludes my journey through 1987 what year I’ll revisit next I know not but may it be as memorable as the first two.

Email Subscription

Enter your email address to follow this blog and receive notifications of new posts by email.


Blue-Cats MB-7 Mixer v3.0

Blue-Cats MB-7 Mixer v3.0

Blue Cat's MB-7 Mixer is a unique plug-in that splits the signal into several frequency bands and lets you mix and process them as if they were separate tracks.
Each band proposes controls that can be found on a mixing console, and more: bypass, mute or solo each band separately to isolate frequencies you want to work on, adjust the gain, the "stereoness" and the position in the stereo field. When manipulating the stereo image, a master mono switch also lets you check mono compatibility.
The plug-in can also operate as a multiband VST, VST3 and Audio Unit host: you can process each band independently with your favorite VST, VST3 or Audio Unit plug-ins! Up to four plug-ins can be loaded on each band, pre or post fader. Latency compensation, presets management, undo/redo integration, and individual plug-in bypass are included for optimal operation.
The plug-in also proposes unique linking and grouping options thanks to our multi-instances technology. You can link bands together within a single instance or between several instances of the plug-in on different tracks. This lets a simple fader control as many bands on as many tracks as you want. This is particularly useful when adjusting the placement or the balance of several competing tracks.
And as usual with Blue Cat Audio, the plug-in provides comprehensive visual feedback to let you know what's exactly going on: for each channel, monitor the spectrum, the in/out levels and the frequency response.
Thanks to its advanced MIDI and automation input capabilities, when combined with our other plug-ins, Blue Cat's MB-7 Mixer is capable of advanced side-chaining features that really unveils its potential. Check out our MB-7 Mixer Tutorials for more details.
If you are looking for a simpler plug-in to host VST, VST3 and Audio Unit plug-ins, please try Blue Cat's PatchWork. If you are looking for a multiband dynamics processor that can be combined to this plug-in for side chain effects, check out the Blue Cat's MB-5 Dynamix plug-in. Also, any Blue Cat Audio plug-in is compatible and can be hosted by this plug-in.
V3.0 (2017/02/23)
Brand new GUI design, with improved usability and touchscreen support.
Favorite plug-ins and their settings can be saved to be quickly reloaded later from a menu.
Unused channels for each hosted plug-in can now be muted (instead of default pass-thru).
Load/save native VST, VST3 or AU preset files.
Presets and parameters menus are now split in sub menus instead of a single list.
Additional user VST path to locate VST plug-ins is now available.
Missing VST & VST3 plug-ins are now automatically relocated.
Copy/paste and save band settings (including plug-ins) as sub-presets.
Map sub plug-ins parameters to automate them in host or control them with MIDI.
Lock GUI state to prevent changes when loading presets.
Band Controls Groups can now be identified by colors.
Adjust contrast for spectrogram display.
Spectrogram now keeps history when resized.
Import spectrum curves for EQ compare & matching, and export EQ curves to share with other Blue Cat Audio plug-ins.
Now supports retina displays on Mac (text and graphs using high resolution).
Now compatible with most recent Audio Units (Waves for example).
Changed demo limitations: up to 5 instances allowed, bypass time changed to half a second, and bypass parameter is not affected anymore.
Fully compatible with previous versions of the plug-in.
Dropped support for Windows XP and Mac OS X 10.6 and earlier.just installTeam V.R


ALPHA MALE: 4 Accessories You Need to Have

You may think that the pocket square is too old-school for you. Think again.

Women cover themselves in jewelry, carry fancy purses, wear scarves during all four seasons, and own a different belt to match each outfit. Men on the other hand are constantly struggling to add a little Tabasco sauce to their daily uniform. It's socially acceptable for a woman to wear all sorts of bling and blang, but a single misstep by an accessorizing male leads a style only acceptable to the cast of the Jersey Shore.

There are 4 male accessories that with successful execution, can turn dull into dapper. Master these four and you're well on your way to mastering your look.

Pocket Square

For example, a well styled tie and pocket square can turn an everyday suit into a fashion masterpiece. In my opinion, a pocket square should accompany almost any suit and jacket combo. Pocket squares are daring – showing a level a confidence in dress.

Watch

Make sure you wear a watch that matches the quality of clothing you are wearing. There is no sense in pairing a $100 watch with a $5,000 suit. Choose a watch that compliments your outfit without screaming for attention.

Socks

A cool accessory for both the dressed and casual is a pair of well-thought out hosiery. You can wear socks that match your outfit…or completely clash with your outfit. It takes a confident man to pull off some hosiery, but that’s why you’re reading the article… You’re the man anyway, right?

Jewelry

Jewelry your thing? Only if you follow these 4 rules.

1. Earrings aren’t cool unless you’re a rapper.

2. Necklaces are great, but keep them under your shirt. (Also note – chest hair is not an accessory. Keep this under your shirt too).

3. If you’re going to wear a ring, make sure it’s a wedding ring, Stanley Cup ring, or Superbowl ring. All other rings should be kept at home.

4. Teeth grills, well you've got to love them, so they're in...not.

Marc Streisand is president and owner of Marc Allen Fine Clothiers, and takes the custom clothing business very personally. Having enjoyed a successful career in the clothing industry since 1985, Marc brings his clients extensive specialized experience in menswear. Prior to taking over the Marc Allen store in March 2005, he cultivated his knowledge of luxury male attire in New York and his home state of New Jersey, where he began his vocation at Wallach's Specialty Stores. Nothing gives him greater pleasure, he says, than seeing raw cloth transformed into a custom outfit that can directly impact his customer's lifestyle.


Q:

¿Como actualizar las propiedades de los elementos de una lista usando Linq?

Buen día comunidad, hay un escenario común y no he visto alguna pregunta similar, por lo que compartiré la solución enseguida.
Básicamente, tenemos una lista de elementos y queremos realizar la actualización de una propiedad en particular haciendo uso de Linq.
using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
    public static void Main()
    {
        Console.WriteLine("¡Saludos Hermandad de SOes!");

        List<Movil> lista = new List<Movil>(){
        new Movil(){
            Id = 1, Marca = "iPhone", Conexion = "LTE"},
        new Movil(){
            Id = 2, Marca = "Samsung", Conexion = "4G"},
            new Movil(){
            Id = 3, Marca = "Xiaomi", Conexion = "4G"}
        };

        Console.WriteLine("Seleccionar todos los 4G");

        var listaFiltrada = lista.Where(elemento=>elemento.Conexion.Equals("4G", StringComparison.InvariantCultureIgnoreCase));
        foreach(var item in listaFiltrada){
            Console.WriteLine("{0} - {1} - {2}", item.Id, item.Marca, item.Conexion);
        }

        Console.WriteLine("Actualizando de 4G a LTE");
        //Aqui quiero hacer uso de Linq en vez de usar un bucle for, foreach
    }

    public class Movil{
        public int Id {get;set;}
        public string Marca {get;set;}
        public string Conexion {get;set;}
    }
}

A:

En algunos casos puede ser necesario utilizar un .ToList() luego de usar .Select(), esto permite que el .Select() sea evaluado y se aplique la actualización.
Si estás usando una lista como en el presente ejemplo, todo pinta fresh.
using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
    public static void Main()
    {
        Console.WriteLine("¡Saludos Hermandad de SOes!");

        List<Movil> lista = new List<Movil>(){
        new Movil(){
            Id = 1, Marca = "iPhone", Conexion = "LTE"},
        new Movil(){
            Id = 2, Marca = "Samsung", Conexion = "4G"},
            new Movil(){
            Id = 3, Marca = "Xiaomi", Conexion = "4G"}
        };

        Console.WriteLine("Seleccionar todos los 4G");

        var listaFiltrada = lista.Where(elemento=>elemento.Conexion.Equals("4G", StringComparison.InvariantCultureIgnoreCase));
        foreach(var item in listaFiltrada){
            Console.WriteLine("{0} - {1} - {2}", item.Id, item.Marca, item.Conexion);
        }

        Console.WriteLine("Actualizando de 4G a LTE");
        listaFiltrada = listaFiltrada.Select(x => { x.Conexion = "LTE"; return x; }).ToList();
        foreach(var item in listaFiltrada){
            Console.WriteLine("{0} - {1} - {2}", item.Id, item.Marca, item.Conexion);
        }
    }

    public class Movil{
        public int Id {get;set;}
        public string Marca {get;set;}
        public string Conexion {get;set;}
    }
}

En caso desees actualizar varias propiedades:
listaFiltrada = listaFiltrada
                .Select(x => {
                        x.Conexion = "LTE";
                        x.Marca="WASD";
                        return x;
                 });


Q:

Making a fading trail in processing

I have a circle that is moving across the screen, what i need is to be able to make that circle leave a line behind it that fades after a second or so. I'm using Processing.

A:

Can't speak for its efficiency but I imagine one way to do it would be to keep the old positions in an ArrayList? You can then draw lines between each point, as long as you push the current position each frame and remove the least recent. Hope it helps!
PVector circlePosition;
ArrayList<PVector> circleTrail;
int trailSize = 10;

void setup() {
  size(500, 500);
  circlePosition = new PVector(width*0.5, width*0.5);
  circleTrail = new ArrayList<PVector>();
}

void draw() {
  background(255);
  int trailLength;

  circlePosition = new PVector(mouseX, mouseY);
  circleTrail.add(circlePosition);

  trailLength = circleTrail.size() - 2;
  println(trailLength);

  for (int i = 0; i < trailLength; i++) {
    PVector currentTrail = circleTrail.get(i);
    PVector previousTrail = circleTrail.get(i + 1);

    stroke(0, 255*i/trailLength);
    line(
      currentTrail.x, currentTrail.y,
      previousTrail.x, previousTrail.y
    );
  }

  ellipse(circlePosition.x, circlePosition.y, 10, 10);

  if (trailLength >= trailSize) {
    circleTrail.remove(0);
  }

}

A:

I also can't speak to the efficiency of my method, but the way I've done it is by drawing a rectangle over your entire sketch each time with an also set to a low value (like 25 or so).  This results in the objects from previous draw() cycles looking 'faded'.  For example:
int i = 0;

void setup(){
  size(500,500);
  smooth();
  noStroke();
  background(255);
}

void draw(){
  fill(255,25);
  rect(0,0,width,height);
  fill(0);
  ellipse(width/2 + i,height/2 + i,50,50);
  delay(100);
  i+=10;
}


Can environmental variation generate positive indirect effects in a model of shared predation?
Classic models of apparent competition predict negative indirect effects between prey with a shared enemy. If predator per capita growth rates are nonlinear, then endogenously generated periodic cycles are predicted to generate less negative or even positive indirect effects between prey. Here I determine how exogenous mechanisms such as environmental variation could modify indirect effects. I find that exogenous variation can have a broader range of effects on indirect interactions than endogenously generated cycles. Indirect effects are altered by environmental variation even in simple models for which the per capita growth rate of the predator species is a linear function of population densities. Temporal variation that affects the predator attack rate or the conversion efficiency can lead to large increases or decreases in the indirect effects between prey, dependent on how prey populations co-vary with the environmental variation. Positive indirect effects can occur when the period of environmental variation is close to the natural period of the biological system and shifts in subharmonic resonance occur with the addition of the second prey. Models that include nonlinear numerical responses generally lead to indirect effects that are sensitive to environmental variation in more parameters and across a wider range of frequencies.


The doctors and the staff of Palmetto Oral and Maxillofacial Surgeons, P.A. in Florence, SC are pleased that you are considering our practice for your care. We will be happy to assist you by providing the best treatment possible in a comfortable facility where the patient comes first. We have a dedicated team here to assist you from your first phone call through your final follow-up visit.

As Oral and Maxillofacial Surgeons with extensive experience and a longstanding history in the Pee Dee area, Dr. Ken Lowry, Dr. Doug Oliver and Dr. Michael Morgan have credentials that you can trust. All surgeons offer a full range of oral and maxillofacial procedures, including dental implants, corrective jaw surgery, wisdom teeth removal, and many other procedures


Original Pearl Beach Cottage

46 Beryl Boulevarde, PEARL BEACH

Backing onto the Brisbane Water National Park, this 3 bedroom home amongst the trees sleeps 6 guests and has beautiful views from the large open living room.

Enjoy the combustion fireplace in winter or a short stroll to the beach in the warmer months.
The back yard has a grassed area and you can bring your fur family members although the yard is not fenced.

There’s plenty of room to spread out with a combined lounge dining kitchen area and a second lounge area and second dining area in the sunroom.

Linen is not provided at this property. It can be hired directly from:

Central Coast Linen Hire on 0401 574 057 or cclinenhire@gmail.com
Pearl Beach is one of the Central Coasts most beautiful coastal suburbs. Set amongst the abundant bushlands of Bouddi and Brisbane Water National Parks. Located only 90 minutes from Sydney. Enjoy the beach, ocean bath, cafâ and restaurant or one of the many surrounding bushwalks.

Pearl Beach is a very quiet village and is not suitable for any parties or functions


1,564 views

The clip Entering the castle from Scooby-Doo (2002) with Matthew Lillard

No way.Shaggy.Scoob and me don't do castles.Why not?Paintings with eyes watching you, suits of armor you think is a statue......but there's a guy inside who follows you every time you turn around.How many times has that happened?Twelve.We're not gonna do it.That's right.Scooby?Did you hurt your paw?Would you do it for a Scooby Snack?Oh, boy!You'll be fearless?Fearless?Hong Kong Fuey, watch the fists of fury, would you, buddy!Here you go.Thank you.There's plenty more where that came from. Let's go before someone sees.Okay.You are not going to stay out here alone, are you?No, thank you.


The Amazon rainforest is burning to the ground at an unprecedented rate, but don’t despair. With just one “like” on Instagram, you can donate $1; for a follow or repost, you can plant a tree. Making a difference is as easy as tapping your thumb — or so a vast network of scammers on the platform would have you believe. Instagram accounts falsely promising some form of disaster aid in exchange for likes and followers may seem like obvious hoaxes to most users, but they’re working: Some scammers appear to be turning big profits by exploiting people’s goodwill and Instagram’s inability to regulate the hordes of bad actors among its 1 billion users.

ASSOCIATED PRESS The Amazon has been burning for weeks. Scammers see the fires as an opportunity.

The now-defunct Instagram page @PrayForTheAmazonia managed to hoodwink more than 90,000 users into following its account, which promoted a PayPal account and a fraudulent GoFundMe campaign that claimed to have “partnered with” Rainforest Trust, an environmental nonprofit.Rainforest Trust confirmed to HuffPost that it had no affiliation with the campaign, which received hundreds of donations totaling thousands of dollars before it was taken offline. In a statement, GoFundMe told HuffPost that “no funds were withdrawn, and all donors will be refunded” and noted that the campaign organizer has been permanently banned from the platform. Similar Instagram pages have claimed without evidence to have partnered with major organizations such as National Geographic and the Amazon Aid Foundation.One such account posted a screenshot purporting to show a direct message from Justin Bieber in which the pop star supposedly agrees to “personally donate $10,000” if the page, which is still active, can “reach 5k followers by the end of this year.” SUBSCRIBE AND FOLLOW Get the top stories emailed every day. Newsletters may offer personalized content or advertisements. Privacy Policy Newsletter Please enter a valid email address Thank you for signing up! You should receive an email to confirm your subscription shortly. There was a problem processing your signup; please try again later Twitter

Facebook

Instagram

Flipboard None of the Instagram account owners HuffPost contacted agreed to be interviewed.

Left to right: GoFundMe; Instagram; Instagram Left: People donate to a fraudulent GoFundMe campaign that was promoted on Instagram. Middle: An Instagram scammer account pledges donations for follows and reposts. Right: An Instagram post purports to show a message of support from Justin Bieber.

The Amazon scam “violates our policies and we will remove accounts and content that promote it,” said Stephanie Otway, a spokesperson for Facebook, which owns Instagram. Instagram has become a home to the so-called “Tragedy Hustle” because, in many ways, it provides an ideal ecosystem for scams and disinformation to flourish without any real accountability. Whether they’re after money, clout or both, it takes relatively little effort for anonymous grifters to create legitimate-looking philanthropic accounts at times when people are seeking ways to support crisis victims, aid hungry refugees or fight raging wildfires. Opportunistic scammers will sometimes set up disaster relief pages with strategic hashtags and promotional tactics to lure in big audiences at just the right moment, then eventually pivot the accounts to personal or business profiles by changing the usernames and deleting the previous posts, while retaining the followings they deceptively accumulated. If the pages get taken down, there’s often nothing stopping them from starting over — which is exactly what the individual (or individuals) behind @PrayForTheAmazoniaappears to have done. Soon after it disappeared, @CureAmazonia popped up and started promoting the same GoFundMe campaign. It was taken offline at more than 10,000 followers, but it surely won’t be long before another account takes its place. For many large social media companies, deplatforming scammers is a cat-and-mouse game with no end in sight.

Instagram Instagram scammer accounts claim they will donate money and plant trees in exchange for "likes."

Instagram has become one of the major vehicles for spreading disinformation, according to a new report from the NYU Stern Center for Business and Human Rights, which points to a “lack of clear strategy for addressing the serious problems inherent in Instagram’s operating model.” Under growing pressure, the tech giant has taken steps to crack down on problematic accounts and to arm users with tools to identify suspicious activity. Business profiles on the site are required to publicly list their emails or phone numbers, for example, and users can check those accounts’ username histories. This can come in handy when evaluating the legitimacy of proclaimed aid pages. Some of the Amazon scam accounts used to operate under usernames relating to sports news, vegan diets, and other things that are completely unrelated to the Amazon. But of course, not all of Instagram’s usersare familiar with such tools, and the platform is still riddled with successful scammers and their unwitting victims. Some Instagram influencers have found ways to capitalize on the Amazon #activism, too, through self-promotion cloaked as genuine environmental concern. By using selective hashtags such as #SaveTheAmazon, they can divert masses of people searching for Amazon news to their own faux-outrage content.

Instagram An influencer reprimands others for neglecting the Amazon fires in a post in which she promotes several fashion brands.

Glasgow-based fashion blogger Sheri Scott was widely criticized after posting a photo of herself donning a number of tagged designer brands along with a caption accusing the media of neglecting the fires, Scottishnews outlets reported. This kind of sanctimonious scolding — shaming others for their apparent ignorance, silence or inaction surrounding a crisis — has become a sort of trend on social media and a way to effectively pat oneself on the back while getting likes for speaking out. “The Amazon Rainforest has been burning for 3 weeks straight and we’re only finding out about it now. Even #SaveSpidermanFromSony has been reported more by the media than #PrayforAmazonia and it’s absolutely shameful,” read Scott’s post, which included the hashtags #OutfitIdeas and #OrangeHair. “The world is pretty f**ked up right now and we all need to do what we can to make it right.” (Scott later edited her caption, apologizing for the “tone deaf” hashtags, then removed the post altogether.) Searching the hashtag #PrayForAmazonia on Instagram yields a collection of informative rainforest-related posts interspersed with pouty selfies, woodland photoshoots and a jarring number of wildfire-inspired makeup looks (with the cosmetic products prominently tagged). Adding a popular hashtag to a post — even if it’s unrelated to the content itself — can increase the post’s likelihood of being featured in Instagram’s public “Explore Tab,” which means increased exposure and ultimately, more likes. Influencers know this well.

Instagram Instagram users use the hashtag #PrayForAmazonia to promote themselves and various brands.

We’ve seen these kinds of things before. After the release of HBO’s drama miniseries “Chernobyl” in May, Instagram models showed up in Pripyat to take broody portraits at the site of the city’s catastrophic nuclear disaster.In June, Instagram accounts racked up massive followings by making empty promises to deliver meals to starving children in crisis-torn Sudan. And in July, when a 17-year-old girl’s gruesome murder went viral on social media, grifters swiftly flooded her Instagram profile with comments feigning sympathy while promising to share the (nonexistent) video of her killing in exchange for follows and likes.

Instagram An Instagram scammer tries to capitalize on the murder of a teenage girl.


Self-assembled one-dimensional nanostructure arrays.
A range of proposed devices relies on the electronic, optical or magnetic properties of one-dimensional (1D) chains of nanoparticles. Here, well-controlled 1D arrays have been formed by templating a spherical-morphology block copolymer within a narrow groove. Significantly, the domains are distorted into ellipses with aspect ratio and major axis orientation controlled by the groove width. This technique gives unprecedented control over the period, particle size, aspect ratio, and orientation of nanoparticles in 1D arrays, making it valuable for creating self-assembled masks for the fabrication of novel devices.


                                                             NOT PRECEDENTIAL

                      UNITED STATES COURT OF APPEALS
                           FOR THE THIRD CIRCUIT
                                 __________

                                   No. 14-4244
                                   ___________

                              CATO CAPITAL LLC,
                      a Connecticut Limited Liability Company,
                                      Appellant

                                         v.

                         HEMISPHERX BIOPHARMA INC.,
                             a Delaware Corporation;
                            THE SAGE GROUP, INC.
                                ______________

            APPEAL FROM THE UNITED STATES DISTRICT COURT
                    FOR THE DISTRICT OF DELAWARE
                     (D.C. Civ. Action No. 1-09-cv-00549)
                  District Judge: Honorable Gregory M. Sleet
                               ______________

                               Argued: July 16, 2015
                                 ______________

        Before: SMITH, GREENAWAY, JR., and SHWARTZ, Circuit Judges.

                              (Filed: August 21, 2015)

John L. Reed [ARGUED]
DLA Piper
1201 North Market Street
Suite 2100
Wilmington, DE 19801
      Counsel for Appellant
                                         1
James J. Black, III [ARGUED]
Mark W. Drasnin, Esq.
Black & Gerngross
1617 John F. Kennedy Boulevard
Suite 1575
Philadelphia, PA 19103

Christopher P. Simon, Esq.
Cross & Simon
1105 North Market Street
Suite 901
Wilmington, DE 19801
       Counsel for Appellees
                                      ______________

                                         OPINION
                                      ______________

GREENAWAY, JR., Circuit Judge.

       Plaintiff-Appellant Cato Capital, LLC (“Cato”) appeals from the final judgment

entered by the District Court in favor of Defendant-Appellee Hemispherx Biopharma,

Inc. (“Hemispherx”) on Cato’s breach of contract claim. Cato, an investment bank, sued

Hemispherx, a biopharmaceutical company and former client, to recover a placement fee

after several companies invested millions of dollars in Hemispherx—notwithstanding the

fact that: (1) Cato did not facilitate these investments, and (2) these transactions closed

after Cato’s engagement with Hemispherx had expired. After a bench trial, the District

Court held: (1) that Cato had not satisfied a condition precedent to payment under the

                                              2
contract, and (2) that Cato was not entitled to payment under the contract because Cato

did not cause the investments. See Cato Capital LLC v. Hemispherx Biopharma, Inc., 70

F. Supp. 3d 607 (D. Del. 2014). We agree that Cato did not satisfy a condition precedent

to payment and will affirm the District Court.1

I.     BACKGROUND

A.     Factual History

       1.     The Beginning of the Engagement

       In late 2008, Cato was introduced to Hemispherx by Hemispherx’s advisor, The

Sage Group, Inc. (“Sage”). Hemispherx and Cato entered into a non-exclusive contract

(“the Agreement”) whereby Cato would serve as Hemispherx’s “financial adviser and

placement agent, in connection with facilitating debt and equity financings for

[Hemispherx]” for a term beginning November 24, 2008 and ending March 24, 2009. JA

0094-95. The Agreement also provided for an additional eight-month period after the

expiration of the term of the engagement (the “Tail Period”), during which time, if

Hemispherx closed a transaction with any investor introduced to Hemispherx by Cato (a

“Tail Period transaction”), Hemispherx would be obligated to pay Cato a “Placement

Fee” under certain conditions. JA 0095.

       
         This disposition is not an opinion of the full Court and pursuant to I.O.P. 5.7
does not constitute binding precedent.
       1
         Because Cato must succeed on both arguments on appeal in order to reverse the
District Court’s judgment, and because we conclude that Cato did not fulfill a condition
precedent to payment under the contract, we need not reach Cato’s causation argument.
                                             3
       Specifically, Paragraphs 2(b) and 2(c) of the Agreement required Cato to provide

to Hemispherx two separate lists of potential investors (the “Cato Prospects”). They

provided in relevant part:

       (b)    Payment of Fees: All applicable fees shall be payable . . . with
       respect to any Transaction completed with any Cato Prospect during . . . (ii)
       the eight month period (the “Tail Period”) following the term of this
       Agreement. At the end of the term of this Agreement, Cato shall
       designate in writing to the Company all Cato Prospects. Cato will only
       be entitled to Placement Fees for Transactions during the Tail Period
       completed with any of the listed Cato Prospects or their affiliates.

                                           ***

       (c)    . . . . Following the execution of this Agreement, Cato will
       immediately provide Company with a list of Cato Prospects which will
       be immediately reviewed by Company and once agreed, Cato Prospects
       will be attached to this agreement as appendix A.

Id. (emphasis added).

       The day the Agreement was executed, Cato submitted a list of Cato Prospects (the

“Paragraph 2(c) list”) for approval. Hemispherx approved the list and appended it to the

Agreement. Days later, Cato sought and received approval for several additional

prospects. The Cato Prospects included Hudson Bay Capital Management LP (“Hudson

Bay”), Iroquois Capital (“Iroquois”), and Cranshire Capital LP (“Cranshire”).

       Within the next two weeks, Cato sent Iroquois, Cranshire, and Hudson Bay an

email outlining a proposed transaction. Cato, however, failed to secure any suitable

offers and had no further contact with these prospects.

                                             4
       2.       Updated Prospects and the End of the Term

       On January 5, 2009, Cato submitted the names of additional investors for

Hemispherx’s approval. Hemispherx, through Sage,2 approved the investors the next day

and requested a “full list, updated,” of all Cato Prospects. Cato sent the requested list on

January 7, 2009. The list included, inter alia, Iroquois, Hudson Bay, and Cranshire.

       On March 24, 2009, the term of the Agreement ended with Cato having failed to

secure any funding for Hemispherx. Cato did not submit a Paragraph 2(b) list of Cato

Prospects at that time.

       3.       The Tail Period

       In late April, Rodman and Renshaw Capital Group (“Rodman”) contacted

Hemispherx because of the increased market interest in companies—like Hemispherx—

with products capable of treating influenza. Rodman believed that Hemispherx could

raise capital through an equity offering in this climate, and the two executed an

engagement letter in early May. Soon thereafter, Hudson Bay, Cranshire, and Iroquois

collectively invested $23.5 million in Hemispherx with Rodman acting as facilitator.

       On May 22, 2009, Cato sent Hemispherx a demand letter seeking fees for the

transactions that Hemispherx had concluded with Hudson Bay, Iroquois, and Cranshire.

Hemispherx refused to pay Cato because it had not submitted a Paragraph 2(b) list and

had not facilitated these transactions.

       2
           Sage acted as Hemispherx’s intermediary for most communications with Cato.
                                              5
B.     Procedural History

       Cato filed suit in the District Court against Hemispherx alleging, inter alia, breach

of contract, and against The Sage Group alleging fraud and intentional interference with a

contractual relationship. After a three-day bench trial, the District Court ruled against

Cato on all counts. Cato timely appealed only the breach of contract of claim, arguing:

(1) that it substantially complied with Paragraph 2(b)’s requirement by sending the

updated list of prospects in January 2009, and (2) that the Agreement entitles Cato to

payment for any transaction consummated with a Cato Prospect during the Tail Period,

regardless of whether Cato caused the transaction.

II.    ANALYSIS3

       We review a district court’s findings of fact following a bench trial under the

clearly erroneous standard and exercise plenary review over its conclusions of law.

Gordon v. Lewistown Hosp., 423 F.3d 184, 201 (3d Cir. 2005). Under Delaware law,4

contract interpretation is a question of law. Rhone-Poulenc Basic Chems. Co. v. Am.

Motorists Ins. Co., 616 A.2d 1192, 1195 (Del. 1992). Generally, whether a party can

satisfy the doctrine of substantial compliance is a question of fact. See Standard Accident

Ins. Co. v. Ponsell’s Drug Stores, Inc., 202 A.2d 271, 275 (Del. 1964).

       3
         The District Court had jurisdiction pursuant to 28 U.S.C. § 1332, and this Court
has jurisdiction under 28 U.S.C. § 1291.
       4
         The parties agree that Delaware law controls pursuant to Paragraph 3(d) of the
Agreement’s Terms and Conditions. JA 0100.
                                              6
       A court interpreting a contract must effectuate the parties’ intent. See Lorillard

Tobacco Co. v. Am. Legacy Found., 903 A.2d 728, 739 (Del. 2006). “Where the contract

language is clear and unambiguous,” the court must ascertain the parties’ intent “by

giving the language its ordinary and usual meaning.” Nw. Nat’l Ins. Co. v. Esmark, Inc.,

672 A.2d 41, 43 (Del. 1996).

       For the reasons below, we conclude: (1) that the Agreement unambiguously

required Cato to submit a Paragraph 2(b) list in order to receive payment for Tail Period

transactions, and (2) that Cato did not comply with this requirement.

A.     Condition Precedent

       The District Court correctly determined that compliance with Paragraph 2(b) is a

condition precedent5 to payment to Cato for Tail Period transactions. Paragraph 2(b) of

the Agreement provides that “[a]t the end of the term of this Agreement, Cato shall

designate in writing to the Company all Cato Prospects,” and notes that “Cato will only

be entitled to Placement Fees for Transactions during the Tail Period completed with any

of the listed Cato Prospects.” JA 0095 (emphasis added). This language unambiguously

conditions payment for Tail Period transactions on Cato’s submission of a list of Cato

Prospects at the end of the term of the Agreement. See Global Energy Fin. LLC v.

       5
         “A condition precedent is ‘[a]n act or event, other than a lapse of time, that must
exist or occur before a duty to perform something promised arises.’” AES P.R., L.P. v.
Alstom Power, Inc., 429 F. Supp. 2d 713, 717 (D. Del. 2006) (alteration in original)
(quoting Seaford Assocs. Ltd. P’ship v. Subway Real Estate Corp., No. Civ. A. 2248,
2003 WL 21254847, at *5 n.30 (Del. Ch. May 21, 2003)).
                                             7
Peabody Energy Corp., No. 08C-10-129 RRC, 2010 WL 4056164, at *24 (Del. Super.

Ct. Oct. 14, 2010) (“no particular words are necessary for the existence of a condition,”

and any “phrase that conditions performance usually connote[s] an intent for a condition”

(internal quotation marks omitted)). Thus, Hemispherx would only be obligated to pay

Cato’s Placement Fee if Cato submitted a Paragraph 2(b) list.

       Cato does not challenge this determination on appeal and effectively concedes that

it did not strictly comply with Paragraph 2(b) because it failed to submit a prospect list at

the end of term in March 2009. Rather, Cato argues that it substantially complied with

Paragraph 2(b) by submitting an “updated” prospect list in January.

B.     Substantial Compliance

       1.     The Agreement requires two separate prospect lists

       Contrary to Cato’s argument, the Agreement unambiguously requires two separate

lists of Cato Prospects, and a single list submitted substantially before the end of the term

cannot fulfill the requirements of both Paragraphs 2(b) and 2(c).

       Under Delaware law, a court must “give each provision and term effect, so as not

to render any part of the contract mere surplusage.” Kuhn Constr., Inc. v. Diamond State

Port Corp., 990 A.2d 393, 396-97 (Del. 2010). “Contractual interpretation operates

under the assumption that parties never include superfluous verbiage in their agreement,

and that each word should be given meaning and effect by the court.” Nama Holdings

LLC v. World Mkt. Ctr. Venture, LLC, 948 A.2d 411, 419 (Del Ch. 2007).

                                              8
       Paragraph 2(c) of the Agreement required Cato, upon execution of the Agreement,

to “immediately provide . . . a list of Cato Prospects” to be approved by Hemispherx and

appended to the Agreement, while Paragraph 2(b) required Cato to “designate in writing

. . . all Cato [P]rospects” “[a]t the end of the term of [the] Agreement” in order to receive

payment for Tail Period transactions. JA 0095 (emphasis added). Thus, the Agreement

contemplated two separate lists with two distinct purposes to be delivered at two different

times pursuant to Paragraphs 2(b) and 2(c). Accordingly, each provision must be given

independent effect.

       2.     Permitting a Paragraph 2(c) list to satisfy Paragraph 2(b) renders Paragraph
              2(b) superfluous

       The District Court reasonably determined that the Cato Prospects list submitted in

January 2009 was intended to fulfill the requirements of Paragraph 2(c) rather than

Paragraph 2(b).6 Cato nevertheless argues that the January 2009 list provided actual

notice of the prospects for which Cato would seek payment and thus rendered submission

       6
         It is undisputed that on November 24, 2008, the day the Agreement was
executed, Cato submitted a list of prospects for Hemispherx’s approval pursuant to
Paragraph 2(c). Approximately one week later Cato sought and received Hemispherx’s
approval to include several additional prospects on this list. Then, on January 5, 2009,
Cato again sought permission to add prospects to the list. The next day, Hemispherx
approved the “new [t]argets” and requested a “full list, updated,” and Cato provided the
updated list as requested. JA 0103. Under these circumstances, the District Court did not
err in concluding that the January 2009 list—provided two and a half months before the
end of the term—was intended to fulfill Paragraph 2(c) rather than Paragraph 2(b). This
conclusion is buttressed by the fact that Cato noted in its demand letter to Hemispherx
only that Cato had provided a “Section 2(c) . . . list [that was] reviewed and accepted by
                                              9
of a Paragraph 2(b) list at the end of the term “redundant.” Appellant’s Br. at 13.

However, Cato’s argument that submission of the Paragraph 2(c) list fulfilled the

requirements of Paragraph 2(b) plainly renders Paragraph 2(b) of the Agreement

superfluous—an “updated” Paragraph 2(c) list would always render submission of a

Paragraph 2(b) list redundant. Accordingly, we reject Cato’s substantial compliance

argument because it “would result in a conclusion that some terms [of the Agreement] are

uselessly repetitive.” O’Brien v. Progressive N. Ins. Co., 785 A.2d 281, 287 (Del. 2001).

       In sum, Cato failed to comply with Paragraph 2(b) and thus is not entitled to

payment for any Tail Period transactions.

III.   CONCLUSION

       For the foregoing reasons, we will affirm the District Court’s judgment.

[Hemispherx].” JA 0124. It was not until the onset of litigation that Cato argued that the
January 2009 list was intended to fulfill the requirements of Paragraph 2(b).
                                            10


Peres-Abbas in the Vatican: "We Don't Pray Together, But We Are Together to Pray"

Father Lombardi and Father Pizzaballa Brief Journalists on Sunday's "Invocation for Peace" in the Vatican Gardens

Pope Francis' belief in the power of prayer was understood in September 2013, when he organized a universal spiritual moment to prevent the situation in Syria from escalating into a world war.

Now the Bishop of Rome is trying again, and asks the “Prince of Peace” directly for peace between Israel and Palestine that diplomatic-political strategies have, for so many years, failed to attain.

And in this invocation he involves Presidents Mahmoud Abbas and Shimon Peres, guests whom two Sundays ago, during his visit to the Holy Land, he invited to his “home” in the Vatican for a prayer meeting.

This initiative, re-christened “Invocation for Peace”, will be held in the evening of Pentecost Sunday, June 8. Briefing reporters at the Vatican Press Office, spokesman Father Federico Lombardi, SJ, together with the Custos of the Holy Land, Father Pierbattista Pizzaballa, shared details of this “greatly anticipated” event.

The two heads of state will arrive in the Vatican at different times: Peres at 6:15 pm, Abbas – on his return from a trip to Egypt – at 6:30 pm. They will be received separately at the entrance of the St. Marta residence by the Pontiff, with whom they will have a brief conversation, first one and then the other, inside.

Around 6:45 pm all three will meet in the residence hall where Patriarch Bartholomew will also be present, who will have arrived in Rome the previous evening, and will also be staying in the residence. In the morning, Bartholomew will celebrate Mass in the church of Saint Theodore of the Greek-Orthodox community.

The Pope, the patriarch and the two presidents, will then go together in a minibus to the place of the meeting, "a very beautiful triangular lawn” between the Casina Pio IV building and the Vatican Museums, facing towards Saint Peter’s cupola. “It's a very interesting location,” said Father Lombardi, adding that it is surrounded by high hedges.

Attending the meeting will be delegations (still to be formally confirmed), singers and the press. Once the four protagonists have taken their place –- the Pope in the center, Peres on his right and Abbas on his left, the Patriarch in a different chair -- the time for the "invocation for peace" will begin. There will be a musical opening, a briefing in English, and then three moments, in chronological order, of the three religions: first Judaism, then Christianity and finally Islam. Each of the “moments” will follow the same structure: first a thanksgiving for Creation, then a request for pardon, and finally the Invocation for Peace. The Jewish moment will have texts in Hebrew, the Christian in English, Italian and Arabic, and the Muslim in Arabic.

After this “essential part” of the Invocation for Peace, three interventions will follow: first, the Holy Father, then President Peres and lastly President Abbas, “who will say the words they deem appropriate and their Invocation for Peace.” No one of the three will go into the the political situation of Israel and Palestine, explained the spokesmen. On the contrary, Father Pizzaballa stressed, the meeting is intended as “a pause in regard to politics.”

The Custos remarked that “the Holy Father does not want to enter into political questions of the Israeli-Palestinian conflict which we all know, in fact, in all its little details." Instead, he wishes “to reopen a path that has been closed for some time,” “to make one dream” and to reawaken in everyone’s spirit the “desire for peace.” “No one has the presumption to think that after this meeting, peace will break out in the Holy Land,” specified the Franciscan. However, “the expectation is high: there is in everyone the hope that something will change because all are tired.”

Returning to the unfolding of the evening, after the interventions of Francis, Abbas and Peres, the Invocation for Peace will be sealed by a joint shaking of hands and the gesture of planting an olive tree – symbol of peace – close to the chairs of the four protagonists. All the delegations (a maximum of 15-20 persons), will go over to greet the Pope, the two Presidents and Bartholomew, who will then go to the adjacent building of the Academy of Sciences for a private meeting, not followed by the television cameras. Once the conversation ends, the two Presidents will leave the Vatican immediately, and the Pope and Patriarch will return to Saint Martha’s.

It will threfore be an unprecedented historic moment, not to be described as an “inter-religious prayer” between Jews, Christians and Muslims. The event will be an “Invocation for Peace that Palestinians and Israelis make to God,” specified Father Pizzaballa. Needless to say, it will not be “a liturgical moment,” given the impossibility of a joint act between the different religions. The most exact definition was given by the Custos of the Holy Land: “It will be a joint invocation, in which we don’t pray together but are together to pray.”

Also attending the meeting will be Rabbi Abraham Skorka and Muslim leader Omar Abboud, both Argentines, and both longstanding friends of the Pope, who also wanted them with him in his pilgrimage in the Land of Jesus.

Benedict XVI will not attend, explained Father Lombardi, but he will accompany the meeting with heartfelt prayer, “as will all those who realize the importance of this event.”


Q:

Is there an Eclipse plugin to run system shell in the Console?

Do you know of any Eclipse plugin to run a system shell in the included console?
It would be awesome. Dolphin, KDE's file navigator, has this feature, you can press F4 and a console shows located on the directory you are standing.
It would be awesome to have a similar feature on Eclipse, with the shell located on the directory of the project/file you are working on.
Does this plugin exist?
If not, would it be too complicated to code such a plugin? I have no idea about eclipse plugin development (yet).

A:

It exists, and it's built into Eclipse! Go to the Remote Systems view, and you'll see an entry for "Local". Right-click "Local Shells" and choose "Launch Shell."
You can't launch it directly from the project navigator. But you can right-click in the navigator and choose "Show in Remote Systems view". From there you can right-click the parent folder and choose "Launch Shell."
Aptana also has a Terminal view, and a command to open the selected file in the terminal.

A:

You don't need a plugin (including the Remote System View plugin), you can do this with the basic platform. You just create an external tool configuration. I've added an image to demonstrate.

Orange Arrows: Use the external tool button on the toolbar and select External Tools Configuration.... Click on Program then up above click on the New launch configuration icon.
Green Arrows: Use the Name field and name your new tool something clever like "Launch Shell".  In the Location area enter a shell command e.g. /bin/bash. A more generic approach would be to use ${env_var:SHELL} which under the Mac (and I hope Linux) launches the default shell. Then in the Working Directory you can use the variable  ${project_loc} to set the default directory to your current project location. This will mean that when you launch the tool, you have to make sure you have your cursor in an active project on the explorer or in an appropriate editor window.  Under the Arguments area use -i for interactive mode.
Blue arrows: Switch to the Build tab and uncheck Build before launch. Then switch to the Common tab and click to add your command to the favorites menu.  Now click Apply and Close. Make sure the console view is showing (Window->Show View->Console). Click on a project in the Package or Project Explorer or click in an editor window that has code for a project of interest. Then click on the external tool icon and select Launch Shell, you now have an interactive shell window in the console view.
In the lower left of the image you can see the tcsh shell in action.
Windows Note:
This also works in Windows but you use ${env_var:ComSpec} in the location field and you can leave the arguments field blank.

A:

Eclipse TCF team has just release terminal (SSH, Telnet, local)
originally named TCF Terminal, then renamed to TM Terminal
http://marketplace.eclipse.org/content/tcf-terminals
Finally Windows and Linux all supported

Support for Git Bash on Windows is resolved Bug 435014.
This plugin is included into Enide Studio 2014 and Enide 2015.
To access the terminal go to Window -> Show View -> Terminal or Ctrl+Alt+T


Share this post

Link to post

Share on other sites

Verhoeven is often teased about his size, which is uncharacteristic for a keeper, by opposing fans. In one match against ADO Den Haag during the 2010–11 season, the home supporters showered him with chants of "Pizza!" when he touched the ball.


Q:

How can a Visual Studio Code extension directly add key bindings

Question
How can a Visual Studio Code extension add key bindings to a workspace directly?
Constraints
All settings should be contained within the extension, so that any modifications by the extension are easy to find in 1 place, and uninstalling the extension will remove any modifications.
Scenario
I'm developing a VSCode extension which will need to listen for keystrokes. This question listens through the vscode.workspace.onDidChangeTextDocument event, but I found that route a little messy in comparison to just creating key bindings for what I'm listening to. I found a pretty elegant way to achieve what I want using key bindings, but the implementation is not scalable and not simply exportable for others to implement.
Therefore I want to write an extension that totally encapsulates any key binding additions that are necessary.
I did find the answer to this after a long night of research, so I just want to post the solution for others' benefit.

A:

https://code.visualstudio.com/api/references/contribution-points#contributes.keybindings
This allows new keybindings to be declared right in the extension's package.json


Apollo 11 recreation training series

A three-part, hands-on virtual training series using the Apollo 11 mission to develop lunar trajectories using STK Astrogator. And yes, Austin Claybrook led this, too, along with our superb training team.

AGI at Apollopalooza

Apollopalooza (noun) - a weeklong celebration for the 50th anniversary of the moon landing at Wings Over the Rockies Air and Space Museum in Denver, Colorado. AGI senior research astrodynamicist, David Vallado, will be presenting at the museum on the history and future of lunar missions on Tuesday, July 16, at 3:30 pm local time. In the Denver area? Buy your tickets now


/*
MIT License

Copyright(c) 2018-2019 megai2

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/
#include "stdafx.h"

template<class ElementType, class ProcImpl>
d912pxy_pool_memcat<ElementType, ProcImpl>::d912pxy_pool_memcat() : d912pxy_pool<ElementType, ProcImpl>()
{

}

template<class ElementType, class ProcImpl>
d912pxy_pool_memcat<ElementType, ProcImpl>::~d912pxy_pool_memcat()
{

}

template<class ElementType, class ProcImpl>
void d912pxy_pool_memcat<ElementType, ProcImpl>::Init(UINT32 iBitIgnore, UINT32 iBitLimit, d912pxy_config_value limitCfg)
{
	d912pxy_pool<ElementType, ProcImpl>::Init();

	bitIgnore = iBitIgnore;
	bitLimit = iBitLimit;
	bitCnt = iBitLimit - iBitIgnore;

	maxMemoryInPool = 0;
	memoryInPool = 0;

	if (limitCfg != PXY_CFG_CNT)
		maxMemoryInPool = d912pxy_s.config.GetValueUI64(limitCfg) << 20;

	PXY_MALLOC(memTable, sizeof(void*)*bitCnt, d912pxy_ringbuffer<ElementType>**);
	PXY_MALLOC(this->rwMutex, sizeof(d912pxy_thread_lock)*bitCnt, d912pxy_thread_lock*);

	for (int i = 0; i != bitCnt; ++i)
	{
		memTable[i] = new d912pxy_ringbuffer<ElementType>(64, 2);
		this->rwMutex[i].Init();
	}
}

template<class ElementType, class ProcImpl>
void d912pxy_pool_memcat<ElementType, ProcImpl>::UnInit()
{
	PXY_FREE(memTable);
	PXY_FREE(this->rwMutex);

	d912pxy_pool<ElementType, ProcImpl>::UnInit();
}

template<class ElementType, class ProcImpl>
d912pxy_ringbuffer<ElementType>* d912pxy_pool_memcat<ElementType, ProcImpl>::GetCatBuffer(UINT32 cat)
{
	return memTable[cat];
}

template<class ElementType, class ProcImpl>
void d912pxy_pool_memcat<ElementType, ProcImpl>::PoolUnloadProc(ElementType val, UINT32 cat)
{
	if (!IsPoolHaveFreeSpace())
	{
		if (val->IsPersistentlyPooled())
			return;

		val->NoteDeletion(GetTickCount());
		d912pxy_s.thread.cleanup.Watch(val);
	}
	else {
		val->PoolPersistently();
	}
}

template<class ElementType, class ProcImpl>
UINT d912pxy_pool_memcat<ElementType, ProcImpl>::MemCatFromSize(UINT sz)
{
	UINT64 iv = (sz >> bitIgnore) + 1 * ((sz & ((1 << (bitIgnore)) - 1)) != 0);
	if (!iv)
		return 0;
	UINT ret = 0;
	while (iv > (1ULL << ret))
	{
		++ret;
	}

	return ret;
}

template<class ElementType, class ProcImpl>
UINT d912pxy_pool_memcat<ElementType, ProcImpl>::MemCatToSize(UINT cat)
{
	return 1 << (cat + bitIgnore);
}

template<class ElementType, class ProcImpl>
UINT d912pxy_pool_memcat<ElementType, ProcImpl>::IsPoolHaveFreeSpace()
{
	return maxMemoryInPool > memoryInPool;
}

template<class ElementType, class ProcImpl>
void d912pxy_pool_memcat<ElementType, ProcImpl>::AddMemoryToPool(INT sz)
{
	memoryInPool += sz;
}

template<class ElementType, class ProcImpl>
UINT32 d912pxy_pool_memcat<ElementType, ProcImpl>::GetMemoryInPoolMb()
{
	return (UINT32)(memoryInPool >> 20);
}

template class d912pxy_pool_memcat<d912pxy_vstream*, d912pxy_vstream_pool*>;
template class d912pxy_pool_memcat<d912pxy_upload_item*, d912pxy_upload_pool*>;


Q:

What is the Best way to create a secure REST API with Zend?

I have been looking on a lot of questions about REST API and security and found some interesting informations but there is still one thing I don't understand.
So, I have a REST API developped with Zend Framework with basic authentication over an https channel (so if I understoud what I have read, the login/password are encrypted when they are sent).
The purpose of this API is to be called by Android/iPhones apps and will only be available to people who have a login and a password
SO, currently, to call the API, the login and password are always sent with the call and so, I check them at every call (the result is it makes a call to the database just for authentication at each call to the API).
Is there some kind of session management (as in web developpement) to avoid that?
Thank,

A:

REST API should be stateless, but you can use request signing using some secret key you obtain  after first submission of username + password.
In other words, do not send username and password every time, just use once, to obtain secret key.
You may take a look at several APIs that sign the requests, eg. some implementing OAuth.


#
# Copyright 2020 Centreon (http://www.centreon.com/)
#
# Centreon is a full-fledged industry-strength solution that meets
# the needs in IT infrastructure and application monitoring for
# service performance.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

package network::raisecom::snmp::mode::hardware;

use base qw(centreon::plugins::templates::hardware);

use strict;
use warnings;

sub set_system {
    my ($self, %options) = @_;

    $self->{regexp_threshold_numeric_check_section_option} = '^(temperature|fan.speed|voltage)$';

    $self->{cb_hook2} = 'snmp_execute';

    $self->{thresholds} = {
        fan => [
            ['abnormal', 'CRITICAL'],
            ['normal', 'OK']
        ]
    };

    $self->{components_path} = 'network::raisecom::snmp::mode::components';
    $self->{components_module} = ['fan', 'temperature', 'voltage'];
}

sub snmp_execute {
    my ($self, %options) = @_;

    $self->{snmp} = $options{snmp};
    $self->{results} = $self->{snmp}->get_multiple_table(oids => $self->{request});
}

sub new {
    my ($class, %options) = @_;
    my $self = $class->SUPER::new(package => __PACKAGE__, %options);
    bless $self, $class;

    $options{options}->add_options(arguments => {});

    return $self;
}

1;

__END__

=head1 MODE

Check hardware.

=over 8

=item B<--component>

Which component to check (Default: '.*').
Can be: 'temperature', 'fan', 'voltage'.

=item B<--filter>

Exclude some parts (comma seperated list) (Example: --filter=fan
Can also exclude specific instance: --filter=fan,1

=item B<--no-component>

Return an error if no compenents are checked.
If total (with skipped) is 0. (Default: 'critical' returns).

=item B<--threshold-overload>

Set to overload default threshold values (syntax: section,[instance,]status,regexp)
It used before default thresholds (order stays).
Example: --threshold-overload='fan,WARNING,twoHour'

=item B<--warning>

Set warning threshold for temperatures, fan speed (syntax: type,instance,threshold)
Example: --warning='temperature,.*,30'

=item B<--critical>

Set critical threshold for temperatures, fan speed (syntax: type,instance,threshold)
Example: --critical='temperature,.*,40'

=back

=cut


Wyken

Wyken, a suburb of Coventry, West Midlands, England, is situated between the areas of Stoke and Walsgrave, three miles northeast of Coventry city centre. The population of this Coventry Ward taken at the 2011 census was 16,818. It is a fairly large ward spreading as far as the Binley area. The majority of the houses in Wyken are terraced houses.

The original parish ran close to the River Sowe and was mainly flat except for Wyken Heath and Wyken Knob near Stoke Heath.

History
The oldest building within Wyken is Saint Mary Magdalene's Church, located within Wyken Croft, which dates to the early 11th century. The village developed opposite the church and remained a small settlement until the 18th century at which point it began to expand. This original layout has since evolved as Wyken was incorporated into Coventry in 1932 resulting in boundary changes. Wyken became much larger than the original village and in the latest boundary change of 1993, Wyken received Coombe Fields from the parish of Rugby.

Politics
Since 1974, Wyken is a part of the Coventry North East Constituency.  The Wyken Ward elects three councillors to Coventry City Council, all three of whom are Labour.

Local legends
The churchyard of St Mary Magdalene's church has been known to generations of residents as the site of a pirate grave dating to some time in the 19th century. The legend had it that to summon the spectre one had to run around the grave three times. This legend later evolved to running around the church itself three times followed by throwing a stone through the windows of the church, which led to the removal of the headstone by the vicar of the parish in the 1960s. It is also said to be the birthplace of St George in Caludon Castle, of which only one wall remains.

Churches and schools
St. Mary Magdalene's church is the oldest church in Coventry, being 900 years old; along with The Church of the Risen Christ only a few meters away, it forms one ministry (two buildings one church). Both are part of a group of Anglican parishes: the group also includes two other churches, The Church of the Holy Cross in Wyken and St. Michael's in Stoke.

The secondary schools for the area are Caludon Castle School and Lyng Hall School.

Notable residents
Professional footballer Luke McCormick grew up in the district attending St John Fisher Catholic Primary School.
Professional footballer Ian Evatt grew up in the area attending Caludon Castle.
Actor Ron Cook grew up in the area attending Caludon Castle.
MotoGP rider Cal Crutchlow grew up in Wyken.
Professional darts player Mark McGeeney born in Wyken.
Retired professional basketball player and owner of the Coventry Crusaders Robert "Dip" Donaldson previously lived in Wyken.
Comedian and actor Guz Khan currently lives with his wife and children in this area.

References

External links
British History Online: History of Wyken and Caludon
Church Website

Category:Suburbs of Coventry
Category:Wards of Coventry


Google confirms Android 4.0 ICS is open source - twapi
http://www.thinq.co.uk/2011/10/20/google-confirms-android-40-ics-open-source/

======
joebadmo
Android is Open Source in that Google dumps the source code into the open
periodically. It's not developed in the open.

Honeycomb's source was and never will be open.

This is way farther on the 'open' side of the spectrum than any other major
mobile OS.

Is this, along with Android's open app marketplace, ability to install
arbitrary third party software, and installability on any compatible device
enough to warrant Google's marketing as 'open'?

I say yes.

~~~
guelo
> Honeycomb's source was and never will be open.

Honeycomb will be in the git repo since it is what ICS was developed from. The
question is if it will be specifically tagged.

------
martingordon
Do we have a term to distinguish between the two different models of open
source? The two models being the "development in public" model (Chrome,
Firefox, Rails, etc) and the "release finished code" model (Android, most GPL
components of closed source software, etc).

~~~
dmaz
Cathedral and Bazaar works here

~~~
durin42
I'm not quite sure. Chromium (the open-source end of Chrome) is very much a
cathedral in the sense of product direction, but is developed in the open. I
can't come up with something that has the opposite pairing though (it'd be
kind of strange).

I'm all in favor of some pithy term for "source released under an open license
but not developed in full view of the public."

~~~
elwin
How about "write-closed" vs. "write-open"? Or more simply, "read-only open
source".

~~~
nknight
Fork-only might be more appropriate, since you're quite free to write to your
copy.

------
parfe
_Google's recalcitrance appears to stem from two issues: one is that Honeycomb
is specifically designed for large-screen devices and Google is concerned
that, if released, it would find its way onto unsuitable form factors; the
other, hinted at by Google employees in the past, is that much of the code is
a kludge unsuitable for publication._

I'm not sure why Google caught so much slack for keeping 3.0 closed source. I
found these to be great reasons and instead of dealing with a bunch of
HoneyComb/Android SUCKS reviews when someone put honeycomb on a small screen
device google just weathered it out and released something with some quality.

~~~
MatthewPhillips
That goes against the principle of open-source. The principle is that by
releasing code to the public you will get contributions from others (an extra
set of eyes) that will make the project overall better.

But to accept this principle to have to also accept that some people will take
your code and use it in ways that you don't approve. The hope/belief is that
the good will float to the top. If you don't accept this premise then you
don't really have an open-source project.

I can't figure out why Android open sources its code, ever. They don't seem to
care about contributions from the community, and they obviously don't want
people using their code in ways they disapprove of. It seems that the major
reason for open sourcing their code must be something else. What I keep coming
back to is that it somehow protects them (in most cases) of patent violations.

I've asked this in the past: what is Andy Rubin's open-source credentials?
What open-source projects has he been involved in during his long and
successful career?

~~~
km3k
> They don't seem to care about contributions from the community

Google accepts a lot of patches from the community. Many of the major custom
ROMs regularly submit patches. Things aren't perfect at the moment since all
this infrastructure was hosted at kernel.org and is still down, so I can't
link you directly to examples of public patch submissions and code review,
unfortunately. But I can tell you they used Gerrit for that code review.

~~~
telcodud
AOSP source code is now back online: [http://groups.google.com/group/android-
building/msg/c73c14f9...](http://groups.google.com/group/android-
building/msg/c73c14f9b0dcd15a)

~~~
km3k
That's correct. I should have mentioned that. Do you know if the gerrit code
review website is back? I haven't been able to find a working URL for it.

~~~
telcodud
FTA: There are a few limitations to be aware of: \- Our priority has been
getting the main source code mirrors back online, so for the moment gitweb
source browsing and Gerrit Code Review are still unavailable.

------
zobzu
Something has to figure out that a product "IS" not open source AS LONG AS THE
SOURCE IS NOT RELEASED. So no, right now, ICS is NOT open-source.

It will be the day they release the source.

Being open-source is not a design attribute. It's a process.

------
pingswept
"Although the Android 4.0 Ice Cream Sandwich software development kit has been
released, the source code is not yet out."

I believe this is called "closed source." When I go to
<http://source.android.com/>, the latest release is Android 2.3
("Gingerbread").

Am I missing a repository somewhere, or is Google "happy claiming the kudos
and moral high ground that comes with OSS without really delivering on it", as
it's put later in this thread?

(Edited to be less inflammatory)

~~~
Tyrannosaurs
There's a difference between "making shit up" and pre-announcing.

It's not unreasonable for them to hold back the source code until the first
phone implementing the phone (the Galaxy Nexus) is available next month.

~~~
ajross
It's not "unexpected" or "uncommon", maybe. I think it's entirely unreasonable
for an entity calling itself an "open source project" to withhold code under
development from the public. There's no project here. But it's still better
than we got from Honeycomb (or Apple, or MS), so I guess beggars can't be
choosers.

~~~
DannyBee
Two of the original open source projects, emacs and GCC, did this for _many_
years. In fact, if you shared the source code of development versions, you
were banned from the FTP server that contained it.

~~~
ajross
That may be true (not sure abuot the banning thing, I've never heard that
story), but you're sort of missing the difference in spirit. Certainly the FSF
in its early days was eager and active in recruiting new developers, and
merging code from the community. Read all the early Gnus Bulletins for lots of
examples.

If you wanted to see RMS's emacs source, all you had to do was ask and promise
not to spread it around before he'd made a release. That policy may not have
been a good idea in hindsight, but it certainly wasn't because of Stallman's
desire to keep control over his "product".

Google, on the other hand, doesn't seem to be much in the habit of letting
people see their code simply because they want to contribute.

------
dman
If the code is unfit for others to read why is it being shipped in production
devices?

~~~
dabeeeenster
Because the quality of the source code and the quality of the resultant
binaries are two completely different things.

~~~
sovande
The source code is used to produce the "resultant binaries" so unless you have
a very strange definition of "quality" the OP has a very valid question.

~~~
zmmmmm
> a very strange definition of "quality"

Is it strange that, say, comments are stripped out of a binary? Or that the
file names of the source files are not in there? These things are examples of
aspects of quality that have no impact on the binary but make a big difference
to the quality of the source.

------
radiant1
Sounds to me like a complete open sourced code is going to come to a decision
when Google acquires Mototola Mobility... Will that be then end or a tweaked
version for external developers?

------
playhard
<http://opensource.apple.com/release/ios-50/>

~~~
X-Istence
That is the source code for the open source stuff that Apple uses in their
product, it is not the full OS itself.


The
list of 25 individuals who've had the most impact on the exercise and sport
science sector was compiled by the professional association, Exercise Sport
Science Australia (ESSA).

Professor
Torode was included for her contribution to establishing ESSA's previous
standards for exercise science and exercise physiology. This is in addition to having
a major role in the assessment of many university courses through the national
accreditation process.

"It's a great honour to be selected among such prestigious
individuals who have voluntarily contributed to the expanding field of exercise
and sport science," Professor Torode said.

"I'm very passionate about our discipline as I believe exercise
and sport have the potential to improve or maintain an individual's health and well-being.

"Through my contribution to the accreditation of university
programs, I'm hopeful that Australian graduates of accredited courses will play
a significant role in contributing to the positive mental and physical health
of our community.

Professor
Torode, who has previously held senior positions at the University of Sydney and
the Australian Catholic University, joined CSU in Bathurst in 2010.

Head
of the School of Exercise Science, Sport and Health, Professor Frank Marino,
said, "This is not only a significant achievement but
a well-deserved accolade for Associate Professor Margaret Torode.

"She has given an incredible amount to the profession, not only in
leadership of staff but also moving the profession from where it was to where
it is today.

"Due to professionals like Margaret, many of our graduates enjoy
employment in a range of areas.

"Simply, the profession would not be what it is today without the
dedication, commitment and foresight by individuals such as Margaret."

Associate
Professor Margaret Torode is in the School of Exercise Science, Sport and
Health at CSU in Bathurst. She is available for interviews on Monday 27
February and on Wednesday 29 February. Contact CSU Media.


Q:

Why i am not able to Create the another dialog from one dialog?

In My application i need to open one dialog. And on press of button on that dialog i want to open another dialog and do some action.
Both the dialog are custom dialog.
But while i do that i am not able to create the dialog...
See below code:
twsbiImageDialog = new Dialog(this,R.style.CustomDialogTheme);
            twsbiImageDialog.setContentView(R.layout.twsbi_logo_dialog);
            twsbiImageDialog.setCancelable(true);

            // To visit Website ===================================
            Button visitWebsiteButton = (Button) twsbiImageDialog.findViewById(R.id.visitWebsiteButton);
            visitWebsiteButton.setOnClickListener(new View.OnClickListener() {
            @Override
                public void onClick(View v) {
                    twsbiImageDialog.dismiss();
                    Intent in = new Intent(FingerPaint.this,GoogleSite.class);
                    startActivity(in);
                }
            });

            // For About ===================================
            Button aboutButton = (Button) twsbiImageDialog.findViewById(R.id.aboutButton);
            aboutButton.setOnClickListener(new View.OnClickListener() {
            @Override
                public void onClick(View v) {
                    twsbiImageDialog.dismiss();
                    //System.out.println("I Am here before Dialog");
                    aboutDialog = new Dialog(getApplicationContext(),R.style.CustomDialogTheme);
                    aboutDialog.setContentView(R.layout.about_dialog);
                    aboutDialog.setCancelable(true);

                     Button okButton = (Button) aboutDialog.findViewById(R.id.okButton);
                     okButton.setOnClickListener(new View.OnClickListener() {
                     @Override
                         public void onClick(View v) {
                            aboutDialog.dismiss();
                         }
                     });
                     aboutDialog.show();
                    //openAboutDialog();

                }

            });
            twsbiImageDialog.show();

And If i do like that i got the error like below:
12-05 11:43:21.568: ERROR/AndroidRuntime(545): FATAL EXCEPTION: main
12-05 11:43:21.568: ERROR/AndroidRuntime(545): android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.view.ViewRoot.setView(ViewRoot.java:509)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.app.Dialog.show(Dialog.java:241)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at com.project.twsbi.FingerPaint$8.onClick(FingerPaint.java:546)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.view.View.performClick(View.java:2408)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.view.View$PerformClick.run(View.java:8816)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.os.Handler.handleCallback(Handler.java:587)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.os.Handler.dispatchMessage(Handler.java:92)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.os.Looper.loop(Looper.java:123)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at android.app.ActivityThread.main(ActivityThread.java:4627)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at java.lang.reflect.Method.invokeNative(Native Method)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at java.lang.reflect.Method.invoke(Method.java:521)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-05 11:43:21.568: ERROR/AndroidRuntime(545):     at dalvik.system.NativeStart.main(Native Method)

A:

Use the current activity as context:
aboutDialog = new Dialog(ActivityName.this,R.style.CustomDialogTheme);


A comparison of some of the pharmacokinetic parameters of three commercial sulphadiazine/trimethoprim combined preparations given orally to pigs.
Three sulphadiazine/trimethoprim preparations were administered orally during feeding to pigs. Six male and six female pigs were used. Clinically important pharmacokinetic parameters of the two drugs in the three preparations were determined and compared. The plasma concentrations of sulphadiazine and trimethoprim increased rapidly in the pigs followed by a quite rapid decrease from 4 to 12 h after oral administration. The mean values of the absorption half-lives of sulphadiazine and trimethoprim were 0.9-1.6 h and 0.5-0.8 h, respectively. The corresponding values for the elimination half-lives of sulphadiazine and trimethoprim were 3.1-4.3 h and 3.4-6.0 h, respectively. There were no significant differences between the pharmacokinetic parameters of the two compounds in the three preparations with the exception of Tmax for sulphadiazine and t 1/2 beta for trimethoprim. Comparative bioavailability calculations showed no statistically significant differences between sulphadiazine and trimethoprim in the three preparations. The weight increase of the pigs during the experimental period (mean = 37.3-64.9 kg) did not cause differences in the kinetics of the two drugs which could have consequences for the use of the three combined preparations in clinical practice. No unacceptable or antibacterial residues of sulphadiazine or trimethoprim were found in the kidneys of pigs slaughtered at 5, 7 and 10 days after administration.


Q:

Using java,browser is working in Windows 7,not with windows XP for opening component from GUI?

I am trying to open one component details from my GUI.It is opening fine with Windows 7.But throwing error when I opened it from windows XP  as with warning dialog "no default browser found".Can anyone help me?

A:

The error message seems pretty self-explanatory to me. You have not defined any default browser in your platform and therefore the system is unable to perform the action you request. Setting a default browser can be done with the following steps on WindowsXP:

Open the control panel
Choose Add/Remove programs
On the left, press "Set program access and defaults"
Choose your programs and press "OK"


Use of COMPARE analysis to discover functional analogues of bleomycin.
Bleomycin was used as the reference compound in a COMPARE analysis to identify extracts in the National Cancer Institute's Natural Products Repository exhibiting cytotoxicity profiles similar to this antitumor agent. One of the extracts so identified was a CH(2)Cl(2)-methanol extract prepared from Gymnosporia trigyna, which effected relaxation of supercoiled pSP64 DNA in the presence of Cu(2+). Bioassay-guided fractionation using DNA strand-scission activity as an end point resulted in the isolation of four active principles. These were identified as syringaldehyde (1), (-)-syringaresinol (2), (+)-catechin (3), and (+)-epicatechin (4). Compounds 1 and 2 represent a new type of DNA strand-scission agent.


Q:

Python ElementTree Copy Node with childs

I have to merge multiple XML-Files into one. Furthermore the structure of the new file is different. This is my "old" structure:

        <c>1</c>
        <c></c>
        <c></c>
        <c></c>

        <c>1</c>
        <c></c>
        <c></c>
        <c></c>

        <c>2</c>
        <c></c>
        <c></c>
        <c></c>

This should be the new one:

<1>

        <c>1</c>
        <c></c>
        <c></c>
        <c></c>

        <c>1</c>
        <c></c>
        <c></c>
        <c></c>

</1>
<2>

        <c>2</c>
        <c></c>
        <c></c>
        <c></c>

</2>

So I need a function which can copy a b-Element and it's childs. I dont want to use for-Loops for this. Or is that the right way?

A:

Are you sure you really need a copy? Would reorganizing the tree be sufficient?
import xml.etree.ElementTree as ET

list_of_files = ["tree1.xml", "tree2.xml", ...]

new_tree = ET.Element("a")
i = 1
for file in list_of_files:
  original_tree = ET.parse(file)
  sub_tree = ET.SubElement(new_tree, str(i))
  i += 1
  sub_tree.append (original_tree)
new_tree.write("merged_tree.xml")


<?xml version='1.0' encoding='utf-8'?>
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android" android:keyWidth="10%p">

    <Row>
        <Key android:codes="q" android:keyEdgeFlags="left" android:popupCharacters="" />
        <Key android:codes="z" android:popupCharacters="" />
        <Key android:codes="e" android:popupKeyboard="@xml/dutch_popup_e" />
        <Key android:codes="r" android:popupCharacters="" />
        <Key android:codes="t" android:popupCharacters="" />
        <Key android:codes="y" android:popupCharacters="" />
        <Key android:codes="u" android:popupKeyboard="@xml/dutch_popup_u" />
        <Key android:codes="i" android:popupKeyboard="@xml/dutch_popup_i" />
        <Key android:codes="o" android:popupKeyboard="@xml/dutch_popup_o" />
        <Key android:codes="p" android:keyEdgeFlags="right" android:popupCharacters="" />
    </Row>

    <Row>
        <Key android:codes="a" android:keyEdgeFlags="left" android:popupKeyboard="@xml/dutch_popup_a" />
        <Key android:codes="s" android:popupCharacters="" />
        <Key android:codes="d" android:popupCharacters="" />
        <Key android:codes="f" android:popupCharacters="" />
        <Key android:codes="g" android:popupCharacters="" />
        <Key android:codes="h" android:popupCharacters="" />
        <Key android:codes="j" android:popupCharacters="" />
        <Key android:codes="k" android:popupCharacters="" />
        <Key android:codes="l" android:popupCharacters="" />
        <Key android:codes="m" android:keyEdgeFlags="right" android:popupCharacters="" />
    </Row>

    <Row>
        <Key android:codes="@integer/key_code_shift" android:keyWidth="20%p" android:isModifier="true" android:isSticky="true" android:keyEdgeFlags="left" android:popupCharacters="" />
        <Key android:codes="w" android:popupCharacters="" />
        <Key android:codes="x" android:popupCharacters="" />
        <Key android:codes="c" android:popupCharacters="" />
        <Key android:codes="v" android:popupCharacters="" />
        <Key android:codes="b" android:popupCharacters="" />
        <Key android:codes="n" android:popupCharacters="" />
        <Key android:codes="@integer/key_code_delete" android:keyWidth="20%p" android:isRepeatable="true" android:keyEdgeFlags="right" android:popupCharacters="" />
    </Row>
</Keyboard>


SCADE – Cross-Platform Development with Swift - antfarm
http://www.scade.io/
======
diegoperini
I wonder if it is really reliable to bootstrap a production quality app with
this. Edge cases in platform APIs are still in a state that is harmful for a
developer who uses cross platform tools like these. React Native or HTML5
based frameworks sort of cheat by using an additional VM layer on top.


1. Field
The present disclosure relates to an organic light-emitting display device of which a manufacturing process is simplified and a method of manufacturing the same.
2. Description of the Related Technology
A flat panel display device, such as an organic light-emitting display device or a liquid crystal display device, is fabricated on a substrate having a pattern including a thin film transistor (TFT), a capacitor, an interconnection line for connecting the TFT to the capacitor, and other components. In general, to form a micro pattern including a TFT or the like, a mask having the micro pattern is used to transfer the micro pattern on an array substrate on which a flat panel display device is to be fabricated.
However, in the process of transferring a pattern by using a mask, first, a mask having a corresponding pattern needs to be prepared. Accordingly, the number of mask processes is increased and thus, manufacturing costs for the mask preparation also increase. Moreover, since a complicated process is performed as described above, the manufacturing process is complicated and the manufacturing time increases and thus, manufacturing costs increase.
When a flat panel display device is manufactured by using a lower number of mask processes, various insulating layers, in particular, may overlap during the formation of a capacitor, and thus, signal transmittance by the capacitor may not smoothly occur.
In the process of manufacturing a flat panel display device by using a lower number of mask processes, it is difficult to embody a structure in which a reflective film formed of silver (Ag) is inserted into a pixel electrode to increase light efficiency. Accordingly, there is a need to develop a novel structure for improving light efficiency.