Yes, you can get Disney+ on your iPhone and iPad
by Christine ChanBest Answer: Yes, you can access Disney+ on your iPhone (iOS) and iPad (iPadOS). Additionally, you can watch Disney+ on your Apple TV with tvOS, and use the iOS app to send Disney+ videos to your Apple TV. There is even the ability to download videos to your device.
It's all about Disney: Disney+ (From $7/month at Disney+)
So I can use either my iPhone or iPad for Disney+?
That's correct. Disney+ is available as an app on the App Store, and it will work on both your iPhone and iPad.
Additionally, it is also accessible via the Apple TV and tvOS, as well as Mac through a desktop web browser. No matter what Apple device you are using, you'll be able to get Disney+.
You can also download videos directly on your device
Another big feature with Disney+ is the fact that you can download movies and episodes of television series directly onto your device for offline viewing. Make sure to change the download quality setting first, though, because there are Standard, Medium, and High quality settings that affect both download speed and storage needed.
What if I'm getting errors and video playback issues?
There have been some reports on error messages, connectivity issues, and playback issues. As with all streaming services, sometimes you will just need to do some basic troubleshooting steps in order to fix the problem, or even just wait if it's Disney+ server related. Either way, we know it's frustrating, so there are some things you can do to try and fix the issues you're having yourself, such as restarting your devices, restarting the app, or checking to make sure your connection speed is good.
What if I don't have an Apple device?
Don't worry! Disney+ will be available on a plethora of platforms and devices on launch.
The list of current devices are:
- Android mobile devices
- Android TV
- Apple TV (tvOS)
- iPhone (iOS)
- iPad (iPadOS)
- Chromecast
- Desktop web browsers (PC, Mac, Linux)
- PlayStation 4
- Xbox One
- Roku streaming devices
- Roku TV
- Amazon Fire TV devices
- Amazon Fire tablets
What is Disney+?
Disney+ is the streaming service from entertainment giant, Disney. It includes most of the original Disney classic movies and TV series, as well as offerings from Pixar, Marvel, Star Wars, Fox, and National Geographic.
In addition to the existing content for all of these, there are exclusives that you won't find on any other streaming service. These include Marvel originals, like Loki, Wanda Vision, The Falcon and the Winter Soldier, Star Wars series The Mandalorian, and a new show with Obi-Wan Kenobi.
Existing Disney content on other streaming services has already been or will be pulled in the near future to get Disney+ up and running.
How much does Disney+ cost me?
Disney+ will cost $7 a month, or $70 a year. However, those who are looking to save and would also like access to Hulu (with ads) and ESPN can get a bundle for all three that costs $13 a month.
When is Disney+ available?
Disney+ launched on Nov. 12, 2019 in the U.S., Canada, and the Netherlands. Austraila and New Zealand also got Disney+ on Nov. 19. It'll release on March 31, 2020 in the U.K., France, Spain, Italy, Germany, and Ireland.
All Disney, all the time
Disney+
Get your Disney fix.
Between almost 400 films and over 7,000 TV episodes from Disney, Pixar, Marvel, Lucasfilm, Fox, and National Geographic, Disney+ lets you relive your childhood favorites and explore new stories like The Mandalorian.
We may earn a commission for purchases using our links. Learn more.


Forward African Cup of Nations striker red card brace three-five-two pitch midfielder four-four-two soccer number 10 yellow card hat trick World Cup. Hat trick referee goal goalie brace soccer upper 90 defender one-two World Cup nd.
Forward African Cup of Nations striker red card brace three-five-two pitch midfielder four-four-two soccer number 10 yellow card hat trick World Cup. Hat trick referee goal goalie brace soccer upper 90 defender one-two World Cup nd.
Forward African Cup of Nations striker red card brace three-five-two pitch midfielder four-four-two soccer number 10 yellow card hat trick World Cup. Hat trick referee goal goalie brace soccer upper 90 defender one-two World Cup nd.
Forward African Cup of Nations striker red card brace three-five-two pitch midfielder four-four-two soccer number 10 yellow card hat trick World Cup. Hat trick referee goal goalie brace soccer upper 90 defender one-two World Cup nd.


