[Gecode] Some minor changes...
Christian Schulte
schulte at imit.kth.se
Mon Aug 30 21:55:53 CEST 2004
Dear all,
In order to make things more consistent, I did the following:
- ME_GEN_FALSE, me_false are now called ME_GEN_FAILED, me_failed (to be
consistent with the ExecStatus).
- The different status types for posting, propagation, committing, etc
has been unified to a single type ExecStatus.
The macros have been adopted accordingly.
- BranchDesc is now BranchingDesc (as it does not provide information
about a single branch but an entire node!)
- Abstractions for common branchings (variable, value selection) have
been added
- And more stuff.
What I am still thinking about is to rename priority in cost (after all,
it is about cost!): currently BINARY_HI means high cost but low
priority. So also misnomed. Don't know wether I want to change to cost.
I also fixed a major bug in processing the modified set variables: here
the event was always assigned...
Cheers
Christian
More information about the gecode-users
mailing list


Survey Form
The survey is for study purposes. You have to answer all the sections
Name
Email
Number
Value 1
Value 2
Value 3
Orange
Apple
Mango
Red
Blue
Green
Write your message


{{ language | translateSlug: 'LANGUAGES' }} (original) Original Dubbed Subtitled Closed-captioned Select all versions that apply
{{ language | translateSlug: 'LANGUAGES' }} Original Dubbed Subtitled Closed-captioned Select all versions that apply


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 4
Place the chicken strips into a bowl and season with the salt and Chinese five-spice powder.
In a small bowl, mix together the chopped chilli, grated ginger and chopped garlic. Add about a fifth of this mixture to the chicken and mix well, then set the chicken aside to marinate for a few minutes.
Heat the groundnut oil in a wok until starting to smoke, then add the chicken and fry for 2-3 minutes, turning the chicken over once, until golden-brown all over. Transfer the seared chicken, along with any juices, from the wok into a bowl and set aside.
Return the wok to the heat and add the sesame oil. Fry the remaining chilli, ginger and garlic mixture for about 30 seconds, or until fragrant, then add the carrots, cabbage and broccoli and stir fry for 1-2 minutes.
Add the chicken back into the wok (reserving the juices).
In a small bowl, mix together the sake, Shaoxing rice wine, one teaspoon of the nam pla and the sweet chilli sauce, then add to the wok and stir well.
Add the chopped bok choi and spring onions to the wok along with the cooked egg noodles. Stir fry for 1-2 minutes to heat through, then add the beansprouts.
Add the light soy sauce, one tablespoon of sake, the remaining nam pla and the cornflour. Mix well to combine, then add to the wok and cook for one minute, or until the liquid has thickened slightly.
To serve, season the chow mein with freshly ground black pepper and divide among four serving plates. Garnish with the fresh coriander leaves.


- Dijkstra with Modern C++ - link
- Lottery numbers generator using MixMax generator - link
- It is a tool to help anyone creates time series - link
- Kalman Filter - link
- Graph usage - link
- Sample usage of GLPK - link
- CMake Sample - link
- CMake Tutorial - link
- Vanet/DTN (Vehicular Ad-hoc Network) Protocol using Network Simulator - link
- Spatial reference system strings (WKT) parser - link
- Example of Zoom In and Zoom Out using concepts of computer graphics and GTK+3 - link
- Lisp Interpreter - link
- Zip Library usage - link
- Compress usage - link
- SDL Game Framework - link
- Memory Game using Cocos2d-x - link
- Google Dinossaur Game Clone (C++) - link
- Pong Game - link
- SFML Super Buster Clone - link
- Game Loop - link
- Memory Game with Cocos2d-x - link
- My Lectures - link
- Client / Server Example - link
- ptd2ns2 - link
- Lottery number using different techniques - link
- Proxy Server - link


Machine Learning 실습예제 - k-means clustering
Modeling 구성
K-Means Clustering
We will use the following imports for this problem
import os
import numpy as np
import pandas as pd
Part B
Implement a Python function called cost
that takes in a cluster and a centroid, and returns the cost of the cluster associated with that centroid. Assume that each point is given as a list of coordinates, and each cluster is given as a list of points. The five data points you worked with in part (a) are given in this format below.
Hint: Recall that $cost(\mu_j)$ is the total squared distance of each $\overrightarrow{x_i}$ in $C_j$ to $\mu_j$. Start by defining the helper function squared_distance
.
def squared_distance(x, u):
"""Function to calculate the square of the Euclidian distance between a data point x and its centroid u"""
return (x[0] - u[0]) ** 2 + (x[1] - u[1]) ** 2
def cost(C, u):
"""Function to calulate the cost of a cluster and its centroid"""
cost = 0
for i in C:
distance = squared_distance(i, u)
cost = cost + distance
return cost
x1=[3,10]
x2=[5,76]
x3=[1,8]
x4=[2,9]
x5=[3,78]
C1= [x1, x3, x4]
C2= [x2, x5]
Now, calculate the total cost before the first iteration and after the first iteration of the algorithm, with these five data points. Recall that the total cost $cost(\mu_1, \dots, \mu_k)$ is defined as \(cost(\mu_1, \dots, \mu_k) = cost(\mu_1)+\dots+ cost(\mu_k).\) You should find that the cost has decreased after the first iteration.
before_cost = cost(C1, x1) + cost(C2, x2)
after_cost = cost(C1, [2, 9]) + cost(C2, [4, 77])
print("The total cost before the first iteration is", before_cost)
print("The total cost after the first iteration is", after_cost)
The total cost before the first iteration is 18
The total cost after the first iteration is 8
Part C
Using the data points in k_means_data.csv
, follow the prompts below to implement the k-means clustering algorithm with $k=3$ clusters.
We’ll start by reading in the data.
fp = os.path.join("k_means_data.csv")
table = pd.read_csv(fp) #Import the data
data = table.values.tolist() #Put the data in a form that is easier to use
First, write a function to initialize the centroids by choosing $k$ random data points. We’ll use initialize_centroids
with $k=3$ since we want to find three clusters.
def initialize_centroids(data, k):
"""Return k randomly selected centroids from among the data points"""
random_numbers = np.random.choice(len(data), 3, replace = False)
return [data[random_numbers[0]], data[random_numbers[1]], data[random_numbers[2]]]
centroids = initialize_centroids(data, 3)
centroids
[[2.4257491105903943, 7.9548128907273234],
[6.705188928008579, 78.00202552760933],
[3.9966062985857884, 77.1128640020023]]
Next, implement a function that determines the closest centroid for a given data point. The function find_closest_centroid
should take as input a single data point as well as a list of centroids. It should return the centroid that’s closest to the given data point.
Hint: You can use the squared_distance
function you’ve implemented above.
def find_closest_centroid(point, centroids):
"""Function to determine the closest centroid to a given data point"""
lst = []
for i in centroids:
distance = squared_distance(point, i)
lst.append(distance)
minimum = min(lst)
index = lst.index(minimum)
return centroids[index]
The function below puts each data point into a group (cluster), based on which of the centroids it is closest to. The groups are labeled 1 through $k$, where group 1 contains the points that are closest to the first centroid in the centroids
list.
def define_groups(data, centroids):
groups = []
for point in data:
closest = find_closest_centroid(point, centroids)
groups.append(centroids.index(closest)+1)
return groups
group_list = define_groups(data, centroids)
Now, we need to relocate the centroids to the average of all points in that group. The function to do that is provided below. You should read through it and make sure you understand how it works.
def update_centroids(data, k, group_list):
"""Function that takes in data, k, and a list of groups and returns a list of new centroids"""
new_centroids=[]
for i in np.arange(k)+1: #for each cluster
total = np.array([0.0,0.0])
count = 0
for j in range(len(data)): #go through each data point
if group_list[j]==i: #if the data point is in this cluster
total+=np.array(data[j]) #add the data point to this cluster's total
count+=1 #and increment the count of points in this cluster
new_centroid = total/count
new_centroids.append(list(new_centroid))
return new_centroids
new_centroids = update_centroids(data, 3, group_list)
new_centroids
[[-1.1198909887743935, 14.547028738295456],
[6.097314819873166, 78.12828163677702],
[4.4561307948150395, 77.47263629489235]]
Finally, put together the functions above to run the k-means algorithm to find the centroids that yield the least cost. To make it a little easier, just update the centroids a fixed number of times, $1000$ times. You can think about how you would implement a better stopping condition.
Complete the k_means
function below. The inputs are the data, the value of $k$, and the initial centroids. The function should return a list of the centroids after $1000$ updates.
def k_means(data, k, initial_centroids):
"""Implement the k-means algorithm given data points, number of clusters, and initial centroids as input.
Return a list of centroids with least cost."""
group_list = define_groups(data, initial_centroids)
for i in range(1000):
updated_centriods = update_centroids(data, k, group_list)
group_list = define_groups(data, updated_centriods)
return updated_centriods
k_means(data, 3, initialize_centroids(data, 3))
[[1.9920820677628333, 9.118216804679005],
[5.028058561123173, 77.7011187625188],
[-4.231864045311622, 19.9758406719119]]
For this part, turn in screenshots of the three functions you wrote:
initialize_centroids
find_closest_centroid
k_means
as well as the output of your k_means
function.
x_values = []
y_values = []
for i in data:
x_values.append(i[0])
y_values.append(i[1])
data_df = {
'X': x_values,
'Y': y_values
}
import pandas as pd
import matplotlib.pyplot as plt
df = pd.DataFrame(data_df, columns = ['X', 'Y'])
df
| X | Y | |
|---|---|---|
| 0 | 0.671723 | 11.737969 |
| 1 | -3.757326 | 18.536079 |
| 2 | 5.275413 | 78.514845 |
| 3 | 4.006203 | 77.254795 |
| 4 | -5.764720 | 20.356741 |
| ... | ... | ... |
| 193 | 4.050378 | 77.779269 |
| 194 | -3.449263 | 18.837490 |
| 195 | 3.740859 | 76.031105 |
| 196 | -5.839885 | 17.661508 |
| 197 | 1.513687 | 10.920654 |
198 rows × 2 columns
centroids_1000 = k_means(data, 3, initialize_centroids(data, 3))
centroids_1000
[[-4.231864045311622, 19.9758406719119],
[5.028058561123173, 77.7011187625188],
[1.9920820677628333, 9.118216804679005]]
plt.plot(df['X'], df['Y'], '.')
plt.plot(centroids_1000[0][0], centroids_1000[0][1], 'bo')
plt.plot(centroids_1000[1][0], centroids_1000[1][1], 'ro')
plt.plot(centroids_1000[2][0], centroids_1000[2][1], 'ko')
[<matplotlib.lines.Line2D at 0x190a2d63e80>]


Patent Abstract
Patent Number :
Other examples: 6513003, 6510406
Issued Patent,
Published Application
Max Sentence :


