Definition
A Covered Call is an options strategy that involves both underlying stock and an options contract. The trader buys (or already owns) a stock, then sells call options for the same amount of stock. The aim of the Covered Call is to gain profits from option premium by selling calls written on the stock you already owned. At any time for US options or at expiration for European options, if the stock moves below the strike price, you can keep the premium and still maintain the stock position. If the price moves above the strike, the options contract is exercised you will sell the stock at the strike price but still keep the premium. The risk of a Covered Call also comes from the long stock position, which could drop.
The payoff is as follows:
import numpy as np
import matplotlib.pyplot as plt
%pylab inline
price = np.arange(110,230,1) # the stock price at expiration date
strike = 160 # the strike price
premium = 7.5 # the option premium
# the payoff of short call position
payoff_short_call = [min(premium, -(i - strike-premium)) for i in price]
# the payoff of long stock postion
payoff_long_stock = [i-strike for i in price]
# the payoff of covered call
payoff_covered_call = np.sum([payoff_short_call, payoff_long_stock], axis=0)
plt.figure(figsize=(20,11))
plt.plot(price, payoff_short_call, label = 'short call')
plt.plot(price, payoff_long_stock, label = 'long stock')
plt.plot(price, payoff_covered_call, label = 'covered call')
plt.legend(fontsize = 20)
plt.xlabel('Stock Price at Expiry',fontsize = 15)
plt.ylabel('payoff',fontsize = 15)
plt.title('Covered Call Strategy Payoff at Expiration',fontsize = 20)
plt.grid(True)
Implementation
Step 1: Initialize the Algorithm
At the beginning of your algorithm, you need to set the start date, the end date and the cash required for the algorithm. For options algorithm, you need to add the equity and the options written on this equity.
def Initialize(self):
self.SetStartDate(2016, 1, 1)
self.SetEndDate(2016, 3, 1)
self.SetCash(100000)
equity = self.AddEquity("IBM", Resolution.Minute)
option = self.AddOption("IBM", Resolution.Minute)
self.symbol = option.Symbol
# set our strike/expiry filter for this option chain
option.SetFilter(-3, +3, timedelta(0), timedelta(30))
# use the underlying equity as the benchmark
self.SetBenchmark(equity.Symbol)
self.call = "IBM" # Initialize the call contract
Second, in the initialization process, you need to add a coarse selection for the options contracts. Here we use option.SetFilter(-3, +3, timedelta(0), timedelta(60))
to implement the coarse selection process. If today's market price of underlying stock is $159, the strike prices of IBM options are spaced $5. Then SetFilter will look up the most at the money contract with the strike being K=$160 (Here K might not be $159 since rarely will option be ATM exactly). The filter will look for options with strikes between and including (160-5*3, 160+5*3). The time to expiration of these options is restricted within 60 days from now on.
Step 2: Choose the Call Options Contract
First, purchase the underlying stock for 100 shares or an integral multiple of 100 shares. For options contract, one contract represents 100 shares of stock.
Second, filter out the call options from candidate contracts.call = [x for x in chain if x.Right == 0]
For call options, the right is 0, for put options, the right is 1.
Third, select the most ATM contract with the furthest expiration date from call options contracts. Sell this call contract for each 100 shares of stock you own. Here you can also choose ITM or OTM contract based on your expected level of profit and the level of risk you can take.
def TradeOptions(self,slice):
if slice.OptionChains.Count == 0: return
for i in slice.OptionChains:
if i.Key != self.symbol: continue
chain = i.Value
call = [x for x in chain if x.Right == 0] # filter the call options contracts
# sorted the contracts according to their expiration dates and choose the ATM options
contracts = sorted(sorted(call, key = lambda x: abs(chain.Underlying.Price - x.Strike)),
key = lambda x: x.Expiry, reverse=True)
if len(contracts) == 0: return
contract = contracts[0]
self.call = contract.Symbol
self.Sell(self.call, 1) # short the call options
if self.Portfolio["IBM"].Quantity == 0:
self.Buy("IBM",100) # buy 100 the underlying stock
self.Log("The stock price at time 0 S(0): {}".format(self.Securities["IBM"].Price))
Fourth, at the expiration date we print out the price and position information
def OnData(self,slice):
if not self.Portfolio[self.call].Invested and self.Time.hour != 0 and self.Time.minute == 1:
self.TradeOptions(slice) # sell the call option
# if the option contract expires, print out the price and position information
if slice.Delistings.Count > 0:
if [x.Key == self.call for x in slice.Delistings]:
self.Log("stock IBM quantity: {0}".format(self.Portfolio["IBM"].Quantity))
self.Log("{0} quantity: {1}".format(self.call.Value, self.Portfolio[self.call].Quantity))
self.Log("The stock price at Expiry S(T): {}".format(self.Securities["IBM"].Price))
Summary
From the above strategy we can see, the share price of IBM had been increasing during the backtesting period from January 2016 to June 2016. The drawdown is small. The Covered Call strategy performs better than a simple buy-and-hold strategy of underlying stock in a bearish market. The benefit of Covered Call is that you keep the premium, stock gains up to the strike price, and accrued dividends during the stock holding period. But in a bullish market, you will lose the potential gains over the strike price.
Algorithm
Backtest using SetFilter
Backtest using OptionChainProvider


Directory ext/openssl/crypto/dh/
- Total Files:
- 18
- Deleted Files:
- 0
- Lines of Code:
- 4793
[root]/ext/openssl/crypto/dh
Lines of Code
Developers
| Author |
Changes |
Lines of Code |
Lines per Change |
| tortoisesvn |
34 (100.0%) |
3305 (100.0%) |
97.2 |
Most Recent Commits
-
tortoisesvn
2015-01-22 13:57
Rev.: 26211
-
3305 lines of code changed in 34 files:
-
ext/openssl/crypto/dh:
Makefile (+36 -14),
dh.h (new),
dh_ameth.c (+789 -337),
dh_asn1.c (new),
dh_check.c (+98 -67),
dh_depr.c (+14 -15),
dh_err.c (new),
dh_gen.c (new),
dh_kdf.c (new 187),
dh_key.c (+185 -188),
dh_lib.c (+152 -149),
dh_pmeth.c (+451 -157),
dh_prn.c (new),
dh_rfc5114.c (new 285),
dhtest.c (new),
p1024.c (+31 -31),
p192.c (+19 -19),
p512.c (new)


Default Value
About
Work
Services
A collection of things that don't fit elsewhere.
Instagram
Twitter
Github
©2017 Default Value → Jen Evans & Trevor Carr


Note that the following speaking notes may be incomplete. Their purpose is to remind the presenter what to do next.
Be sure that participants have the Workshop Landing Page open for links to the necessary data sources.
(1) - Open Microsoft Excel 2016. Create a blank workbook.
(2) - Import first data source, Waste Collection Calendar.
(3) - In the worksheet, delete "A" row.
(4) - Refresh the data.
(5) - Note the Workbook Queries sidebar.
(6) - Rename sheet.
(7) - Hover over "CollectionCalendar" query. "Double-click" it, or choose "Edit".
(8) - Filter out letter rows using the "Day of Week" column.
(10) - Close and Load.
(11) - Add Current Date column.
=today()
(12) - Add Current Week column.
=[@[Current Date]]-weekday([@[Current Date]])
(13) - Create a new sheet for Days of Week.
| Day of Week | Day of Week Offset |
|---|---|
| Sun | 0 |
| Mon | 1 |
| Tue | 2 |
| Wed | 3 |
| Thu | 4 |
| Fri | 5 |
| Sat | 6 |
(14) - Return to "CollectionCalendar" sheet. Add Day of Week Offset column.
VLOOKUP
function.[@[Day of Week]]
DaysOfWeek
2
FALSE
(15) - Add Current Week Regular Collection Date column.
=[@[Current Week]]+[@[Day Of Week Offset]]
(16) - Remind that stat holidays can affect garbage collection. Create a new sheet.
(17) - Hover over query. "Double-click" or choose "Edit".
(18) - Filter "AffectsGarbageCollection" to only show "TRUE".
(19) - Insert Designated Week column.
=[@DesignatedDate]-weekday([@DesignatedDate])+1
(20) - Go to "CollectionCalendar" sheet. Insert Current Week Stat Date column. Think.
VLOOKUP
, the lookup matches the leftmost column, then returns data from a column to the right.(21) - Return to "StatHolidays" sheet. Insert Stat Date column.
=[@DesignatedDate]
(22) - Populate Current Week Stat Date.
VLOOKUP
function.[@[Current Week]]
StatHolidays[[Designated Week]:[Stat Date]]
2
FALSE
(23) - Insert Current Week Collection Affected By Stat column.
=[@[Current Week Stat Date]]<=[@[Current Week Regular Collection Date]]
(24) - Insert Current Week Collection Date column.
IF
function.[@[Current Week Collection Affected By Stat]]
[@[Current Week Regular Collection Date]]+1
[@[Current Week Regular Collection Date]]
Good stopping point if time does not permit.
(25) - Insert Next Week column.
=[@[Current Week]]+7
(26) - Insert Next Week Regular Collection Date column.
=[@[Current Week Regular Collection Date]]+7
(27) - Insert Next Week Stat Date column.
VLOOKUP
function.[@[Next Week]]
StatHolidays[[Designated Week]:[Stat Date]]
2
FALSE
(29) - Insert Next Week Collection Affected By Stat column.
=[@[Next Week Stat Date]]<=[@[Next Week Regular Collection Date]]
(30) - Note the #N/A
result.
#N/A
values calculate #N/A
values.=IFNA([@[Next Week Stat Date]]<=[@[Next Week Regular Collection Date]],FALSE)
(31) - Insert Next Week Collection Date column.
IF
function.[@[Next Week Collection Affected By Stat]]
[@[Next Week Regular Collection Date]]+1
[@[Next Week Regular Collection Date]]
(32) - Insert Next Collection Date column.
IF
function.[@[Current Week Collection Date]]>[@[Current Date]]
[@[Current Week Collection Date]]
[@[Next Week Collection Date]]
(33) - Hide the unnecessary columns.
Create a new workbook.
Add the City Beautification data source.
Insert ribbon > 3D Maps.
Notice that the "Street Name" column is picked up automatically.
Add the "Civic Number" column.
On a new sheet, add the OpenAddresses Project data source.
Use the "Merge" tool.
Query Editor appears.
Note that no columns from the merged table appear.
Hover over "merge" query. Go to "Edit".
"cache" column heading, click "Expand" button.
The columns appear. 3D Map it!
If the new map doesn't automatically populate.


title = "Product Specs" url = "/product-specs" layout = "default" hidden = "1" ==
Come here to find the specifications for all the products we offer at AXI.


If you have a new ang great idea, and you want to pushish it and get responsors, here're your best chance to do it!
Learn more »
poner algo
View details »


Spotify Technology S.A. is a Swedish media-services provider founded in 2006. The company's primary business is its audio streaming platform that provides DRM-protected music and podcasts from record labels and media companies.
Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, and was later ported to Linux, macOS, iOS, and Android. The browser is also the main component of Chrome OS, where it serves as the platform for web apps.