--- layout: post title: "The Reader functor" description: "Normal functions form functors. An article for object-oriented programmers." date: 2021-08-30 5:42 UTC tags: [Software Design] --- {% include JB/setup %}
{{ page.description }}
This article is an instalment in an article series about functors. In a previous article you saw, for example, how to implement the Maybe functor in C#. In this article, you'll see another functor example: Reader.
The Reader functor is similar to the Identity functor in the sense that it seems practically useless. If that's the case, then why care about it?
As I wrote about the Identity functor:
"The inutility of Identity doesn't mean that it doesn't exist. The Identity functor exists, whether it's useful or not. You can ignore it, but it still exists. In C# or F# I've never had any use for it (although I've described it before), while it turns out to be occasionally useful in Haskell, where it's built-in. The value of Identity is language-dependent."
The same holds for Reader. It exists. Furthermore, it teaches us something important about ordinary functions.
Imagine the following interface:
public interface IReader<R, A> { A Run(R environment); }
An IReader
object can produce a value of the type A
when given a value of the type R
. The input is typically called the environment
. A Reader reads the environment and produces a value. A possible (although not particularly useful) implementation might be:
public class GuidToStringReader : IReader<Guid, string> { private readonly string format; public GuidToStringReader(string format) { this.format = format; } public string Run(Guid environment) { return environment.ToString(format); } }
This may be a silly example, but it illustrates that a a simple class can implement a constructed version of the interface: IReader<Guid, string>
. It also demonstrates that a class can take further arguments via its constructor.
While the IReader
interface only takes a single input argument, we know that an argument list is isomorphic to a parameter object or tuple. Thus, IReader
is equivalent to every possible function type - up to isomorphism, assuming that unit is also a value.
While the practical utility of the Reader functor may not be immediately apparent, it's hard to argue that it isn't ubiquitous. Every method is (with a bit of hand-waving) a Reader.
You can turn the IReader
interface into a functor by adding an appropriate Select
method:
public static IReader<R, B> Select<A, B, R>(this IReader<R, A> reader, Func<A, B> selector) { return new FuncReader<R, B>(r => selector(reader.Run(r))); } private sealed class FuncReader<R, A> : IReader<R, A> { private readonly Func<R, A> func; public FuncReader(Func<R, A> func) { this.func = func; } public A Run(R environment) { return func(environment); } }
The implementation of Select
requires a private class to capture the projected function. FuncReader
is, however, an implementation detail.
When you Run
a Reader, the output is a value of the type A
, and since selector
is a function that takes an A
value as input, you can use the output of Run
as input to selector
. Thus, the return type of the lambda expression r => selector(reader.Run(r))
is B
. Therefore, Select
returns an IReader<R, B>
.
Here's an example of using the Select
method to project an IReader<Guid, string>
to IReader<Guid, int>
:
[Fact] public void WrappedFunctorExample() { IReader<Guid, string> r = new GuidToStringReader("N"); IReader<Guid, int> projected = r.Select(s => s.Count(c => c.IsDigit())); var input = new Guid("{CAB5397D-3CF9-40BB-8CBD-B3243B7FDC23}"); Assert.Equal(16, projected.Run(input)); }
The expected result is 16
because the input
Guid
contains 16 digits (the numbers from 0 to 9). Count them if you don't believe me.
As usual, you can also use query syntax:
[Fact] public void QuerySyntaxFunctorExample() { var projected = from s in new GuidToStringReader("N") select TimeSpan.FromMinutes(s.Length); var input = new Guid("{FE2AB9C6-DDB1-466C-8AAA-C70E02F964B9}"); Assert.Equal(32, projected.Run(input).TotalMinutes); }
The actual computation shown here makes little sense, since the result will always be 32
, but it illustrates that arbitrary projections are possible.
The IReader<R, A>
interface isn't really necessary. It was just meant as an introduction to make things a bit easier for object-oriented programmers. You can write a similar Select
extension method for any Func<R, A>
:
public static Func<R, B> Select<A, B, R>(this Func<R, A> func, Func<A, B> selector) { return r => selector(func(r)); }
Compare this implementation to the one above. It's essentially the same lambda expression, but now Select
returns the raw function instead of wrapping it in a class.
In the following, I'll use raw functions instead of the IReader
interface.
The Select
method obeys the first functor law. As usual, it's proper computer-science work to actually prove this, but you can write some tests to demonstrate the first functor law for the IReader<R, A>
interface. In this article, you'll see parametrised tests written with xUnit.net. First, the first functor law:
[Theory] [InlineData("")] [InlineData("foo")] [InlineData("bar")] [InlineData("corge")] [InlineData("antidisestablishmentarianism")] public void FirstFunctorLaw(string input) { T id<T>(T x) => x; Func<string, int> f = s => s.Length; Func<string, int> actual = f.Select(id); Assert.Equal(f(input), actual(input)); }
The 'original' Reader f
(for function) takes a string
as input and returns its length. The id
function (which isn't built-in in C#) is implemented as a local function. It returns whichever input it's given.
Since id
returns any input without modifying it, it'll also return any number produced by f
without modification.
To evaluate whether f
is equal to f.Select(id)
, the assertion calls both functions with the same input. If the functions have equal behaviour, they ought to return the same output.
The above test cases all pass.
Like the above example, you can also write a parametrised test that demonstrates that a function (Reader) obeys the second functor law:
[Theory] [InlineData("")] [InlineData("foo")] [InlineData("bar")] [InlineData("corge")] [InlineData("antidisestablishmentarianism")] public void SecondFunctorLaw(string input) { Func<string, int> h = s => s.Length; Func<int, bool> g = i => i % 2 == 0; Func<bool, char> f = b => b ? 't' : 'f'; Assert.Equal( h.Select(g).Select(f)(input), h.Select(i => f(g(i)))(input)); }
You can't easily compare two different functions for equality, so, like above, this test defines equality as the functions producing the same result when you invoke them.
Again, while the test doesn't prove anything, it demonstrates that for the five test cases, it doesn't matter if you project the 'original' Reader h
in one or two steps.
In Haskell, normal functions a -> b
are already Functor
instances, which means that you can easily replicate the functions from the SecondFunctorLaw
test:
> h = length > g i = i `mod` 2 == 0 > f b = if b then 't' else 'f' > (fmap f $ fmap g $ h) "ploeh" 'f'
Here f
, g
, and h
are equivalent to their above C# namesakes, while the last line composes the functions stepwise and calls the composition with the input string "ploeh"
. In Haskell you generally read code from right to left, so this composition corresponds to h.Select(g).Select(f)
.
Functions give rise to functors, usually known collectively as the Reader functor. Even in Haskell where this fact is ingrained into the fabric of the language, I rarely make use of it. It just is. In C#, it's likely to be even less useful for practical programming purposes.
That a function a -> b
forms a functor, however, is an important insight into just what a function actually is. It describes an essential property of functions. In itself this may still seem underwhelming, but mixed with some other properties (that I'll describe in a future article) it can produce some profound insights. So stay tuned.
Next: The IO functor.


Adventure
an unusual and exciting, typically hazardous, experience or activity.
Joy
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.
Adventure
an unusual and exciting, typically hazardous, experience or activity.


{%extends 'base.html'%} {% load bootstrap_icons%} {%block content%}
Filter by Location or category
{%bs_icon 'search'%}
{{item.image_description}}


Test Suite A limited set of programmatic sanity tests for CodeMirror. Ran 0 of 0 tests Please enable JavaScript...


Name:
  Gender:
  Date of Birth:
  State:
  Position Running For:
  Runs as:
  Previous Experience:
  Robert Sarvis
  Male
  9/15/1976
  Virginia
  Governor of Virginia
  Libertarian
  Candidate for the 35th District of the Virginia State Senate in 2011
  Taxation:
  Abortion:
  Military:
  Guns:
  Marijuana:
  Same Sex Marriage:
  Immigration:
  Education:
  Environmental:
  Health Care:
  Social Security:
  Death Penalty:
He advocates for the consideration of ending the income tax and ending all subsidies. Also proposes ending the car tax, machine and tool tax, and the merchant capital tax. Favors ending the Virginia Transportation Bill (Virginia House Bill 2313) which increased taxes.
Pro-life: He stated that he does not take an absolutist stance but favors a middle ground stance. He does believe that abortion should be legal in cases of rape, incest, and when the mother’s life is in danger. Stated that the, “vast majority of voters don’t want this election hinging on divisive, social wedge issues. And neither do I.” Has opposed Republican bills mandating ultrasounds and applying hospital regulations to abortion clinics.
Is silent on this issue.
Gun Control: Does not support restrictions on buying firearms. Does not support background checks on firearm sales at gun show even sales by unlicensed dealers. Also does not support requiring a license for gun possession . Before burdening gun owners with laws Sarvis says that we need to look at our drug laws, like alcohol prohibition, have created well-financed, well-armed, violent criminal enterprises.
Proposes the legalization of marijuana based upon the right of a person to enjoy responsible drug use that does not harm others.
Same Sex Marriages: Supports same sex marriages . Claims to be the only candidate in the Virginia Gubernatorial Race that advocates for recognition of same sex marriages.
Immigration: Would advocate for the increase in the number of immigrants allowed into the country. Will seek to ensure that immigrants will receive equal protection of all laws and to expand personal and economic freedoms of immigrants.
Education: Calls for “universal school choice” which would give families money to spend on public, private, or religious schools of their choice. It would put parents in charge of their money and in Sarvis’ opinion would “create more competition” and create “better outcomes . Wants to create “an open and competitive market for educational services.”
Environmentally friendly: Believes that human activity is contributing to global climate change. Does not believe in state regulation of greenhouse gas emissions. Does not believe in state funding for the development of alternative energy or funding for the development of traditional fossil fuels.
Health Care: Is against the expansion of Medicaid. Sates that federal funding will eventually run dry and that will place a big burden of state budgets. Favors the federal government constructing a system that focuses on catastrophic insurance (instead of comprehensive insurance), mental health, and care subsidies.
Is silent on this issue.
Death Penalty: Does not object to the death penalty but stated that “often times the prosecutors, who are seeking the death penalty, have career interests and sometimes it involves witnesses who have been induced to testify by giving those deals.”


#include <GridAxisRecord.h>
Public Member Functions | |
| GridAxisRecord () | |
| virtual | ~GridAxisRecord () |
| virtual void | marshal (DataStream &dataStream) const |
| virtual void | unmarshal (DataStream &dataStream) |
| unsigned short | getSampleType () const |
| void | setSampleType (unsigned short pX) |
| unsigned short | getDataRepresentation () const |
| void | setDataRepresentation (unsigned short pX) |
| virtual int | getMarshalledSize () const |
| bool | operator== (const GridAxisRecord &rhs) const |
Protected Attributes | |
| unsigned short | _sampleType |
| unsigned short | _dataRepresentation |
Copyright (c) 2007-2009, MOVES Institute, Naval Postgraduate School. All rights reserved.
| GridAxisRecord::GridAxisRecord | ( | ) |
| GridAxisRecord::~GridAxisRecord | ( | ) | [virtual] |
| unsigned short GridAxisRecord::getDataRepresentation | ( | ) | const |
| int GridAxisRecord::getMarshalledSize | ( | ) | const [virtual] |
Reimplemented in DIS::GridAxisRecordRepresentation0, DIS::GridAxisRecordRepresentation1, and DIS::GridAxisRecordRepresentation2.
| unsigned short GridAxisRecord::getSampleType | ( | ) | const |
| void GridAxisRecord::marshal | ( | DataStream & | dataStream | ) | const [virtual] |
Reimplemented in DIS::GridAxisRecordRepresentation0, DIS::GridAxisRecordRepresentation1, and DIS::GridAxisRecordRepresentation2.
| bool GridAxisRecord::operator== | ( | const GridAxisRecord & | rhs | ) | const |
| void GridAxisRecord::setDataRepresentation | ( | unsigned short | pX | ) |
| void GridAxisRecord::setSampleType | ( | unsigned short | pX | ) |
| void GridAxisRecord::unmarshal | ( | DataStream & | dataStream | ) | [virtual] |
Reimplemented in DIS::GridAxisRecordRepresentation0, DIS::GridAxisRecordRepresentation1, and DIS::GridAxisRecordRepresentation2.
unsigned short DIS::GridAxisRecord::_dataRepresentation [protected] |
value that describes data representation
unsigned short DIS::GridAxisRecord::_sampleType [protected] |
type of environmental sample


About me
I am
Zach Spenard
Here are links to some of my previous group work:
Island-Resort
Wiki
Cupcakes
Vaction
Some things I like to do
Travel
Cross country trip
Explore the area
Ride my bike
Vacations
Play video games
Play new and old games
Built a PC
Play online with friends
Learn
Read online
Study at home
Go to epicodus
Eat
Go to local restaurants
Cook at home
Go to local farmer market events
Zach Spenard
Family
Portland
Portland
N.H
Portland
Forest Park
Dogs
My Cat
Family


I Alone Level-up: Chapter 67
“Hyungnim! Now that we’re done, how about a celebratory dinner?”
On the drive home, Yoo Jinho carefully brought up the subject.
“Celebratory dinner? Just us two?”
With the final Raid, their raiding party had been disbanded. Han Songyi had told them she had somewhere to be, so it was just Jinwoo and Yoo Jinho in the car. Yoo Jinho shyly continued,
“Well… I’ve just been getting help from you left and right. I thought I’d treat you today.”
Why was he so shy about just asking to eat together? Jinwoo grinned. The young man had offered to pay, so he didn’t have any reason to refuse.
“Alright.”
When Jinwoo casually agreed, Yoo Jinho’s face lit up noticeably.
“Hyungnim! There’s a high class restaurant at a hotel that I know, how about it? Their steak is to die for.”
“Nah, nothing like that.”
Jinwoo wanted to eat with Yoo Jinho somewhere comfortable. A suitable restaurant came into view while driving.
tap
Jinwoo tapped the car window with his finger.
“How about there?”
“Ah, did you want some hanwoo beef?” [1]
“No, next to it.”
Yoo Jinho’s eyes narrowed. Next to it… There was only one other restaurant.
[Flower Samgyupsal Day - Thin slice specialty] [2]
“Are you talking about the thinly sliced samgyupsal place, hyungnim?”
“Do you not like samgyupsal?”
Yoo Jinho smiled brightly,
“No, hyungmin. I like it too.”
After parking the van, the duo entered the shop, only to find it bustling. It was 7 PM, just about time for most restaurants to be packed.
“Welcome.”
A waiter greeted them with a smile.
“How many?”
“Two.”
“Please, this way.”
The waiter led them to a spot in a corner. Suddenly,
“Hold on.”
Looking around the restaurant, Yoo Jinho gestured to an empty spot near the windows,
“Can we sit there?”
“Ah, I’m sorry. Those tables are reserved…”
It appeared that a large group had reserved a section of the restaurant. Yoo Jinho looked at the wide open tables with disappointment then shook his head. And so, the two men ended up being seated at a corner deep into the restaurant. Yoo Jinho lowered his head,
“I’m sorry, hyungnim.”
“Hmm? What do you have to be sorry for, I was the one who wanted to come here.”
“Still, I should’ve treated you to somewhere better.”
Jinwoo smiled and tapped Yoo Jinho’s shoulder,
“Don’t worry about that and just enjoy the food, ya punk.”
In fact, Jinwoo was worried that this cheap establishment might not have been to Yoo Jinho’s expensive tastes.
‘And I didn’t want to mention it, but...’
Jinwoo looked around. The restaurant was packed with people. Because he had often spent time in a quiet solitude at home, a lively atmosphere like this wasn’t exactly bad.
“Here is samgyupsal for three and two bottles of soju.” [3]
Their order had arrived.
sizzle-
The meat cooked nicely over the pan. The two Hunters dug into the food. One by one, pieces of meat disappeared from the pan. Fortunately, it looked like the young master of a chaebol liked the food.
“I often eat samgyupsal with my friends, hyungnim.”
“Oh yeah? College friends?”
“Yep. Compared to the rich kids from expensive and prestigious schools, I get along much better with my peers from a normal college.”
Jinwoo smiled and nodded as Yoo Jinho spoke. It was rather fitting of the young man he had gotten to know.
“Here, hyungnim.”
Yoo Jinho poured Jinwoo a shot of soju.
“You too.”
Jinwoo returned the gesture.
gulp gulp
They filled each other’s glasses, clinked then drank the shot it one go.
“Kyaaaah-”
However, compared to Yoo Jinho who made a delicious expression, Jinwoo’s face scrunched up in annoyance and realization.
“Huh? Hyungnim, is it not to your liking?”
“No. It’s not that…”
Jinwoo stared at his empty glass. Amidst the busy schedule he maintained, he had forgotten about this.
ring~
| A harmful substance has been detected.. |
| The effects of the ‘Detoxification’ buff will be activated.. |
| 3, 2, 1… Detoxification complete.. |
‘Right. I can never get drunk again.’
No matter how much he drank, the results were the same.
ring~ ring~ ring~
With the ‘Longevity’ buff in effect, all harmful effects were removed from Jinwoo. The soju he drank was nothing more than bitter water. Jinwoo cursed internally,
‘Fuck.’
Rather than putting down this useless, bitter liquid, he was better off drinking soda.
“Excuse me,”
Jinwoo flagged a server,
“Could we get two more orders of samgyupsal and a bottle of soda?”
“Of course.”
When the server walked away, Yoo Jinho tilted his head,
“Hyungnim, you’re not going to drink anymore?”
“I’m not that good with alcohol.”
Jinwoo had replied with an expressionless face, but as always, Yoo Jinho did not take the hint. His face was becoming red with drunkenness, and the young man smiled moronically,
‘To think that even hyungnim has a human side like this…’
Yoo Jinho sent a strange look at Jinwoo, but the man ignored it.
‘Not like this is the only time the kid’s being weird.’
There was something Jinwoo was curious about however,
“So what’s your plan now?”
When a serious question appeared, Yoo Jinho suddenly sat upright like an interviewee on his first job interview,
“After a simple written test at the Association, I will obtain my Guildmaster license, hyungnim. With it, I will go and try to make a deal with my father.”
The young man’s eyes were filled with determination. He had invested quite a bit of his own money into this plan; there was no room for backing out now.
‘And I have my promise with hyungnim.’
That building he promised to Jinwoo. He would only be able to keep that promise if he was able to convince his father to hand over the Guildmaster’s position. Meanwhile, Jinwoo was rather carefree about the entire affair.
‘It’d be nice to get that 30 billion won building, but,’
That was just the tip of the iceberg. His real goal was to level-up. And with the 20 C-rank Dungeons he had conquered with Yoo Jinho, he managed to fulfill that goal plenty of times. The results of that level-up? Kim Cheol was an A-ranker with contract fees probably in the billions, and Jinwoo knocked him out with a single hit.
‘That means at the very least, I’ll be able to earn more than that shitbag.’
Great income would naturally follow great abilities. There was no need for Jinwoo to worry about money. Because of that, Jinwoo’s face was filled with a carefree expression. As Jinwoo reminisced on the past few days with a smile, Yoo Jinho asked a question,
“What about you, hyungnim? What’s your plan now?”
“Me?”
Was it something he shouldn’t have asked? Yoo Jinho panicked for a second but relaxed when Jinwoo softened his expression.
“I’ll be out of contact for a while. There’s somewhere I have to go.”
With that sentence, a noticeable frown appeared on Yoo Jinho’s face. The young man looked like a puppy abandoned on the road and drained his glass.
tap
Yoo Jinho’s placed his glass loudly down on the table. With help from the liquid courage, the young man opened his mouth,
“Hyungnim, if I’m just a bother to you, please let me know. I won’t bother you anymore.” [4]
‘This brat…’
It seemed that Jinho had mistaken his words about being “out of contact” for something else. Jinwoo scratched his temple and spoke,
“Jinho.”
“Yes, hyungnim.”
“What exactly am I to you?”
“To me…”
Unable to reply immediately, the young man’s eyes looked to the ceiling.
“I have an older brother, about 10 years older than me, hyungnim.”
Jinwoo had heard of it. Yoo Myunghan’s firstborn, Yoo Jinsung.
“My hyung doesn’t like me that much. To be honest, I’ve probably spent more time with you in the past few days compared to my entire life with my hyung. Compared to that older brother, hyungnim saved my life, helped me with my plans…”
Yoo Jinho looked at Jinwoo with a clear eyes,
“To me, hyungnim feels more like my older brother than my real brother.” [5]
Well, he was still scared of Jinwoo from time to time. Still, the memories he had made with Jinwoo in their days together were something he could never forget. The respect Yoo Jinho had for his hyungnim was far greater than any fear.

With his nose turning red, Yoo Jinho began to cry. Well, Jinwoo could’ve tolerated just crying, but the young man suddenly pushed himself toward Jinwoo,
“Hyungnim! I want to give you a hug!”
“Hey, hey! You’re drunk, you punk!”
“No, hyungnim! My head has never been clearer than now!”
“At least keep your eyes open when you’re talking!”. .
“Waaaaaaah!”
Whether he was truly moved or was just drunk, Yoo Jinho put his head on the table and began to cry loudly. Jinwoo gently patted the young man on the shoulder. Soon, Yoo Jinho fell asleep.
“Sigh… He’s really something else.”
Jinwoo leaned back on his chair and bit his tongue.
Yoo Jinho. In many ways, he was an annoyance, but Jinwoo did not dislike him.
[-And here’s the next report.]
Jinwoo turned his head towards the TV. The TV in the restaurant was turned to a news channel.
‘Is it already 9?’
Jinwoo absentmindedly stared at the screen when a familiar face appeared.
‘Oh?’
Jinwoo’s eyes widened. Leaving his Guild HQ, Baek Yoonho was assaulted with a barrage of questions from reporters surrounding him.
[We’ve received a report saying there was a big accident with the new recruit training, is it true?]
[We’ve heard that all the high-ranking Hunters died and only low-rank Hunters lived, do you have any comments?]
[There were reports that an unknown helper rescued the survivors, what are your thoughts on this?]
The S-ranker did his best to ignore the reporters but eventually relented,
[The incident has already been investigated by the Association. It is true that there was an accident during the training, but there was no such thing as an outsider helper. Baekho’s members worked together to clear the Dungeon, but many Hunters fell during the process. That is the final story.]
A reporter asked,
[Then why are you preventing an interview with the survivors?]
[They’ve just barely escaped with their lives from the jaws of death. I would not let them be held to questioning after what they’ve been through. That will be all.]
The TV showed Baek Yoonho quickly getting into a car and driving away. Jinwoo’s eyes were wide open.
‘...Aren’t they talking about me?’
Some time ago.
Eastern Seaboard, United States.
“AHHHHH!”
James fell to the ground. With the strength in his legs gone, the man crawled on the floor to escape but realized he had come across a dead-end. All hope left the american.
“Oh jesus!”
The Dungeon this time was A-rank. A raiding party with the appropriate level of power was put together to clear the Dungeon, but the entire party was wiped out. To be accurate, they were knocked out.
‘Impossible!’
 It truly was an impossible occurrence. When they had first entered the Dungeon, the raiding party had discovered it was completely empty. Not a single magic beast was found.
“A Dungeon with no magic beasts?”
“Is that even possible?”
“Then where did all the magic power measured outside come from?”
The Hunters were confused in unison. However, past this strange issue, something even more surprising was found in the boss room. They found a lone magic beast there. A magic beast that looked exactly like a human.  Strong didn’t even begin to describe this thing. Only James was able to barely escape the boss room.
‘Wait, was all the magic power measured outside coming from just that one magic beast?’
The A-rank designation was given to the Dungeon after measuring the magic power seeping from the Gate outside. In an ordinary situation, that magic power would be the combined amount leaked by every magic beast in the Dungeon. This time, there was only one entity releasing said magic power. [6]
‘Impossible.’
But.
“Sigh… Come on.” (In Korean)
That magic beast had appeared in the distance. James screamed,
“AHHHHHH!” (Screaming in English)
“Ow, my ears” (In Korean)
The magic beast, no, the asian man with overgrown hair and facial hair scratched his head.
“Ah, ahh…”
Jame’s screams turned into a groan. The mysterious man stood before the american and put his hands on his hips.
 I told you, I’m not a magic beast. I’m human.” (In Korean)
James could not understand the man. His face just turned whiter and whiter. The asian man stared at the panicking american, wondering what he should do. He sighed deeply.
“Not like you yankees can understand me.” (In Korean)
Still, the man attempted communication. He squatted down to sit at an eye level with James, then tried to speak as friendly as possible,
“Hey, hey” (In broken English)
The man tried to remember what little English he knew.
“Aim Coreaun.” [I’m Korean]
He did his best to speak as clearly as possible,
“Ai wanteu to go hom.” [I want to go home]
.
Translator’s Notes:
[1]: “Hanwoo beef” (한우): https://en.wikipedia.org/wiki/Hanwoo . Just a breed of cattle in Korea famous for their deliciousness.
[2]: “Samgyupsal” (삼겹살): https://en.wikipedia.org/wiki/Samgyeopsal . staple of korean bbq; pork belly meat to be self grilled over a flame.
[3]: “Soju” (소주): https://en.wikipedia.org/wiki/Soju . we are just going all over korean culture today. Traditional korean alcohol that often (often is an understatement) accompanies group meals.
[4]: BEST LITTLE BROTHER
[5]: BEST. LITTLE. BROTHER.
[6]: Just a small reminder that as you go up in the rank of Dungeons, the difficulty rises exponentially (just like power level of Hunters). Logically speaking, multiple X-rankers are needed to conquer an X-rank Dungeon. If all the magic power of a dungeon came from a single entity in a X-rank Dungeon, that entity would be massively stronger than a single corresponding X-rank Hunter. On top of that, high-level Dungeons (B, A, S) require Hunters with higher rank than a given Dungeon’s rank. For example, Baek Yoonho implied that multiple A-rankers would be needed to clear a B-rank Dungeon (Chapter 59). A larger number of A-rankers and maybe even some S-rankers are needed to clear an A-rank Gate, and a shit ton of S-rankers are needed to even have a chance of clearing an S-rank Gate (Jinwoo notes in Chapter 28 that a team of only S-rankers would have 50% of clearing an S-rank Dungeon).


001 // Copyright 2004, 2005 The Apache Software Foundation 002 // 003 // Licensed under the Apache License, Version 2.0 (the "License"); 004 // you may not use this file except in compliance with the License. 005 // You may obtain a copy of the License at 006 // 007 // http://www.apache.org/licenses/LICENSE-2.0 008 // 009 // Unless required by applicable law or agreed to in writing, software 010 // distributed under the License is distributed on an "AS IS" BASIS, 011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 012 // See the License for the specific language governing permissions and 013 // limitations under the License. 014 015 package org.apache.hivemind.impl; 016 017 import java.util.List; 018 019 import org.apache.hivemind.definition.ImplementationConstructor; 020 import org.apache.hivemind.definition.ImplementationDefinition; 021 import org.apache.hivemind.events.RegistryShutdownListener; 022 import org.apache.hivemind.internal.ServicePoint; 023 024 /** 025 * "Private" interface used by a {@link org.apache.hivemind.internal.ServiceModel}s to access non- 026 * information about a {@link org.apache.hivemind.internal.ServicePoint}, such as its instance 027 * builder and interceptors. 028 * 029 * @author Howard Lewis Ship 030 */ 031 public interface ConstructableServicePoint extends ServicePoint 032 { 033 /** 034 * Returns the constructor that can create the core service implementation. Returns the service 035 * constructor, if defined, or the default service constructor. The default service constructor 036 * comes from the <service-point> itself; other modules can override this default using an 037 * <implementation> element. 038 */ 039 ImplementationConstructor getServiceConstructor(); 040 041 ImplementationDefinition getImplementationDefinition(); 042 043 /** 044 * Returns a list of {@link org.apache.hivemind.definition.InterceptorConstructor}s, 045 * ordered according to their dependencies. May return null or an empty list. 046 *
 047 * Note that the order is tricky! To keep any error messages while ordering the interceptors 048 * understandable, they are ordered according into runtime execution order. Example: If we want 049 * a logging interceptor to operate before a security-check interceptor, we'll write the 050 * following in the descriptor: 051 * 052 *
 053 * <interceptor service-id="hivemind.LoggingInterceptor" before="*"/> 054 * <interceptor service-id="somepackage.SecurityInterceptor"/> 055 *
 056 * 057 * The before value for the first interceptor contribution will be assigned to 058 * the contribution's 059 * {@link org.apache.hivemind.definition.InterceptorConstructor#getFollowingNames() followingNames} 060 * property, because all other interceptors (including the security interceptor) should have 061 * their behavior follow the logging interceptor. 062 *
 063 * To get this behavior, the logging interceptor will delegate to the security interceptor, and 064 * the security interceptor will delegate to the core service implementation. 065 *
 066 * The trick is that interceptors are applied in reverse order: we start with core service 067 * implementation, wrap it with the security interceptor, then wrap that with the logging 068 * interceptor ... but that's an issue that applies when building the interceptor stack around 069 * the core service implementation. 070 */ 071 List getOrderedInterceptorContributions(); 072 073 /** 074 * Invoked by the ServiceModel when constuction information (the builder and interceptors) is no 075 * longer needed. 076 */ 077 void clearConstructorInformation(); 078 079 /** 080 * Adds a shutdown listener; HiveMind uses two coordinators; the first is the 081 * hivemind.ShutdownCoordinator service, which is the coordinator used for service 082 * implementations. The second coordinator is used by the HiveMind infrastructure directly; this 083 * method adds a listener to that coordinator. Why two? It's about order of operations during 084 * registry shutdown; the hivemind.ShutdownCoordinator service's listeners are all invoked 085 * first, the the internal coordinator, to shutdown proxies and the like. This allows services 086 * to communicate during shutdown. 087 * 088 * @param listener 089 * the listener to be added to the infrastructure's shutdown coordinator 090 * @since 1.1.1 091 */ 092 093 void addRegistryShutdownListener(RegistryShutdownListener listener); 094 }


Load File
Directly load data from text file from File > Open File or by pressing Ctrl+O. For 3D data select the required X/Y value from the provied slider or scrolling inside the plot. If you want to add multiple data set from other files, you can load them through File > Add File. You can use the recent files menu to quickly load any of the last recent 10 files.
3D Viewer
For easy editing 3D data files, a 2D projection for a particular X/Y value. To view the complete 3D plot open the 3D viewer window through the Window > 3D Plot Viewer. The viewer updates in real time as you make updates in the main window.
Edit data
This software features different data editing options, available to use thourgh keyboard shortcuts and also through the right click context menu
Move with mouse or keyboard
Move any data points just dragging it mouse. By defualt data points is movable only in vertical direction (i.e. y-axis). Check the Edit > Points movable horaizontally to move them in x-axis too. To drag multiple data points simultaneously and drag any of them. Also keyboard navigation keys can also be ued to move selected data points. Although this option is available only for mooving in y-axis.
Smooth out data
Select data points that you want to smooth and press D. The data points will be replaced with a smoothing spline approximation Select data points that you want to smooth and press D or M or E to replace the data points with a smoothing spline approximation or moving average or by quadratic regression respectively. Bad data points can also be romeved or set by required value
Smoothing multiple datasets simultaneously
Data from multiple files or different colums from a same file can be opened for editing, though at any moment a single dataset can be edited. Editing between differnet data set can be toggled through the Plot Dashboard or by pressing Ctrl+TAB
Interpolate data
Use interpolation to fill missing grid values or make the grid denser or vice-versa through Edit > Fill Values
Extend Data
Extend your dataset by repeating or mirroring using Edit > Extend Data. This can be applied globally
or locally
Data fitting
(Only) 2D data set can be fitted thorugh the following two types of fitting
Polynomial regressing fitting
Use Fitting > Polynomial Regression fitting
Lavenberg-Marqardett fitting
Use Fitting > Lavenberg-Marqardett fitting
Swap data
To swap data values between two data sets open swapper mode by View > Toggle Swapper
UnDo ReDo
You can undo or redo last 10 changes by pressing Ctrl+Z or Shift+Ctrl+Z
Plot settings
To make any changes to the plot option/style like marker/line styles, font styles, open the setting window View > Open Plot Settings
Export as image
Save your plot in different format and resolution. Use File > Export as image or click on the camera icon ( ) on the plot corner
Work with spreadsheet
Open a spreadsheet containing the current data set through Window > Spreadsheet. You can directly make changes to the data set
Work with the 3D Plotter
A 3D plotter is also provided to quickly plot 3D data sets


{% extends "templates/base.peb.html" %} {% block title %} Loan Applications {% endblock %} {% block content %}
| Customer | changed at | state | ||||
|---|---|---|---|---|---|---|
| {{ loanApplication.name }} | {{ loanApplication.changedAt }} | {{ loanApplication.state }} | {% else %}There are no Loan application. maybe you like to create one? | {% endfor %}


This is my 2nd first web page!
it should be pretty nice?
Here is a link to my favorite things.
Here are some things I'm going to learn about while in coding bootcamp:
Check out Epicodus. It's a great school for learning web programming!
Check out this video series about Game Development with Unity and C#. It's the first gaming engine i have ever used.
Check out this video about a really cool Javascript library that creates amazing animations . It's the first javascript library outside of the epicodus documentation i will have had a chance to use.
Check out this amazing new feature that Adobe offers as a new file type used to import assets built in their software. I have many years of experience in the Adobe softwares so i am really excited about implementing those softwares in my work flow.


Welcome to Sweet and Salty
For this interactive game you will be asked to input three values: one for start, one for stop and one for total numbers per line. The start and stop input will be used for the range of numbers to print through and the last input will be for how many numbers will be printed per line. The start and end of the range should be a least 200 apart and no more than 10,000 apart.
After your input the program will then print the numbers to the screen if the number is divisible by 3, it will print the word Sweet instead of the number, if the number is divisible by 5, it will print the word Salty, and if the number is divisible by 3 and 5 it will print SweetnSalty. At the end of the number range the number of times each word occurs will be printed to the screen.


{% extends "./container.html" %} {% block tabmain %}
New project added successfully at Prospect stage Complete both the Value and Requirements and location sections below move the project to “Assign Project Manager” stage.


The first thing that needs to be done when editing anything is to retrieve all editable information from the database.
The easiest way to accomplish this is to copy the action 'dropTask', which we created below, and make the highlighted changes on the right.


we are a global nonprofit organization that works with its network of more than 250 member companies and other partners to build a just
and sustainable world. From its offices in Asia, Europe, and North America, BSR™ develops sustainable business strategies and solutions
through consulting, research, and cross-sector collaboration. Learn more about our 25 years of leadership in sustainability.


Class: GameMachine::e Act::clas
- Inherits:
-
GameMachine::e Act.ase < JavaLibase < JavaLib::Untype
- Object
- GameMachine::e Act.ase < JavaLibase < JavaLib::Untype
- GameMachine::e Act::clas
- Defined in:
- lib/game_machine/actor/base.rb
Class Method Summary (collapse)
- + (Object) add_hashring(hrin, s ||= ja)
- + (Object) aspect( def a)
- + (Object) aspects
- + (Object) hashring( )
- + (Object) hashrings
- + (Object) local_path(ng(n)
- + (Object) player_controller
- + (Object) reset_hashrings
- + (Object) set_player_controller
Instance Method Summary (collapse)
- - (Object) on_receive( def di)
-
- (Object) onReceive( def lo)
GameMachine.logger.debug("#selfself.classself.class.name got #message").
- - (Object) sender
Class Method Details
+ (Object) add_hashring(hrin, s ||= ja)
44 45 46 47 48 49 |
# File 'lib/game_machine/actor/base.rb', line 44
s
@@hashrings ||= java.util.concurrent.ConcurrentHashMap.new
end
def hashring(name)
hashrings.fetch(na
|
+ (Object) aspect( def a)
25 26 27 28 29 30 31 32 |
# File 'lib/game_machine/actor/base.rb', line 25
end
def aspects
@aspects ||= []
end
def aspect(new_aspects)
aspects << new_asp
|
+ (Object) aspects
21 22 |
# File 'lib/game_machine/actor/base.rb', line 21 roller @@player_contr |
+ (Object) hashring( )
40 41 42 43 44 |
# File 'lib/game_machine/actor/base.rb', line 40
hrings
@@hashrings = nil
end
de
|
+ (Object) hashrings
36 37 38 39 40 |
# File 'lib/game_machine/actor/base.rb', line 36
Application.register(self)
end
end
def
|
+ (Object) local_path(ng(n)
69 70 |
# File 'lib/game_machine/actor/base.rb', line 69
ensure_hashring(name)
Actor::Ref.new(l
|
+ (Object) player_controller
17 18 19 20 |
# File 'lib/game_machine/actor/base.rb', line 17
_controller = self
end
def p
|
+ (Object) reset_hashrings
32 |
# File 'lib/game_machine/actor/base.rb', line 32
unless Application.registered.includ
|
+ (Object) set_player_controller
13 14 15 |
# File 'lib/game_machine/actor/base.rb', line 13
create, :new
def set_player_controller
|
Instance Method Details
- (Object) on_receive( def di)
103 104 105 |
# File 'lib/game_machine/actor/base.rb', line 103
end
def distributed_path(id,name)
|
- (Object) onReceive( def lo)
GameMachine.logger.debug("#GameMachine::e Act::clas.selfself.classself.class.name got #message")
98 99 100 101 102 |
# File 'lib/game_machine/actor/base.rb', line 98
end
def local_distributed_path(id,name)
bucket = hashring(name).bucket_for(id)
"/user/#{bucket
|
- (Object) sender
107 |
# File 'lib/game_machine/actor/base.rb', line 107
= Akka.instance.hashring.bucket_for(id)
|


Mrs.Piloma Kortie C/o Eglise Ouganda (Catholic church ) Liberte Sicap 1,Dakar Senegal Dear Stef Brown, I know this mail may come to you as a surprise.Nevertheless please don't be,I am Mrs.Piloma Kortie, aged 59 years, the wife of Major Moussa Kortie, Chief Security Officer and Aide-de–camp to the exiled president Charles Taylor of Liberia. As a result of the on-going crisis in my country, I am saddled with problems of my ill-health (protracted diabetes and high blood pressure) which is currently of increase in the recent time but more importantly to me now is getting a trust worthy individual abroad to receive the sum of US$3 million and 3.65kg of Diamond on our behalf, this,I intend to invest in your country. Due to the present crisis in my home city Monrovia, I managed to sneak away with my son Larry,23 years of age and my only daughter,Fannte, 26 years, out from Monrovia to Dakar-Senegal for our safety. We sneaked into Dakar-Senegal through the land boarder by the help of some government militia group who guarded our safe exit from Liberia. After the killing of my husband by the rebels, we decided to come down here to Dakar senegal to take a temporal assylum and also to secure the this deposit as was made here by my late husband also, to further look for a trust worthy person abroad to receive these deposit upon it's release.My late husband made this deposit before he was eventually killed in my presence by the heartless rebels when they invaded our residence in Monrovia. I feel confident therefore to introduce myself to you based on this problem and our present condition of stay here since all our foreign contacts and connections got lost as result of the crisis which lead to the killing of my late husband and the destruction of all his other properties and estates by the rebels.I am desperately in need to move and re-locate this deposit to your country for safe keeping as this is the only wealth remaining for the future survival and well being of me and my family out of all my late husbands estates/ properties. For your assistance, a negotiable percentage shall be discussed with you as I receive your positive response on this issue,our lives are in danger due to our present state of insecurity and condition of our stay here.I plead and look foward for your help. Please endavour to email me back for further clarifications on this issue. God bless you as you respond to my plea this number 00221-486-5911 for assistance. Sincerely yours. Mrs Piloma Kortie.


I am a software engineer with experience in web application, automation, cloud, and infrastructure development. I have worked some of the largest-complex projects for large enterprise technology companies to innovative start-ups building a platform in a public cloud.
My interests and experience include cloud computing, containers (Docker), application frameworks, full-stack web development, automating back-end services, and providng more software-defined, modular platforms. I have experence with the programming languages: C/C++, C#, Go, Java, JavaScript, JSON, Python, Shell Script, SQL, XML, YAML. Some of the technologies I have used are Amazon Web Services, Apache, Bootstrap, Django, Docker, Git, Linux, Nginx, Node.js, OpenStack, Play!, SQL/Non-SQL databases, and Windows Servers.
I also enjoy being able to share technical knowledge with others. I have been fortunate enough to speak at tech conferences and colleges across the United States on projects, whitepapers, or subjects on cloud computing and data center infrastructure solutions, or my personal experiences as a developer.
If you want to know more about me, then all you have to do is follow my blog, social networks, or just ping me.


Read my "King's Day Speech" for some inspiration.
I am the author of the Python programming language. See also my resume and my publications list , a brief bio , assorted writings , presentations and interviews (all about Python), some pictures of me , my new blog , and my old blog on Artima.com. I am @gvanrossum on Twitter.
I am retired, working on personal projects (and maybe a book). I have worked for Dropbox, Google, Elemental Security, Zope Corporation, BeOpen.com, CNRI, CWI, and SARA. (See my resume .) I created Python while at CWI.
You can send email for me to guido (at) python.org. I read everything sent there, but I receive too much email to respond to everything.
My name often poses difficulties for Americans.
Pronunciation: in Dutch, the "G" in Guido is a hard G, pronounced roughly like the "ch" in Scottish "loch". (Listen to the sound clip .) However, if you're American, you may also pronounce it as the Italian "Guido". I'm not too worried about the associations with mob assassins that some people have. :-)
Spelling: my last name is two words, and I'd like to keep it that way, the spelling on some of my credit cards notwithstanding. Dutch spelling rules dictate that when used in combination with my first name, "van" is not capitalized: "Guido van Rossum". But when my last name is used alone to refer to me, it is capitalized, for example: "As usual, Van Rossum was right."
Alphabetization: in America, I show up in the alphabet under "V". But in Europe, I show up under "R". And some of my friends put me under "G" in their address book...
I was the original creator and maintainer of the Audio File Formats FAQ. It is now maintained by Chris Bagwell at http://www.cnpbagwell.com/audio-faq . And here is a link to SOX , to which I contributed some early code.


This app helps you check (lint) your camera setup for video calls. It only runs in your browser, hosted by GitHub Pages. It doesn't send your video or audio data anywheere.
Click here to get started - first granting camera access (pick the camera facing you):


ExternalProject¶
Contents
External Project Definition¶
-
ExternalProject_Add
¶ The
ExternalProject_Add()
function creates a custom target to drive download, update/patch, configure, build, install and test steps of an external project:ExternalProject_Add(<name> [<option>...])
The individual steps within the process can be driven independently if required (e.g. for CDash submission) and extra custom steps can be defined, along with the ability to control the step dependencies. The directory structure used for the management of the external project can also be customized. The function supports a large number of options which can be used to tailor the external project behavior.
- Directory Options:
Most of the time, the default directory layout is sufficient. It is largely an implementation detail that the main project usually doesn’t need to change. In some circumstances, however, control over the directory layout can be useful or necessary. The directory options are potentially more useful from the point of view that the main build can use the
ExternalProject_Get_Property()
command to retrieve their values, thereby allowing the main project to refer to build artifacts of the external project.PREFIX <dir>
- Root directory for the external project. Unless otherwise noted below, all other directories associated with the external project will be created under here.
TMP_DIR <dir>
- Directory in which to store temporary files.
STAMP_DIR <dir>
- Directory in which to store the timestamps of each step. Log files from individual steps are also created in here unless overriden by LOG_DIR (see Logging Options below).
LOG_DIR <dir>
- Directory in which to store the logs of each step.
DOWNLOAD_DIR <dir>
- Directory in which to store downloaded files before unpacking them. This
directory is only used by the URL download method, all other download
methods use
SOURCE_DIR
directly instead. SOURCE_DIR <dir>
Source directory into which downloaded contents will be unpacked, or for non-URL download methods, the directory in which the repository should be checked out, cloned, etc. If no download method is specified, this must point to an existing directory where the external project has already been unpacked or cloned/checked out.
Note
If a download method is specified, any existing contents of the source directory may be deleted. Only the URL download method checks whether this directory is either missing or empty before initiating the download, stopping with an error if it is not empty. All other download methods silently discard any previous contents of the source directory.
BINARY_DIR <dir>
- Specify the build directory location. This option is ignored if
BUILD_IN_SOURCE
is enabled. INSTALL_DIR <dir>
- Installation prefix to be placed in the
<INSTALL_DIR>
placeholder. This does not actually configure the external project to install to the given prefix. That must be done by passing appropriate arguments to the external project configuration step, e.g. using<INSTALL_DIR>
.
If any of the above
..._DIR
options are not specified, their defaults are computed as follows. If thePREFIX
option is given or theEP_PREFIX
directory property is set, then an external project is built and installed under the specified prefix:TMP_DIR = <prefix>/tmp STAMP_DIR = <prefix>/src/<name>-stamp DOWNLOAD_DIR = <prefix>/src SOURCE_DIR = <prefix>/src/<name> BINARY_DIR = <prefix>/src/<name>-build INSTALL_DIR = <prefix> LOG_DIR = <STAMP_DIR>
Otherwise, if the
EP_BASE
directory property is set then components of an external project are stored under the specified base:TMP_DIR = <base>/tmp/<name> STAMP_DIR = <base>/Stamp/<name> DOWNLOAD_DIR = <base>/Download/<name> SOURCE_DIR = <base>/Source/<name> BINARY_DIR = <base>/Build/<name> INSTALL_DIR = <base>/Install/<name> LOG_DIR = <STAMP_DIR>
If no
PREFIX
,EP_PREFIX
, orEP_BASE
is specified, then the default is to setPREFIX
to<name>-prefix
. Relative paths are interpreted with respect toCMAKE_CURRENT_BINARY_DIR
at the point whereExternalProject_Add()
is called.- Download Step Options:
A download method can be omitted if the
SOURCE_DIR
option is used to point to an existing non-empty directory. Otherwise, one of the download methods below must be specified (multiple download methods should not be given) or a customDOWNLOAD_COMMAND
provided.DOWNLOAD_COMMAND <cmd>...
- Overrides the command used for the download step
(
generator expressions
are supported). If this option is specified, all other download options will be ignored. Providing an empty string for<cmd>
effectively disables the download step. - URL Download
URL <url1> [<url2>...]
- List of paths and/or URL(s) of the external project’s source. When more
than one URL is given, they are tried in turn until one succeeds. A URL
may be an ordinary path in the local file system (in which case it
must be the only URL provided) or any downloadable URL supported by the
file(DOWNLOAD)
command. A local filesystem path may refer to either an existing directory or to an archive file, whereas a URL is expected to point to a file which can be treated as an archive. When an archive is used, it will be unpacked automatically unless theDOWNLOAD_NO_EXTRACT
option is set to prevent it. The archive type is determined by inspecting the actual content rather than using logic based on the file extension. URL_HASH <algo>=<hashValue>
- Hash of the archive file to be downloaded. The argument should be of
the form
<algo>=<hashValue>
wherealgo
can be any of the hashing algorithms supported by thefile()
command. Specifying this option is strongly recommended for URL downloads, as it ensures the integrity of the downloaded content. It is also used as a check for a previously downloaded file, allowing connection to the remote location to be avoided altogether if the local directory already has a file from an earlier download that matches the specified hash. URL_MD5 <md5>
- Equivalent to
URL_HASH MD5=<md5>
. DOWNLOAD_NAME <fname>
- File name to use for the downloaded file. If not given, the end of the
URL is used to determine the file name. This option is rarely needed,
the default name is generally suitable and is not normally used outside
of code internal to the
ExternalProject
module. DOWNLOAD_NO_EXTRACT <bool>
- Allows the extraction part of the download step to be disabled by
passing a boolean true value for this option. If this option is not
given, the downloaded contents will be unpacked automatically if
required. If extraction has been disabled, the full path to the
downloaded file is available as
<DOWNLOADED_FILE>
in subsequent steps or as the propertyDOWNLOADED_FILE
with theExternalProject_Get_Property()
command. DOWNLOAD_NO_PROGRESS <bool>
- Can be used to disable logging the download progress. If this option is not given, download progress messages will be logged.
TIMEOUT <seconds>
- Maximum time allowed for file download operations.
HTTP_USERNAME <username>
- Username for the download operation if authentication is required.
HTTP_PASSWORD <password>
- Password for the download operation if authentication is required.
HTTP_HEADER <header1> [<header2>...]
- Provides an arbitrary list of HTTP headers for the download operation. This can be useful for accessing content in systems like AWS, etc.
TLS_VERIFY <bool>
- Specifies whether certificate verification should be performed for
https URLs. If this option is not provided, the default behavior is
determined by the
CMAKE_TLS_VERIFY
variable (seefile(DOWNLOAD)
). If that is also not set, certificate verification will not be performed. In situations whereURL_HASH
cannot be provided, this option can be an alternative verification measure. TLS_CAINFO <file>
- Specify a custom certificate authority file to use if
TLS_VERIFY
is enabled. If this option is not specified, the value of theCMAKE_TLS_CAINFO
variable will be used instead (seefile(DOWNLOAD)
) NETRC <level>
Specify whether the
.netrc
file is to be used for operation. If this option is not specified, the value of theCMAKE_NETRC
variable will be used instead (seefile(DOWNLOAD)
) Valid levels are:IGNORED
- The
.netrc
file is ignored. This is the default. OPTIONAL
- The
.netrc
file is optional, and information in the URL is preferred. The file will be scanned to find which ever information is not specified in the URL. REQUIRED
- The
.netrc
file is required, and information in the URL is ignored.
NETRC_FILE <file>
- Specify an alternative
.netrc
file to the one in your home directory if theNETRC
level isOPTIONAL
orREQUIRED
. If this option is not specified, the value of theCMAKE_NETRC_FILE
variable will be used instead (seefile(DOWNLOAD)
)
- Git
NOTE: A git version of 1.6.5 or later is required if this download method is used.
GIT_REPOSITORY <url>
- URL of the git repository. Any URL understood by the
git
command may be used. GIT_TAG <tag>
Git branch name, tag or commit hash. Note that branch names and tags should generally be specified as remote names (i.e.
origin/myBranch
rather than simplymyBranch
). This ensures that if the remote end has its tag moved or branch rebased or history rewritten, the local clone will still be updated correctly. In general, however, specifying a commit hash should be preferred for a number of reasons:- If the local clone already has the commit corresponding to the hash,
no
git fetch
needs to be performed to check for changes each time CMake is re-run. This can result in a significant speed up if many external projects are being used. - Using a specific git hash ensures that the main project’s own history is fully traceable to a specific point in the external project’s evolution. If a branch or tag name is used instead, then checking out a specific commit of the main project doesn’t necessarily pin the whole build to a specific point in the life of the external project. The lack of such deterministic behavior makes the main project lose traceability and repeatability.
If
GIT_SHALLOW
is enabled thenGIT_TAG
works only with branch names and tags. A commit hash is not allowed.- If the local clone already has the commit corresponding to the hash,
no
GIT_REMOTE_NAME <name>
- The optional name of the remote. If this option is not specified, it
defaults to
origin
. GIT_SUBMODULES <module>...
- Specific git submodules that should also be updated. If this option is not provided, all git submodules will be updated.
GIT_SHALLOW <bool>
- When this option is enabled, the
git clone
operation will be given the--depth 1
option. This performs a shallow clone, which avoids downloading the whole history and instead retrieves just the commit denoted by theGIT_TAG
option. GIT_PROGRESS <bool>
- When enabled, this option instructs the
git clone
operation to report its progress by passing it the--progress
option. Without this option, the clone step for large projects may appear to make the build stall, since nothing will be logged until the clone operation finishes. While this option can be used to provide progress to prevent the appearance of the build having stalled, it may also make the build overly noisy if lots of external projects are used. GIT_CONFIG <option1> [<option2>...]
- Specify a list of config options to pass to
git clone
. Each option listed will be transformed into its own--config <option>
on thegit clone
command line, with each option required to be in the formkey=value
.
- Subversion
SVN_REPOSITORY <url>
- URL of the Subversion repository.
SVN_REVISION -r<rev>
- Revision to checkout from the Subversion repository.
SVN_USERNAME <username>
- Username for the Subversion checkout and update.
SVN_PASSWORD <password>
- Password for the Subversion checkout and update.
SVN_TRUST_CERT <bool>
- Specifies whether to trust the Subversion server site certificate. If
enabled, the
--trust-server-cert
option is passed to thesvn
checkout and update commands.
- Mercurial
HG_REPOSITORY <url>
- URL of the mercurial repository.
HG_TAG <tag>
- Mercurial branch name, tag or commit id.
- CVS
CVS_REPOSITORY <cvsroot>
- CVSROOT of the CVS repository.
CVS_MODULE <mod>
- Module to checkout from the CVS repository.
CVS_TAG <tag>
- Tag to checkout from the CVS repository.
- Update/Patch Step Options:
Whenever CMake is re-run, by default the external project’s sources will be updated if the download method supports updates (e.g. a git repository would be checked if the
GIT_TAG
does not refer to a specific commit).UPDATE_COMMAND <cmd>...
- Overrides the download method’s update step with a custom command.
The command may use
generator expressions
. UPDATE_DISCONNECTED <bool>
When enabled, this option causes the update step to be skipped. It does not, however, prevent the download step. The update step can still be added as a step target (see
ExternalProject_Add_StepTargets()
) and called manually. This is useful if you want to allow developers to build the project when disconnected from the network (the network may still be needed for the download step though).When this option is present, it is generally advisable to make the value a cache variable under the developer’s control rather than hard-coding it. If this option is not present, the default value is taken from the
EP_UPDATE_DISCONNECTED
directory property. If that is also not defined, updates are performed as normal. TheEP_UPDATE_DISCONNECTED
directory property is intended as a convenience for controlling theUPDATE_DISCONNECTED
behavior for an entire section of a project’s directory hierarchy and may be a more convenient method of giving developers control over whether or not to perform updates (assuming the project also provides a cache variable or some other convenient method for setting the directory property).PATCH_COMMAND <cmd>...
- Specifies a custom command to patch the sources after an update. By
default, no patch command is defined. Note that it can be quite difficult
to define an appropriate patch command that performs robustly, especially
for download methods such as git where changing the
GIT_TAG
will not discard changes from a previous patch, but the patch command will be called again after updating to the new tag.
- Configure Step Options:
The configure step is run after the download and update steps. By default, the external project is assumed to be a CMake project, but this can be overridden if required.
CONFIGURE_COMMAND <cmd>...
- The default configure command runs CMake with options based on the main
project. For non-CMake external projects, the
CONFIGURE_COMMAND
option must be used to override this behavior (generator expressions
are supported). For projects that require no configure step, specify this option with an empty string as the command to execute. CMAKE_COMMAND /.../cmake
- Specify an alternative cmake executable for the configure step (use an
absolute path). This is generally not recommended, since it is
usually desirable to use the same CMake version throughout the whole
build. This option is ignored if a custom configure command has been
specified with
CONFIGURE_COMMAND
. CMAKE_GENERATOR <gen>
- Override the CMake generator used for the configure step. Without this
option, the same generator as the main build will be used. This option is
ignored if a custom configure command has been specified with the
CONFIGURE_COMMAND
option. CMAKE_GENERATOR_PLATFORM <platform>
- Pass a generator-specific platform name to the CMake command (see
CMAKE_GENERATOR_PLATFORM
). It is an error to provide this option without theCMAKE_GENERATOR
option. CMAKE_GENERATOR_TOOLSET <toolset>
- Pass a generator-specific toolset name to the CMake command (see
CMAKE_GENERATOR_TOOLSET
). It is an error to provide this option without theCMAKE_GENERATOR
option. CMAKE_GENERATOR_INSTANCE <instance>
- Pass a generator-specific instance selection to the CMake command (see
CMAKE_GENERATOR_INSTANCE
). It is an error to provide this option without theCMAKE_GENERATOR
option. CMAKE_ARGS <arg>...
- The specified arguments are passed to the
cmake
command line. They can be any argument thecmake
command understands, not just cache values defined by-D...
arguments (see alsoCMake Options
). In addition, arguments may usegenerator expressions
. CMAKE_CACHE_ARGS <arg>...
- This is an alternate way of specifying cache variables where command line
length issues may become a problem. The arguments are expected to be in
the form
-Dvar:STRING=value
, which are then transformed into CMakeset()
commands with theFORCE
option used. Theseset()
commands are written to a pre-load script which is then applied using thecmake -C
command line option. Arguments may usegenerator expressions
. CMAKE_CACHE_DEFAULT_ARGS <arg>...
This is the same as the
CMAKE_CACHE_ARGS
option except theset()
commands do not include theFORCE
keyword. This means the values act as initial defaults only and will not override any variables already set from a previous run. Use this option with care, as it can lead to different behavior depending on whether the build starts from a fresh build directory or re-uses previous build contents.If the CMake generator is the
Green Hills MULTI
and not overridden then the orginal projects settings for the GHS toolset and target system customization cache variables are propagated into the external project.SOURCE_SUBDIR <dir>
- When no
CONFIGURE_COMMAND
option is specified, the configure step assumes the external project has aCMakeLists.txt
file at the top of its source tree (i.e. inSOURCE_DIR
). TheSOURCE_SUBDIR
option can be used to point to an alternative directory within the source tree to use as the top of the CMake source tree instead. This must be a relative path and it will be interpreted as being relative toSOURCE_DIR
. WhenBUILD_IN_SOURCE 1
is specified, theBUILD_COMMAND
is used to point to an alternative directory within the source tree.
- Build Step Options:
If the configure step assumed the external project uses CMake as its build system, the build step will also. Otherwise, the build step will assume a Makefile-based build and simply run
make
with no arguments as the default build step. This can be overridden with custom build commands if required.BUILD_COMMAND <cmd>...
- Overrides the default build command
(
generator expressions
are supported). If this option is not given, the default build command will be chosen to integrate with the main build in the most appropriate way (e.g. using recursivemake
for Makefile generators orcmake --build
if the project uses a CMake build). This option can be specified with an empty string as the command to make the build step do nothing. BUILD_IN_SOURCE <bool>
- When this option is enabled, the build will be done directly within the
external project’s source tree. This should generally be avoided, the use
of a separate build directory is usually preferred, but it can be useful
when the external project assumes an in-source build. The
BINARY_DIR
option should not be specified if building in-source. BUILD_ALWAYS <bool>
- Enabling this option forces the build step to always be run. This can be
the easiest way to robustly ensure that the external project’s own build
dependencies are evaluated rather than relying on the default
success timestamp-based method. This option is not normally needed unless
developers are expected to modify something the external project’s build
depends on in a way that is not detectable via the step target
dependencies (e.g.
SOURCE_DIR
is used without a download method and developers might modify the sources inSOURCE_DIR
). BUILD_BYPRODUCTS <file>...
- Specifies files that will be generated by the build command but which
might or might not have their modification time updated by subsequent
builds. These ultimately get passed through as
BYPRODUCTS
to the build step’s own underlying call toadd_custom_command()
.
- Install Step Options:
If the configure step assumed the external project uses CMake as its build system, the install step will also. Otherwise, the install step will assume a Makefile-based build and simply run
make install
as the default build step. This can be overridden with custom install commands if required.INSTALL_COMMAND <cmd>...
- The external project’s own install step is invoked as part of the main
project’s build. It is done after the external project’s build step
and may be before or after the external project’s test step (see the
TEST_BEFORE_INSTALL
option below). The external project’s install rules are not part of the main project’s install rules, so if anything from the external project should be installed as part of the main build, these need to be specified in the main build as additionalinstall()
commands. The default install step builds theinstall
target of the external project, but this can be overridden with a custom command using this option (generator expressions
are supported). Passing an empty string as the<cmd>
makes the install step do nothing.
- Test Step Options:
The test step is only defined if at least one of the following
TEST_...
options are provided.TEST_COMMAND <cmd>...
- Overrides the default test command
(
generator expressions
are supported). If this option is not given, the default behavior of the test step is to build the external project’s owntest
target. This option can be specified with<cmd>
as an empty string, which allows the test step to still be defined, but it will do nothing. Do not specify any of the otherTEST_...
options if providing an empty string as the test command, but prefer to omit allTEST_...
options altogether if the test step target is not needed. TEST_BEFORE_INSTALL <bool>
- When this option is enabled, the test step will be executed before the install step. The default behavior is for the test step to run after the install step.
TEST_AFTER_INSTALL <bool>
- This option is mainly useful as a way to indicate that the test step is
desired but all default behavior is sufficient. Specifying this option
with a boolean true value ensures the test step is defined and that it
comes after the install step. If both
TEST_BEFORE_INSTALL
andTEST_AFTER_INSTALL
are enabled, the latter is silently ignored. TEST_EXCLUDE_FROM_MAIN <bool>
- If enabled, the main build’s default ALL target will not depend on the test step. This can be a useful way of ensuring the test step is defined but only gets invoked when manually requested.
- Output Logging Options:
Each of the following
LOG_...
options can be used to wrap the relevant step in a script to capture its output to files. The log files will be created inLOG_DIR
if supplied or otherwise theSTAMP_DIR
directory with step-specific file names.LOG_DOWNLOAD <bool>
- When enabled, the output of the download step is logged to files.
LOG_UPDATE <bool>
- When enabled, the output of the update step is logged to files.
LOG_PATCH <bool>
- When enabled, the output of the patch step is logged to files.
LOG_CONFIGURE <bool>
- When enabled, the output of the configure step is logged to files.
LOG_BUILD <bool>
- When enabled, the output of the build step is logged to files.
LOG_INSTALL <bool>
- When enabled, the output of the install step is logged to files.
LOG_TEST <bool>
- When enabled, the output of the test step is logged to files.
LOG_MERGED_STDOUTERR <bool>
- When enabled, stdout and stderr will be merged for any step whose output is being logged to files.
LOG_OUTPUT_ON_FAILURE <bool>
- This option only has an effect if at least one of the other
LOG_<step>
options is enabled. If an error occurs for a step which has logging to file enabled, that step’s output will be printed to the console ifLOG_OUTPUT_ON_FAILURE
is set to true. For cases where a large amount of output is recorded, just the end of that output may be printed to the console.
- Terminal Access Options:
Steps can be given direct access to the terminal in some cases. Giving a step access to the terminal may allow it to receive terminal input if required, such as for authentication details not provided by other options. With the
Ninja
generator, these options place the steps in theconsole
job pool
. Each step can be given access to the terminal individually via the following options:USES_TERMINAL_DOWNLOAD <bool>
- Give the download step access to the terminal.
USES_TERMINAL_UPDATE <bool>
- Give the update step access to the terminal.
USES_TERMINAL_CONFIGURE <bool>
- Give the configure step access to the terminal.
USES_TERMINAL_BUILD <bool>
- Give the build step access to the terminal.
USES_TERMINAL_INSTALL <bool>
- Give the install step access to the terminal.
USES_TERMINAL_TEST <bool>
- Give the test step access to the terminal.
- Target Options:
DEPENDS <targets>...
- Specify other targets on which the external project depends. The other
targets will be brought up to date before any of the external project’s
steps are executed. Because the external project uses additional custom
targets internally for each step, the
DEPENDS
option is the most convenient way to ensure all of those steps depend on the other targets. Simply doingadd_dependencies(<name> <targets>)
will not make any of the steps dependent on<targets>
. EXCLUDE_FROM_ALL <bool>
- When enabled, this option excludes the external project from the default ALL target of the main build.
STEP_TARGETS <step-target>...
- Generate custom targets for the specified steps. This is required if the
steps need to be triggered manually or if they need to be used as
dependencies of other targets. If this option is not specified, the
default value is taken from the
EP_STEP_TARGETS
directory property. SeeExternalProject_Add_Step()
below for further discussion of the effects of this option. INDEPENDENT_STEP_TARGETS <step-target>...
- Generate custom targets for the specified steps and prevent these targets
from having the usual dependencies applied to them. If this option is not
specified, the default value is taken from the
EP_INDEPENDENT_STEP_TARGETS
directory property. This option is mostly useful for allowing individual steps to be driven independently, such as for a CDash setup where each step should be initiated and reported individually rather than as one whole build. SeeExternalProject_Add_Step()
below for further discussion of the effects of this option.
- Miscellaneous Options:
LIST_SEPARATOR <sep>
- For any of the various
..._COMMAND
options, replace;
with<sep>
in the specified command lines. This can be useful where list variables may be given in commands where they should end up as space-separated arguments (<sep>
would be a single space character string in this case). COMMAND <cmd>...
Any of the other
..._COMMAND
options can have additional commands appended to them by following them with as manyCOMMAND ...
options as needed (generator expressions
are supported). For example:ExternalProject_Add(example ... # Download options, etc. BUILD_COMMAND ${CMAKE_COMMAND} -E echo "Starting $<CONFIG> build" COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --config $<CONFIG> COMMAND ${CMAKE_COMMAND} -E echo "$<CONFIG> build complete" )
It should also be noted that each build step is created via a call to
ExternalProject_Add_Step()
. See that command’s documentation for the automatic substitutions that are supported for some options.
Obtaining Project Properties¶
-
ExternalProject_Get_Property
¶ The
ExternalProject_Get_Property()
function retrieves external project target properties:ExternalProject_Get_Property(<name> <prop1> [<prop2>...])
The function stores property values in variables of the same name. Property names correspond to the keyword argument names of
ExternalProject_Add()
. For example, the source directory might be retrieved like so:ExternalProject_Get_property(myExtProj SOURCE_DIR) message("Source dir of myExtProj = ${SOURCE_DIR}")
Explicit Step Management¶
The ExternalProject_Add()
function on its own is often sufficient for
incorporating an external project into the main build. Certain scenarios
require additional work to implement desired behavior, such as adding in a
custom step or making steps available as manually triggerable targets. The
ExternalProject_Add_Step()
, ExternalProject_Add_StepTargets()
and
ExternalProject_Add_StepDependencies
functions provide the lower level
control needed to implement such step-level capabilities.
-
ExternalProject_Add_Step
¶ The
ExternalProject_Add_Step()
function specifies an additional custom step for an external project defined by an earlier call toExternalProject_Add()
:ExternalProject_Add_Step(<name> <step> [<option>...])
<name>
is the same as the name passed to the original call toExternalProject_Add()
. The specified<step>
must not be one of the pre-defined steps (mkdir
,download
,update
,skip-update
,patch
,configure
,build
,install
ortest
). The supported options are:COMMAND <cmd>...
- The command line to be executed by this custom step
(
generator expressions
are supported). This option can be repeated multiple times to specify multiple commands to be executed in order. COMMENT "<text>..."
- Text to be printed when the custom step executes.
DEPENDEES <step>...
- Other steps (custom or pre-defined) on which this step depends.
DEPENDERS <step>...
- Other steps (custom or pre-defined) that depend on this new custom step.
DEPENDS <file>...
- Files on which this custom step depends.
BYPRODUCTS <file>...
- Files that will be generated by this custom step but which might or might
not have their modification time updated by subsequent builds. This list of
files will ultimately be passed through as the
BYPRODUCTS
option to theadd_custom_command()
used to implement the custom step internally. ALWAYS <bool>
- When enabled, this option specifies that the custom step should always be run (i.e. that it is always considered out of date).
EXCLUDE_FROM_MAIN <bool>
- When enabled, this option specifies that the external project’s main target does not depend on the custom step.
WORKING_DIRECTORY <dir>
- Specifies the working directory to set before running the custom step’s
command. If this option is not specified, the directory will be the value
of the
CMAKE_CURRENT_BINARY_DIR
at the point whereExternalProject_Add_Step()
was called. LOG <bool>
- If set, this causes the output from the custom step to be captured to files
in the external project’s
LOG_DIR
if supplied orSTAMP_DIR
. USES_TERMINAL <bool>
- If enabled, this gives the custom step direct access to the terminal if possible.
The command line, comment, working directory and byproducts of every standard and custom step are processed to replace the tokens
<SOURCE_DIR>
,<SOURCE_SUBDIR>
,<BINARY_DIR>
,<INSTALL_DIR>
<TMP_DIR>
,<DOWNLOAD_DIR>
and<DOWNLOADED_FILE>
with their corresponding property values defined in the original call toExternalProject_Add()
.
-
ExternalProject_Add_StepTargets
¶ The
ExternalProject_Add_StepTargets()
function generates targets for the steps listed. The name of each created target will be of the form<name>-<step>
:ExternalProject_Add_StepTargets(<name> [NO_DEPENDS] <step1> [<step2>...])
Creating a target for a step allows it to be used as a dependency of another target or to be triggered manually. Having targets for specific steps also allows them to be driven independently of each other by specifying targets on build command lines. For example, you may be submitting to a sub-project based dashboard where you want to drive the configure portion of the build, then submit to the dashboard, followed by the build portion, followed by tests. If you invoke a custom target that depends on a step halfway through the step dependency chain, then all the previous steps will also run to ensure everything is up to date.
If the
NO_DEPENDS
option is specified, the step target will not depend on the dependencies of the external project (i.e. on any dependencies of the<name>
custom target created byExternalProject_Add()
). This is usually safe for thedownload
,update
andpatch
steps, since they do not typically require that the dependencies are updated and built. UsingNO_DEPENDS
for any of the other pre-defined steps, however, may break parallel builds. Only useNO_DEPENDS
where it is certain that the named steps genuinely do not have dependencies. For custom steps, consider whether or not the custom commands require the dependencies to be configured, built and installed.Internally,
ExternalProject_Add()
callsExternalProject_Add_Step()
to create each step. If anySTEP_TARGETS
orINDEPENDENT_STEP_TARGETS
were specified, thenExternalProject_Add_StepTargets()
will also be called afterExternalProject_Add_Step()
.INDEPENDENT_STEP_TARGETS
have theNO_DEPENDS
option set, whereasSTEP_TARGETS
do not. Other than that, the two options result inExternalProject_Add_StepTargets()
being called in the same way. Even if a step is not mentioned in either of those two options,ExternalProject_Add_StepTargets()
can still be called later to manually define a target for the step.The
STEP_TARGETS
andINDEPENDENT_STEP_TARGETS
options forExternalProject_Add()
are generally the easiest way to ensure targets are created for specific steps of interest. For custom steps,ExternalProject_Add_StepTargets()
must be called explicitly if a target should also be created for that custom step. An alternative to these two options is to populate theEP_STEP_TARGETS
andEP_INDEPENDENT_STEP_TARGETS
directory properties. These act as defaults for the step target options and can save having to repeatedly specify the same set of step targets when multiple external projects are being defined.
-
ExternalProject_Add_StepDependencies
¶ The
ExternalProject_Add_StepDependencies()
function can be used to add dependencies to a step. The dependencies added must be targets CMake already knows about (these can be ordinary executable or library targets, custom targets or even step targets of another external project):ExternalProject_Add_StepDependencies(<name> <step> <target1> [<target2>...])
This function takes care to set both target and file level dependencies and will ensure that parallel builds will not break. It should be used instead of
add_dependencies()
whenever adding a dependency for some of the step targets generated by theExternalProject
module.
Examples¶
The following example shows how to download and build a hypothetical project called FooBar from github:
include(ExternalProject)
ExternalProject_Add(foobar
GIT_REPOSITORY git@github.com:FooCo/FooBar.git
GIT_TAG origin/release/1.2.3
)
For the sake of the example, also define a second hypothetical external project
called SecretSauce, which is downloaded from a web server. Two URLs are given
to take advantage of a faster internal network if available, with a fallback to
a slower external server. The project is a typical Makefile
project with no
configure step, so some of the default commands are overridden. The build is
only required to build the sauce target:
find_program(MAKE_EXE NAMES gmake nmake make)
ExternalProject_Add(secretsauce
URL http://intranet.somecompany.com/artifacts/sauce-2.7.tgz
https://www.somecompany.com/downloads/sauce-2.7.zip
URL_HASH MD5=d41d8cd98f00b204e9800998ecf8427e
CONFIGURE_COMMAND ""
BUILD_COMMAND ${MAKE_EXE} sauce
)
Suppose the build step of secretsauce
requires that foobar
must already
be built. This could be enforced like so:
ExternalProject_Add_StepDependencies(secretsauce build foobar)
Another alternative would be to create a custom target for foobar
’s build
step and make secretsauce
depend on that rather than the whole foobar
project. This would mean foobar
only needs to be built, it doesn’t need to
run its install or test steps before secretsauce
can be built. The
dependency can also be defined along with the secretsauce
project:
ExternalProject_Add_StepTargets(foobar build)
ExternalProject_Add(secretsauce
URL http://intranet.somecompany.com/artifacts/sauce-2.7.tgz
https://www.somecompany.com/downloads/sauce-2.7.zip
URL_HASH MD5=d41d8cd98f00b204e9800998ecf8427e
CONFIGURE_COMMAND ""
BUILD_COMMAND ${MAKE_EXE} sauce
DEPENDS foobar-build
)
Instead of calling ExternalProject_Add_StepTargets()
, the target could
be defined along with the foobar
project itself:
ExternalProject_Add(foobar
GIT_REPOSITORY git@github.com:FooCo/FooBar.git
GIT_TAG origin/release/1.2.3
STEP_TARGETS build
)
If many external projects should have the same set of step targets, setting a
directory property may be more convenient. The build
step target could be
created automatically by setting the EP_STEP_TARGETS
directory property
before creating the external projects with ExternalProject_Add()
:
set_property(DIRECTORY PROPERTY EP_STEP_TARGETS build)
Lastly, suppose that secretsauce
provides a script called makedoc
which
can be used to generate its own documentation. Further suppose that the script
expects the output directory to be provided as the only parameter and that it
should be run from the secretsauce
source directory. A custom step and a
custom target to trigger the script can be defined like so:
ExternalProject_Add_Step(secretsauce docs
COMMAND <SOURCE_DIR>/makedoc <BINARY_DIR>
WORKING_DIRECTORY <SOURCE_DIR>
COMMENT "Building secretsauce docs"
ALWAYS TRUE
EXCLUDE_FROM_MAIN TRUE
)
ExternalProject_Add_StepTargets(secretsauce docs)
The custom step could then be triggered from the main build like so:
cmake --build . --target secretsauce-docs


--- layout: helpgroup title: Help Group - Nepal Fights Corona permalink: /nepal-fights-corona ---
Nepal Fights Corona - Help Group is an informal consortium of youths, activists,
civil society organizations, experts of different fields formed in response to
mitigating the risks of the global pandemic, COVID-19.
The main goal of the group is to be proved as an effective helping hand to
Government and support them in any way possible in their fight against COVID-19.
Amid the rising panic due to the COVID-19 pandemic, a blistering concern over its effect in Nepal produced an urge to help the government among few people. With many calls among each other, they finally decided to form a group to better coordinate and execute all efforts in an effective manner. In this way, the group called "Nepal Fights Corona - Help Group" formed in social media.
Provide a platform on Facebook to present as much as reliable news or information to the group members.
There have been few guidelines set for any of the posts to be approved.
The goal here is to make people aware with reliable information, become the mediator to specific queries
between people and concerned people.
A group of engineers are working on building in-house ventilator which seems to be most required equipment in the coming days as the pandemic progresses. Nepal has shortage of ventilators even in good hospitals. With the intent that even if the working in-house ventilator is there, it might help to a certain level.
Purpose of this initiative is to help the pregnant women to solve any problems they might face during this pandemic. During the lockdown period, all the Outpatient Department (OPD) services have been closed hence pregnant women can’t go for follow-up visits except for emergencies. This group has been initiated to provide help to such women with complicated pregnancy, labour or any other problems along with a dedicated telephone counseling service from registered midwives.


welcome {{name}}
{%if allCups%}
{%for cup in allCups%}
- {{cup.name}} is {{cup.material}}
{%endfor%}
{%else%}
Beep Boop Beep error
{%endif%}
{%if newCups%}
{%for cup in newCups%}
- {{cup.name}} was made {{cup.manufactuerDate}}
{%endfor%}
{%else%}
wrrrrr vrrrrr wARrrr malfunction
{%endif%}


I'm a 20' at Dartmouth and prospective Government major and Public Policy Minor. I'm interested in law, but also enjoy designing and engaging in other creative endeavors. During my free time, I like to cook, draw, and dance.
I was born in Havana and raised in Miami, FL, where I currently live.
I'm very excited to join the DALI family and work on some great projects this coming term! If you see me in the lab stop by, let's chat!


1. Summary
This table is a summary of the compatibility of all Sensors & Actuators in relation to the Bricks.
Element |
EV3 |
Brickpi 3 |
BrickPi+ |
PiStorms v2 |
Voltage: |
Yes |
Yes |
Yes |
Yes |
Current: |
Yes |
- |
- |
- |
Regulated Motors: |
Yes |
Yes |
Yes |
Yes |
Unregulated Motors: |
Yes |
- |
- |
- |
Rotate methods: |
Yes |
- |
- |
- |
eSpeak |
Yes |
- |
- |
- |
Light Sensor |
Yes |
Yes |
Yes |
Yes |
Touch Sensor |
Yes |
Yes |
Yes |
Yes |
Gyro Sensor Angle |
Yes |
Yes |
Yes |
- |
Gyro Sensor Angle & Rate |
Yes |
Yes |
- |
- |
IR Sensor Distance |
Yes |
Yes |
Yes |
- |
IR Beacon |
Yes |
Yes |
- |
- |
IR Remote |
Yes |
Yes |
- |
- |
US Sensor Distance |
Yes |
Yes |
Yes |
- |
References


{{ post.user.name }} wrote on {{ post.created | date:'MMM d, y h:mm a' }}
{{ post.text }}
Location: {{ post.country }}
Edit Delete
{{ post.like_count }}


We currently analyze and forecast rodent data at Portal using four models:
ESSS (Exponential Smoothing State Space) is a flexible exponential smoothing state space model (Hyndman et al. 2008) fit to the data at the composite (full site and just control plots) spatial level and the composite (community) ecological level. The model is selected and fitted using the ets
and forecast
functions in the forecast package (Hyndman 2017) with the allow.multiplicative.trend
argument set to TRUE
and the forecast_ess
function in our portalPredictions package (WeecologyLab 2018). Models fit using ets
implement what is known as the “innovations” approach to state space modeling, which assumes a single source of noise that is equivalent for the process and observation errors (Hyndman et al. 2008).
In general, ESSS models are defined according to three model structure parameters: error type, trend type, and seasonality type (Hyndman et al. 2008). Each of the parameters can be an N (none), A (additive), or M (multiplicative) state (Hyndman et al. 2008). However, because of the difference in period between seasonality and sampling of the Portal rodents combined with the hard-coded single period of the ets
function, we could not include the seasonal components to the ESSS model. ESSS is fit flexibly, such that the model parameters can vary from fit to fit.
AutoArima (Automatic Auto-Regressive Integrated Moving Average) is a flexible Auto-Regressive Integrated Moving Average (ARIMA) model fit to the data at the composite (full site and just control plots) spatial level and the composite (community) ecological level. The model is selected and fitted using the auto.arima
and forecast
functions in the forecast package (Hyndman and Athanasopoulos 2013; Hyndman 2017) and the forecast_autoarima
function in our portalPredictions package (WeecologyLab 2018).
Generally, ARIMA models are defined according to three model structure parameters: the number of autoregressive terms (p), the degree of differencing (d), and the order of the moving average (q), and are represented as ARIMA(p, d, q) (Box and Jenkins 1970). While the auto.arima
function allows for seasonal models, the seasonality is hard-coded to be on the same period as the sampling, which is not the case for the Portal rodent surveys. As a result, no seasonal models were evaluated. AutoArima is fit flexibly, such that the model parameters can vary from fit to fit.
nbGARCH (Negative Binomial Auto-Regressive Conditional Heteroskedasticity) is a generalized autoregressive conditional heteroskedasticity (GARCH) model with overdispersion (i.e., a negative binomial response) fit to the data at the composite (full site and just control plots) spatial level and both the composite (community) and the articulated (species) ecological levels. The model for each species and the community total is selected and fitted using the tsglm
function in the tscount package (Liboschik et al. 2017) and the forecast_nbgarch
function in our portalPredictions package (WeecologyLab 2018)
GARCH models are generalized ARMA models and are defined according to their link function, response distribution, and two model structure parameters: the number of autoregressive terms (p) and the order of the moving average (q), and are represented as GARCH(p, q) (Liboschik et al. 2017). The nbGARCH model is fit using the log link and a negative binomial response (modeled as an over-dispersed Poisson), as well as with p = 1 (first-order autoregression) and q = 12 (approximately yearly moving average).
The tsglm
function in the tscount package (Liboschik et al. 2017) uses a (conditional) quasi-likelihood based approach to inference and models the overdispersion as an additional parameter in a two-step approach. This two-stage approach has only been minimally evaluated, although preliminary simulation-based studies are promising (Liboschik, Fokianos, and Fried 2017).
pevGARCH (Poisson Environmental Variable Auto-Regressive Conditional Heteroskedasticity) is a generalized autoregressive conditional heteroskedasticity (GARCH) model fit to the data at the composite (full site and just control plots) spatial level and both the composite (community) and the articulated (species) ecological levels. The response variable is Poisson, and a variety of environmental variables are considered as covariates. The model for each species is selected and fitted using the tsglm
function in the tscount package (Liboschik et al. 2017) and the forecast_pevgarch
function in our portalPredictions package (WeecologyLab 2018).
GARCH models are generalized ARMA models and are defined according to their link function, response distribution, and two model structure parameters: the number of autoregressive terms (p) and the order of the moving average (q), and are represented as GARCH(p, q) (Liboschik et al. 2017). The pevGARCH model is fit using the log link and a Poisson response, as well as with p = 1 (first-order autoregression) and q = 12 (yearly moving average). The environmental variables potentially included in the model are min, mean, and max temperatures, precipitation, and NDVI.
The tsglm
function in the tscount package (Liboschik et al. 2017) uses a (conditional) quasi-likelihood based approach to inference. This approach has only been minimally evaluated for models with covariates, although preliminary simulation-based studies are promising (Liboschik, Fokianos, and Fried 2017).
Each species is fit using the following (nonexhaustive) sets of the environmental covariates:
The final model is an intercept-only model. The single best model of the 11 is selected based on AIC.
In addition to the base models, we include an ensemble, constructed using the base model AIC weights. The ensemble mean is calculated as the AIC-weighted mean of all model means. The ensemble variance is estimated as the sum of the AIC-weighted mean of all model variances and the variance of the estimated AIC-weighted mean, calculated using the unbiased estimate of sample variances.
Box, G., and G. Jenkins. 1970. Time Series Analysis: Forecasting and Control. Holden-Day.
Hyndman, R. J. 2017. “forecast: Forecasting Functions for Time Series and Linear Models.” http://pkg.robjhyndman.com/forecast.
Hyndman, R. J., and G. Athanasopoulos. 2013. Forecasting: Principles and Practice. OTexts.
Hyndman, R. J., A. b. Koehler, J. K. Ord, and R. D. Snyder. 2008. Forecasting with Exponential Smoothing: The State Space Approach. Springer-Verlag.
Liboschik, T., K. Fokianos, and R. Fried. 2017. “tscount: An R Package for Analysis of Count Time Series Following Generalized Linear Models.” Journal of Statistical Software 82: 1–51. https://www.jstatsoft.org/article/view/v082i05.
Liboschik, T., R. Fried, K. Fokianos, and P. Probst. 2017. “tscount: Analysis of Count Time Series.” https://CRAN.R-project.org/package=tscount.
WeecologyLab. 2018. “Portal Forecasting.” https://github.com/weecology/portalPredictions/.


If you are using OAuth.io from a back end, please set the application mode to Server-side authentication. Otherwise set the mode to Client-side authentication.