ersPool.{AddOmmers, GetOmmers, RemoveOmmers}
import org.scalamock.scalatest.MockFactory
import org.scalatest.{FlatSpec, Matchers}

class OmmersPoolSpec extends FlatSpec with Matchers with MockFactory {

  "OmmersPool" should "accept ommers" in new TestSetup {
    //just return header
    (blockchain.getBlockHeaderByHash _).expects(*).returns(Some(Block3125369.header))

    ommersPool! AddOmmers(Block3125369.header)
    ommersPool.!(GetOmmers(Block3125369.header.number + 1))(testProbe.ref)

    testProbe.expectMsg(Timeouts.normalTimeout, OmmersPool.Ommers(Seq(Block3125369.header)))
  }

  "OmmersPool" should "removes ommers ommers" in new TestSetup {
    //just return header
    (blockchain.getBlockHeaderByHash _).expects(*).returns(Some(Block3125369.header))

    ommersPool! AddOmmers(Block3125369.header)
    ommersPool! AddOmmers(Block3125369.header.copy(number = 2))
    ommersPool! RemoveOmmers(Block3125369.header)

    ommersPool.!(GetOmmers(3))(testProbe.ref)

    testProbe.expectMsg(Timeouts.normalTimeout, OmmersPool.Ommers(Seq(Block3125369.header.copy(number = 2))))
  }

  "OmmersPool" should "returns ommers when out of pool siez" in new TestSetup {
    //just return header
    (blockchain.getBlockHeaderByHash _).expects(*).returns(Some(Block3125369.header))

    ommersPool! AddOmmers(Block3125369.header.copy(number = 4))
    ommersPool! AddOmmers(Block3125369.header.copy(number = 20))
    ommersPool! AddOmmers(Block3125369.header.copy(number = 30))
    ommersPool! AddOmmers(Block3125369.header.copy(number = 40))
    ommersPool! AddOmmers(Block3125369.header.copy(number = 5))
    ommersPool.!(GetOmmers(6))(testProbe.ref)

    testProbe.expectMsg(Timeouts.normalTimeout, OmmersPool.Ommers(Seq(Block3125369.header.copy(number = 5))))
  }

  trait TestSetup extends MockFactory {
    implicit val system = ActorSystem("OmmersPoolSpec_System")

    val ommersPoolSize: Int = 3
    val testProbe = TestProbe()

    val blockchain = mock[BlockchainImpl]
    val ommersPool = system.actorOf(OmmersPool.props(blockchain, ommersPoolSize))
  }
}
Twisted Trailer Editing contest
Ok, so contest isn’t really the right word, but I would like to propose a project. I intend on choosing a movie and editing a movie trailer for it… with a twist! I am sure we have all seen a few examples of these. The first two I can remember made the shining out to be a romantic comedy, and turned west side story into a zombie flick. The important thing is to pick a big enough change. Otherwise there isn’t much point. Turn a western into a comedy, a buddy movie into a deranged horror, or try to turn an action flick into a student art film. Be creative, and let’s see where we all end up!
With an hour and a half of footage it isn’t any wonder how this is possible, the question is more like why aren’t there more good examples of these recut trailers out there?
Getting down to the meat and potatoes: Sign up by leaving a comment below. Pick a movie. Edit your trailer, upload it somewhere and post the link here by February 28th, 2009. Deadlines are the best motivators, so get it in by then! It’ll give all of us a taste of what it must be like to be a trailer editor, and it’ll be fun along the way!
Here are two good examples I found. Good luck!
Recent CommentsCollaborate with cross-functional teams to brainstorm, analyze, design and build.
Be able to identify and correct bottlenecks and fix bugs.
Build and publish applications in the marketplace.
Stratpoint Technologies, Inc. is a premier IT consulting and software design and development company. We build enterprise and consumer software solutions with our strengths in mobile technology, software product design, and developer talent. In close collaboration with our customers, we drive innovation in software product development, and improve business processes with the use of technology. Our customers are a testament to a track record of significant achievements in mobile product development, wireless enablement ofenterprise systems, value-added services for mobile devices, distributed systems design and development, e-procurement and ERP integration, business intelligence and data warehousing. With its key investor-partner Narra Venture Capital, backed by Tallwood Venture Capital’s Dado Banatao and Ayala Corporation, Stratpoint is positioned as the Philippine partner of choice for the global IT consulting and software design and development market."My uncle would be thrilled to know his legacy is having a remarkable impact.”
An Uncle’s Legacy
Despite passing away at a young age, Dan lived a full and active life. His home quickly became the gathering spot for many family events after he retired and moved back to Hamilton from Edmonton.
“My uncle Dan held numerous parties and barbeques, always welcoming family members visiting from Ireland and throughout the world,” says Theresa Reynolds, who is also the Director of Capital Development and Biomedical Technology at Hamilton Health Sciences. “Family was very important to him and he was a good friend to many people.”
Dan was diagnosed with colon cancer shortly before his 60th birthday. The news was devastating for his family.
“We were very concerned when we learned about his diagnosis, but we were hopeful that he would overcome this obstacle,” says Theresa.
For nearly 10 years, Dan underwent numerous rounds of chemotherapy at Juravinski Hospital and Cancer Centre, as well as multiple surgeries. But by September 2017, Dan learned his cancer was terminal. His health deteriorated rapidly by March 2018 and he was transferred to the Palliative Care Program at St. Peter’s Hospital.
“My uncle was happy with the care he received at St. Peter’s Hospital,” says Theresa. “One of my fondest memories at the Hospital was when we had a private lunch with Dan’s surviving siblings, including his brother and sister from British Columbia and a sister from Australia. Having our family together was so important for my uncle.”
Dan passed away peacefully in May 2018. Grateful for the care he received, Dan left a legacy gift in his will to Juravinski Hospital and Cancer Centre Foundation.
“Our family was glad that Dan left this tremendous gift,” says Theresa. “My uncle believed in giving back to the community. He appreciated the care he received and the caregivers he met who helped make the journey a little less difficult.”
As a Hamilton Health Sciences employee, Theresa understands firsthand how donor support is essential for enhancing patient care.
“A lot of our projects are funded through The Foundation. I see how donor dollars improve our care spaces and purchase vital equipment. My uncle would be thrilled to know his legacy is having a remarkable impact.”
Learn more about leaving a legacy.In the world of vintage Mustangs, the word "rare" is, well, rare. They built millions of them and they're still some of the most popular collector cars in the world. So maybe this 1966 Ford Mustang GT coupe isn't quite rare, but it's certainly unusual: a documented, real-deal GT coupe with a 4-speed in an unusual color with lots of options. They didn't keep records of how many of each type and color were produced, but we'll wager that no... more than a handful of Silver Frost GT coupes with 4-speed gearboxes slipped out the Dearborn assembly plant doors. And that alone makes this handsome little coupe quite appealing. The fact that it has a known ownership history with just two owners, remains almost entirely original save for some paint touch-ups, and is heavily documented with its original window sticker and service receipts dating back 40 years only enhances what is already a very appealing package. This handsome GT coupe carries more than $1000 worth of options on a car with a base price just over $2400 when it was new—that's a pretty hefty hit on the bottom line. That's probably explained by the fact that it was originally a lease to a Ford Motor Company executive. In 1968 it went to its first actual owner who kept it well into the 1980s before going to its second and most recent owner who has cared for it for more than 30 years. It appears to have been touched-up here and there, but most of it looks like original paint and it's still in excellent shape throughout. The right rear quarter panel has been repainted, probably to repair a parking garage graze