How old are you in space years?

Result:


--- layout: default title: Kabanero Developer Experience for IDEs css: developer permalink: /developer/ide/ ---
Kabanero Developer Experience for IDEs
Use Kabanero to build applications that are ready for deployment onto Kubernetes and Knative, without having to spend time defining container images, build infrastructure, or Kube yaml. Focus on developing new applications and let the Kabanero tools do the heavy lifting of building and packaging deployment-ready containers. Try it for yourself, using extensions to popular IDEs. If you are interested in a simple CLI experience, try it here.
The Kabanero Development Experience for IDE includes Eclipse Codewind and Appsody. You can learn more about these open source projects here.
You can go from zero to application running in Knative/Kubernetes in under 5 minutes, working only with the app code - no tinkering with Dockerfiles, no learning Kube and Kube Yaml, no non-sense.
Note: If you want to leave the IDE experience and go straight to CLI, you will need to install the Appsody CLI separately.


SYLVIA ELUKWAL
WEB DEVELOPER
- Email address<EMAIL_ADDRESS>- Address 4207
PERSONAL DETAILS
- My philosophy in life is to take every opportunity in everything that displays itself.
- Nationality : Kenyan
- Gender : Female
Why I chose Moringa school
I chose Moringa school because it offers modernised way of learning.
WORK EXPERIENCE
Responsibilities
- Assist staff with event managements.
- Participate in co-curricular activities.
- Help in editing speeches,letters and memos.
- Help in programming.
HOBBIES
- Travelling
- Reading novels
- Walking


org.yaml.snakeyaml.Yaml
object.
org.yaml.snakeyaml.Yaml
it is advised to use safe constructors.
package org.yaml.snakeyaml.constructorSafeConstructor;
Yaml yaml = new Yaml(new SafeConstructor());
Use the Sensei® Quick Fix technology: Hit {{{ qfshortcut }}} to fix this guideline violation automatically.


| | |
- __builtin__.object
-
- Field
-
- ListField
- _abcoll.MutableSequence(_abcoll.Sequence)
-
- ListContainer
class Field(__builtin__.object) |
| | |
Methods defined here:
- __get__(self, instance, owner)
- __init__(self, data_type, required=False)
- __set__(self, instance, value, safe=False)
- is_null(self, value)
- missing_value(self)
- serialize(self, instance)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- __slotnames__ = []
|
class ListContainer(_abcoll.MutableSequence) |
| | |
- Method resolution order:
- ListContainer
- _abcoll.MutableSequence
- _abcoll.Sequence
- _abcoll.Sized
- _abcoll.Iterable
- _abcoll.Container
- __builtin__.object
Methods defined here:
- __delitem__(self, key)
- __getitem__(self, key)
- __init__(self, data_type, value=None)
- __len__(self)
- __setitem__(self, key, value)
- insert(self, key, value)
Data and other attributes defined here:
- __abstractmethods__ = frozenset([])
Methods inherited from _abcoll.MutableSequence:
- __iadd__(self, values)
- append(self, value)
- S.append(object) -- append object to the end of the sequence
- extend(self, values)
- S.extend(iterable) -- extend sequence by appending elements from the iterable
- pop(self, index=-1)
- S.pop([index]) -> item -- remove and return item at index (default last).
Raise IndexError if list is empty or index is out of range.
- remove(self, value)
- S.remove(value) -- remove first occurrence of value.
Raise ValueError if the value is not present.
- reverse(self)
- S.reverse() -- reverse *IN PLACE*
Methods inherited from _abcoll.Sequence:
- __contains__(self, value)
- __iter__(self)
- __reversed__(self)
- count(self, value)
- S.count(value) -> integer -- return number of occurrences of value
- index(self, value)
- S.index(value) -> integer -- return first index of value.
Raises ValueError if the value is not present.
Class methods inherited from _abcoll.Sized:
- __subclasshook__(cls, C) from abc.ABCMeta
Data descriptors inherited from _abcoll.Sized:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from _abcoll.Sized:
- __metaclass__ = <class 'abc.ABCMeta'>
- Metaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly, and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as 'virtual subclasses' -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function, but the registering ABC won't show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
|
|


{% extends 'base.html' %}
You're group has been successfully created
What would you like to do?
Add a receipt and assign it to a group
Add a Receipt
Create a group to assign receipts to
Create a Group


âTMª I'll end in AJ's podcast for your Monday âTMª
âTMª Most wonderful show is âTMª
âTMª Keeping up with the Joneses âTMª
- Welcome to episode two 50
of Keeping Up With The Joneses.
Mr. Jones, what are we talking about today?
- Well, first of all, we need to know
that it's so ridiculously hot in our basement.
- It's not that hot.
- Oh my gosh, you have--
- It's actually lovely.
- Again, he advised right yesterday
you took a giant fleece to work with you.
It was a medium sized fleece.
It was as fluffy as you could imagine.
But we have to turn off our air conditioning
up on our ground floor of our house.
This is like, we're in our basement right here,
which is an unfinished basement.
So it has no air.
But it's amazing how just turning off the air upstairs,
even though nothing's being filtered down here.
Why would it get hot down here?
And why would it be cool?
It's just hot down here 'cause it's 100 degrees outside.
So I'm like sticky already.
We haven't even started.
You are.
We better get on with it then.
weekly catch up is super short.
If you listened to last week's episode,
you heard about Tia breaking her finger.
Did we even talk?
I don't even remember.
Do we talk about not only did Tia,
oh no, we didn't.
Oh, here's a weekly update.

We recorded the episode kind of almost straight after that.
No sooner did we finish recording the episode,
but we go upstairs once we're finished, you know,
done that.
And my eldest daughter comes home and she's sick.
And so we have to take her immediately.
Yep. She gets off the bus, not feeling good.
- To the doctors, gets throat swab.
Does she have COVID?
Does she have strep throat?
Thankfully she has neither, but she doesn't get any better.
And it turns out she has a double ear infection.
- Yeah.
- Went back to the doctors on Sunday.
- That's old news now, 'cause she's on antibiotics.
And so far, everybody is good in the house.
- This week, as long as you don't sit on anybody's hand again,
we should be okay.
- I accidentally sat on Tia's hand, the broken hand.
But what I would like to say is I didn't put my full weight on it.
I just happened to be like kind of lowering my posterior and her hand was
accidentally there and I jumped up immediately on her.
Well, well, yelp.
Yelp. Other than that, there's not really much else going on.
Lots of people that we deeply love have got COVID.
And so I'm sad about that.
We've been praying for them and checking in on them.
and I just please Lord Jesus help us bless us remove COVID please.
Anything else?
You watch anything?
You like anything?
- Do I watch anything or like anything?
I don't think so.
I think it's just been a super busy week.
We're getting back in the swing of things,
school starting in a couple of weeks.
And so. - School as an SSL?
- Yeah, SSL.
- How excited are you?
I'm a scale of one to 10.
- I'm super excited, but there's so much to do.
So it feels like every day is super full
and there's lots to do.
- That's great and everything,
but we didn't talk about big, bad breakfast.
I knew there was something.
- Yeah, we went to big, bad breakfast.
- Tia, milking her surgery for everything she can get,
said that she wanted to go to a restaurant
called Big Bad Breakfast.
And so, you know, you have to--
- She wanted to go right after surgery,
but of course she's like out of it.
And so we took her the next morning
to bid Big Bad Breakfast.
- Is that what's going on?
- Big. - I had fried chicken
on a homemade biscuit with sausage gravy.
And I'll tell you right now, it was absolutely delicious.
You had like a healthy version,
which I don't know how you've managed
to find anything healthy, southern breakfast.
- Well, it was like a scrambled egg hash kind of thing
with vegetables and avocado and.
- So you had pancakes the size of our head.
- Yeah.
- All right, well that was our weekly catch-up.
Sometimes you have big weekly catch-ups
all the time, so you don't.
Our topic this week.
- Yes.
- I don't even remember what I called it.
I called it something about.
- Something about authority.
- Something about authority.
Something about the blessing of living under authority.
- Let's call it that, the blessing of living under authority.
- I don't know what, I don't know what we'll end up calling it,
but it's something about the goodness of living with authority.
- Yeah.
- And the verse that's been running around my head
is Romans 13, I don't know, verse four or something like that.
Hang on, I wrote it down, so I don't even need to guess.
You know, if I was smart, I'd get Chris to re-edit this,
So it sounded like a no more I'm talking about,
but no, it was Romans 13 verse four, where it says this,
"For the one in authority is God's servant for your good."
And I've been thinking about, like when I consider our lives,
I am so grateful for the authority that we have in our lives.
- Yes.
- And I would go so far as to say,
and I haven't even checked this with you,
that probably one of the major reasons
for so much of the fruitfulness in our life is that the Holy Spirit has been kind enough to teach us
to honor authority and give us an understanding of why authority is good and how to partner with
authority in our lives. Yeah, I would agree with that. Oh, good. Because that's going to be my next
question. Do you agree with that? Of course I do, sir. That passage in Romans 13, super controversial,
and I don't even want to get into that. And if you do want to kind of a semi-deep dive,
Earlier this year, I think, yeah, it was started this year.
I talked a lot about Romans 13, verse 1,
talks about all authorities being established by God
and it's all good and no authority exists except for that,
which God has already created.
If you want to deep dive into that, send me deep dive.
If you go to<EMAIL_ADDRESS>I did a four part series all about authority,
part three majors about authority,
but part one and part two will be really helpful
for saying that up.
And the reason I mention that is,
I found that we are oddities when we talk about the joy with which we've experienced authority
and our life. Now part of that is we've been under really healthy authority.
Yeah, we have sought out and stayed under healthy authority. And I think that's
I think that's what makes the difference because plenty of people have tried to live under authority,
but really unhealthy authority and it has really unhealthy results.
Which I thought we could maybe talk about next week.
Okay. What I thought I'd like to do, talk about this week is talk about our values,
what we've learned from the word, how we live our life, which is going to raise
absolutely going to raise questions, objections, observations that I thought maybe we could address
next week. That was the least life thinking. Sure. Because even as I was pondering this,
I was thinking, yeah, but people will say, what about this and what about that? And also,
We've got examples in our lives of not having healthy authority, but still learning good things
from those seasons. Yes. Which maybe we talk about. Anyway, my point, the larger point is,
as we've talked over the years about the blessing, the goodness, the benefit of authority in your life,
we hear some really, really tragic stories, which produces a hesitancy, a suspicion,
desire to want to have authority, you know, checked or evaluated, I'm not even going to offer the
counterbalance. I'm not even going to win any of those things. Rather, what I want to do is jump in
and talk about authority and its goodness. And why is designed by God for our goodness? And you
can't get further. Can't get further. If we go right back to the beginnings and the basics,
our very first experience with authority as children would be our parents our parents
like it's interesting because
i don't know if this is an honoring way of saying things like i would say that my experience with
my parents was very different than your experience with your parents growing up question mark sure
that would be very safe to say but and and what i'm not not trying to say that my parents were perfect
but I grew up in a safe, stable environment.
You did not grow up in a safe, stable environment.
Correct.
And yet we've both learned the same lessons,
even though we had very different experience with authority.
Right.
And so what lesson would that be that we're talking about?
Well, it's the whole thing of honor your father and mother
in the land that you're living so that it can go well with you.
And you can have a long life. Yeah.
Yeah, it's a first, it's a fourth commandment,
but the first commandment with a blessing is that it's to it.
Yeah.
And it's fascinating.