Table of Contents
Being able to only match structure is of limited usefulness in querying the database. We must also be able to consider the semantic information contained in object and link attributes when defining and matching queries. Conditions allow queries to move beyond purely structural matches to consider database content. Specifically, conditions serve to restrict the number of query matches by placing requirements on the attributes of an object or link in the database.
Conditions are commonly, but certainly not exclusively, used to enforce type restrictions in query matches. However, QGraph only tests and compares attribute values; it makes no assumptions about how type information is stored. It’s up to you to specify the appropriate attribute to examine.
QGraph provides two types of conditions:
Attribute value conditions restrict matches to only those database entities that match the attribute values specified in the query.
Existence conditions test only to see whether the corresponding object or link has a specified attribute, but does not require that the attribute have any particular value.
To see attribute value conditions in action, let’s revisit the database originally shown in Figure 2.2 and repeated below. This database contains information on authors, books, movies, and the relationships among these entities.
In this database, object type information is represented as the value of the
ObjType attribute and link type information is
represented as the value of the LinkType attribute.
The query in Figure 3.2
identifies all author-book pairs in the data by
matching database structures that connect person objects to book
objects via author-of links.
The text under each query element specifies a condition on that element.
The author vertex has the condition
ObjType = person. Only
objects having the value person for the
ObjType attribute will match this vertex.
Similarly, the query will only match links whose
LinkType attribute have the value
author-of.
Once we add conditions, it’s common to use semantically meaningful names for the vertices and edges in a query. Such names usually reflect the restrictions imposed by the conditions, such as we see above. Although these names may duplicate required attribute values, it is the condition, not the label, that determines query behavior. Executing this query on the database fragment above yields the results shown in Figure 3.3.
Compare these results to the purely structural matches shown in
Figure 2.4.
Adding conditions to the query limits
the results to only those
subgraphs that have the
required attribute values. Specifically, the new query requires that the
author vertex match only
person objects, the
book vertex matches only
book objects, and the
author-of edge matches only
author-of links.
The new query yields only two matches versus the four subgraphs found
by the original query.
As we noted earlier, unlike the SELECT
statement in SQL,
a QGraph query does not specify which attributes
of matching objects or edges are included in the query results
(subgraphs).
This continues to hold even when queries include conditions that
mention only some of these attributes.
All the object and link attributes, not just those mentioned in the
query, are available for inspection in the query results.
In addition to testing for equality, conditions can compare
attribute values to the specified values using the comparison
operators <>
, <
,
<=
, >
, and
>=
.
For example, to find authors who have published before 1990,
we create the following query:
Because the book The Talisman is the only object
with a PubDate before
1990, this query returns the
same results as the earlier example.


 If you want to search all sequences, leave this blank."%}
{%trans "Enter your genus of interest: "%}{{ form.genus }}
{%trans "Return all sequences"%} {%trans "except for "%}{%trans "selected genus:"%} {{ form.everything_but }}
{%trans "Search the following SeqIDs:"%}


An ecommerce website built to brush up on some skills.
Front end: React, Redux, JavaScript, HTML, CSS UI Libraries: Material-UI, React Bootstrap Back end: Node, Express, MySQL


{{columnDefinition}}
{{rawData}}
<tree-grid tree-data="tree_data" tree-control="my_tree"
col-defs="col_defs" expand-on="expanding_property" on-select="my_tree_handler(branch)" expand-level="2"
icon-leaf= "glyphicon glyphicon-globe"></tree-grid>
<tree-grid tree-data="tree_data"></tree-grid>


{% seo %}
☰
{{ site.title }}
{{ page.description | default: site.description }}
Home
Featured
People
News
Publications
Reagents
Album
Contacts
Links
Close ×
{{ content }}


DragonForce are a band the vital statistics of which are well known by now. Album sales figures in the millions, the Grammy nod, the sold-out world tours, the lightspeed guitar work and that Guitar Hero tie-in. What is spoken about less is the band behind the reputation. The stories of on-tour merriment are famous, but less so the enthusiasm and dedication of the musicians responsible for the heavy metal major league outfit.
You may know about Herman Li and Sam Totman’s numerous awards for their virtuoso skill on the guitar, but you may know less about why they came to do what they do. The two guitarists fell in love with touring, and with performing their music live, while playing in their previous band that turned them onto the path they now stride so confidently.
“There’s a special feeling about playing on stage. Some people like to dance to music, some people enjoy going to clubs and head-banging – I just like to play,” says Herman. And it’s this love of performance that led them down their stylistic route. “I wanted something energetic to play – something that you can really let loose and have fun.”
It was on tour where Sam discovered power metal, thinking “this is the catchiest music I’ve ever heard”, and wanting to play those songs for himself. The band came together, a singer was found, and much of the rest is well-documented history. With the significant exception of the “how” part.
The band’s route to success began with, what was at the time, a relatively untapped resource. DragonForce might not have set out with success on a global scale being seen as a realistic goal, but their desire for people to hear their music pushed them worldwide from the start. Around the turn of the decade, the Internet was not the essential tool in spreading the word it was today, but the six- piece had the vision to utilise it with great success, uploading their demo to mp3.com and receiving millions of downloads as a result. It was this that got their momentum going, and paved the way for everything that has followed.


version 1.0 (31st March 2016)
materialxgen is a web-application to generate material themed backgrounds, ideal for wallpapers and web design.
Inspired from Google's Material Design and Adobe Colors.
Created by Abstract Origin.
Email or suggestions at mxgen@abstractorigin.com.


International Education Organisation is a non-profit organisation where individuals or groups with common interest can socialize, meet and collaborate. We believe the core of learning and teaching should be open, free and global!
Find Out More We act as a platform where creatives, the talented or
all rounded can provide lecture style masterclass via small hands on communities
or via Skype for those who wish to learn around the world from each country. Our
teachers vary from students to full time workers within their discipline, taking
their personal time out to provide a stream of education for those who may not have
this opportunity due to culture differences or financial stability.
We endeavour to provide a service for anyone who is seeking to up-skill
or learn within a disciplinary yet contemporary manner. With world class
masterclasses such as English to Humanities, Design to Fine Arts, Mathematics
to IT, we believe everyone is entitled to be an educator or a student.
Share your talents, Host your own lessons classess voluntarily or learn from our volunteers. Knowledge is the new currency
Education is for everyone around the world, We offer online classes over skype and diffrent platforms
Because of many volunteers, many diverse classess appear and disappear, depending on peoples availability. Make sure to stay informed
We are beyond borders and operate around the world, make new friends and find similar interests
Australia has such a rich provision of diversity where various races,
cultures, educational backgrounds and experiences come together. Therefore we believe as an
organisation to use this advantage of diversity to educate and empower individuals in the
midst of it all.
We believe that for any society or community to grow we must share all our strengths and combine them
into a system which makes educating each other enjoyable in the most efficient and practical way.
If you have a with a strong passion and desire to share your knowledge, or you are eager
in learning on a casual/full-time basis, we would love to partner with you or whether.
We would love to have you.
Want to find out more? That's great! Give us a call or send us an email and we will get back to you as soon as possible!
+61411618630


Across: 1. Footballers' heaven shown by satellite? (4 3 4) 9. Fired unfortunate host (4) 10. Eat it during upheaval, showing a lack of appreciation (11) 11. I move quickly round tumbledown building (4) 14. In France she has no name (5) 17. Give in to one quietly, with no difficulty (7) 19. Seasoning made by Dad before quiet Bible study at ford (7) 21. Lister initially established this environment (7) 22. Goes and acts (5) 23. Movement comes from right-back in front of goal (5) 24. Manatee is prepared to come forth (7) 27. Celebrity shoots sailor! (3 4) 28. Collections of words and shapes may be about right (7) 29. State, "My possessions were: one house!" (5) 31. Parking big lorry for insufferable person (4) 34. Upset Palmer, being secure (11) 35. Girl disrupts Tate! (4) 36. Have a look and besiege one entrance (11) Down: 2. Sell five, then finish (4) 3. He goes round Rex to get man (4) 4. Stolen match gives off most warmth (7) 5. The French cat returns to temporary home (5) 6. Possibly 3rd or 5th part of record in album sleeve (7) 7. Everything can be found in Erith venues (3 8) 8. Rents Adidas to make uniform (11) 12. Fathers try disruption inside by means of cracker (5 6) 13. Suitable to take away (11) 15. Draw eel back away from the wind (7) 16. Grave words about hat and pipe (7) 18. Good thing Tessa returned! (5) 20. Safe pan (5) 25. US postie sounds like a real hunk! (7) 26. Part of the truth ought to be considered (7) 30. Consent to move gear east (5) 32. Deputy Marjory has ups and downs on the Force (4) 33. Overabundance of beer belly about fifty (4)


Welcome to the amazingly friendly calculator!
{{ greeting }}
{{ x }} + {{ y }} = {{ result }}
Click the like button if you enjoyed my greeting.


An All about Deadpool Trivia Game. Do you know Deadpool, like I do?
Can you match the number the computer had given without knowing the numbers the emojis equal? Good luck!

Search and watch people play your favorite games!
I would love to hear from you


Federal officials investigate cemetery plane crash
by EndPlayNEW BEDFORD, Mass. - Federal investigators are on the scene of a fatal plane crash in a Massachusetts cemetery.
National Transportation Safety Board investigator Lynn Spencer said Tuesday that investigators will spend about two days at the Rural Cemetery in New Bedford.
A preliminary report is expected in about two weeks.
Westport resident Paul Vidal crashed his Cessna 150 Monday afternoon about 40 minutes after taking off from New Bedford Regional Airport.
>> Previous:
Spencer says witnesses report Vidal was in good spirits as he spent about 15 minutes doing pre-flight checks.
She also cautioned against drawing conclusions from video and witness statements suggesting Vidal was doing aerobatic maneuvers.
Vidal's family says the 74-year-old was a seasoned pilot who loved flying. The Federal Aviation Administration says Vidal was a licensed private pilot since at least 2010.


U.S. to provide Vietnam with coast guard ship, eyes South China Sea
by ReutersHANOI (Nov 20): The United States announced on Wednesday it will provide Vietnam with another coast guard cutter for its growing fleet of ships, boosting Hanoi’s ability to patrol the South China Sea amid tensions with China.
U.S. Defense Secretary Mark Esper disclosed the decision during an address in Vietnam, which has emerged as the most vocal opponent in Asia of China’s territorial claims in the South China Sea.
In the same speech, Esper sharply criticized China.
“China’s unilateral efforts to assert illegitimate maritime claims threaten other nations’ access to vital natural resources, undermine the stability of regional energy markets, and increase the risk of conflict,” Esper told students at the Diplomatic Academy of Vietnam.