And I think this is probably where we run into problems because
although authorities create for our good, a lot of us have not had good
experiences with authority in starting with our parents.
Right. For sure.
talk about when the Lord started speaking to you about honoring your mother and father.
And for those of you who've been listed to our podcast, you know that you grew up in
an abusive, tumultuous, unsafe environment where for many years you didn't have safe
parents.
Like, how did you reconcile that verse?
- Well, I don't think I was looking at that verse
necessarily.
I mean, to begin with, the Lord wasn't talking to me
about honor, He was talking to me about forgiveness.
So, you know, when I think about like my story with my dad,
that whole, did it turn out to honor?
Yes, I started being able to honor Him,
but it was through walking out of forgiveness process
that naturally I wanted then to honor him.
Does that make sense?
- It makes perfect sense.
- I don't think I heard like a message
on honoring your parents or,
or I mean, maybe I had heard it,
but I just hadn't heard it, you know,
I hadn't listened.
But I didn't start working on honor
from the perspective of intentionally going back to honor
regardless of what my testimony was
until much later.
- Well, so there's a certain story I'm thinking about
where, and also I think to be clear,
like I understand what you're saying,
but forgiveness is honor.
You know, like you're moving towards that in honor
with a kingdom.
- But what I'm saying is the Lord wasn't saying to me,
I want you to honor your father.
He was saying I want you to forgive your father.
- But at some point he did, especially with your mom.
Do you remember, do you know the story I'm blinking to you?
- You mean the one where I sat down
and apologized for things?
Yeah. Yeah.
It wasn't that in the context of honor.
Yes. It was. Yes.
So painless seeing how old are you and I don't know if you want to go into details.
Oh, gosh. You know, it was it was after dad had died maybe like a year later, you know,
and and I just recognized like I don't have a good relationship with my mom and my dad's gone.
And, you know, I felt like the Lord was saying,
hey, you get to be a victim or you get to own this.
Like you get to choose how you walk this out.
- Or walk hard because.
- Like own the trauma, but also own your end.
Like you still played a part.
And so I was like, okay.

- No, no, no, no, mostly it was just like,
After that, I showed my mother like no honor.
I basically completely cut her out of my life
and would inform her of things if I felt like it,
but just never extended honor to her as somebody
who had invested not only bringing me into the world,
but you know, as best she could parenting, right?
- And so how old are you at this point?
- I'm probably about 20, 21, something like that.
- For anyone of years, right?
And the Lord, and not to be your advocate here,
but you have a lot of cases you can make
against your mom at this point.
- Sure.
- But the Lord's not talking to you about that.

- Yeah.
- Can I put my finger on this thing
where you have a bad attitude towards your mom?
- Yeah, you're super dishonoring towards your mom.
And I mean, like even, you know,
like we believed such different things about the Lord,
like, and so, like even when I go over for family dinners,
like here I am, I'm in leadership doing all these things
and I go over and she'd say something about God
and she is into the occult and stuff like that.
And I had no grace for her to, for anything,
like for her to say anything about anything.
So I would just sort of be like,
we disagree, let's just move on.
I couldn't say stuff nicely.
And so yeah, the Lord started sort of saying,
hey, you're actually not honoring your mom.
Okay, so you go over, and this is you making your first efforts
proactive, let me pause before you tell the story.
What would your buddy hear from AJ?
It's not the only way to extend honor.
All right, so like to honor means to give value to,
to create space for, to include,
to let their words be big in your ears,
to give them a priority in your life.
This is just one aspect of that,
where the Lord's been saying, hey, honey.
- Well, he specifically said, I want you to go to your mom
and apologize for not showing her honor.
your response initially was. Are you kidding? She stabbed me with a carving fork. Yeah. No,
my original response was like to run the list of all the ways that in my mind, she had disqualified
herself from honor. Right. Right. Lord, that verse only applies to nice parents who've done a good
job. Right. And you're expanding me to honor. She didn't protect me. She actually did, you know,
less than didn't protect me.
She made my environment terrifying.
You know, like I was like, here's, here's my list of reasons why I shouldn't obey your
command.
Right.
And the Lord was like, yep, that's, that's all really true.
You know, and he's like, but actually.
You, I'd like you to go over and apologize for not.
Why did you do with that?
Because it's so kind of him to disarm that.
Um, where he doesn't, he doesn't minimize your talking about 30 years ago.
I don't remember the details of what I did.
I just remember going, OK, you know what?
 So totally see that face that face right there.
That fine. I'll go do it.

So I'll go do it.
Alibi and my heart attitude will catch up.
Yeah. But I went in hopeful and it didn't go that well.
Tell me about the hopeful.
Like what was the hopeful?
You've written a story of how it would go.
I don't know if I wrote a story, but I was like, hey, God's asked me to do this thing.
So, you know, if God's asked me to do it, therefore, there's going to be some like miraculous.
transformation, like, you know, it's going to happen instantly.
Huge, redemptive hallmark mood-esque scene.
Yes.
Yes.
And this is going to be the beginning of a new chapter of a brilliant relationship with
my mother and it's going to be phenomenal.
Yes.
Things like that.
Yeah.
Yeah.
Not so good.
Yeah.
Well, you know, I had written out a little list with the Lord of what I felt like he
was speaking to me about, like where I had started to show dishonor.
which was certainly when I was a teenager.
And things had ramped up between me and mom at that point.
And when I was a child, she wasn't aggressive.
She was just not available to protect me.
But when I was a teenager, that's when she started drinking more.
And we started fighting more and all of that.
And so I just sat down and was like, you know, I just, I felt like God was speaking to me
about that I haven't honored you and I wanted to, you know, apologize for not honoring it.
And I don't even think I got the sentence finished before she was like, "Yeah, you were
horrible!" and then just was like, "You know, I'm asking the mow the lawn and you didn't
want to mow the lawn!" and I'm like thinking like, "Oh, yeah, I didn't have an attitude
about mowing the lawn mostly because I'd have to sit on an oxygen machine afterwards
because I couldn't breathe because I was allergic to the grass.
But so I'm like trying to, you know, I'm trying to like hear her.

The Lord's like, no, no, no.
And so I just kind of sat there and so she'd finished saying whatever the offense was,
you know, mowing the lawn, not doing the laundry fast enough, whatever the thing was.
And I was like, okay, yeah, I'm sorry for that too.
I'm sorry, you know, and I, I surely thought we'd get to the end of whatever
her list was, and then she'd own some of the other events that happened.
Um, yeah, that didn't happen.
That was it.
It was just she, um, she just said, yeah, you were horrible and, you know, and
how was the car ride home between you and the Lord?
I was so confused.
I was like, yeah, that's not how I really thought that was going to go.

So, but I would say the healing of our relationship has been a slow road.
Um, but now 30 years later, you guys are in a very different place.
Very different places that I dare say would never have happened.
Probably not.
Had you not laid the foundation.
Right.
But it was painful.
I do want to reiterate to everybody who's listening that what AJ, the story that
is telling is not a template or we are suggesting you could do immediately.
This is the lead in the Holy Spirit.
Yeah, the Lord was really clear about it and I ran it by some of my leaders and...
We're not saying ignore all your pain and your key.
Yeah, go apologize to everybody that's hurt you.
And re-enter unsafe environments. That's not what we're saying.
We're just illustrating an example from your life of what on our look like.
And I didn't move back in and I wasn't, I mean her life and my life did reflect very different
values. So I still didn't let her dictate or, you know, speak into how I was living my life. I just
was less caustic about our interactions. So.
I mean, I've told this so many times, babe, but I remember meeting you in 2003. I remember coming
as a student and I remember you were our speaker and I remember you being radiant. Like, I remember
you shining as you would tell easily some of the most traumatic and horrific stories I'd ever heard,
you know, over the course of five days.   And I remember, yes, like this is the radiant life of somebody who's walked in
forgiveness. But I'm also now thinking, coming back to that promise, like I'll give you long life,
and it'll go well with you in the land that you're living. I am horrified to think about what your
life would look like if you hadn't done that work. Like it wouldn't go well for you. Like,
we've had cause to think over the last year or so and take stock of our life and we have a
beautiful life that is, you know, I'm so grateful continually from the Lord. And I would attribute
that a lot to course his graciousness and his kindness, but also a byproduct of living
righteously. And again, I'm not trying to say like, we are super righteous and we're
very proud of her. I'm just saying, like, we're very proud of righteousness.
We're that we've been given and the kindness that the Lord's given and the revelation
he's given to follow his ways to just live simply that, oh, I just shudder to think what
that could have looked like.
Yeah, I don't I don't think I was been thinking about that, but yeah
One of the curious things like that whole verse and you know
I'm gonna do a bit of exegetical work here and it's not it's not sound
I'm doing biblical exegetis from our experience in our observation rather than mining the text so bear in mind with that
It's so I'm not writing doctrine here.
Usually that area is an area that if you dig deep,
you find that there's an area of dishonor towards parents in that area.
Or dishonor towards authority.
Right. But let's stay with parents for now,
Because that whole verse, I'll give you a long life and I'll go well with you in the land that you're living.
Often things could be going well for us in most lands of our life.
But in one area, we keep reaping the same destructive pattern.
Right.
And it's like, you know, why is everything good for me but my money?
And usually if you if you just explore, I don't want to say usually, but more often than not,
If you sit with a person, you find that they have judged or dishonored their parents in that specific area.
It can even be things like, you know, I was thinking about, um, if you dishonored even the way they eat or they take care of themselves.
And then later on, that becomes a thing where you're like, I can't ever seem to know, no, no, I was literally just thinking about like, because I remember the Lord talking to me about judging my mom about, you know,
that she wasn't taking care of herself
and the way she was eating and everything.
And then I thought, I don't think I started
getting any level of breakthrough in terms of
- Your own life. - My own life
until I repented for judging my mom.
And those judgments were when I was like a lot younger.
- Right.
- You know, like I remember being in the cottage
so I had to be like, you know, 12, 13,
somewhere in there, 13, 14 and just being like,
what happened used to be like thin and healthy
and now you don't care, you know?
And just. - Wow.
That young and then you condemned yourselves
to do the very same thing.
- Yeah.
- And so it wouldn't be going well to you in that area.
- Tricky.
- Well also, as soon as you become a parent,
like I don't know who's listening to this,
who's got kids, you know the experience
where you have ended up doing, saying or behaving away
that has caused you to panic because you're like,
(gasping)
I've become my father or I've become my mother
in that moment. - Right, well that's Roman's 12,
isn't it?
from his 12 one with the whole like you who judge
do the same thing. - To damn yourselves
do the same thing. - Yeah.
- Well, but that, you know, judging of course is dishonoring.
So in that area, like I've dishonored my father
and now is not going well for me in the land I'm living
'cause I'm repeating the thing to my children
that was done to me. - Yes.
- So anyway, we're focusing on the negative
but the flip side is if you purpose in your heart
to live a life of honor, and I'm talking about your parents
here, but I think you can extend that to any level
authority, that when you recognize that leaders, authority
figures are agents of God for your good, there is a blessing
that comes with it.
Yeah. And honor is not the same as obey.
So there's a definite link, however.
Well, there is, but I mean, as an adult, I can still honor my mom
and I do honor her, but I don't live like her.
- And I could disobey her as an adult
and still do that in an honoring way.
- Equally you could obey somebody
with a heart of dishonor.
- Yes.
Well that's fun, isn't it?
All the things to think about.
- All right, what was my, I scribbled some notes down.
What was my other thought?
Do you want to say anything else about parents?
- I was also thinking, you can still honor your parents
after they're gone.
Like I think sometimes we think,
Oh, well, you know, my dad already died.
So I can't extend honor now.
I wish I could, you know, fix that somewhere.
And I think you can, like I think you can still honor them by both honoring what they taught
you that was great, working on what you, what they taught you that wasn't great.
Um, you know what I mean?
And, and honoring them by actually not continuing that pattern.
like there's there's a lot you can do that's still extending on or even if
they've already passed away. Okay, so the next area where we're probably going to
experience working through learning to honor are with with our boss like with
our bosses and different jobs growing up and you know what what that looks like.
I remember I've told a story before I've told the story about working for
Darth Vader. I remember one of my, I mean, I had lots of bosses
growing up, but when I graduated university and my first like
job of my career, I remember the very first day of my job and
my boss meets me and he shows me in the office. And he, he
said the words to me, no exaggeration. This is your desk.
This is my desk. If you put any of your stuff on my desk, I'll
break your kneecaps. And he didn't think he didn't laugh. He
literally said that. I was like, that was an odd thing to say. And
And then I realized, oh, I'm working for megalomaniac psychopath, where he found great to like
he ruled with anger, he ruled with rage, he was wicked smart, he would cut you down to
size.

I mean, he was an ogre of a man.
And even back then, I knew that, oh, just because your behavior is atrocious doesn't
give me an excuse to dishonor you.
Yeah.
Now, we can maybe talk maybe next week a little bit about the, like, how do you ensure that
you're actually caring for yourself in the midst?

Like, you know, is going to HR dishonoring?
I'm not even going to talk about that right now.
All I remember thinking, there were very legitimate reasons that I could critique this
monster.
And yet I wasn't being asked by the Lord to critique this monster.
I was just asked by the Lord to honor this person because I remember the Lord teaching me like, you know, God honors the position, not just the person.
Yeah.
So this person is clearly disqualifying himself by his behavior, but his position is still to be honored.
Mm-hmm.
And I was like, oh, and I remember reading Romans 13 verse 4 that this monster, this Darth Vader figure, is an agent of God for my good?
like, God, how can you possibly bring good from this fearsome, loathsome ogre? And I remember,
so I've told this so many times, but I remember a couple of months before I ever got that job,
my dear friends, Glenn and Anna, sat down, tried to do a confrontation with me. And they were basically
just saying, "Hey, we've been your friends for a long time. Here's some character traits in you
that you might not be aware, but they're really abrasive, really aggressive, and they're not
not fun to be around and I did whatever good Christian does.
We were like, oh, thank you so much.
I'll go pray about that.
Meanwhile, thinking, who are you guys?
Like, you don't even know anything.

And you know, I did go and pray about it,
but my prayer was literally Lord, just, you know,
give Glenn an honest softer heart
because they're so judgmental.
Think nothing of it.
Think I'm totally justified.
Think I'm totally right.
And then I go work for this monster.
And it takes me about three months
to realize the good that God wants to bring out of me
working with this man is this man is a mirror
of how I behave. All the stuff I hate about this man is the very thing that Glenn and I
were trying to address in my life that I could not see. That's so funny. And I remember years
later, John Paul Jackson put it this way that God will use the weaknesses of others to refine
the weaknesses in you. And that's where I got that revelation of like an unhealed boss is
is one of the greatest gifts for character formation.
Now, please, again, don't hear,
if you're in a dangerous life- fatiguing,
abusive relationship, I am not saying,
hey, and do that for all that inner good.
- Stay in it, yeah.
- No, even at that stage of my life,
I was a very robust person.
I had a great support network around me.
I only ever worked for that guy for like nine or 10 months
before I actually switched careers,
but my point in that was God was redeeming
something God, the kindness of God was bringing this rough pumice stone against the soul of my life
to bring about, to begin bringing about a measure of brokenness and humility in my life
that I hitherto didn't think I needed or couldn't even see the issue. And I went on from there,
even when I switched careers to work for other bosses that were nowhere near as bad as that person,
But because I'd learned to thrive under a Darth Vader, I could live under a Darth Maul or a,
you know, insert any other. This is all for you, but these are stalwarts.
Well, thanks, darling. I feel a little bit of distress that you've got your bad characters out
of order. Just, I mean, they're in order for when the movies were released, but not for the actual
timeline. But I mean, I can do it. I can go with you. Yeah. I was, I was thinking, I don't
did you have something else? No, I was going to, I was going to try and correct my chronology
and then realized I can't.
Where does Jabbalah hot fit?
And then, you know, George Lucas re-released in Jabbalah hot appeared in episode four way
before you ever saw him in episode six.
But we can't really go with that.
I was thinking, you know, we talked either last week or the week before about favor.
And I was thinking there's such a, there's such a linking as well between honor and favor.
Like, when I worked for National Car Rental, when I, you know, I got the job because of
of favor. But the person that I was working underneath everybody at head office was terrified
of this guy.  Like, you know, I mean, people were afraid of him.
Just the kind of guy that you were working for was not the guy who hired you. Right.
No, it was his VP. Wait, wait, wait, who's so I got hired by the VP and the president
Yes. Of the company. The president was the one that kept coming and sitting at my table,
trying to get me to work there. And then I get hired in the interview is with the president,
but also with Vince, who's this VP operations. Different VP guy who was in the restaurant.
Is that right? Yeah. Okay. So and Vince, everybody's terrified of, like just terrified of.
And I remember just thinking, I'm not going to let everybody else's opinion sway me. I actually
thought he seemed like a decent guy when I had the interview and
benefits have been raised by terrifying parents.
Well, you know, he seems quite nice.
He doesn't scare me.

But I realized really quickly that I couldn't listen to what everybody else's opinion was of him
and still work for him and keep a good heart. So, so like...
I couldn't listen to what everybody else was saying and live a life of honor with him.
Right.
Wow.
And I think it's that honor that gave me the favor because it was Vince that opened every single one
of those doors and just I kept getting promoted, promoted.
Like Vince doesn't like people.
- How did you have that relationship with Vince?
- You know what?
I think it was all favor.
I think it was the Lord.

And I thought I'm highly employable.
And I feel like God gave me this job.
And if God wants to take it away, he can have it, you know.
So that was peace, but not bravado.
- Yeah, just like--
- I was like, well, screw him, I'm a highlighter.

And I remember I'd only been there a few days,
and I was working in the first apartment that I--
And it's all men, like I'm working with all men.
Most of them are pretty impressed with themselves,
or at least that's how they came across.

And I remember Andre comes in and he says,
Hey, Vince wants to see you in his office.
And I was like, why?
Like, did I do something?
'Cause I was running the fleet for the whole city
at that point.
And he's like, I don't know, AJ,
but he's like, I've really enjoyed working with you.
I'm like, are you joking?
And he's like, no, I have.
I've really enjoyed, you know.
And I was like, Andre, you think I'm gonna get fired?
He goes, I don't know why else you get called to his office.

And he's like, yeah.
You know?
like, okay, all right, fine.

He doesn't even look up.
He's just on his computer, he goes, have a seat.
Just looking at his computer typing, whatever.

- He wants the same people's schools, college as my boss.
He used to work for customs and immigration.
He was one of the people that did all the interviewing.
- Okay, okay, got it.
- So anyway, so I go over, shut the door,
I sit back down, he just closes his laptop
and he stares at me, probably, well, it felt like forever,
but it was probably a good 10 or 15 seconds, you know,
where he just stared at me and didn't say anything.

So I just went, is that why I'm here?
You know, like, 'cause I just,
it would sort of broke the tension for me, not for him.
- Yeah, of course.
- You know, and I was like, I mean,
that's really why I'm here.
And he goes, yeah, people wanna know why you're so happy.
And I said, well, do you want me to tell you
the real answer to that?
Or like the PC version of that?
And he's like, well, I wanna know the real answer.
And I was like, I love God, God loves me.

And he just stared at me, like didn't say anything for a bit.
And he's like, I have some questions for you.
Anyway, we ended up having this whole discussion.
It turns out his sister or his brother
had gotten saved, they were originally Hindu and you know,
had left this great job.
I think it was a sister had left this great job and started an orphanage in
India. And do I know why she would do that?
And I'm like, I, I, I do know why, you know, so we started talking,
we talked for like an hour just about the Lord and about why I was happy.
And then he just all of a sudden went, all right, we're done.

So when I came back, Andrea was like,
"Do you still work for me?"
And I was like, "Yeah, I do."
And he's like, "Oh, thank God."
Okay, well, you know.
- He just wants to know why I smile so much.
- Yeah, he just wants to know why I smile so much.
So anyway, but I just remember like,
you know, I worked there for four and a half years
and there was lots of opportunity
with all different bosses to listen to the awesome,
office gossip, like the things that people would say
about other people, but I thought,
I can never actually take people at face value
if I'm listening to that kind of stuff.
So I just sort of determined I wouldn't be part,
I would just like pick up,
not be like, I can't be near you.
I just pick up my stuff and go someplace else, you know?
But it helped me.
- What advice encouragement would you give to people
who understand that, okay, like at least at a basic level?
All right, I can read the Bible and I can see
that no authority exists except that which God's put there
for me. So therefore I understand that my boss, whether I like him or her or not, God has put me
in relationship with this boss. This boss is an agent for my job.
Or I applied for that job and that's just part of it.
And I don't see how it's good. Like, how do you live in? What feedback? What advice would you give
people? What feedback? I mean, I prayed a lot like for everybody that I worked for.
But I just would pray like,
okay, Lord, would you help me have a good attitude?
Would you also--
- I don't have to enjoy them, but I do have to honor them.
- And would you also just protect me from any wagging tongues?
Do you know what I mean?
Would you, I'm gonna not be part of gossip.
Would you keep me from it?
Would you--
- The thing is gossip seems like a great remedy
to the diss.
the the un-piece that you're living with.
- Right.
- So I'm listening to you talk about that VP.
- And you kind of want to like complain with other people.
- Right, and he's got all the power
and it feels like this super powerful thing to do.
- Yeah.
- It can all gossip about it,
but it's actually the trade craft of the devil.
- Yeah.