-
GenerateRequestInfoMessage
-
Generates the request information using the request and response. This method is called after the request has been made and RemoveSensitiveInfo() has been called as well.
-
GenerateServiceClient
-
Generates the SOAP service client without the proper headers set yet.
-
GenerateSoapClient
-
Generates a SOAP client for the given service name. Generates a user level error if this instalation of PHP does not have the extension for SOAP installed.
-
GenerateSoapHeader
-
Generates the SOAP header for the client.
-
GetAdsUser
-
Gets the user associated with this factory.
-
GetAdsUser
-
Gets the user for this client.
-
GetAuthServer
-
Gets the server used for authentication.
-
GetAuthVarValue
-
Gets the authenticaiton value for the $authVar supplied. If the $authVar is set, it is is used. Otherwirse, the supplied $authenticationIni is queired for the variable. If none is found NULL is returned.
-
GetClientLibraryNameAndVersion
-
Gets the name and version of this client library.
-
GetClientLibraryUserAgent
-
Gets the user agent string that identifies this library for this user.
-
GetDefaultServer
-
Gets the default server.
-
GetDefaultVersion
-
Gets the default version.
-
GetEmail
-
Gets the email of the user making the request.
-
GetHeaderNames
-
Gets the names of all registered request header elements.
-
GetHeaderNames
-
Gets the names of all registered request header elements.
-
GetHeaderValue
-
Gets the value for a registered request header element.
-
GetHeaderValue
-
Gets the value for a registered request header element.
-
GetLastFaultMessage
-
Returns the SOAP fault message if there was any
-
GetLastMethodName
-
Gets the method name for the last method called.
-
GetLastRequestDom
-
Get the DOMDocument representing the last request from this client.
-
GetLastRequestId
-
Gets the request ID for the last call
-
GetLastResponseDom
-
Gets the DOMDocument representing the last response from this client.
-
GetLastResponseTime
-
Gets the response time for the last call
-
GetLogsDirectory
-
Gets the logs directory.
-
GetOAuth2AccessToken
-
Gets an OAuth2 access token after it's been authorized, also saving it on the user.
-
GetOAuth2AuthorizationUrl
-
Gets the OAuth2 authorization URL.
-
GetOAuth2Handler
-
Gets the OAuth2 handler for this user.
-
GetOAuth2Info
-
Gets the OAuth2 info for this user.
-
GetOAuth2Scope
-
Gets the OAuth2 scope for this user.
-
GetOAuthAuthorizationUrl
-
Gets the OAuth authorization URL for the OAuth token.
-
GetOAuthHandler
-
Gets the OAuth handler for this user.
-
GetOAuthInfo
-
Gets the OAuth info for this user.
-
GetOAuthScope
-
Gets the OAuth scope for this user.
-
GetProductName
-
Gets the product name associated with this factory.
-
GetServer
-
Gets the server associated with this factory.
-
GetServer
-
Gets the server that the request was made to.
-
GetServiceLocation
-
Gets the end-point location of the service.
-
GetServiceName
-
Gets the service name for this client.
-
GetServiceSoapClient
-
Gets the service by its service name.
-
GetSoapCompressionLevel
-
Gets the SOAP compression level.
-
GetTypemaps
-
Returns the typemaps to be used when constructing the SOAP client.
-
GetUserAgentHeaderName
-
Gets the appropriate user agent header name for the API this client library is targeting.
-
GetVersion
-
Gets the version associated with this factory.
-
GetWsdlCacheType
-
Gets the type of WSDL caching in use.
-
GetAccessEndpoint
-
Gets the access endpoint using the given server and parameters.
-
GetAccessEndpoint
-
Gets the access endpoint using the given server and parameters.
-
GetAccessToken
-
-
GetAccessToken
-
-
GetAccessToken
-
-
GetAccessToken
-
Gets the access token for an authorized request token.
-
GetAccessToken
-
Gets the access token for an authorized request token.
-
GetApiErrors
-
Gets the ApiErrors in the SOAP fault, if any.
-
GetAuthorizationUrl
-
Gets the authorization URL to redirect to.
-
GetAuthorizationUrl
-
Gets the authorization URL for a request token.
-
GetAuthorizeEndpoint
-
Gets the authorization endpoint using the given server and parameters.
-
GetAuthorizeEndpoint
-
Gets the authorization endpoint using the given server and parameters.
-
GetAuthToken
-
Peforms a POST to get the auth token and then parses the result.
-
GetBase64Data
-
Gets the base64 encoded data from an asset located at path for use with the API where <x>Data is needed.
-
GetCaptchaToken
-
Gets the CATPCHA token for the error.
-
GetCaptchaUrl
-
Gets the CAPTCHA URL for the error.
-
GetDomFromXml
-
Gets the DOMDocument of the $xml.
-
GetError
-
Gets the error that caused the exception.
-
GetInfo
-
-
GetMap
-
Gets a map (associative array) from an array of map entries. A map entry is any object that has a key and value field.
-
GetMapEntries
-
Gets an array of map entries from a map (associative array). A map entry is any object that has a key and value field. An optional map entry class name can be specified for constructing the entries, otherise the stdClass is used.
-
GetOperationIndex
-
Retrieves the operation index from an OGNL expression that references an operation.
-
GetRequestEndpoint
-
Gets the request endpoint using the given server and parameters.
-
GetRequestToken
-
Gets a request token.
-
GetRequestToken
-
-
GetRequestToken
-
-
GetServer
-
Returns the server to make requests to.
-
GetSignedRequestParameters
-
-
GetSignedRequestParameters
-
-
GetSignedRequestParameters
-
Gets the signed OAuth parameters needed to make a request against the given URL.
-
GetSourceOperationIndex
-
Gets the index of the operation that was the source of an error.
-
GetUrl
-
Gets the URL associated with the error.
-
GetValue
-
Gets the value of a choice object.
-
GetValue
-
Gets the value of an OGNL expression in the given context.
-
GetXmlFromDom
-
Gets the XML represenation of the document.
-
$lastArguments
-
The last arguments passed to the called SOAP method
-
$lastHeaders
-
The last headers used in the request.
-
$lastMethodName
-
The name of the last method called from this client.
-
$lastRequest
-
The last SOAP XML request made to the server after PrepareRequest() and RemoveSensitiveInfo() have been called on it.
-
$lastResponse
-
The last SOAP XML response from the server.
-
$lastSoapFault
-
The last SOAP fault generated from the server. NULL if none.
-
LoadSettings
-
Loads the settings for this client library. If the settings INI file located at $settingsIniPath cannot be loaded, then the parameters passed into this method are used.
-
LogAll
-
Configures the library to log all requests.
-
LogDefaults
-
Configures the library to log basic information about all requests and the full SOAP XML request and response only when an error occurs.
-
LogErrors
-
Configures the library to only log requests that return an error.
-
Logger.php
-
-
Log
-
Logs a message to the log at a specific level.
-
Logger
-
A logger class which registers appenders (any writable handle location which can be fopen'ed) with a unique name for that log. The library will write all incoming/outgoing SOAP XML to SOAP_XML_LOG and all records of requests to REQUEST_INFO_LOG.
-
LogToFile
-
Logs the given log to a file at the file path.
-
LogToStream
-
Logs the given log to a stream represented by $phpIoStream. The availble streams are listed here:
-
$serviceName
-
The name of the service this client is accessing.
-
$serviceNamespace
-
The namespace of the service this client is accessing.
-
SoapClientFactory.php
-
-
SetClientLibraryUserAgent
-
Sets the user agent string that identifies this library for this user.
-
SetDefaultServer
-
Sets the default server.
-
SetDefaultVersion
-
Sets the default version.
-
SetHeaderValue
-
Sets the value for a request header.
-
SetHeaderValue
-
Sets the value for a request header.
-
SetOAuth2Handler
-
Sets the OAuth2 handler for this user.
-
SetOAuth2Info
-
Sets the OAuth2 info for this user.
-
SetOAuthHandler
-
Sets the OAuth handler for this user.
-
SetOAuthInfo
-
Sets the OAuth info for this user.
-
SoapClientFactory
-
Base class for all SOAP client factories of Ads client libraries.
-
$SOAP_XML_LOG
-
Logs all incomming and outgoing SOAP XML.
-
$STD_ERR_STREAM
-
Standard error stream for use with the LogToStream method.
-
$STD_OUT_STREAM
-
Standard out stream for use with the LogToStream method.
-
SimpleOAuth2Handler.php
-
-
SoapRequestXmlFixer.php
-
-
SetLogLevel
-
Sets the logging level for a given log. Only messages at that log level or higher will be written to the log.
-
SetOpt
-
-
SimpleOAuth2Handler
-
A simple OAuth 2.0 handler.
-
SoapRequestXmlFixer
-
The SOAP XML request fixer used to fix some inconsistencies among the different versions of the PHP SoapClient.


Not found.
{{.requestURI}}
was not found on this server.
If you are trying to submit your anonymous data for exposure notifications, please contact the public health authority that issued your verification code.
{{define "404"}}
{{template "head" .}}
{{.requestURI}}
was not found on this server.
If you are trying to submit your anonymous data for exposure notifications, please contact the public health authority that issued your verification code.


Close test dialog by clicking on anything. or pressing ESC.
Best Selling Tickets
50 sold since Jan 17
20% more sold than last period12 sold since Jan 17
20% less sold than last periodTry adding a promo code to drive sales.
Add Promo code x3 sold since Jan 17
20% more sold than last periodNot on Sale
Ticket is out of stockUpcoming Sale
Ticket is on sale from tomorrowQuick Settings
Vestibulum quis nulla dui. Donec dapibus, neque ac pulvinar fringilla.
Pellentesque a fringilla nisi. Aliquam bibendum nisi est
Suspendisse auctor arcu ut leo venenatis, eget dignissim nunc luctus.
- 48 Days till event's start
- 12,642 tickets sold
- 648 guests
Reports
- Sales
- Tickets
Attendance
Adult - General
John Doe<EMAIL_ADDRESS>▾
Applied: 13th May 2014 at 10:27
Child Ticket - General
John Doe<EMAIL_ADDRESS>▾
Applied: 13th May 2014 at 10:27
Child Ticket - General
John Doe<EMAIL_ADDRESS>▾
Applied: 13th May 2014 at 10:27


--- layout: post title: BDD with 3 languages - PHP with PHPSpec, Golang with Ginkgo and Javascript with Mocha date: 2014-03-15 07:16:59 UTC updated: 2014-03-15 10:00:59 UTC comments: true category: programming tags: [tdd, bdd, spec, php, phpspec, go, golang, ginkgo, javascript, mocha] --- {% include JB/setup %}
In these series I want to show differences (or similarities) between PHP, Google's Golang, and Javascript when you want to develop your code with BDD techniques. Why? One of reason is that You can easily port your specs to other language, spec is your project and your documentation and if you want learn some new language and You have already written what should be done then half of your work is done already. I was really suprised how easily I ported specs from Go to javascript.
Idea to do some simple BDD excercises came from http://www.wiredtothemoon.com/2012/12/12-tdds-of-christmas/. First I 've done that in PHP, after that I want to try the same in Golang which I was playing with, and because I'm doing some javascript research recently so I've wrote first excercises in Javascript too.
I have my solutions in 3 separate repositories one per language (+ bdd framework)
If You start your adventure with SpecBDD It'll be great boost for You to do whis wiredtothemoon excercises. If You have some ideas how to improve some of this excercises I'll be happy to hear about it.
Here will be updates about my completed excercises.
| No | Excercise | PHP | Golang | Javascript |
|---|---|---|---|---|
| 1 | Calculations | spec src blog | spec src blog | spec src blog |
| 2 | Numbers spelling | spec src | spec src | spec src |
| 3 | Bomberman game | spec src | spec src | spec src |
| 4 | Monty Hall game | spec src | spec src | spec src |
| 5 | FizzBuzz | spec src | spec src | |
| 6 | Recently used list | spec src | spec src | |
| 7 | Template engine | spec src | spec src | |
| 8 | Range class | spec1 src1 spec2 src2 | ||
| 9 | ||||
| 10 | ||||
| 11 | ||||
| 12 | ||||
I'll try to complete some more in near future
Second excercise is little harder. Your task is to write number speller.  Simple isn't it?
First excercise is really warm-up, it's really simple task to calculate some data (sum, avg, min, max, count) from given list of integers. You'll find My solutions below. (all exercises are commited to repository from given language and test framework)
You can find details about my PHP solution in separate post
You can find details about my Golang solution in separate post
You can find details about my Javascript solution in separate post
It's modern technique of writing your tests/specs in PHP world from Konstantin Kudryashov (@everzet). It should be treaten like DSL (don't try to complain that it's not PSR compatible). You can find coverage tool for it too (but probably when You need it in spec way you are doing something wrong). I You are PHPUnit guy (girl) then You should give PHPSpec a try (If You don't write tests/specs for your new code hmm … start doing it now!).
Syntax in Ginkgo is very familiar to many known tools (Rspec from ruby or Mocha from javascript) Your'e defining your expectations. It has many tools which make your Golang concurency easier.
Mocha is written by TJ Holowaychuk author of very popular Express framework. It's really good piece of software. You can install assert library of your choice (I've chosed should.js). Mocha has nice async handling and could be used to write any kind of tests from spec/unit to end-to-end.
Look at: https://github.com/exu/php-12bdds/blob/master/composer.json
If You're bad PHP boy without knowledge about composer you should take a pen and piece of paper and write: "I will use proper tools for my PHP development workflow!" two hundred times!
Remember to call
composer install
in your shell
So You want to write some Golang code. Setup is really simple (https://github.com/onsi/ginkgo) Look at my repository for details https://github.com/exu/bddgo
run:
npm install mocha --save-dev
and start writing your specs in tests directory.
I think that the slighty faster development time You can achieve in PHPSpec. Main reason for it are Its generators. Slighty more readable output in case of errors are in Mocha IMHO in PHPSpec diffs are sometimes annoying (you need to go into verbose mode) and when difference is in long string at the end you'll not receive valid diff.


PARTY
OFFICE
name:
Abbre:
Add
office:
add
name:
Abbre:
Add
name:
Add
Are you sure?
yes
no
welcome,Admin
P
olitico
party
office
user
politician
New
Name
Abbreviation
edit
delete
Chama cha mapinduzi
CCM
Chama cha demokrasia na maendeleo
CHADEMA
Civic United Front
CUF
Office
edit
delete
Member of parliment
District executive officer


{% csrf_token %}
Are you sure to delete the book '{{ book.author }} << {{ book.title }}>>' ?
Confirm


apiClient
class apiClient: NSObject
Visible Interface for the View Controllers Behind it there are other files that are not accessible for them
-
Undocumented
Declaration
Swift
class apiClient: NSObject
-
Undocumented
Declaration
Swift
class apiClient: NSObject
-
Undocumented
Declaration
Swift
class apiClient: NSObject
-
Undocumented
Declaration
Swift
class apiClient: NSObject
-
Undocumented
See moreDeclaration
Swift
class apiClient: NSObject
-
Undocumented
Declaration
Swift
class apiClient: NSObject
-
Example API Call: http://gateway.marvel.com/v1/public/characters/1010870/comics?offset=0&ts=1&apikey=c88613ef9c4edc6dee9b496c6f0d0a93&hash=27861456bf9a405a5e8320359485b698
Declaration
Swift
func fetchHeroes()
Parameters
heroId
The Id of the Hero to get the comics from
-
Returns the list of previously fetched elements - returns: An array of heroes
Declaration
Swift
func getHeroes() -> [Hero]
Return Value
An array of heroes
-
Fetches more elements with a given offset - parameter offset: An int representing the next batch start: 0, 20, 40 - returns: An array of comics
Declaration
Swift
func moreHeroes(offset: Int)
Parameters
offset
An int representing the next batch start: 0, 20, 40
Return Value
An array of comics
-
Finds characters matching name - parameter keystrokes: The text that user introduced in the searchBar
Declaration
Swift
func searchHeroes(keystrokes: String)
Parameters
keystrokes
The text that user introduced in the searchBar
-
Returns the list of previously fetched elements - returns: An array of comics
Declaration
Swift
func getHeroSuggestions() -> [Hero]
Return Value
An array of comics
-
Cleans the Suggestions Ciew Controller and leaves it ready for the next keystroke or deletion
Declaration
Swift
func resetHeroSuggestions()
-
Starts the loading process for a particular Characrter Comic list
Declaration
Swift
func fetchComics(heroId: Int)
Parameters
heroId
The Id of the Hero to get the comics from
-
Returns the list of previously fetched elements - returns: An array of comics
Declaration
Swift
func getComics() -> [Comic]
Return Value
An array of comics


RESCUE PUPPIES
Mickey and Maisy: A Journey Through Our Hearts
MICKEY
MAISY
ADOPT OR FOSTER
FETCH, WI
CUTE STUFF


TMCacheBlock Block Reference
| Declared in | TMCache.h |
|---|
Block Definition
TMCacheBlock
TMCache
is a thread safe key/value store designed for persisting temporary objects that are expensive to
reproduce, such as downloaded data or the results of slow processing. It is comprised of two self-similar
stores, one in memory (TMMemoryCache) and one on disk (TMDiskCache).
typedef void (^TMCacheBlock) (TMCache *cache)
Discussion
TMCache
is a thread safe key/value store designed for persisting temporary objects that are expensive to
reproduce, such as downloaded data or the results of slow processing. It is comprised of two self-similar
stores, one in memory (TMMemoryCache) and one on disk (TMDiskCache).
TMCache
itself actually does very little; its main function is providing a front end for a common use case:
a small, fast memory cache that asynchronously persists itself to a large, slow disk cache. When objects are
removed from the memory cache in response to an “apocalyptic” event they remain in the disk cache and are
repopulated in memory the next time they are accessed. TMCache
also does the tedious work of creating a
dispatch group to wait for both caches to finish their operations without blocking each other.
The parallel caches are accessible as public properties (
Declared In
TMCache.h


Y
m
YAMD
mock
Toggle navigation
0
You have
0
data records
0
You have
0
unique view history records
Dashboard
Home
Dashboard
Welcome!
First Slide
Second Slide
Third Slide
Visitors Report
90,70,90,70,75,80,70
8390
Visits
90,50,90,70,61,83,63
30%
Referrals
90,50,90,70,61,83,63
70%
Organic


Way Farer
Way Farer
Home
Bookings
Book Ticket
Dashboard
Contact Us
LogOut
Ticket Details
Trip id:
#1003
Person Name:
Niyonsenga Eric
Destination:
Kigali-Gisenyi
Seat N_0:
10
Date:
12-04-2018
Time:
12:30
Price:
3500
Person Contact:
+250789769787
PRINT


This is a simple example how to implement the SDDS components in Angular.
Lorem ipsum dolor sit amet consectetur adipisicing elit. Nam aliquid, blanditiis sapiente harum corrupti rem!
Accordion
Breadcrumb
Button
Card
Checkbox
Divider
Dark Coloured LightDropdown
Link
This is an example of a link inside a paragraph. This is an example of a link inside a paragraph.Radio button
Textfield
Toggle
Tooltip


Social Media's Effect on Gen Z & the COVID-19 Pandemic
By Bengal Productions
Christopher Cannon, Kennedye Harris, Gabby Stokes, Jeremiah Kuol, Arian Witherspoon, Tanisha Washington
Hansberry College Prep
We are going to discuss how Gen Z became even more reliant on social media (specifically music) due to a global pandemic. The increased reliance on social media definitely had an overall adverse effect on the mental health of individuals identified as Gen Z.
- 7 minutes
- Color
- 16:9
- English
- Documentary
Meet the Filmmakers
Christopher Cannon
Director
I am a high school student in grade 10 currently attending Evanston Township high school.  I joined YPRPT because it was a nice and fun environment to meet new people around me.
 I joined YPRPT because it lets me engage with others and helps me speak out.
Gabby Stokes
Director
I am a junior and a proud student of the Bengal production. Also, a proud Hansberry student.
Jeremiah Kuol
Editor
I am a 10th grader at Hansberry College Prep (I will be a junior in the fall of 2021) who enjoys most of his time doing hair, drawing, and having fun with friends. I was on the swim team at Hayes Park for 3 years and I am best at backstroke. I love engaging with other people because I am very talkative, hence my involvement with the YPRPT documentary.
Arian Witherspoon
Editor
I am a 12th grade student at Hansberry College Prep. I’m here because I enjoy documentaries and being able to share my thoughts/creativity. I also enjoy listening to others' creative thoughts because sometimes we feed off of each other which is why I signed up for YPRPT.
Tanisha Witherspoon
Team Lead
I am a high school teacher at Hansberry College Prep. I enjoy staying active and being outdoors to do things like swim or play volleyball. I also enjoy working with students which is why I am a part of the YPRPT program.
Social Media's Effect on Gen Z & the COVID-19 Pandemic
Behind the Scenes


3.1. SJSU-Dev2 Style Guide¶
3.1.1. C++ Style¶
SJSU-Dev2 follows the Google C++ style guide with exception to the subjects stated here. See: http://google.github.io/styleguide/cppguide.html
3.1.2. Usage of C files¶
Only on special cases should .c
(C-only) source files be used. When ever
possible, be sure to use C++ rather than C.
3.1.3. C headers¶
Always opt to use the C++ versio of the standard library headers. For example,
besides using <stdlib.h>
use <cstdlib>
.
3.1.4. C++ Standard Libraries¶
Many of the C++ libraries are large and complex and not optimal for the
SJSU-Dev2 project. For the most part stay away from using or including std C++
libraries. For example, simply the simple #include <iostream>
will grow the
executable’s size by 150kB!? Bare in mind that the flash size for the board is
512kB, thats approximately 30% to simply include it, and not even to use it.
- Here are a few standard C++ libraries you can include:
- <variant>
- <utility>
- <tuple>
- <type_traits>
- <limits>
- <bitset>
- <atomic>
- <utility>
- <algorithm>
- <c*> C standard libraries
3.1.5. Curly Braces¶
SJSU-Dev2 will follow the Allman style of curly braces, where each curly brace gets their own line.
A control statement can be done in 1 line, you must be surrounded by curly
braces. For example, if(check) { DoSomething(); }
3.1.6. Infinite Loops¶
Use while(true)
rather than for(;;)
Also, be sure to supply a continue
statement within your while loop to
explicitly show that you mean while(true) { continue; }
3.1.7. Include Guards¶
The first non-comment line of every header file must be #pragma once
.
Do not use the traditional macro include guards.
3.1.8. Memory Allocation¶
SJSU-Dev2 code may NOT use dynamic memory such as with malloc
or
new
. All memory must be preallocated either via stack memory or by
global storage. Code must NOT use C++ libraries that allocate memory, such as
std::string.
3.1.9. Pointers and references¶
Pointer and reference symbols (astricks and ampersand), must be in the center of type and the variable name.
For example: char * array;
and PositronManager & pos;
Prefer storing references over storing pointers. Use pointers only for cases where the pointer’s target may be changed or needs to point to nullptr. References must be passed as const as a function/method parameter.
3.1.10. Using Preprocessor macro¶
Try to stay away from #define as much as possible. Use constexpr and inline in place of macros.
If a macro solution is the most optimal solution, they may be used them, but
they must be prefixed with SJ2_
or _SJ2_
. When prefixed with a
_
, that means that this macro is an internal macro and should not be
called by the application.
3.1.11. Preprocessor Semicolons¶
Macros must force the user to end them with a semicolon. Thus the contents of
the macro must be wrapped with do { ... } while(0)
loop.
Standalone macros must end with a throwaway static_assert
statement.
#define _SJ2_GENERATE_SOMETHING(name) \
bool factory_##name() { return val; } \
static_assert(1 == 1)
3.1.12. Preprocessor Conditionals¶
Prefer ot use #if
rather than #ifdef
. #if
checks for
definition as well as if the expression evaluates to something truthful.
Every #endif
must be commented with the exprssion used in the
#if
statement.
3.1.13. Integer typing¶
Stay away from the use of int
type. Prefer to use the sign and width
designated <cstdint>
integers. Prefer int32_t a = 5;
to
int a = 5;
.
3.1.14. Low Level Driver Constructors¶
Drivers must not use their constructor to initialize hardware perpherials. Initialization should be done explicitly at the application start point main() using an init() method.
This is to ensure that the SystemIntialization and C++ libraries have been initialized before modifing hardware.
The constructor should be used to initialize and set member variables and nothing more.
3.1.15. Usage of constexpr
¶
Prefer to use these whenever possible to do complex computations during compile time rather than during runtime.
3.1.16. File comments¶
The top of each file must include a comment explaining the purpose of the file.
3.1.17. Comment style¶
Prefer that comments be directly above the line it means to comment.
Use // ...
for all comments in the code except for in macros for which
//
cannot be used, thus /* ... */
is acceptable.
3.1.18. Assertive Software¶
Software in SJSU-Dev2 should be as assertive, in that you should use the
static_assert()
compile time error function whenever the user performs
and illegal action. For example, lets say the developer put 0Hz for the
constructor of the SystemClock class. There should be a
static_assert()
check done the parameters to make sure that the value
is within a reasonable range.
class SystemClock
{
constexpr SystemClock(uint32_t frequency)
{
static_assert(1 <= frequency && frequency <= 100000000,
"SystemClock frequency must be between 1 and 100000000");
}
}
3.1.19. File formatting¶
Every file must end with a newline character.
3.1.20. Number formatting¶
Never use decimal or octal when doing bitsise operations. You may use hex
0x32
, or binary 0b0011'0010
.
Please DO use the single quote '
to seperate your numbers for example:
0b0110'1000'0101'1110
and 12'000'000
.
Making the number segments more visible if there are obvious mistakes.


Chance to grab a winter coat for free in Perth
Kind pair set up pop-up event so no one goes cold
by Rachel Clark, https://www.dailyrecord.co.uk/authors/rachel-clark/Perth residents who are facing spending a cold winter with no proper jacket to wear will be able to pick up one for free this weekend.
A pop-up event will be held on Sunday, November 17 in North Muirton Community Centre, where winter clothes including jackets, scarves and boots will be given out to those in need.

Cheryl explained: “My friend and I decided there are too many people who are cold at this time of year, particularly people who are on benefits.
“Coats, boots and scarves are the most expensive things to buy.
“There is so much poverty with people having to use food banks, and I see a lot of people going about and they haven’t got a proper winter coat on.
“It makes me feel really bad.
“So we put out the word for people to give us their old coats for all ages of kids and men’s and women’s, and they will be put out at a pop-up event this Sunday in the North Muirton Community Centre.
“Everyone who comes on Sunday will be given a ticket and they will be allowed to take one of each item for every member of their family.
“They can take it for free, and be all cosy this winter.
“I know charity shops sell coats but sometimes they cost about £10.”
Cheryl is hoping as many people as possible come along to the pop-up on Sunday, which will be open from 10am until 2pm.
She continued: “I hope people will not be too proud to come in.
“I have had times where I have not been as able.
“When it was just me and my little boy I had to buy coats off eBay, but I am in a better position now.
“I got in touch with the food bank and they are going to tell everyone who comes in about it, and we have given leaflets to all the schools, particularly those in deprived areas, so teachers can also hand them out.
“We have also put out leaflets in the local shop and in the CATH (Churches Action for The Homeless) centre.
“We have had so many donations, we have about 30 giant bin bags full and there is still more coming in.
“I have been so surprised at how generous people have been.
“Some of the stuff we have been given is immaculate, and some of it has never been worn.
“One woman gave us a bag of knitted teddies for the kids as well.
“Everyone has really pulled together for it, and I really want a lot of people to come.”
The event will run in North Muirton Community Centre from 10am until 2pm on Sunday, November 17.
Donations can also be handed in to the community centre on Sunday.


0% loaded
Level
Find the exit. Use WASD or arrow keys to move.
[M] Music is On [N] Sound is On
credits


I am a Licensed Professional Counselor Associate with experience working with individuals, couples and adolescents dealing with an array of presenting issues: depression, anxiety, mental illness, sexual abuse, divorce, separation and pre-marital adjustment to name a few. I am certified in Prepare and Enrich marital/pre-marital counseling and my interest and passion continues to grow strong in the issues surrounding marriage.
I have a passion for working with all individuals struggling in life and will strive to offer encouragement to take some difficult steps in the interest of positive change.
I operate from a wellness perspective which has a belief that we all seek balance in the many different facets of life in order to find a sense of stability and health. I believe in the power of active, empathetic listening and an unconditional positive regard for my clients as a foundation for building relationships.
I consider the aspects of living to be like a baby mobile wherein if one aspect is knocked out of balance the entire mobile can shake affecting both our internal and external harmony and peace. I would be blessed and privileged to walk alongside you in your journey to seek positive change in your life.
Mental health issues addressed:
Hourly rates begin at $60 per hour. The scale adjusts based off of income and details are discussed in first session or in initial phone call.
Please Note: I do not accept insurance at this time and only accept cash or check.
If you are seeking help and are currently in a place of harm to self or others, or significant distress to self, please go straight to your nearest hospital or call 911 for immediate help.
Balanced Life Therapy 8401 Shelbyville Road Suite #222 Louisville, Kentucky 40222
Get Started!Ready to start your next step? That's great! Give me a call or send me an email and I will get back to you as soon as possible!
(513) 828-9706


9GridHelper
Ver 1.0
Generate
My
Library
Preferences
Generate
Image
Description
Create Date
DELETE
EXPORT
Grid Point Fill
Shadow
Connect Line
Reset Password
x:
y:
set a password
password:
valid:
valid password:
Reset Password
old password:
new password:
valid password:


int odbc_field_num ( resource $result_id , string $field_name )
Gets the number of the column slot that corresponds to the named field in the given result identifier.
Returns the field number as a integer, or FALSE on error. Field numbering starts at 1.


The ANNIE named entity recognition service. Identifies names of persons, locations, organizations, as well as money amounts, time and date expressions.


No rain fell, for the moment. Rand guided Tai’daishar around an uprooted tree lying across the slope and frowned down at a dead man sprawled on his back behind the tree trunk. The fellow was short and blocky, his face creased, and his armor all overlapping plates lacquered blue and green, but staring sightlessly at the black clouds overhead, he looked a deal like Eagan Padros, even to the missing leg. An officer, plainly; the sword beside his outflung hand had an ivory hilt carved in the likeness of a woman, and his lacquered helmet, shaped like some huge insect’s head, bore two long thin blue plumes.
Uprooted trees and shattered ones, a fair number burning from end to end, littered the slope of the mountain for a good five hundred paces. Bodies, too, men broken or ripped apart when saidin harrowed the mountainside. Most wore steel veils across their faces, and breastplates painted in horizontal stripes. No women, thank the Light. The injured horses had been put down, another thing to be thankful for. It was incredible how loudly a horse could scream.
Do you think the dead are silent? Lews Therin’s laugh was rasping. Do you? His voice turned to pained rage. The dead howl at me!
At me, too, Rand thought sadly. I can’t afford to listen, but how do you shut them up? Lews Therin began weeping for his lost Ilyena.
“A great victory,” Weiramon intoned behind Rand, then muttered, “But small honor in it. The old ways are best.” Mud liberally decorated Rand’s coat, yet surprisingly, Weiramon appeared as pristine as he had back on the Silver Road. His helmet and armor shone. How had he managed? The Taraboners charged, at the end, lances and courage against the One Power, and Weiramon had led his own charge to break them. Without orders, and followed by every Tairen save the Defenders, even a half-drunk Torean, surprisingly. By Semaradrid and Gregorin Panar, too, with most of the Cairhienin and Illianers. Standing still had been hard by that time, and every man wanted to come to grips with something he actually could come to grips with. The Asha’man could have done it faster. If somewhat more messily.
Rand had taken no part in the fighting, except to sit his saddle where men could see him. He had been afraid to seize the Power. He did not dare display weakness for them to catch. Not a scrap. Lews Therin gibbered with horror at the very idea.
Equally surprising as Weiramon’s unsullied coat, Anaiyella rode with him, and for once not simpering. Her face was pinched and disapproving. Strangely, it did not spoil her looks nearly so much as her unctuous smiles did. She had not joined the charge herself, of course, any more than Ailil, but Anaiyella’s Master of the Horse had, and the man was most definitely dead, with a Taraboner lance through his chest. She did not like that one bit. But why did she accompany Weiramon? Just Tairens flocking together? Maybe. She had been with Sunamon, the last Rand had seen.
Bashere walked his bay up the slope, picking his way around the dead while seeming to pay them no more mind than he did a splintered tree trunk or a burning stump. His helmet hung from his saddle, and his gauntlets were stuffed behind his sword belt. He was mud all down his right side, and his horse as well.
“Aracome’s gone,” he said. “Flinn tried Healing him, but I don’t think Aracome wanted to live like that. There’s near fifty dead so far, and some of the rest might not survive.” Anaiyella paled. Rand had seen her near Aracome, emptying herself. Dead commoners did not affect her so much.
Rand felt a moment of pity. Not for her, and not very much for Aracome. For Min, though she was safely back in Cairhien. Min had foretold Aracome’s death from one of her viewings, and Gueyam and Maraconn’s, too. Whatever she had seen, Rand hoped it had not been anywhere near the reality.
Most of the Soldiers were off scouting again, but down in the broad meadow, gateways woven by Gedwyn’s Dedicated were spilling out the supply carts and the remounts. The men coming with them gaped as soon as they were clear enough to see. The muddy ground was not so well plowed as the mountainside, yet blackened furrows, two paces wide and fifty long, carved through the brown grass, and gaping holes a horse might not be able to leap. They had not found the damane so far. Rand thought there had to be only one; more would have done considerably greater damage under the circumstances.
Men moved around a number of small fires where water boiled for tea, among other things. For once, Tairens, Cairhienin and Illianers mingled. Not just the commoners.  Maraconn and Kiril Drapaneos, a stork of a man whose square-cut beard looked odd on his narrow face, were squatting on their heels near one of the fires. Playing cards, by the look of it! Torean had a whole circle of laughing Cairhienin lordlings around him, though they might have been less amused by his jokes than by the way he swayed and rubbed at his potato nose. The Legionmen kept apart, but they had taken in the “volunteers” who had followed Padros to the Banner of Light. That lot seemed more eager than anyone since learning how Padros died. Blue-coated Legionmen were showing them how to change direction without falling apart like a gaggle of geese.
Flinn was among the wounded with Adley and Morr and Hopwil. Narishma could Heal little more than minor cuts, no better than Rand, and Dashiva not even that. Gedwyn and Rochaid stood talking well apart from anyone else, holding their horses by the reins atop the hill in the middle of the valley. The hill where they had expected to catch the Seanchan by surprise when they rushed out of gateways surrounding it. Near fifty dead, and more to come, but it would have been above two hundred without Flinn and the rest who could manage Healing to one degree or another. Gedwyn and Rochaid had not wanted to dirty their hands and grimaced when Rand drove them to it. One of the dead was a Soldier, and another Soldier, a round-faced Cairhienin, sat slumped beside a fire with a dazed look that Rand hoped came from being tossed through the air by the ground erupting almost under his feet.
Down there on the furrowed flats, Ailil was conferring with her Lance-captain, a pale little man called Denharad. Their horses stood nearly touching, and occasionally they looked up the mountain toward Rand. What were they scheming?
“We’ll do better next time,” Bashere murmured. He ran his gaze around the valley, then shook his head. “The worst mistake is to make the same one twice, and we won’t.”
Weiramon heard him and repeated the same thing, but using twenty times the words, and flowery enough for a garden in spring. Without admitting that there had been any mistakes, certainly not on his part. He avoided Rand’s mistakes with equal adroitness.
 Next time they would do better. They had to, unless he wanted to leave half his men buried in these mountains. Right then, he was wondering what to do with the prisoners.
Most of those who escaped death on the mountainside had managed to withdraw through the trees that remained standing. With amazingly good order considering, Bashere claimed, yet they were unlikely to be much threat now. Not unless they had the damane with them. But a hundred or so men sat huddled on the ground, stripped of weapons and armor, under the watchful eyes of two dozen mounted Companions and Defenders. Taraboners, for the most part, they had not fought like men driven to it by conquerors. A fair number held their heads up, and jeered at their guards. Gedwyn had wanted to kill them, after putting them to the question. Weiramon did not care whether they had their throats slit, but he considered torture a waste of time. None would know anything useful, he maintained; there was not a one nobly born.
Rand glanced at Bashere. Weiramon was still going on sonorously. “ . . . sweep these mountains clean for you, my Lord Dragon. We’ll trample them beneath our hooves, and . . . ” Anaiyella was nodding grim approval.
“Six up, and half a dozen down,” Bashere said softly. He scraped mud from one of his thick mustaches with a fingernail. “Or as some of my tenants say, what you gain on the swings, you lose on the roundabouts.” What in the Light was a roundabout? A great help that was!
And then one of Bashere’s patrols made matters worse.
The six men came prodding a prisoner along the slope ahead of their horses with the butts of their lances.  Her face was dirty, too, and tear-streaked. She stumbled and half-fell, but the prodding was more gesture than actual touching. She glared scornfully at her captors, even spitting once. She sneered at Rand, too.
“Did you hurt her?” he demanded. A strange question, perhaps, about an enemy after what had happened in this valley. About a sul’dam. But it popped out.
“Not us, my Lord Dragon,” the gruff-faced patrol leader said. “We found her like this.” Scratching his chin through a black flowing beard, he eyed Bashere as if for support. “She claims we killed her Gille. A pet dog, or cat, or some such, the way she carries on. Her name’s Nerith. We got that much out of her.” The woman turned and snarled at him again.
Rand sighed. Not a pet dog. No! That name did not belong on the list! But he could hear the litany of names reciting itself in his head, and “Gille the damane” was there. Lews Therin moaned for his Ilyena. Her name also was on the list. Rand thought it had a right.
“This is a Seanchan Aes Sedai?” Anaiyella asked suddenly, leaning over the pommel of her saddle to peer hard at Nerith. Nerith spat at her, as well, eyes widening in outrage. Rand explained the little he knew of sul’dam, that they controlled women who could channel with the aide of a leash-and-collar ter’angreal but could not themselves channel, and to his surprise, the dainty simpering High Lady said coldly, “If my Lord Dragon feels constrained, I’ll hang her for him.” Nerith spat at her again! Contemptuously, this time. No shortfall of courage there.
“No!” Rand growled. Light, the things people would do to get on his good side! Or maybe Anaiyella had been closer to her Master of the Horse that was considered proper. The man had been stout and balding—and a commoner; that counted heavily with Tairens—but women did have strange tastes in men. He knew that for a pure fact.
“As soon as we’re ready to move again,” he told Bashere, “turn the men down there loose.” Taking prisoners along when he launched his next attack was out of the question, and leaving a hundred men—a hundred now; more later, for sure—leaving them to follow with the supply carts risked fifty kinds of mischief. They could cause no trouble left behind. Even the fellows who had gotten away on horseback could not carry a warning faster than he could Travel.
Bashere shrugged faintly; he thought it might be so, but then again there was always the odd chance. Strange things happened even without a ta’veren around.
Weiramon and Anaiyella opened their mouths almost together, faces set in protest, but Rand pressed on. “I’ve spoken, and it’s done! We’ll keep the woman, though. And any more women we capture.”
“Burn my soul,” Weiramon exclaimed. “Why?”  Anaiyella’s mouth twisted in contempt before she managed to turn it to a simpering smile for the Lord Dragon.  They would have hard walking in this terrain, not to mention short rations. And the weather was not weather to turn a woman out in.
“I have enough Aes Sedai against me without sending sul’dam back to their trade,” he told them. The Light knew that was true! They nodded, if Weiramon was slow about it; Bashere looked relieved, Anaiyella disappointed. But what to do with the woman, and any more he captured? He did not intend to turn the Black Tower into a prison. The Aiel could hold them. Except that the Wise Ones might slit their throats the moment his back was turned. What about the sisters that Mat was taking to Caemlyn with Elayne, though? “When this is done, I’ll hand her over to some Aes Sedai I choose.” They might see it as a gesture of goodwill, a little honey to sweeten their having to accept his protection.
 Howling without cease, she flung herself down the slope, scrabbling over downed trees, falling and scrambling back up.
“Bloody—! Catch her!” Rand snapped, and the Saldaean patrol leaped after the woman, jumping their mounts across the tree-littered slope careless of broken legs and necks. Still wailing, she dodged and darted among the horses with even less care.
In the mouth of the easternmost pass, a gateway opened in a flash of silver light. A black-coated Soldier pulled his horse through, jumped to the saddle as the gateway winked out and put his mount to a gallop, toward the hilltop where Gedwyn and Rochaid waited. Rand watched impassively. In his head, Lews Therin snarled of killing, killing all the Asha’man before it was too late.
By the time the three of them started up the slope toward Rand, four of the Saldaeans had Nerith down on the ground, binding her hand and foot. It took four, the way she thrashed and bit at them, and an amused Bashere was offering odds on whether she might not overcome them instead. Anaiyella muttered something about cracking the woman’s head. Did she mean cracking it open? Rand frowned at her.
The Soldier between Gedwyn and Rochaid glanced at Nerith uneasily as they rode past. Rand vaguely remembered seeing him at the Black Tower, the day he first handed out the silver Swords, and gave Taim the very first Dragon pin. He was a young man, Varil Nensen by name, still wearing a transparent veil to cover his thick mustaches. He had not hesitated when he found himself facing his countrymen, though. Allegiance was to the Black Tower and the Dragon Reborn, now, so Taim always said. The second part of that always sounded an afterthought.
“You may have the honor of making your report to the Dragon Reborn, Soldier Nensen,” Gedwyn said. Wryly.
Nensen sat up straight in his saddle. “My Lord Dragon!” he barked, slapping fist to chest. “There’s more of them about thirty miles west, my Lord Dragon.” Thirty miles was as far as Rand had told the scouts to go before returning. What good if one Soldier found Seanchan while the rest kept moving ever farther west? “Maybe half what were here,” Nensen went on. “And . . . ” His dark eyes flickered toward Nerith again. She was tied, now, the Saldaeans struggling to get her over a horse. “And I saw no sign of women, my Lord Dragon.”
Bashere squinted at the sky. Dark clouds lay in a blanket from mountain peak to mountain peak, but the sun should still be high. “Time to feed the men before the rest return,” he said, nodding in satisfaction. Nerith had managed to sink her teeth into a Saldaean’s wrist and was hanging on like a badger.
“Feed them quick,” Rand said irritably. Would every sul’dam he captured be as difficult? Very likely. Light, what if they took a damane? “I don’t want to spend all winter in these mountains.” Gille the damane. He could not erase a name once it went onto that list.
The dead are never silent, Lews Therin whispered. The dead never sleep.
Rand rode down toward the fires. He did not feel like eating.
From the point of a thrusting shoulder of stone, Furyk Karede carefully studied the forested mountains rising all around him, sharp peaks like dark fangs. His horse, a tall dappled gelding, stiffened his ears as though catching a sound he had missed, but otherwise the animal was still. Every so often, Karede had to stop and wipe the lens of his looking glass. A light rain fell from a gray morning sky. His helmet’s two black plumes were bent over instead of standing straight, and water ran down his back. A light rain compared to yesterday, anyway, and probably compared to tomorrow. Or this afternoon, perhaps. Thunder rumbled ominously in the south. Karede’s concern had nothing to do with weather, though.
Below him, the last of twenty-three hundred men snaked through the winding passes, men gathered from four outposts. Well-mounted, reasonably well-led, yet a bare two hundred were Seanchan, and just two besides himself wore the red-and-green of the Guard. Most of the remainder were Taraboners—he knew their mettle—but a good third were Amadicians and Altarans, too new to their oaths for any to be sure how they would stand up. Some Altarans and Amadicians had switched allegiance two or three times already. Tried to, anyway. People this side of the Aryth Ocean had no shame. A dozen sul’dam rode near the front of the column, and he wished all twelve had leashed damanes walking by their horses instead of only two.
Fifty paces farther on, the ten men of the spearhead were watching the slopes above them, though not as carefully as they should have. Too many men who rode spearhead relied on the forward scouts to find any dangers. Karede made a note to speak to them personally. They would do their duties properly after that, or he would send them to the labor levies.
A raken appeared in the east ahead, skimming low over the treetops, twisting and turning to follow the curves of the land like a man running his hand down a woman’s back. Peculiar. Morat’raken, fliers, always liked to soar high unless the sky was actually full of lightning. Karede lowered the looking glass to watch.
“Maybe we’ll finally get another scouting report,” Jadranka said. To the other officers waiting behind Karede, not to him. Three of the ten matched Karede’s rank, yet few except the Blood disturbed a man in the blood-red and nearly black green of the Deathwatch Guard. Not that many among the Blood did.
According to the tales he had heard as a child, one of his ancestors, a noble, had followed Luthair Paendrag to Seanchan at Artur Hawkwing’s command, but two hundred years later, with only the north secure, another ancestor tried to carve out a kingdom of his own and ended sold from the block instead. Perhaps it was so; many da’covale claimed noble ancestors. Among themselves, at least; few of the Blood found such chatter amusing. In any case, Karede had felt lucky when the Choosers picked him out, a sturdy boy not yet old enough to be assigned duties, and he still felt pride in the ravens tattooed on his shoulders. Many Deathwatch Guards went without coat or shirt whenever possible, to display those. The humans, anyway. Ogier Gardeners were not marked or owned, but that was between them and the Empress.
Karede was da’covale and proud of it, like every man of the Guard, the property of the Crystal Throne, body and soul. He fought where the Empress pointed, and would die the day she said die. To the Empress alone did the Guard answer, and where they appeared, they appeared as her hand, a visible reminder of her. No wonder that some among the Blood could become uneasy watching a detachment of Guardsmen pass. A far better life than mucking out a Lord’s stables or serving kaf to a Lady. But he cursed the luck that had sent him into these mountains to inspect the outposts.
The raken darted on westward, the two fliers crouched low in their saddle. There was no scouting report, no message for him. Furyk knew it was his imagination, but the creature’s long, outstretched neck somehow looked . . . anxious. Had he been anyone else, he might have been anxious, too. There had been few messages for him since his orders three days ago to assume command and move east. Each message had thickened the fog more than cleared it.
The locals, these Altarans, had moved into the mountains in force, it seemed, but how? The roads along the northern border of this range were patrolled and watched nearly to the border of Illian, by fliers and morat’torm as well as horse-mounted parties. What could have made the Altarans decide to show so many teeth? To stand together? A man might find himself in a duel for a look—though they had begun to learn challenging a Guardsman was just a slower way of cutting your own throat—but he had seen nobles of this so-called nation trying to sell each other and their Queen for the mere suggestion that their own lands might be protected and perhaps those of their neighbor added to them.
Nadoc, a big man with a deceptively mild face, twisted in his saddle to watch the raken. “I don’t like marching blind,” he muttered. “Not when the Altarans have managed to put forty thousand men up here. Forty, at least.”
Jadranka snorted so hard that his tall white gelding shifted. Jadranka was the senior of the three captains behind Karede, having served as long as Karede himself. A short thin man with a prominent nose and such airs you might have thought him of the Blood. That horse would stand out at a mile. “Forty thousand or a hundred, Nadoc, they’re scattered from here to the end of the range, too far apart to support one another. Stab my eyes, likely half are dead already. They must be tangling with outposts everywhere. That’s why we aren’t getting reports. We’re just expected to sweep up the remnants.”
Karede swallowed a sigh. He had hoped Jadranka was not a fool atop his airs. Praise of victors spread quickly, whether they were an army or half a Banner. It was the rare defeats that were swallowed in silence and forgotten. So much silence was . . . ominous.
“That last report didn’t sound like remnants to me,” Nadoc persisted.  “There are five thousand men not fifty miles ahead of us, and I doubt we’ll take them with brooms.”
Jadranka snorted again. “We’ll crush them, with swords or brooms. The Light burn my eyes, I can hardly wait for a decent engagement. I told the scouts to press on until they found them. I won’t have them slipping away from us.”
“You did what?” Karede said softly.
Soft or not, his words jerked every eye toward him. Though Nadoc and a few of the others had to struggle to stop gaping at Jadranka. Scouts told to press ahead, scouts told what to look for. What had gone unseen for those orders?
Before anyone could open his mouth shouts rose from the men in the pass, screams and the shrieks of horses.
Karede pressed the leather tube of the looking glass to his eye. Along the pass ahead of him, men and horses were dying under a hail of what he thought must be crossbow bolts, the way they hammered through steel breastplates, exploded through chests protected by mail. Hundreds were down already, hundreds more sagging wounded in their saddles or afoot and running from horses thrashing on the ground. Too many were running. Even as he looked, men still mounted whirled their horses to try fleeing back up the pass. Where in the Light were the sul’dam? He could not find them. He had faced rebels who had sul’dam and damane, and they always had to be killed as fast as possible. Maybe the locals had learned that.
Suddenly, shockingly, the ground began to erupt in roaring fountains all along the writhing snake of his command, fountains that flung men and horses into the air as easily as dirt and stones. Lightning flashed out of the sky, blue-white bolts shattering earth and men alike. Other men simply exploded, ripped to shreds by nothing he could see. Did the locals have damane of their own? No, it would be those Aes Sedai.
“What are we going to do?” Nadoc said. He sounded shaken. As well he might.
“Do you think to abandon your men?” Jadranka snarled. “We rally them and attack, you—!” He cut off, gurgling, as Karede’s swordpoint went neatly into his throat. There were times fools could be tolerated, and times not. As the man toppled from his saddle, Karede deftly wiped his blade on the gelding’s white mane before the animal bolted. There were times for a little show, too.
“We rally what can be rallied, Nadoc,” he said as if Jadranka had never spoken. As if he had never been. “We save what can be saved, and fall back.”
Turning to ride down into the pass where lightnings flashed and thunders roared, he ordered Anghar, a steady-eyed young man with a fast horse, to ride east and report what had transpired here. Perhaps a flier would see and perhaps not, though Karede suspected he knew why they flew low, now. He suspected the High Lady Suroth and the generals in Ebou Dar already knew what was occurring up here, too. Was today the day he died for the Empress? He dug his heels into his horse’s flanks.
From the flat, thinly treed ridge, Rand peered westward over the forest before him. With the Power in him—life, so sweet; vileness, oh, so vile—he could see individual leaves, but it was not enough. Tai’daishar stamped a hoof. The jagged peaks behind, to either side, and all around overtopped the ridge by a mile or more, but the ridge stood well above the treetops below, a rolling wooded valley over a league in length and nearly as wide. All was still down there. As quiet as the Void he floated in. Quiet for the moment, anyway. Here and there plumes of smoke rose from where two or three trees in a clump burned like torches. Only the general wet stopped them turning the valley into a conflagration.
Flinn and Dashiva were the only Asha’man still with him. All the rest were down in the valley. The pair stood a little way from him at the edge of the trees, holding their horses by the reins and staring at the forest below. Well, Flinn stared, as intently as Rand himself. Dashiva glanced occasionally, twisting his mouth, sometimes muttering to himself in a way that made Flinn shift his feet and eye him sideways. The Power filled both men, nearly to overflowing, but for a change, Lews Therin said nothing. The man seemed increasingly to have gone back into hiding over the last few days.
In the sky there was actually sunlight, and the scattered clouds were gray. It was five days since Rand had brought his small army to Altara, five days since he had seen his first Seanchan dead. He had seen quite a few since. Thought slid across the surface of the Void. He could feel the heron branded into his palm pressing against the Dragon Scepter through his glove. Silent. There were none of the flying creatures to be seen. Three of those had died, slashed from the sky by lightning, before their riders learned to stay clear. Bashere was fascinated by the creatures. Quiet.
“Perhaps it is finished, my Lord Dragon.” Ailil’s voice was calm and cool, but she patted her mare’s neck, though the animal did not need soothing. She eyed Flinn and Dashiva sideways and straightened, unwilling to reveal a shred of unease in front of them.
Rand found himself humming and stopped abruptly. That was Lews Therin’s habit, looking at a pretty woman, not his. Not his! Light, if he started taking on the fellow’s mannerisms, and when he was not there, at that . . . !
Abruptly, hollow thunder boomed up the valley. Fire fountained out of the trees a good two miles away or more, then again, and again, again. Lightning streaked down into the forest not far from where the tall flames had bloomed, single slashes like jagged blue-white lances. A flurry of lightning bolts and fire, and all was still again. No trees had caught fire, this time.
Some of that had been saidin. Some of it.
Shouts rose, dim and distant, from another part of the valley, he thought. Too far for even his saidin-enhanced ears to hear the crash of steel. Despite everything, not all of the fighting was being done by Asha’man and Dedicated and Soldiers.
Anaiyella let out a long breath she must have been holding since the exchange with the Power began. Men fighting with steel did not disturb her. Then she patted her mount’s neck. The gelding had only flickered an ear. Rand had noticed that about women. Quite often, when a woman was agitated, she tried to soothe others whether they required soothing or not. A horse would do. Where was Lews Therin?
Irritably he leaned forward to study the forest canopy again. A good many of those trees were evergreens—oak and pine and leatherleaf—and despite the late drought, they made an effective screen, even to his intensified vision. As if idly, he touched the narrow bundle under his stirrup leather. He could take a hand. And strike blindly. He could ride down into the woods. And be able to see ten paces at most. Down there, he would be little more effective than one of the Soldiers.
A gateway opened among the trees a little way along the ridge, silvery slash widening into a hole that showed different trees and thick winter brown underbrush. A copper-skinned Soldier with a thin mustache on his upper lip and a small pearl in his ear exited afoot and let the gateway vanish. He was shoving a sul’dam ahead of him with her wrists tied behind her, a handsome woman except for the purple knot on the side of her head. That seemed to go along with her scowl, though, as well as it did with her rumpled, leaf-stained dress. She sneered over her shoulder at the Soldier while he pushed her along the ridgetop to Rand, and then she sneered up at Rand.
The Soldier stiffened, saluting smartly. “Soldier Arlen Nalaam, my Lord Dragon,” he barked, staring straight at Rand’s saddle. “My Lord Dragon’s orders were to bring any women captured to him.”
Rand nodded.  “Take her back to the carts, Soldier Nalaam, then return to the fighting.” He almost ground his teeth saying that. Return to the fighting. While Rand al’Thor, Dragon Reborn and King of Illian, sat his horse and watched treetops!
Nalaam saluted again before pushing away the woman ahead of him, but he was not slow about it. She kept peering over her shoulder again, yet not at the Soldier this time. At Rand. With wide-eyed, openmouthed astonishment. For some reason, Nalaam did not pull her to a halt until he reached the spot where he had come out. All that was necessary was to go far enough to avoid injuring the horses.
“What are you doing?” Rand demanded as saidin filled the man.
Nalaam half turned back to him, hesitating briefly. “It seems easier, here, if I use a place I’ve already made a gateway, my Lord Dragon. Saidin . . . Saidin feels . . . strange . . . to me here.” His prisoner turned to frown at him.
After a moment, Rand gestured him to go ahead. Flinn pretended to be interested in his horse’s saddle girth, but the balding old man smiled faintly. Smugly. Dashiva . . . giggled. Flinn had been the first to mention an odd feel to saidin in this valley. Of course, Narishma and Hopwil had heard him, and Morr added his tales of the “strangeness” around Ebou Dar. Small wonder everyone was claiming to feel something now, though not a one could say what. Saidin just felt . . . peculiar. Light, with the taint thick on the male half of the Source, what else would it feel? Rand hoped they were not all coming down with his new sickness.
Nalaam’s gateway opened, and vanished behind him and his prisoner. Rand let himself really feel saidin. Life and corruption commingled; ice to make winter’s heart seem warm, and fire to make a forge’s flames cold; death, waiting for him to slip. Wanting him to slip. It did not feel any different. Did it? He scowled at where Nalaam had disappeared. Nalaam and the woman.
She was the fourth sul’dam taken this afternoon. That made twenty-three sul’dam prisoners with the carts. And two damane, each still in her silvery leash and collar, carried on separate carts; in those collars, they could not walk three steps before becoming more violently sick than Rand did seizing the Source. He was not sure the sisters with Mat would be pleased to receive them after all. The first damane, three days before, he had not thought of as a prisoner. A slender woman with pale yellow hair and big blue eyes, she was a Seanchan captive to be freed. He thought. But when he forced a sul’dam to remove the woman’s collar, her a’dam, she screamed for the sul’dam to help her and immediately began lashing out with the Power. She had even offered her neck for the sul’dam to replace the thing! Nine Defenders and a Soldier died before she could be shielded. Gedwyn would have killed her on the spot had Rand not stopped it. The Defenders, nearly as uncomfortable around women who could channel as others were around men who could—the Defenders still wanted her dead. They had taken casualties in the fighting these past days, but having men killed by a prisoner seemed to offend them.
There had been more casualties than Rand had expected. Thirty-one Defenders dead, and forty-six Companions. More than two hundred among the Legionmen and the noble’s armsmen. Seven Soldiers and a Dedicated, men Rand had never met before they answered his summons to Illian. Too many, considering that all except the gravest injury could be Healed, if a man could only hang on until there was time. But he was driving the Seanchan west. Driving them hard.
More shouting rose somewhere far off down in the valley. Fire blossomed a good three miles to the west, and lightning struck, toppling trees. Trees and stone erupted from a mountainside farther on, strange fountains marching along the slope. The roaring booms swallowed shouts. The Seanchan were retreating.
“Get down there,” Rand told Flinn and Dashiva. “Both of you. Find Gedwyn and tell him I said push! Push!”
Dashiva grimaced at the forest below, then began awkwardly tugging his horse along the ridge. The man was ungainly with horses, riding or leading. He nearly tripped over his sword!
Flinn looked up at Rand worriedly. “You mean to stay here alone, my Lord Dragon?”
“I’m hardly alone,” Rand said dryly, glancing at Ailil and Anaiyella. They had ridden back to their armsmen, almost two hundred lancers waiting just short of where the ridge began to slope down to the east. At their head, Denharad frowned through the face-bars of his helmet. He had command of both lots, now, and if his concern was for Ailil and Anaiyella, his fellows still made a show fit to keep away most attackers. Besides, Weiramon had the northern end of this ridge secured so a fly could not pass, he claimed, and Bashere held the south. Without boasting; Bashere just erected a wall of lances without talking about it. And the Seanchan were retreating. “And I’m hardly helpless, anyway, Flinn.”
Flinn actually looked doubtful and scratched his fringe of white hair before saluting and leading his horse toward where Dashiva’s gateway was already winking out. Limping along, Flinn shook his head, muttering to himself fit for Dashiva. Rand wanted to snarl. He could not go mad, and neither could they.
Flinn’s gateway vanished, and Rand returned to his study of the treetops. It was quiet again. Time stretched in stillness. This notion of taking the outposts in the mountains had been a bad one; he was willing to admit that, now. In this terrain, you could be half a mile from an army without knowing. In those tangled woods down there, you could be ten feet from them without knowing! He needed to face the Seanchan on better ground. He needed . . .
Abruptly he was fighting saidin, fighting wild surges that tried to ream out his skull. The Void was vanishing, melting beneath the onslaught. Frantic, dazed, he released the Source before it could kill him. Nausea twisted his middle. Double vision showed him two Crowns of Swords.  He was on the ground!  There was a chip broken off one of the crown’s golden laurel leaves, and blood stained several of the tiny golden swordpoints. A knot of hot pain in his side told him those never-healing wounds had broken open. He tried to push himself up, and cried out. In stunned amazement he stared at the dark fletchings of an arrow stuck through his right arm. With a groan he collapsed. Something ran down his face.  Blood.
Vaguely he became aware of ululating cries. Horsemen appeared among the trees to the north, galloping along the ridge, some with lowered lances, some working short bows as fast as they could nock and draw. Horsemen in blue-and-yellow armor of overlapping plates, and helmets like huge insects’ heads. Seanchan, several hundred of them it seemed. From the north. So much for Weiramon’s fly.
Rand struggled to reach the Source. Too late to worry about sicking up, or falling on his face. Another time, he might have laughed at that. He struggled . . . It was like fumbling for a pin in the dark with numbed fingers.
Time to die, Lews Therin whispered. Rand had always known Lews Therin would be there at the end.
Not fifty paces from Rand, screaming Tairens and Cairhien plowed into the Seanchan.
“Fight, you dogs!” Anaiyella shrieked, swinging down from her saddle beside him. “Fight!” The willow lady in her silks and laces hurled a string of curses that would have made a wagon driver’s tongue go dry.
Anaiyella stood holding her mount’s reins, glaring from the mill of men and steel to Rand. It was Ailil who turned him onto his back.  He could not seem to move. He felt drained. He was not sure he could blink. Screams and the clash of steel rang in his ears.
“If he dies on our hands, Bashere will hang both of us!” Anaiyella certainly was not simpering now. “If those black-coated monsters get hold of us . . . !” She shuddered, and bent closer to Ailil, gesturing with a belt knife he had not noticed in her hand before. A ruby sparkled blood-red on the hilt. “Your Lance-captain could break off enough men to get us away. We could be miles away before he’s found, and back to our estates by the time—”
“I think he can hear us,” Ailil broke in calmly. Her red-gloved hands moved at her waist. Sheathing a belt knife? Or drawing one?
Hooves thundered past Rand on either side in thick streams. Galloping north, toward the Seanchan. Sword in hand, Bashere barely reined in before leaping from his saddle. Gregorin Panar dismounted more slowly, but he waved his sword at the men flooding by. “Strike home for King and Illian!” he shouted. “Strike home! The Lord of the Morning! The Lord of the Morning!” The crash of steel rose higher. And the screaming.
“It would be like this at the last of it,” Bashere growled, favoring the two women with suspicious glares. He wasted only an instant, though, before raising his voice above the din of battle. “Morr! Burn your Asha’man hide! Here, now!” He did not shout that the Lord Dragon was down, thank the Light.
 Enough to see Illianers and Saldaeans driving on north. The Seanchan must have given way.
“Morr!” The name roared through Bashere’s mustaches, and Morr himself dropped from a galloping horse nearly on top of Anaiyella. She looked disgruntled at the lack of an apology as the man knelt beside Rand, scrubbing dark hair out of his face. She moved back quickly enough when she realized he intended to channel, though, practically bounding away. Ailil was much smoother about rising, but not noticeably slower in stepping clear. And she slipped a silver-handled belt knife back into its sheath at her waist.
Healing was a simple matter, if not exactly comfortable. The fletchings were broken off and the arrow drawn the rest of the way through with a sharp jerk that brought a gasp to Rand’s lips, but that was just to clear the way. Dirt and lightly embedded fragments would fall way as flesh knit itself up, but only Flinn and a few others could use the Power to remove what was driven deep. Resting two fingers on Rand’s chest, Morr caught his tongue between his teeth with a fixed expression and wove Healing. That was how he always did it; it did not work for him, otherwise. It was not the complex weaves that Flinn used. Few could manage that, and none as well as Flinn, so far. This was simpler. Rougher. Waves of heat rushed through Rand, strong enough to make him grunt and send sweat gushing from every pore. He quivered violently from head to foot. A roast in the oven must have felt that way.
The sudden flood of heat ebbed slowly, and Rand lay panting. In his head, Lews Therin panted, too. Kill him! Kill him! Over and over.
Muting the voice to a faint buzz, Rand thanked Morr—the young man blinked as if surprised!—then grabbed the Dragon Scepter from the ground and forced himself to his feet. Erect, he swayed slightly. Bashere started to offer an arm, then backed away at a gesture. Rand could stand unaided. Barely. He could as soon have flown by waving his arms as channeled, though. When he touched his side, his shirt slipped on blood, yet the old round scar and the newer slash across it merely felt tender. Half-healed only, but they had never been better than that since he got them.
For a moment, he studied the two women. Anaiyella murmured something vaguely congratulatory and offered him a smile that made him wonder whether she intended to lick his wrist. Ailil stood very straight, very cool, as if nothing had happened. Had they meant to leave him to die? Or to kill him? But if so, why send their armsmen charging in and rush to check on him? On the other hand, Ailil had drawn her knife once the talk of him dying began.
Most of the Saldaeans and Illianers were galloping north or riding down the slope of the ridge, pursuing the last of the Seanchan. And then Weiramon appeared from the north, riding a tall, glossy black at a slow canter that picked up when he saw Rand. His armsmen rode in double file at his back.
“My Lord Dragon,” the High Lord intoned as he dismounted. He still seemed as clean as he had in Illian. Bashere simply looked rumpled and a bit grimy here and there, but Gregorin’s finery was decidedly dirt-stained, and slashed down one sleeve besides. Weiramon flourished a bow to shame a king’s court. “Forgive me, my Lord Dragon. I thought I saw Seanchan advancing in front of the ridge and went to meet them. I never suspected this other company. You can’t know how it would pain me if you were injured.”
“I think I know,” Rand said dryly, and Weiramon blinked. Seanchan advancing? Perhaps. Weiramon would always snatch at a chance for glory in the charge. “What did you mean, ‘at the last,’ Bashere?”
“They’re pulling back,” Bashere replied. In the valley, fire and lightning erupted for a moment as if to give him the lie, but nearly to the far end.
“Your . . . scouts do say they all do be retreating,” Gregorin said, rubbing his beard, and gave Morr a sidelong, uncomfortable glance. Morr grinned at him toothily. Rand had seen the Illianer in the thick of fighting heading his men, shouting encouragement and laying his sword about with wild abandon, but he flinched at Morr’s grin.
Gedwyn strode up then, leading his horse carelessly, insolently. He almost sneered at Bashere and Gregorin, frowned at Weiramon as if already knowing the man’s blunder, and eyed Ailil and Anaiyella as though he might pinch them. The two women drew back from him hastily, but then, so did the men except for Bashere. Even Morr. Gedwyn’s salute to Rand was a casual tap of fist to chest. “I sent scouts out as soon as I saw this lot was done. There are three more columns inside ten miles.”
“All headed west,” Bashere put in quietly, but he looked at Gedwyn sharp enough to slice stone. “You’ve done it,” he told Rand. “They’re all falling back. I doubt they’ll stop short of Ebou Dar. Campaigns don’t always end with a grand march into the city, and this one is finished.”
Surprisingly—or perhaps not—Weiramon began arguing for an advance, to “take Ebou Dar for the glory of the Lord of the Morning,” as he put it, but it was certainly a shock to hear Gedwyn say he would not mind taking a few more swipes at these Seanchan and he certainly would not mind seeing Ebou Dar. Even Ailil and Anaiyella added their voices in favor of “putting an end to the Seanchan once and for all,” though Ailil did add that she would as soon like to avoid having to return to finish. She was quite sure the Lord Dragon would insist on her company for it. That in a tone as cool and dry as night in the Aiel Waste.
Only Bashere and Gregorin spoke for turning back, and raise their voices they did increasingly as Rand stood silent. Silent and staring west. Toward Ebou Dar.
“We did do what we came for,” Gregorin insisted. “Light’s mercy, do you think to take Ebou Dar itself?”
Take Ebou Dar, Rand thought. Why not? No one would expect that. A total surprise, for the Seanchan and everybody else.
“Times are, you seize the advantage and ride on,” Bashere growled.  I say it’s time to go home.”
I would not mind you in my head, Lews Therin said, sounding almost sane, if you were not so clearly mad.
Ebou Dar. Rand tightened his hand on the Dragon Scepter, and Lews Therin cackled.