- Yeah.
I probably talks about gossip going down like tasty morsels.
- Right.
- And you actually, it undoes everything
that heaven's trying to achieve.

I mean, never really with Vince, we got along great,
but with a couple of other of the VPs
and a director that I had at one point,
who was like just really slimy,
kind of just like weird sexual stuff.
Like I would go and talk and say, "I need wisdom, I need help."
And I'd get them to pray with me and whatever,
but I was still, when I was there,
I was like, "All right, show me how to honor him."
Okay, show me how to honor this VP,
show me how to, you know, and then also used wisdom and boundaries and, and all that kind of stuff, but
I remember John on it saying this brilliant line, which I'm having to look up. He said this.
And this classic John, you know, we're probably eating Swiss chalet. And there's just this throw away
comment that's just dripping with wisdom. He said, if you haven't learned to live under authority
now, how will you serve a king for eternity?
I was like,
I said, great, great question.
Right.
Cause I think really like it is easier in quotation marks,
or we think it will be easier to not live under authority.
Well, it's just my own person and whatever.
Mine said, but, but you know, we think that will be easier.
And so you think of comments like that,
like, well, if you can't live under a 30,
how are you going to serve a king for eternity?
Good, great.
But also it seems to me that every time
when things go badly,
who we turn to are those in authority to help us.
And if we've lived under authority,
that works really well.
But if we've actually lived stepping out from under authority
and then things go badly,
and then we're turning back and saying,
Hey, could you help me with this thing over here?
I don't know what to do.
It's like, sometimes I kind of want to go,
oh, I wish, I wish you would have listened six months ago,
a year ago, whatever, when,
or you would have sought advice then
as opposed to doing your own thing.
And then now you have the results of that.
I can help you try and walk that through,
but it probably would have turned out much differently
if you'd chosen to stay with authority operating.
- Well, into that in a moment.
That dynamic will come to a moment.
Where I want to sit with is like,
if we're talking about the goodness,
the blessing of walking with authority.
Like I would say again, when we talk about like
the beauty of being with healthy authority,
I think about our relationship with John and Carol.
I think about our relationship with Jeff and Beck.
I think about the kindness and the latitude
that I feel like all that has ever come about
from me honoring and submitting to leadership is promotion
and in turn authority.
- Yes.
- Now here's the tricky thing.
If you only live to honor authority
so you can have authority,
- It's not that way.
- You're undermining why you're living
with a hard attitude of honor.
- Yeah.
- But I know that sounds ridiculously simple,
but as we have purposed in our heart
to help build John and Carol's kingdom,
purpose in our heart to help build Jeff and Becky's kingdom.
When we have done that,
that is probably when I've seen the most amount of growth
in us, the most amount of advancement sounds wrong,
it sounds like the weird phrase, but acceleration perhaps.
And with that, authority, like kingdom authority.
- But also, I think the most amount of fruit
in our own ministry or from our lives.
- Absolutely.
I think is all a result of choosing honor.
Of choosing to build their kingdom instead of build ours.
And choosing to stand or throw it in and choosing to let their words be big in our ears.
Yeah.
Paying close attention to halt and paying close attention to go.
Which we can talk about this next week, which is sometimes hard when it is not on your viewpoint.
Like I've told this story before about John.
I mean, my introduction to working with John, like, I think and probably lead
very differently than the way both John and Jeff think and lead.
Yes.
Right.
I think that's fair to say.

There's a lot of overlap, but also there's some distinct differences.
But I've noticed in the areas where I've chosen their way, like ridiculous fruit
comes from it.
And you're just like, okay.
Yeah.
All right.
Yeah.
I pay attention to that.
Well, when I come back to the bit that you were talking about,
And to do that, I'm going to have to look at my scribbles.
Here's this verse.
Again, this could be a triggering verse for a lot of people, but it's not the Bible.
So all I'm doing is reading out the Bible.
Yeah, he's only reading the Bible.
And we can talk about why it might not be helpful or why I'm glossing over parts.
You know, next week.
And anyway, that before I get to that verse, that whole thing that John said,
if you haven't learned to serve an, you know, an earthly master, how will you serve
a king for all eternity?
He said better than that.
But basically, if you want to have authority in the future, you have to submit
to the authority in your present.
- Yes.
- Like you can only have as much authorities
you choose to submit to.
And even then, if you're choosing to submit to authorities
you can have authority, you've undermined.
And you've gone back to square one.
You haven't collected $200.
- Right.
- Do no pass go.
Here's this verse that touched on what you were talking about.
Hebrews 13 verse 17, it says this,
"Obey your leaders and submit to them,
for they keep watch over your souls
as those who will give an account.
Let them do this with joy and not with grief,
for this would be unprofitable for you.
The key phrase in that verse is let them.
Which tells us that we have a say in who's leading us.
- Yes.
- Right? - Yeah.
- Hold that in tension,
'cause for some people that's a get out jail free card.
- Right.
- And what I mean by that is some people think,
"Well, you know what, I don't like what you're doing,
"so you're not gonna be my leader anymore,
"and that's my right, and it is your right,
"but what you'll usually find is
when you go to your next leader, the same issue that you didn't want to deal with is waiting for you.
Right. Because your issues are not geography. It's what God's doing in your heart in that season.
So the key word is let your leaders watch over your souls. And the way you let your leaders watch
over you with joy and not with grief is by you obeying them and submitting to them.
Yeah.
You with me so far? Yes. Yeah. To not obey them, to not submit to them, it says in scriptures,
"We'll be unprofitable to you," which by extension means that when you do do those things, it will
be profitable to you. So it comes back to what we've been just saying. We've all got one point,
we're just saying over and over again, is that as we reflect on our life, in the seasons of our life,
in the as we look at the correlation between man, things are flying for us in life. And what else
has gone on our life, the parallel between honor and submitting and promotion, acceleration, etc.
Go hand in hand. Yeah. But also, I think it's worth noting like you don't really know if you're
honoring something if they're agreeing with everything that you want to do anyway, right?
So it's an important thing. It's trickier when, for example, like I remember, this is just an
example that's coming to my head when I wanted to start year two. You know, I wanted to pioneer
year two and get it up and going and went to Jeff. I've got a plan, Jeff. You know, this
is what we do, blah, blah.  But
But Jeff, I've thought this through.
I have a plan, Jeff, you know?
And he was like, I don't think that happens this year.
And at that point, I could probably try and convince him
and he might have even gone with me
or I can honor, okay, I say that you are somebody
who has authority in my life, you do.
And so I hear you say, this isn't the year.
But that's sort of like a really,
maybe that's not a really strenuous example
for other people, but I had it, you know,
when a shaper has a plan.
- Oh, watch out.
- When a shaper has a plan.
So honor is about not just about when everything
they've asked you to do, you agree with already,
and yay, I'm honoring your wishes by living my own dream,
you know, but honor kind of hits the road when a leader is like,
I don't think that choice that you're making is wisdom.
Or I don't think that that person
that you're choosing is wisdom.
Or I don't think that, you know,
that's when you actually have to assess like,
"Ah, am I gonna honor?"
- You're not really honoring or submitting to your leader
if they're going the direction you were planning on going
anyway. - Right.
- Where you work out whether you're submitting
an honor to your leader is when they take a hard laugh
and you're like, "Yeah, but I think we should be
going straight ahead."
- Right. - Right?
And that's where the rubber hits the road,
like, now what are you going to do?
Right.
That is where you work out like where your heart of honor is.
The whole thing about like what would be profitable to you.
Again, it's that I think the example you just gave was beautiful.
Like I've loved my whole life.
No, my whole life.

We've been number two.
So what I mean by that is like not the primary leader.
Right.
Like I love that there's somebody above me.
Yeah.
Making the judgment calls.
Perfectly happy.
But think about the grace on that.
Think about left your own devices.
You would have just, yeah, let's start a year two
and let's, you know, you had somebody watching over your soul
who has to give an account.
And in that moment, thankfully you let him do it, you know,
with joy and it's profitable to you.
And he's saying, "Nah, when I look at your life
and stage your life and stage your kids,
I don't know how to be wisdom."
Like what kindness?
And I can think of a number of times
where it's so beautiful to send problems up.
Like, "Hey, John, hey, Jeff.
We're facing this situation we don't want to do what's your wisdom.
And then the Lord answers you through them.
The Lord's well able to answer you direct.
The Lord loves to speak through the leaders in your life.
And that's because authority is agents of good, agents of God for good in your life.
Yeah.
I was also thinking like with John, with Jeff, with safe leaders, those are, you're,
you're also talking about people who have authority over them.
So they, there's people that have authority to speak into Jeff and Becky.
There's people that have authority to speak into John and Carol, you know,
and they go seeking out other people to be accountable to and to have
speaking into their lives as well, which is part of what also makes them safe.
So that was just my, my other, my side thought.
All right.
Well, that, that kick starts our thoughts on authority and leadership
and blessing and favor.
I will throw this out here.
I realize that a lot of the conversations I've overheard about like,
why authorities bad are rarely about the practical.
They're more about the theoretical.
Like, I wonder if when people saw the topic for this, they thought I was going
to be talking about government, right?
Honor the president and honor your leaders and which, by the way, I certainly
believe is biblical.
Not what I'm talking about today, right.
But most of the conversations I've had about authority with people who are like,
well, I don't think we should be, you know, like I'm a free person.
and don't you know, America, freedom, yeah, you know,
is all about like larger things rather than the day to day
of honoring your parents, honoring your boss.
In marriage, honoring one another.
Again, I think probably one of the major contributors
to the fruitfulness of our marriage
is that we honor the authority of both of us.
Like we don't live with the thing that I am the head
of the family and you just obey me.
We realize that we are co-leaders of our family
and we submit to it.
What are you just grinning at?
I'm grinning because you said contributors instead of contributors.
I just, I just like.
Which way is American?
I don't, which way is American contributors?
Oh, you wouldn't know.
He wouldn't know.
So you were laughing at my.
I just was enjoying.
I was pronunciation.
Yes.
I would.
And fastest on the wrong syllable.
I just like it when you say words a little differently.
It makes me like I'm bummed because I thought you were not even special.
Sexy thoughts about me and it wasn't.
Oh, I was.
Oh, you were.
I tell you I was.
Yeah.
All right.
All right, well, there you go.
There's our thoughts on that.
We'll pick up some other thoughts later.
I'm, because we, by the time you hear this,
we'll have already recorded the follow up for it,
which doesn't make asking questions very easy.
So probably what we'll do is put something on social media
and say, "Hey, what are some questions about, you know,
walking with a 13, walking with a leader?"
- Yeah, that sounds good.
- But where can people get show notes?
- You can get the show notes by going to
Alan and AJ.com/250.
And if people do have questions, which we'd love to hear, how would people ask us a question?
Alan and AJ.com/ask.
And if people were thinking, "I love this episode," but if one of those was a way I could see what they were wearing,
and bask in the glory of Alan's watermelon shirt, and perhaps look at the snazzy necklace that AJ is wearing with her wooden paddle earrings,
like, how could you fulfill that wish for them?
They could sign up to be a member.
And where would they go to do that?
Um, they would go to Allen and AJ.com/signup.
No, slash joy.
I was doing so well.
Yeah, you were, you're, you're not the part.
If you want to become a member, if you want to get access to our video content,
uh, all of our episodes are filmed in our studio.
And then we rip out the audio, which is probably what you're listening to.
Uh, it's, it's another dimension of the podcast.
It, we also offer our members discounts on our books and on our teaching courses.
And also, if you do have questions in your member,
you get to the front of the queue as well.
You can learn all about the perks of becoming a member
and supporting the show by going to alanandagia.com/join.
But for now, we are praying that you
have a great fruitful relationship with the leaders
in your life.
And just have an amazing week.
Please stay safe out there.
And we will be back same time, same place, next week.
God willing.


|
fop 0.94 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.fop.text.linebreak.LineBreakStatus
This class is meant for supporting the Unicode line breaking algorithm. See UTR 14.
| Field Summary | |
static byte |
COMBINING_INDIRECT_BREAK
Constant indicating a Combining Indirect Break |
static byte |
COMBINING_PROHIBITED_BREAK
Constant indicating a Combining Prohibited Break |
static byte |
DIRECT_BREAK
Constant indicating a Direct Break |
static byte |
EXPLICIT_BREAK
Constant indicating a Explicit Break |
static byte |
INDIRECT_BREAK
Constant indicating an Indirect Break |
static byte |
PROHIBITED_BREAK
Constant indicating a Prohibited Break |
| Constructor Summary | |
LineBreakStatus()
Resets the class to the same state as if new LineBreakStatus() had just been called. |
| Method Summary | |
byte |
nextChar(char c)
Check whether a line break may happen. |
void |
reset()
Reset the status. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final byte DIRECT_BREAK
public static final byte INDIRECT_BREAK
public static final byte COMBINING_INDIRECT_BREAK
public static final byte COMBINING_PROHIBITED_BREAK
public static final byte PROHIBITED_BREAK
public static final byte EXPLICIT_BREAK
| Constructor Detail |
public LineBreakStatus()
| Method Detail |
public void reset()
public byte nextChar(char c)
c
- The character.
|
fop 0.94 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Home
Statistics
Statistics of deaths and incidents in older drivers
The following statistics show that old drivers also present a high risk of collision


Tools we have high confidence in to serve our purpose, also in the future. We want to encourage usage of and want to develop and research further. Thinking about what initiatives we can do to enhance the experience.
These tools are commonly used within the company for productivity. They provide the foundation of applications we use to collaborate. However, at the moment, these tools are not being developed on further.
Tools and ideas worth exploring further, we see great potential in these products. We want to evaluate how they would fit in our workspace.
Tools we want to move away from. We rather avoid new projects being started in the tool and want to limit the usage over time to finally decommission the product entirely.


TrackRecord is a timesheet system written for the Ruby On Rails web development framework. More information, including a link to the most recent live source repository, is available at:
This software is released under a BSD License. See the LICENSE file for details along with:
Detailed lists of changes in each version are in 'CHANGELOG.rdoc'. Technical documentation can be found via 'doc/README_FOR_APP.rdoc'.
TrackRecord was developed upon and is optimised for the PostgreSQL database. In particular its report generator will run fastest on this platform. Other Rails-supported databases should work, but only PostgreSQL has been tested extensively under development. PostgreSQL 8.4 or later is required if using that database engine.
The installation and upgrade guides below assume you are familiar with the general procedure for installing Rails applications, with an environment set up already for Ruby On Rails. If not, then I strong recommend you begin with “RVM”, the Ruby Version Manager:
…and use this to establish a Ruby 2.1.x installation. TrackRecord assumes Ruby 1.9 patch level 392 or later, but will work on Ruby 2.0 or 2.1 also; edit file “Gemfile” to specify an older version or a different 2.1.x patch release if need be. TrackRecord will not work on Ruby 1.8.
Download either a source archive from the Pond's Place web site (see above), from GitHub directly, or glone the repository as per GitHub instructions. Then:
Edit file config/initializers/secret_token.rb
as per the
instructions in the file; comment out the raise
statement,
uncomment the secret_token
assignment underneath and type in
or otherwise randomly generate a long token string. Running command
rake secret
is a good way to do this.
Never make your modified file public anywhere! Keep it a secret always.
Copy a template database configuration file:
config/database_blank.yml
config/database_sqlite.yml
Roll your own config/database.yml
file
…as file config/database.yml
and modify to suit your database
configuration. You then need to say what database access gem you want to
use. Edit file Gemfile
at the top level of the TrackRecord
distribution:
No changes are necessary
Comment out the line gem 'pg', '>=0.16'
and
add underneath it the line gem 'sqlite3'
Comment out the line gem 'pg', '>=0.16'
and
add underneath it gem
line(s) specifying whatever is needed
for your chosen database; you may need to do a web search to determine the
required gem(s)
If you only want to use TrackRecord for a production (normal) environment, then it is recommended that you issue this command the very first time you install the software:
bundle install --without development test
Thereafter, just using bundle install
will remember this
setting and always omit development and test-related gems. To undo this
persistent setting, issue this command:
bundle config --delete without
Alternatively, ignore the above and just install all gems, regardless of
whether they are used for production, development or test environments.
Issue the command bundle install
to install everything.
Bundle installation can be a bit fraught. Ruby and Rails gems can be finniky things, especially the “nokogiri” gem used during tests or database adapter gems. These usually need native components compiling which in turn requires a working native compiler and supporting files on your system. If you get an error, try doing a web search for it as often the answer can be found there. If all else fails see trackrecord.pond.org.uk for contact details.
If you get warnings about something called Nokogiri and LibXML versions at run-time, please see the later section about the Nokogiri gem.
Issue the following commands to set up all database structures. These assume a Unix-like environment. Windows users will need to adapt them.
rake db:create:all RAILS_ENV=production rake db:migrate RAILS_ENV=development rake db:migrate
If you get an error, it's likely that your database configuration isn't correct - check the steps above are OK.
Depending on where you're deploying, you may have wider web server issues to consider. For a local machine, you can test with the Rails built in web server:
rails s
Visit localhost:3000 in your web browser
This will test the server in development mode, so changes made here will
not affect your production environment database unless you configured them
to be the same in config/database.yml
.
Asset precompilation is rather convoluted Rails-ism aimed at performance
improvements in production mode. If you run a production server you may
already be familiar with this and have made your own environment settings
inside config/environments/production.rb
, but in any case it
is likely that you will have to issue this command:
RAILS_ENV=production bundle exec rake assets:precompile
For more, please see guides.rubyonrails.org/asset_pipeline.html and section “Notes on asset precompilation” below.
To make sure your database is suitable for TrackRecord, run the tests with
the command rake test
. This will take a long time to complete.
No test failures are expected.
If you get warnings about something called Nokogiri and LibXML versions at run-time, please see the later section about the Nokogiri gem.
You may want to look at files
config/initializers/email_config.rb
and
config/initializers/general_config.rb
once you've verified
that the software is running, to see what other things can be changed. In
general, the other files in config/initializers
should not be
modified.
If you are updating from a version earlier than v2.0, please see the
CHANGELOG
file's information about v2.0 for details as
this is a major update from Rails 2 to Rails 3.
You will need to update config/production.rb
with a path
prefix if you deploy in a subdirectory rather than you server's
document root. This step is required because of a very long standing Rails
bug.
See the comments above the “config.relative_url_root” line for details. This is vital for anyone running TrackRecord in a non-root location, even if you use something like Phusion Passenger and normally expect to need no such configuration changes.
You must then also follow the steps shown in the next section.
Otherwise, whenever you update a version 2.x installation, please do the following things:
(Re-)issue command bundle install
(then optionally,
bundle update
).
If you get warnings about something called Nokogiri and LibXML versions at run-time, please see the later section about the Nokogiri gem.
Issue the following commands to update all database structures. These assume a Unix-like environment. Windows users will need to adapt them.
RAILS_ENV=production rake db:migrate RAILS_ENV=development rake db:migrate
TrackRecord as a Rails 3 application requires asset precompilation for
production mode, unless you changed
config/environments/production.rb
so that this wasn't
needed. A new release of TrackRecord means updated assets so you need to
issue:
RAILS_ENV=production rake assets:clean RAILS_ENV=production bundle exec rake assets:precompile
For more, please see guides.rubyonrails.org/asset_pipeline.html and section “Notes on asset precompilation” below.
To make sure your database is still suitable for TrackRecord, it is
advisable (though not strictly necessary) to re-run the formal tests with
the command rake test
. This will take a long time to complete.
No test failures are expected.
Rails asset precompilation is somewhat broken in that it doesn't understand applications deployed into subdirectories. If you are not using Heroku, you can fix this by adding the following into config/environments/production.rb:
config.assets.initialize_on_precompile = true config.relative_url_root = '/<your-app-subdir>'
…then precompile the assets. If already compiled, delete the folder 'public/assets' then precompile again (see earlier for the command).
On Heroku, the 'initialize' flag must be 'false'. The following link may provide some insight about what to do:
https://github.com/rails/rails/issues/8941
I apologise for the inconvenience, but I can't do much about a bug like this that's been in Rails for at least two years, especially now that (at the time of writing) Rails 4 is out so a Rails 3 fix is even more unlikely.
From version 2.25, TrackRecord's test suite uses something called Capybara for integration tests. This has an unavoidable but somewhat unfortunate reliance on Nokogiri, an XML parser. It's a capable, but very big gem that has a huge native extension which can take a long time to build and install.
Installing Nokogiri in earlier days used to be quite a fragile process with a high chance of error (in my experience) but it's got a lot better since. If you do encounter errors, though, you'll need to search the web for help.
A common run-time warning however is a complaint that the LibXML
version used for building the gem differs from that being used at run-time.
I got this on OS X Mavericks with a clean installation of the gem
via bundle
. Advice online included things like uninstalling
and reinstalling the gem with simple commands that just didn't make any
difference. In the end, I installed it with explicit pointers to the
libraries it would end up using at run-time.
gem uninstall nokogiri (...and answer "y" to everything) gem install nokogiri -- --with-xml2-include=/usr/include/libxml2/libxml --with-xml2-lib=/usr/lib/ --with-sxlt-include=/usr/include/libxslt --with-xslt-lib=/usr/lib/
Yes, there really is meant to be that “ --
” after
nokogiri
.
You might have to adapt that for different systems; for example, on a
64-bit Linux, you'd probably need /usr/lib64/
instead of
/usr/lib
. If you don't need the documentation for Nokogiri
installed locally - it takes ages! - then add --no-rdoc
--no-ri
just after gem install nokogiri
, before the
“ --
”. This does mean you'd need to go online to read
documentation rather than being able to browse it via likes of gem
server
or the ri
command.
You might need to repeat the above process if you upgrade your system and your libraries change.
If this doesn't solve your warning problems, I'm afraid you'll have to start searching the web for clues.
The first time you use TrackRecord you'll be asked to provide an Open ID for the person that'll become the first system administrator. More details about OpenID are provided on the welcome page.
To add new users to the system:
The new user tells the admin what their preferred Open ID is
The admin uses the “Manage users” link on their Home page control panel to add a new User entry with the required permissions and Open ID set
The admin tells the new user that they're set up
The new user can now log in
Only permitted Open IDs added by an administrator in this way will be able to sign into the system.
A customer has many projects and a project has many tasks. Only admins are able to create any of these entities.
When adding new customers etc. to the system, start with the customer, then add the projects, then add the tasks. Always take care to assign the correct task->project->customer ownership; you don't have to assign a task to a project, for example, but users can't add that task to a row in their timesheet unti you do.
It is possible to import tasks en masse from XML files exported by software such as OpenProj or Microsoft Project. Use the “Bulk task import” link from the Home page control panel and follow the instructions presented.
If your workflow is based around creating project plans before setting up the timesheet system, this can be really useful as the project plan may be used as the import data source.
Administrator users can do just about anything. Manager users can read almost all data on the system, but can only edit their own data or the timesheets of other users (so they can make corrections or adjustments if necessary). Restricted users can only read data that they have created, or that they are given explicit permission to see. An administrator must edit the user's account and add a task list to it, so that the user is able to do things with that task list - in particular, they can't add task rows to their timesheets unless the admin has given them permission to “see” those tasks.
Users can make temporary, or permanently saved reports. These can be marked as “shared”, in which case other users can see them. For managers and admins it makes little difference as they can read any report anyway, but for restricted users, a report made by someone else is only visible if it is marked as shared.
Timesheets are editable until committed, then they become frozen. This leads to the notion of comitted versus non-committed hours in reports and so forth. The idea is that at the end of a week, a user finishes editing their timesheet and commits it using the relevant pop-up menu in the timesheet editor. Thereafter, “history cannot be rewritten” - important if you've used timesheet data in reports sent to clients.
For some workflows, you might want to commit less often, or you might find that some users don't remember to commit timesheets when you expect them to. Consequently, it's possible for admins to bulk commit timesheets that lie between two given dates. Use the “Bulk timesheet commit” link on the Home page control panel and follow the instructions provided.
Changes to “important” objects like customers or timesheets are recorded in detail in the audit trail. Admins can examine this if they need to see who modified something and when. It's unlikely that you will need it, but should anything unexpectedly change in a way that might be a problem for a report or client, you do at least have this fallback to help work out what happened. Follow the “Raw audit data” link on the Home Page control panel.


The inspection works differently in batch-mode (from Code | Inspect Code or Code | Analyze Code | Run Inspection by Name) and on-the-fly in the editor:
return
statement, do not have super methods, and cannot be overridden. If a method overrides or
implements a method, a contract may require it to return a specific constant, but at the
same time, we may want to have several exit points. If a method can be overridden, it is
possible that a different value will be returned in subclasses.
Example:
class X {
// Warn only in batch-mode:
int xxx() { // Method 'xxx()' and all its overriding methods always return '0'
return 0;
}
}
class Y extends X {
@Override
int xxx() {
return 0;
}
// Warn only in batch-mode:
int yyy() { // Method 'yyy()' always returns '0'
return 0;
}
// Warn both in batch-mode and on-the-fly:
final int zzz(boolean flag) { // Method 'zzz()' always returns '0'
if (Math.random() > 0.5) {
return 0;
}
return 0;
}
}


Tweet can't be empty !
145 characters length completed
{{remainingTweetLength}} characters remaining!!


Haar wavelet (1D) return the phi and psi functions of a haar wavelet
Daubechies wavelet (1D) return the phi and psi functions of a daubechies wavelet
Calculates the discrete wavelet transform, given the phi and psi functions phi and psi are functions that take the input signal and give out the scaled signal, and the wavelet coefficients respectively.
input - input signal \phi φ(x) - scaling function \psi ψ(x) - wavelet function [maxlevels] - maximum number of levels to recurse


Cheesy Meatballs with Tomato Sauce
Nothing beats meat, cheese and tomato combined together to create the best
combination of flavors that man has created.
Ingredients
The quantities here are for about two adult portions. That is, if you are also
making some side dish, like in the photo.
For the meatballs:
- 300-400g of ground beef meat
- ¼ of an onion
- ~70g of cheese; I have made with different cheese types, but usually I use
Gouda
- Parsley
- 1-2 garlic cloves
- 1 egg
- ~1/5 metric cups (~50ml) of bread crumbs
For the sauce:
- 250ml of water
- 8 spoonfuls of tomato paste
- Oregano
- Basil
- Black pepper
Directions
- Beat the egg(s) in a large bowl.
- Add in the ground beef, and the bread crumbs and mix.
- Chop the onion into small pieces and add it to the bowl.
- Mince the garlic cloves and add to the bowl.
- Dice the parsley leaves and add to the bowl.
- Salt the beef mix and mix it thoroughly.
- Cut the cheese into cubes. The amount of cubes you will need will depend on
how many meatballs you make, which depends on how big you want to make the
meatballs. You get the idea.
- Take a cheese cube and wrap with enough ground meat to completely cover it.
Repeat this process until you’ve run out of the ground beef mix.
- Heat the frying pan, add some olive oil, and add the meatballs. Cook over
medium heat rolling the meatballs from time to time until they are slightly
brown from all sides (wait, spheres have no sides).
- When the meatballs look done, pour the water and tomato paste; add the dried
oregano and basil, and ground black pepper; and salt to taste.
- Cook over medium-low heat for about ten minutes rolling the meatballs so
that they get completely bathed in tomato sauce.
- Serve with some side dish and enjoy!
Originally published at https://www.yaroslavps.com/food/cheesy-meatballs/
Contribution
Recipe tags:
beef
cheese


This page has two iframes: one is cross-site, the other is same-site. The cross-site frame also loads a cross-site page in it.


This is a demonstration election to show some of the features of Ekaadhikar. There are five contests illustrating different voting methods supported by Ekaadhikar. In your own elections, you can customize this text, use rich formatting, and include pictures. Below, you can also see example reports showing the results of this election so far.


ID: fabacada0102
Operational
Leader
Proxying on local node
This shows the number of proxied requests on the local node.
Requests on local node
This shows the number of requests handled by the local node.
Cluster requests
This shows the number of requests handled by the entire cluster.
Network
This is the cluster layout.
Proxying
This shows the number of request proxied between each node in the cluster. The size of the link from the node is proportional to the number of requests handled by that node.
| Node ID | Role | Shards | Status page |
|---|
This list shows all members in the cluster


System Architect Picture "Agent In Access Group"
Parent Diagram:
Agent Access Group
(OMT Object Model)


0
Emails waiting for the right time to make their entrance
Sign in to connect your Gmail account and make your email Timely
Snoozed Emails
Send Later Emails


This example follow the example 'nbex_skl_snow' that use Support Vector Machine. This previous example create a snow model on one hypercube with SVM and try to classify the feature snow on 6 others hypercubes. This time, the setup is different and more in accordance with the way machine learning is use. First, we concatenate all the seven hypercubes to make a big data. We keep 25% of the data to learn the snow model and 75% to test it (but, in fact, we test on all the data). We use Random Forest and there is no hyperparameters tuning. For the caracteristics of the hyperspectral images used, I refer you to the previous example 'nbex_skl_snow'.
%matplotlib inline
from __future__ import print_function
import os
import os.path as osp
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score
import pysptools.util as util
import pysptools.skl as skl
def build_ROI(data, coords, title):
r = util.ROIs(data.shape[0], data.shape[1])
for coord in coords:
r.add(*coord)
r.display(colorMap='Paired', suffix='Snow '+title)
return r
# Use HyperGaussianNB to create a class map (a mask) for img1
# with a supervised clustering.
def build_img1_cmap(data, r, title):
model = skl.HyperGaussianNB()
model.fit_rois(data, r)
model.classify(data)
model.display(labels=r.get_labels(), interpolation=None, colorMap='Paired', suffix=title)
return model.get_class_map()
# Use HyperLogisticRegression to create a class map for img2
# with a supervised clustering.
def build_img2_cmap(data, r, title):
model = skl.HyperLogisticRegression(class_weight={0:1.0,1:5})
model.fit_rois(data, r)
model.classify(data)
model.display(labels=r.get_labels(), interpolation=None, colorMap='Paired', suffix=title)
return model.get_class_map()
# It's more complex for imgc7.
# The goal is to create a class map made of two classes: snow and a wall of wood.
# Fisrt: we use HyperSVC to create a class map with a supervised clustering.
# Next: the cmap's upper half is not what we want, we clean it (make it a background,
# background is always zero).
def build_imgc7_cmap(data, r, title):
def display_img(img):
import matplotlib.pyplot as plt
plt.ioff()
plt.imshow(img)
plt.show()
plt.close()
model = skl.HyperSVC(class_weight={0:1,1:10,2:1}, gamma=0.5)
model.fit_rois(data, r)
model.classify(data)
model.display(labels=r.get_labels(), interpolation=None, colorMap='Paired', suffix=title)
cmap = model.get_class_map()
# Clean the half top
cmap[0:50,0:cmap.shape[1]] = 0
# And print it
print('imgc7 class map cleaned:')
display_img(cmap)
return cmap
# Create and fit the model with HyperRandomForestClassifier.
def fit_model(X, Y):
model = skl.HyperRandomForestClassifier(n_estimators=25)
model.fit(X, Y)
return model
# We test the model on all the hypercubes.
def batch_classify(spath, model, samples):
for s in samples:
M = util.load_mat_file(osp.join(spath, s))
Ms = util.shrink(util.shrink(util.shrink(M)))
util.display_linear_stretch(Ms, 19, 13, 3, suffix='shrink x 3 '+s)
M = load_reduce_and_scale(spath, s)
model.classify(M)
model.display(suffix='batch '+s)
# The images are to large for my humble computer and takes to long to process.
# The solution is to cut the pixels number. Each call to shrink() cut by half
# the pixels number and save hours of processing.
def load_reduce_and_scale(path, file_name):
"""
Load the mat file.
Reduce the pixels number by 7/8
and scale the result.
"""
M = util.load_mat_file(osp.join(path, file_name))
return skl.hyper_scale(util.shrink(util.shrink(util.shrink(M))))
First we load the seven hyperspectral images. All images are scaled. 'img1','img2' and 'imgc7' have snow, others not.
home_path = os.environ['HOME']
source_path = osp.join(home_path, 'data/CZ_hsdb')
# These images have snow
snow_samples = ['img1','img2','imgc7']
# These have no snow
nosnow_samples = ['imga1','imgb1','imgb6','imga7']
# Load
M_img1 = load_reduce_and_scale(source_path, snow_samples[0])
M_img2 = load_reduce_and_scale(source_path, snow_samples[1])
M_imgc7 = load_reduce_and_scale(source_path, snow_samples[2])
M_imga1 = load_reduce_and_scale(source_path, nosnow_samples[0])
M_imgb1 = load_reduce_and_scale(source_path, nosnow_samples[1])
M_imgb6 = load_reduce_and_scale(source_path, nosnow_samples[2])
M_imga7 = load_reduce_and_scale(source_path, nosnow_samples[3])
Note that the word 'feature' is use with the earth science meaning and not with the machine learning meaning. Feature in the machine learning meaning is the band value that define a spectrum 'the sample'.
We build the masks in two steps.
First we create a ROI for the three images containing the feature snow.
Second we expand the ROI by a supervised clustering and this way catch the snow cover.
To add a degree of complexity, a second feature is added. This is the wall of wood that we find in the imgc7 image.
# The 'snow' images ROIs:
ROI_img1 = [['Snow',{'rec':(41,79,49,100)}]]
ROI_img2 = [['Snow',{'rec':(83,50,100,79)},{'rec':(107,151,111,164)}]]
ROI_imgc7 = [['Snow',{'rec':(104,4,126,34)},{'rec':(111,79,124,101)}],
['Wall',{'rec':(59,103,91,162)},
{'poly':((55,6),(56,99),(66,94),(71,31),(99,32),(98,5))}]]
# We build and display ROIs.
roi1 = build_ROI(M_img1, ROI_img1, 'img1')
roi2 = build_ROI(M_img2, ROI_img2, 'img2')
roi3 = build_ROI(M_imgc7, ROI_imgc7, 'imgc7')
Next we build the snow cmaps.
cmap_1 = build_img1_cmap(M_img1, roi1, 'cmap img1')
cmap_2 = build_img2_cmap(M_img2, roi2, 'cmap img2')
cmap_c7 = build_imgc7_cmap(M_imgc7, roi3, 'cmap imgc7')
# The next declared class map is a background cmap, we use it for no snow images.
bkg_cmap = np.zeros((M_img1.shape[0],M_img1.shape[1]))
With the seven hypercubes we create a train and a test data.
# Concatenate the seven hypercube and the corresponding cmaps.
X,y = skl.shape_to_XY([M_img1,M_img2,M_imgc7, # snow hypercubes
M_imga1,M_imgb1,M_imgb6,M_imga7], # no snow hypercubes
[cmap_1,cmap_2,cmap_c7, # snow cmaps
bkg_cmap,bkg_cmap,bkg_cmap,bkg_cmap]) # no snow cmaps
# We take 25% for training
seed = 5
train_size = 0.25
X_train, X_test, y_train, y_test = train_test_split(X, y, train_size=train_size, random_state=seed)
The training data is fit with a Random Forest Classifier There is no cross validation made. The training use default parameters for most part, except for n_estimators set to 25.
model = fit_model(X_train, y_train)
# A feature importances dump follow.
model.display_feature_importances(suffix='snow - no snow')
model.display_feature_importances(sort=True, suffix='sorted')
We run the model on all the data for a visual inspection.
batch_classify(source_path, model, snow_samples+nosnow_samples)
Lets see the accuracy score
# make predictions for test data
y_pred = model.predict(X_test)
# evaluate predictions
accuracy = accuracy_score(y_test, y_pred)
print("Accuracy: %.2f%%" % (accuracy * 100.0))


Stock futures edge higher as China fuels trade deal optimism
REUTERS: U.S. stock index futures rose on Friday as latest comments from China lifted hopes of a trade deal after conflicting headlines this week knocked Wall Street off record highs.
Beijing said it wanted to work out an initial trade pact with Washington "on the basis of mutual respect and equality" after reports earlier in the week suggested that a truce could be delayed into 2020.
Global shares have retreated from the 22-month highs scaled in recent weeks on hopes of a resolution to the trade war that has dented business sentiment, curtailed investment and hurt economic growth.
The benchmark S&P 500 index is on course to end the week with its first decline in seven, while the Nasdaq is eyeing its first weekly drop in eight. A largely better-than-expected corporate earnings season also contributed to the rally.
Investors now await U.S. manufacturing and services sector data, as well as a consumer sentiment survey by the University of Michigan to gauge the fallout of the dispute on the domestic economy, which has so far proven fairly resilient.
At 7:20 a.m. ET, Dow e-minis were up 49 points, or 0.18per cent. S&P 500 e-minis were up 5.25 points, or 0.17per cent and Nasdaq 100 e-minis were up 24.25 points, or 0.29per cent.
Among stocks trading premarket, Nordstrom Inc rose 8.5per cent after the retailer raised its 2019 forecast and reported third-quarter profit above expectations.
Ross Stores Inc gained 2.1per cent as the off-price retailer beat quarterly profit and revenue estimates and issued an upbeat forecast.
Gap Inc was up 1.7per cent after edging past lowered expectations for quarterly profit and reiterated its plan to separate Old Navy.
However, shares of Tesla Inc fell 2.9per cent after the automaker unveiled its electric pickup truck with an angular body in gunmetal gray that resembled an armored vehicle.
(Reporting by Arjun Panchadar in Bengaluru; Editing by Sriraj Kalluvila)


Company Name
Single Order Prediction
Please fill the below details to view prediction results:
Attr1
Attr2
Attr3
Attr4
Attr5
Attr6
Attr7
Attr8
Attr9
Attr10
Attr1
Attr1
Attr13
Attr14
Attr15
Attr16
Attr17
Attr18
Attr19
Attr20
Attr21
Attr22
Attr23
Attr1
Attr25
Attr26
Attr27
Attr28
Attr1
Attr1
Attr31
Attr32
Attr33
Attr34
Attr35
Attr36
Attr37
Attr38
Attr39
Attr40
Attr41
Attr42
Attr43
Attr44
Attr45
Attr46
Attr47
Attr48
Attr49
Attr50
Attr51
Attr52
Attr53
Attr54
Attr55
Attr56
Attr57
Attr58
Attr59
Attr60
Attr61
Attr62
Attr63
Attr64


My AIMMS+CP page
AIMMS is an optimization system developed by Paragon Decision Technology, featuring a GUI and much support of Operations Support tools.
For more information about AIMMS, see
2012-11-23: I wrote a long blog post about AIMMS+CP: A first look at AIMMS+CP (AIMMS with Constraint Programming).
My AIMMS+CP models
Here are my AIMMS+CP models, many originally written in the Summer 2011. Around mid September 2012, I re-checked (and re-modelled) these with AIMMS version 3.13 (beta). Thanks to Chris Kuip for comments, suggestions and improvements. All of the following models (perhaps with some exceptions) use the new released CP feature in AIMMS (called AIMMS+CP) using ILOG CPSolver as the constraint solver.
All models/projects links to two files: the AIM (.aim) file which is a textual representation of variables, constraints etc (but not anything GUI-related), and the project file (.aimmpack) which is the project file including everything, including the GUI definitions etc.
- AllDifferentExcept0.aimmspack: Alldifferent except 0, AllDifferentExcept0.aim
- AllInterval.aimmspack: All Interval, AllInterval.aim
- BinPackingTest.aimmspack: Binpacking test, BinPackingTest.aim
- CoinsGridCP.aimmspack Coins grid, CP only version, CoinsGridCP.aim
- CoinsGridCPMIP.aimmspack Coins grid, both CP and MIP version, CoinsGridCPMIP.aim
- Diet.aimmspack: Simple diet problem, Diet.aim
- DivisibleBy9Through1Chris.aimmspack: Divisible by 9 through 1, DivisibleBy9Through1.aim
- FurnitureMoving.aimmspack: Furniture moving, scheduling, FurnitureMoving.aim
- Langford.aimmspack: Langford, Langford.aim
- LeastDiff.aimmspack: Least Diff, LeastDiff.aim
- MagicSequence.aimmspack: Magic sequence, MagicSequence.aim
- MagicSquare.aimmspack: Magic square, MagicSquare.aim
- MagicSquareWaterRetention.aimmspack: Magic square Water Retention (with Frénicle normal form for symmetry breaking), MagicSquareWaterRetention.aim
- Map.aimmspack: Map problem, Map.aim
- Map2.aimmspack: Map problem, alternative version, Map2.aim
- Marathon.aimmspack: Marathon logic problem, Marathon.aim
- Marathon2.aimmspack: Marathon logic problem, different approach, Marathon2.aim
- Marathon3.aimmspack: Marathon logic problem, different approach suggested by Chris Kuip, Marathon3.aim
- Minesweeper.aimmspack: Minesweeper, Minesweeper.aim
- NQueens.aimmspack: N-queens problem, decomposition, slower, NQueens.aim
- NQueens2.aimmspack: N-queens problem, 3 alldifferent approach, faster, NQueens2.aim
- PlaceNumberPuzzle.aimmspack: Place number puzzle, PlaceNumberPuzzle.aim
- QuasigroupCompletion.aimmspack: Quasigroup completion, QuasigroupCompletion.aim
- SendMoreMoney.aimmspack: SEND+MORE=MONEY, SendMoreMoney.aim
- SendMoreMoney2.aimmspack: SEND+MORE=MONEY, alternative version, SendMoreMoney2.aim
- SendMostMoney.aimmspack: SEND+MOST=MONEY and optimize MONEY, SendMostMoney.aim
- SequenceTest.aimmspack: Sequence test, SequenceTest.aim
- Seseman.aimmspack: Seseman problem, Seseman.aim
- SetCovering.aimmspack: Simple set covering problem (Winston), SetCovering.aim
- Sudoku2.aimmspack: Sudoku, alternative version, Sudoku2.aim
- SurvoPuzzle.aimmspack: Survo Puzzle, SurvoPuzzle.aim
- TableTest.aimmspack: A simple version of Table constraint, using FORALL, TableTest.aim
- Tomography.aimmspack: Discrete Tomography, Tomography.aim
- WhoKilledAgatha.aimmspack: Who Killed Agatha (logic problem), WhoKilledAgatha.aim
- Xkcd.aimmspack: Xkcd "knapsack" problem, Xkcd.aim
Also, see my other pages about constraint programming systems:
* My Constraint Programming Blog
* Constraint Programming
* Common constraint programming problems
* My MiniZZinc page
* My Zinc page
* My JaCoP page
* My JaCoP/Scala page
* My Choco page
* My Gecode/R page
* My Comet page
* My Gecode page
* My Gecode/R page
* My ECLiPSe page
* My Essence'/Tailor/Savile Row page
* My SICStus Prolog page
* My Google or-tools (CP Solver) page
* My OscaR page
* My JSR-331 page
* My Numberjack page
* My B-Prolog page
* My Choco3 page
* My Picat page
Back to my homepage
Created by Hakan Kjellerstrand hakank@gmail.com