- trips/index
- renders a list of trips0.29746s
- Photo
- uploads to flickr0.53279s
- deletes from flickr0.01170s
- GET 'maps'
- returns trip maps0.26500s
- GET 'show'
- returns a trip with the right fields0.40715s
- GET 'route'
- returns trip route0.01674s
- GET 'attributes'
- returns trip attributes0.10893s
- GET 'photos'
- returns trip photos5.22187s
- GET 'index'
- returns a list of trips0.05437s
- login page
- doesn't log in bad users0.35629s
- logs imported users in0.15725s
- logs users in0.05209s
- displays the login form0.01496s
- GET index
- returns a list of users0.16847s
- GET show
- returns a user0.03196s
- Api::V1::TrailheadsController
- GET 'show'
- returns a trailhead with the right fields0.03336s
- GET 'index'
- returns a sublist of trailheads0.04564s
- GET 'photos
- returns trailhead photos5.32907s
- GET 'maps
- returns trailhead maps0.03678s
- GET 'attributes
- returns trailhead attributes0.16734s
- GET 'index'
- returns a list of trailheads0.05536s
- trailheads/edit
- renders the edit trailhead form0.03471s
- trips/edit
- renders the edit trip form0.03488s
- user_profiles/edit
- renders the edit user_profile form0.03187s
- home page
- displays the home page0.00932s
- should not display notice or alert0.00284s
- rails admin
- let's admin users in1.07327s
- displays the login form0.02320s
- doesn't let non admin users in0.05794s
- GET /trips
- works! (now write some real specs)0.02292s
- campgrounds/show
- renders attributes in
0.02942s
- Api::V1::AttributeCategoriesController
- GET index
- returns a list of users0.02196s
- GET show
- returns a user0.01433s
- GET /campgrounds
- works! (now write some real specs)0.02023s
- GET /trailheads
- works! (now write some real specs)0.02008s
- Api::V1::CampgroundsController
- GET 'maps
- returns campground maps0.03659s
- GET 'show'
- returns http success0.02804s
- GET 'attributes
- returns campground attributes0.16287s
- GET 'index'
- returns http success0.05274s
- GET 'photos
- returns campground photos5.17549s
- signup page
- signs up new users0.25525s
- displays the signup form0.01744s
- requires email0.03988s
- campgrounds/new
- renders new campground form0.03079s
- Trip
- should return the right length0.00548s
- routing
- routes to #destroy0.00354s
- routes to #show0.00272s
- routes to #new0.00243s
- routes to #update0.00270s
- routes to #edit0.00269s
- routes to #create0.00238s
- routes to #index0.00237s
- DELETE destroy
- destroys the requested user_profile0.13206s
- redirects to the user_profiles list0.02480s
- GET new
- assigns a new user_profile as @user_profile0.02611s
- GET show
- assigns the requested user_profile as @user_profile0.02402s
- with valid params
- assigns the requested user_profile as @user_profile0.02721s
- updates the requested user_profile0.02416s
- redirects to the user_profile0.02108s
- with invalid params
- assigns the user_profile as @user_profile0.02488s
- re-renders the 'edit' template0.02486s
- GET edit
- assigns the requested user_profile as @user_profile0.02056s
- with valid params
- assigns a newly created user_profile as @user_profile0.02410s
- creates a new UserProfile0.02139s
- redirects to the created user_profile0.01930s
- with invalid params
- assigns a newly created but unsaved user_profile as @user_profile0.01703s
- re-renders the 'new' template0.01815s
- GET index
- assigns all user_profiles as @user_profiles0.02146s
- UserProfile
- sets url0.00139s
- trailheads/index
- renders a list of trailheads0.04391s
- trips/new
- renders new trip form0.02464s
- routing
- routes to #destroy0.00324s
- routes to #show0.00273s
- routes to #new0.00244s
- routes to #update0.00265s
- routes to #edit0.00260s
- routes to #create0.00230s
- routes to #index0.00222s
- handling AccessDenied exceptions
- redirects to the sign in page0.01955s
- redirects to the root for a regular user0.02305s
- DELETE destroy
- destroys the requested trailhead0.02328s
- redirects to the trailheads list0.01765s
- GET new
- assigns a new trailhead as @trailhead0.00854s
- GET show
- assigns the requested trailhead as @trailhead0.01447s
- with valid params
- assigns the requested trailhead as @trailhead0.11919s
- updates the requested trailhead0.01569s
- redirects to the trailhead0.01254s
- with invalid params
- assigns the trailhead as @trailhead0.01519s
- re-renders the 'edit' template0.01644s
- GET edit
- assigns the requested trailhead as @trailhead0.01226s
- with valid params
- assigns a newly created trailhead as @trailhead0.01113s
- creates a new Trailhead0.01204s
- redirects to the created trailhead0.01021s
- with invalid params
- assigns a newly created but unsaved trailhead as @trailhead0.00849s
- re-renders the 'new' template0.00818s
- GET index
- assigns all trailheads as @trailheads0.01178s
- routing
- routes to #destroy0.00370s
- routes to #show0.00327s
- routes to #new0.00254s
- routes to #update0.00275s
- routes to #edit0.00286s
- routes to #create0.00246s
- routes to #index0.00233s
- trailheads/show
- renders attributes in
0.01387s
- user_profiles/new
- renders new user_profile form0.02190s
- DELETE destroy
- destroys the requested trip0.02406s
- redirects to the trips list0.01724s
- GET new
- assigns a new trip as @trip0.00811s
- GET show
- assigns the requested trip as @trip0.01425s
- with valid params
- assigns the requested trip as @trip0.01427s
- updates the requested trip0.01533s
- redirects to the trip0.01218s
- with invalid params
- assigns the trip as @trip0.01402s
- re-renders the 'edit' template0.01362s
- GET edit
- assigns the requested trip as @trip0.01186s
- with valid params
- assigns a newly created trip as @trip0.01088s
- creates a new Trip0.01266s
- redirects to the created trip0.01044s
- with invalid params
- assigns a newly created but unsaved trip as @trip0.00846s
- re-renders the 'new' template0.00823s
- GET index
- assigns all trips as @trips0.01206s
- campgrounds/index
- renders a list of campgrounds0.04043s
- trips/show
- renders attributes in
0.01438s
- DELETE destroy
- destroys the requested campground0.01986s
- redirects to the campgrounds list0.01689s
- GET new
- assigns a new campground as @campground0.00982s
- GET show
- assigns the requested campground as @campground0.01557s
- with valid params
- assigns the requested campground as @campground0.01400s
- updates the requested campground0.01493s
- redirects to the campground0.01150s
- with invalid params
- assigns the campground as @campground0.01361s
- re-renders the 'edit' template0.01347s
- GET edit
- assigns the requested campground as @campground0.01324s
- with valid params
- assigns a newly created campground as @campground0.12304s
- creates a new Campground0.01238s
- redirects to the created campground0.01033s
- with invalid params
- assigns a newly created but unsaved campground as @campground0.00921s
- re-renders the 'new' template0.00856s
- GET index
- assigns all campgrounds as @campgrounds0.01098s
- user_profiles/index
- renders a list of user_profiles0.03181s
- GET /user_profiles
- works! (now write some real specs)0.06462s
- routing
- routes to #destroy0.00375s
- routes to #show0.00294s
- routes to #new0.00245s
- routes to #update0.00274s
- routes to #edit0.00275s
- routes to #create0.00229s
- routes to #index0.00216s
- trailheads/new
- renders new trailhead form0.02361s
- user_profiles/show
- renders attributes in
0.01228s
- campgrounds/edit
- renders the edit campground form0.02516s
- DataImport
- imports campgrounds correctly0.03133s
- imports stories correctly0.03069s
- imports trip maps correctly0.28238s
- imports campground maps correctly0.28808s
- imports trip features correctly0.30842s
- imports trailhead features correctly0.29446s
- imports users properly0.01320s
- imports trailheads correctly0.03150s
- imports parnters correctly0.30422s
- imports featured tab correctly0.77393s
- imports campground features correctly0.28980s
- imports agencies correctly0.29625s
- does not import user profiles if the user does not exist0.00330s
- imports trailhead maps correctly0.27921s
- imports recent activity correctly0.04142s
- does not import inactive users0.00114s
- imports trailhead photos correctly0.00569s
- imports campground photos correctly0.00531s
- imports trip photos correctly0.00552s
- imports user profiles properly0.81390s
- imports parks correctly0.01169s
- imports attribute categories correctly0.00919s
- imports campground maps correctly0.28553s
- imports trips correctly0.03524s
- imports regional landing pages correctly0.01979s
- imports nonprofit partners correctly0.32007s
- imports transit routers correctly0.15827s
- imports transit agencies correctly0.01085s
- User
- should login with django_password0.01066s
- should find by email0.01090s


By default, functionality is hooked to the data-xrayhtml
attribute.
Bolting the data-xrayhtml
attribute on without a value will give you inline code snippets, like so:
Setting “flip” as the value of the data-xrayhtml
attribute will give you this snazzy flip-to-reveal animation (browsers without support for 3D tranforms will simply show/hide the code snippet).
The plugin fires off a create.xrayhtml
event that can be used to attach features like a “copy to clipboard” option (using ZeroClipboard, here) or syntax highlighting (using Prism.js here).


BuyOnline System Home Page
Customer Registration:
Registration
Customer Login:
Log-In
Store Manager Login:
Administration


For millions of students in Africa, electricity is not available at home, forcing families to use dangerous methods of light such as kerosene lamps. I wanted to make a small difference in their lives by developing, Solite, a solar light book that is environmentally friendly and easy to use. The light book has a solar panel embedded into the front cover and includes a USB port so you can charge with an outlet. The light book can be charged by being exposed to sunlight. The light book can be folded, so the covers reach each other and connect with the magnets installed in the covers, or simply opened halfway and set on a flat surface. The light book is also the size of a regular book, so it can be taken with you anywhere you go! This past June, 103 solar light books were delivered to children in a school in Sierra Leone. Currently, I am working on partnering with more non profits to distribute the solar light books to other countries in need.
During a blackout after a rainstorm in February 2017, I was unable to complete my homework. Using candles and flashlights was not convenient. Soon after the blackout, I found out that there are 1.2 billion people in the developing world without electricity.
An estimated 500 million households have to use unsafe sources of light such as kerosene lamps, which are flammable and can cause lung cancer, as well as respiratory and eye problems. These statistics led me to come up with the idea for Solite, a solar light book. I was thrilled that my idea was recognized in the 2017 National Geographic Chasing Genius competition, where I was one of the finalists under the Sustainable Planet category.
After a year of developing the product, I can now send the light book to children in need of safer light sources at night. I hope that children can use Solite as a safe and sustainable light source to study or play at night so they can have more educational opportunities.
I am partnering with Develop Africa, a non-profit organization, to distribute these light books to children in Sierra Leone. A donation of $20 can help us send one book to a family, but any amount of donations are appreciated. We are trying to send out the first batch of 100 books to Africa as soon as possible. Your donation is tax deductible. Thank you for your support and feel free to contact me with any questions or concerns at<EMAIL_ADDRESS>.
Contact me with your questions and comments at solarlightbook@gmail.com


Ping-Pong
About Ping Pong
Created by:
Alice Hsiao
GitHub Username/URL
alicehsiao
Let's play!
Rules:
Ping Pong will count up to your number from 1 with the following exceptions:
Numbers divisible by 3 become "ping"
Numbers divisible by 5 become "pong"
Numbers divisible by 3 and 5 become "pingpong"
Enter your number here:
Ping Pong!


ORG_2000018 - has organizational associate
Label
has organizational associate
Editor preferred label
has associate
Sub property of
Definition
The property that associates an organization with a person who is associated with the organization
Definition source
Michael Conlon https://orcid.org/0000-0002-1304-8448
Domain
Inverse of
Example
One might say that an organization has associates who are their former employees
Editor’s note
Associate is intentionally loose. A person can be associated with an organization in many ways. Subsequent additional properties may be needed to clarify.
Term editor
Michael Conlon https://orcid.org/0000-0002-1304-8448


Torque 2D - Fish Game Tutorial - Part 6
6. Adding More Gameplay
Ok now that we have our basic game play implemented, we can add a few more aspects to it. Right now, the goal of the fish is to gather the food. So what we can do, is add in another fish that swims by at random locations, and picks up the food instead of our fish. This means we will create a new class for this new type of fish, though we don't have to worry about any input aspects. These new fish will simply swim from one side of the level to the other. Once off screen we can move them to a random Y location and then make them swim back.
Our first step is to create the scripts
that will control the movement of the fish. So browse to the MyFishGame/gameScripts
folder and create a new script file called "fish.cs." Also remember that since
we have added a new script file, we need to make sure it gets included when T2D
runs. Open up your game.cs script file so we can add a new exec()
command. We need to add another exec statement to our startGame() function.
function startGame(%level) { exec("./player.cs"); exec("./fishfood.cs"); exec("./fish.cs"); Canvas.setContent(mainScreenGui); Canvas.setCursor(DefaultCursor); new ActionMap(moveMap); moveMap.push(); $enableDirectInput = true; activateDirectInput(); enableJoystick(); sceneWindow2D.loadLevel(%level); }
Code Sample 6.1.1
Now our new fish.cs script will be included when we run T2D. Open it up, and before we add our onLevelLoaded() function for our new fish, lets add a couple of helper functions. This fish class will act a bit differently than our FishPlayer class. Since we aren't controlling it, we just want it to go from the left side to the right side. This can be handled in the onWorldLimit callback, just like our bubble. Instead of checking for a bottom world limit we'll be checking for left or right. We also want to add a bit more than just the fish moving back and forth trying to eat our food, so we will make it randomly reposition itself on the Y axis when it hits the world limit. When the fish goes to the left and off the screen, it hits the world limit, flips around, randomly repositions itself in the Y axis and comes back. On top of this, we can have it choose a random speed between its min and max, just like our bubble did. Now with all of these aspects combined, we should have a more fun game experience. First we will add some helper functions.
function Fish::getSpeed(%this) { return getRandom(%this.minSpeed, %this.maxSpeed); }
Code Sample 6.1.2
This function is fairly simple. When we call this getSpeed() function, it returns a random number between our min and max speeds. Now lets add our repositioning function.
function Fish::reposition(%this) { %this.setPositionY(getRandom(-45, 30)); }
Code Sample 6.1.3
This function is simple as well. We call reposition() and the function generates a random position between -45 and 30, and then places our fish there.
Now we can add our onLevelLoaded callback. With these helper functions, that will be a lot easier.
function Fish::onLevelLoaded(%this, %scenegraph) { %this.setLinearVelocityX(%this.getSpeed()); }
Code Sample 6.1.4
We default our fish to moving in the positive X direction (right), because the fish image is defaulted to facing right. When we switch back and forth, we will need to handle the flipping of the image in script. Now add our onWorldLimit function.
function Fish::onWorldLimit(%this, %mode, %limit) { switch$(%limit) { case "left": %this.setFlipX(false); %this.setLinearVelocityX(%this.getSpeed()); %this.reposition(); case "right": %this.setFlipX(true); %this.setLinearVelocityX(-%this.getSpeed()); %this.reposition(); } }
Code Sample 6.1.5
In this function, we don't use an if statement like in our bubble. Since we are checking for two directions it's much easier to use a switch statement. A switch statement allows you to handle multiple value comparisons to a variable, instead of using a lot of else if statements. As you can see, we look at our %limit variable (which should contain either "left", "right", "top", or "bottom) and depending on whether its case is "left" or "right" we handle it differently. Also notice that we use a "switch$" with the extra "$" for this statement. If we were doing a numerical comparison (for example if %limit held the value of 5) then we wouldn't need this extra "$". We add it since we are doing a string comparison (just like "$=" is a string comparison as well).
If we hit our left limit, we flip the image to face right, set its velocity to a positive speed, and then reposition it. If we hit our right limit, we flip the image back to its default facing of left, set it to a negative velocity in the X axis and reposition it. As you can see, the helper functions definitely simplify this.
Our last step before testing is to add a collision case for our bubble. Since this is a different class, we want to add it to the comparison so the bubble can be respawned if it collides. Open up your fishfood.cs and find your onCollision function. Make it look like this.
function FishFood::onCollision(%srcObj, %dstObj, %srcRef, %dstRef, %time, %normal, %contactCount, %contacts) { if(%dstObj.class $= "PlayerFish" || %dstObj.class $= "Fish") { %srcObj.spawn(); } }
Code Sample 6.1.6
Notice that all we added was '|| %dstObj.class $= "Fish"' to the if statement. If you aren't familiar with coding/scripting the "||" means or. So if our colliding object is either of the PlayerFish class or the Fish class, then we spawn the bubble again. Be sure to save your scripts, and now we can move on to the Level Builder.
Time to go back to the Level Builder. Go to the Animated Sprites object library and click one of the fish animations (I would suggest choosing a different one than your player fish) (as shown in Figure 6.1.1). Now, drag the fish animated sprite and drop it off to the right side of your level (as shown in Figure 6.1.2). You may need to resize it to be more appropriate. Also be sure to set the new fish's layer to 16 so it will also swim in between the rocks like the player fish.
|
|
|
Figure 6.1.3
Now that our class is set, we need to do a couple of more things. We need to set up the world limit for this fish so that they fit just outside of the level (as shown in Figure 6.1.4). Make sure that the world limit gives the fish enough space to move completely off screen on the left and right side.
We need to set the properties for the world limit. In the right panel expand the World Limits label and change the world Limit Mode from "OFF" to "NULL" mode. Also be sure to check the Callback check box to make sure we get that script callback (as shown in Figure 6.1.5).
|
|
|
|
Figure 6.1.6
Figure 6.1.7
Now we can save our level and press the Play Level button to test it! You should see your newly added fish swim back and forth, it also should gather up the food. If you are not getting the proper results be sure you have saved your script file changes to each file.
Well, the one fish swimming around
eating up your food adds a bit more of a game play element, but more fish would
make it even more interesting. Fortunately this is very easy. Select your newly
added fish, then go to the Edit menu in the top toolbar. Choose Copy
from the menu (as shown in Figure 6.2.1). Now go back to the Edit
menu and choose paste (as shown in Figure 6.2.2). Now click and drag
your selected fish, we now have two fish (as shown in Figure 6.2.3)! Go
to your Edit tab, and at the top you should see an Animation option
with a dropdown to the right of it. Click the dropdown and change the animation
(as shown in Figure 6.2.4). You should see the fish change to a
different animated sprite. Now we have two fish. Repeat this process two more
times, and choose a different fish animation frame each time (as shown in
Figure 6.2.5). Keep in mind you may have to resize the object
after you change the animation to fit appropriately for the new animation.
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
With multiple fish swimming back and forth, fish that also have different images and are going at random speeds each pass, our game is starting to be interesting and fun. Now that we have a goal and some obstacles, we need to provide a motivation for reaching that goal. Why does it need to eat the food? Also why does it need to eat food before the enemies do? We will give the fish a life (total). Its life will slowly decrease and when it eats food it will increase its life a certain amount. That way, when the fish doesn't eat food quickly enough it will die. This means two things, we need to visually represent the fish's life somehow, and we need to give it a death event. One of the easiest visual ways to notify the player that the fish is dying is it's size. We can have it resize itself in relation to its life. That way if you don't get food you shrink and die, and if you get food you grow larger. We can make its starting size at about 80% of its life. That way another 20% and it will be fully grown; but if it gets to less than 30% of its size then it will die.
We will need to add an update function to our FishPlayer class that will gauge its life and size the fish accordingly. First, we must determine what its full size will be. My fish currently is about 15 width and 15 height. So if we size it up about 20% more it will be about 18 and 18. We also need to store the fish's life. We will store it as a percent, so it will be a value between 0 and 100. The easiest way to store this is in the Level Builder , by selecting our player fish and adding two dynamic fields. Add "maxWidth" at "18" and "maxHeight" at "18". Also add another field called "life" and set it to "100" (as shown in Figure 6.3.1). Now that we have these values attached to our fish player, we can reference them in script. Doing things this way allows us to easily test different values by simply changing fields in the Level Builder and then playing the level to see the results.
Figure 6.3.1
Be sure to save the level, and now we are finished with the Level Builder and can dig into the player.cs script file(under your MyFishGame/gameScripts folder). We are going to need to add a couple more functions to our PlayerFish class. First we will add a modifyLife() function that we can pass a positive or negative number which will adjust our total life value. Inside this function we will also need to make sure our life stays above 0 and below 100. Add this function after your PlayerFish::updateMovement(%this) function (after its ending curly brace }).
function PlayerFish::modifyLife(%this, %dmg) { %this.life += %dmg; if(%this.life > 100) { %this.life = 100; } else if (%this.life < 0) { %this.life = 0; } if(%this.life <= 30) { %this.dead(); } else { %this.updateLifeSize(); } }
Code Sample 6.3.1
Here we added a new function to the PlayerFish class called "modifyLife()." We pass this function only one value (the %this value is automatically inserted). The %dmg value will represent either damage or life gained. If we want to add life we pass a positive value, and if we want to subtract life we pass a negative value. First we check to see if this new life value is greater than 100, if so, we set it to 100 since our fish can't have more than 100% life. We then check if the fish's life is less than 0, if so we set it to 0 since we don't want to have negative life. We then do one final check after comparing the life to zero. If our fish has 30% life or less, then it is dead and we call the dead() function (this is a function we need to add). If the fish's life isn't zero, then it is still alive and we need to update it's size, so we call updateLifeSize() (this is also a function we need to create). Now, lets create our updateLifeSize() function. So add this after our modifyLife() function.
function PlayerFish::updateLifeSize(%this) { %lifeMultiplier = %this.life / 100; %newWidth = %this.maxWidth * %lifeMultiplier; %newHeight = %this.maxHeight * %lifeMultiplier; %this.setSize(%newWidth, %newHeight); }
Code Sample 6.3.2
First we create a local variable called %lifeMultiplier. Since our life is a percentage we will want to multiply it against our maxWidth and maxHeight, so we can get the width and height in relation to what our percent life is. To do this we need to divide our current life by 100, to get a number between 0.00 and 1.00. This will allow us to directly multiply our multiplier against our max values, (which is what we do in the next two lines), and store those values in %newWidth and %newHeight. Our last line of this function we set the new size, which should be linked to how much life we have. Add this next function after our previous function.
function PlayerFish::dead(%this) { %this.setFlipY(true); %this.setLinearVelocityY(-10); %this.dead = true; }
Code Sample 6.3.3
When we call this function and we want our fish to die, we will flip its Y direction so it is upside-down. We then set it to a negative velocity in the Y direction, so it will float up. Our final line sets the dead value on the fish object to true. We can use this value to stop key movement when we're dead. Our final function will be one that we can call to constantly lower our fish player's life. You can add this function after our previous function.
function PlayerFish::lowerLife(%this) { %this.modifyLife(%this.lifeDrain); if(!%this.dead) { %this.schedule(500, "lowerLife"); } }
Code Sample 6.3.4
This function first calls our modifyLlife() function, passing it the "lifeDrain" field on our fish object. This will effectively decrease our fish's life by however much we want to specify in the Level Builder. We then check to make sure that our fish isn't dead. If it is still alive, we call a function called "schedule" on our fish. This function is very useful, this will tell T2D to call whichever method of the object we're on, in a specified time. So we set 500 as the time (500 milliseconds, which is about half a second) and we pass "lowerLife" as the function name. This means that every half second it will call itself, which will lower our fish's life, and then schedule itself to be called again, effectively creating a "loop" functionality of sorts. One of our last changes to our player.cs is to simply call this lowerLife funciton when our fish is loaded. So make your onLevelLoaded function look like this.
function PlayerFish::onLevelLoaded(%this, %scenegraph) { $FishPlayer = %this; moveMap.bindCmd(keyboard, "w", "fishPlayerUp();", "fishPlayerUpStop();"); moveMap.bindCmd(keyboard, "s", "fishPlayerDown();", "fishPlayerDownStop();"); moveMap.bindCmd(keyboard, "a", "fishPlayerLeft();", "fishPlayerLeftStop();"); moveMap.bindCmd(keyboard, "d", "fishPlayerRight();", "fishPlayerRightStop();"); moveMap.bindCmd(keyboard, "space", "fishPlayerBoost();", "fishPlayerBoostStop();"); %this.lowerLife(); }
Code Sample 6.3.5
We also need to prevent the user from moving the fish if it's already dead. To do this, go to your updateMovement function. We are going to add two lines to the beginning of this function, so make the beginning of your updateMovement function look like this.
function PlayerFish::updateMovement(%this) { if(%this.dead) return;
Code Sample 6.3.6
This checks if our fish is dead. If it is dead, then it returns (which means it will exit out of the function), since we don't want our dead fish moving. This will now prevent our user from moving using the a, s, w, and d keys, though our boost function uses a different method. Add the same two lines to the beginning of your fishPlayerBoost() function to make the beginning look like this.
function fishPlayerBoost() { if($FishPlayer.dead) return;
Code Sample 6.3.7
Now we are done with our PlayerFish class and our player.cs file. The last modification needs to be made to our fishfood.cs, to allow it to give our fish life when gathered. So open up your fishfood.cs in the same folder. Find your onCollision function, it should look like this.
function FishFood::onCollision(%srcObj, %dstObj, %srcRef, %dstRef, %time, %normal, %contactCount, %contacts) { if(%dstObj.class $= "PlayerFish" || %dstObj.class $= "Fish") { %srcObj.spawn(); } }
Code Sample 6.3.8
As you can see, right now we do the same response for both PlayerFish and Fish classes. We need to change this so we can add life to our PlayerFish and not do so for other Fish. Switch that onCollision() function out with this one.
function FishFood::onCollision(%srcObj, %dstObj, %srcRef, %dstRef, %time, %normal, %contactCount, %contacts) { if(%dstObj.class $= "PlayerFish") { %srcObj.spawn(); %dstObj.modifyLife(%srcObj.lifeValue); } else if (%dstObj.class $= "Fish") { %srcObj.spawn(); } }
Code Sample 6.3.9
Instead of checking if it's either PlayerFish or Fish, we first check if it's of the PlayerFish class. We then do an else if check if its of the Fish class. This way we can do different responses. As you can see both responses still call spawn() but the PlayerFish response also calls modifyLife passing it a value stored in the field "lifeValue" on our bubble. We will need to add that dynamic field. This way we can make our bubbles different values for giving life.
We are now done with the scripts. Be sure to save them. The first thing we need to do before we play our level, is to select our bubble object, click the Edit tab, and expand the Dynamic Fields label. Then add the field of "lifeValue" and set it to "5", so our fish player will gain life when it gathers the bubbles (as shown in Figure 6.3.2).
Figure 6.3.2
Figure 6.3.3
As time goes on you'll notice your fish shrinking, but if you get a food bubble it will then grow a bit. If you don't get food for a certain amount of time you die. If you find that this is too easy, you can go back and change the lifeDrain value to -3 or -4 to increase the difficulty. You can also increase or decrease the value of the gain from the bubble.


Candra's Weather Dashboard
Welcome to Candra's Weather Dashboard. Enter a city destination below to get started.
Enter Destination City
Search
Clear History
City
Today's Forecast
Date
5 Day Forecast


Sensex, Nifty open on a cautious note; IT stocks fall
The 30-share index turned choppy to trade 15.89 points, or 0.04 per cent, lower at 40,559.28.
by PTIMumbai: Domestic equity benchmarks opened on a cautious note on Friday tracking weakness in index-heavyweight IT stocks amid mixed global cues.
After opening on a positive note, the 30-share index turned choppy to trade 15.89 points, or 0.04 per cent, lower at 40,559.28. Similarly, the broader Nifty slipped 20.45 points, or 0.17 per cent, to 11,947.95.
Top losers in the Sensex pack included Infosys which fell up to 3 per cent, HCL Tech 1.67 per cent, Tech Mahindra 1.65 per cent, TCS 1.52 per cent, Bharti Airtel 1 per cent and Bajaj Auto 0.91 per cent.
On the other hand, Sun Pharma rose up to 3.16 per cent, NTPC 2.69 per cent, PowerGrid 2.30 per cent and RIL 1.74 per cent.
According to traders, fall in IT stocks amid reports of changes in US work visa requirements aimed at protecting American workers fuelled the overall weakness in the market.
On Thursday, the Sensex ended 76.47 points, or 0.19 per cent, lower at 40,575.17. The Nifty closed 30.70 points, or 0.26 per cent, down at 11,968.40.
Foreign institutional investors bought shares worth Rs 5,023.54 crore in the capital market in the previous session, while domestic institutional investors sold equities worth Rs 247.74 crore, data available with stock exchange showed.
Elsewhere in Asia, bourses in Hong Kong, Seoul and Tokyo were trading on a positive note, while those in Shanghai were in the red.
Stocks on Wall Street ended on a negative note on Thursday.
On the currency front, the rupee appreciated 4 paise (intra-day) against the US dollar to trade at 71.72 in early session.
Brent futures, the global oil benchmark, fell 0.59 per cent to USD 63.59 per barrel.


About Me
I am a Full-stack Web Developer with experience in HTML5, Bootstrap, JavaScript, JQuery, APIs, Express.js, ORM, Node.js, MySQL, Sequelize, MVC structuring and NoSQL. The skills that I am acquiring through my education at the Trilogy Full-stack Web Development program allow me to develop fully functioning, responsive web applications.
My background in business management provides me a unique perspective in web development. I know the frustration that comes from using a clunky web application. At the heart of my designs is the concept of the user's experience. Your employees and customers will use my sites intuitivly, which is achieved by efficient flow and navigation throughout the applications.
 As such, I want its guests to feel welcome and comfortable. Your website should represent your businesses' unique message and style. The first stage in my design process is to get to know your brand in order to create a space that supports its mission. Then, through frequent colaboration, we can build the site that fits you.


First Name:
Last Name:
Username:
Password:
Confirm Password:
Email:
Date of Birth: Month January February March April May June July August September October November December Day 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Year 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011
Gender: Male Female Not-mentioned


Augpilagtoq is a small fishing and hunting village within the Prins Christian Sund fiord and channel complex about 20 NM from the entrance on the southwestern Greenland shore and 38 NM from the east coast entrance to Prins Christian Sund.
The quay is visible as you come through the narrow entrance to the harbor and only the east side is suitable for mooring a yacht due to tidal range. Other local boats may well raft alongside.
There is a small market in Augpilagtoq with limited supplies. Showers and laundry are available. There are no refueling facilities.
Last updated November 2010.


The Senior Publishing Analyst will work with business intelligence, analytics and publishing professionals to determine the best approaches and systems for supporting state-of-the-art analytics; they must have an affinity for data and analytics that support key business decisions. The Senior Publishing Analyst will work closely with the Mobile games team, User Acquisitions, Central Product Managers, and other groups to evaluate how our customers are coming to and playing our games and inform improvements we can make to drive sustained engagement and monetization. Specifically, they will be extremely detail oriented, with a strong product orientation and an affinity for data and analytics in support of driving both product-level and business decisions. The successful candidate thrives at delivering solutions to complex data problems preferably in gaming, and has proven themselves effective at navigating and overcoming both internal and external challenges. Apply.
WB Games is looking for a highly motivated MBA or graduate student intern in the Consumer Insights and Marketing Analytics team who will be responsible for developing and tracking all key business metrics (awareness, purchase intent, sales, retention) and facilitate consistent measurement and data reporting processes across multiple campaigns. They will analyze, collect, and interpret results from an array of data sources to drive businnes decisions; report on digital media campaign KPIs to benchmark paid media efforts; report on player patterns and advise changes to messaging using in-game BI telemetry; coordinate statistical analysis and modeling and ensure the integration of those tools into the marketing programs; and as required, perform hands-on analysis in support of results analysis. Apply.
WB Games San Francisco is seeking a Marketing Analyst (Temp) to help develop advertising, explore ideas, and help to drive conversion optimization
for some of the biggest IPs. They will develop advertising for some of the biggest IP's; explore and validate new test ideas; and drive the conversation
around conversion optimization.
(Relocation assistance will not be provided for this role.) Apply.
WB Games is recruiting a Senior CRM Analyst to help drive cross-functional publishing efforts on behalf of our mobile games in the Lifecycle group, part of the Mobile Publishing team. The role’s focus and primary responsibilities revolve around CRM campaign management as well as building analysis, data integrations and related capabilities that enable the iterative improvement of tailored CRM campaigns to player cohorts across our game portfolio. The ideal candidate is a master of all things data, with a keen interest in leveraging analysis and data integration to enable the most cutting-edge email marketing and related direct-digital capabilities to date. Apply.
Warner Bros. Interactive Entertainment seeks an Analyst, Sales Planning for the Selling department. They will be a part of dedicated supply chain support for partner titles (Cyberpunk, Rocket League, Fortnite); work as part of Digital Sales Support to provide supporting analyses for digital sales team with key insights and recommendations to support sales and marketing; ensure alignment amongst operations, order management, marketing, and sales regarding timing and forecasts for new releases; manage the Salesforce forecasting system; and provide ad-hoc reporting. Apply.
The Warner Bros. Analytics (WBA) team based in Boston MA in the United States are looking to fill a Senior Analytics QA Engineer position which will
be based at Playdemic in Wilmslow, UK. The WBA team provides data analytic services to support game teams and analysts across the WB Games organisation
and is co-located at the WB Boston studio. The data collected by the analytics platform in real-time is then used to provide insights for
guiding game development, marketing, and monetisation. We deploy to the Amazon Cloud and a person in this role will develop a deep understanding of the concepts
involved with managing resources in AWS. Apache Spark and Kafka are used in the data processing pipeline.
To apply please email a covering letter and CV to Vicky MacMillan, Senior Recruitment & Resourcing Specialist at<EMAIL_ADDRESS>Rocksteady Studios is looking to add to its family of permanent staff with an exceptionally talented Lead Data Analyst who is ready for the challenge of striving to produce a world-class AAA title. We are looking for someone who is an expert in building models and analysing large sets of data to create visualisations then communicating these efficiently to our development team such that they make more insightful decisions that improve the overall quality of our game on a day-by-day basis. Apply.
Rocksteady Studios is looking to add to its family of permanent staff. We are looking for an exceptionally talented Senior User Researcher who is ready
for the challenge of producing a world-class, AAA title.
The goal of the User Researcher is to support and enable the developers’ vision by empowering them with actionable insights about our players. At
Rocksteady you will apply your passion for understanding and evaluating the player experience in order to assist the design and production teams you are
embedded in to make data-informed decisions and ultimately make the greatest possible games.
Apply.
NetherRealm Studios, a division of WB Games is looking to add an enthusiastic, talented, and experienced professional with a passion for understanding users’ behavior through data. In collaboration with our existing Analytics Department, the Analyst will work closely with the development teams for the full lifecycles of our products. This position requires excellent project management, communication, and documentation skills. The ideal candidate will demonstrate passion for discovering interesting facts through data and sharing them with others. Daily tasks include gathering requirements from project stakeholders, drafting schemas and tables, working with the ETL and reporting process, and developing documentation. Apply.
We have new positions opening all the time. Apply here!


Another petrol tanker falls in Anambra
by James EzeAnother petrol truck fell in Anambra State on Saturday morning causing tension among residents who fled from the scene.
This time, the tanker laden with petrol, fell in the state capital, Awka.
It was gathered that the truck fell into a ditch on Zik’s Avenue, opposite Saint Patrick’s Catholic Cathedral.
As soon as it fell, its contents spilled onto the road.
Panic-stricken residents and passersby ran away from the scene fearing another possible inferno.
Police spokesperson, Haruna Mohammed, said the tanker was loaded with premium motor spirit.
“The PMS is spilling out and people are scooping the fuel. It is highly advisable you alert residents in the area through your medium to steer clear from the premises in order to prevent any disaster.”
He added that police patrol teams later arrived and cordoned off the area preventing people from further scooping the products.
“Fire Service department was equally contacted to be on standby in order to prevent fire incident.”
READ ALSO: Alleged N40 bn fraud: EFCC witness testifies in court via video link
The incident is coming after the state government announced a ban on the movement of fuel tankers within the state during the day.
It appears that the order is not being adhered to as the latest tanker fall occurred in the around 7:30 a.m.
The state government was forced to take the decision following a series of fuel truck accidents in the state.

A woman and her chid, caught in the inferno, were burnt to death.
The fire also spread into the popular Ochanja market destroying goods and shops worth millions of naira.


The page you are looking for is currently not up. Stay tuned for our next event!
Feel free to email us if you have any questions.


Remember these?
This is a cassette. What goes on it can be totally magical.
 Once you heard the first note, you'd quickly press record.
Imagine that you had a list of songs that you thought were perfect for the one you loved. Or maybe you were into the heavy, emotional music that you really wanted to share with someone. You'd have to listen all day to the radio for the right song, in the right order.
Lucky for you, today we have "Spotify". Gone are the days of waiting to hear a certain song. Gone are the days of rewinding a tape. Now, you can drag and drop.


Step 1 - Enter API URL
Step 2 - Choose upload method
Presigned URL
Presigned POST
Step 3 - Choose a file
Step 4 - Click upload


| Vendor Name | LOU-TEC Loaction d'outils Roberval |
|---|---|
| Reference Number | W0130-13-GC24 |
| Contract Date | 12-2-2014 |
| Description of Work | Reserve Training - Military |
| Delivery Date | 11-3-2014 |
| Contract Value | $26,626.14 |
| Comments | This contract was competitively sourced. |
| Additional Comments |


Flock makes going out at Princeton as easy as possible for you
Can't find Sarah? Use Flock to figure out exactly which club she is at.
Flock tells you which of your facebook friends are at any particular club in dynamic time
We show you which club is the most popular right now, as well as the details on every other club
Sign up is easy if you have a Facebook account!


Who am I?
Developer, designer, motion graphic and artist. I am graduated in publicity and advertising by FAPCOM and I work in the area about 7 years. I've been through some agencies, working with clients like LG, Vivo, MAC, HCor, Nissan and Renault. During this time I was exploring some areas from IT and communication, studing programming languages, like JAVA and Javascript, Digital Marketing and Visual Communication.
Contact Me


WE NEED TO TALK.
Let's talk about problems.
Then let's talk about solutions.
Meaningless icon 1
Enticing text about something
Meaningless icon 2
Enticing text about something
Meaningless icon 3
Enticing text about something
Meaningless icon 4
Enticing text about something


benCoding.PDF.Converters
The benCoding.PDF Converters proxy provides conversion helper functions when working with PDFs. At the moment the feature list is pretty small, but will be growing as needed or contributions are provided.
There is two ways you can download this module.
Android:
The go to the dist folder. This will have a release compiled for anyone download it from github.
iOS:
The go to the dist folder. This will have a release compiled for anyone download it from github.
If you are building from source you will need to do the following: * Modify the titanium.xcconfig file with the path to your Titanium installation
var pdf = require('bencoding.pdf');
Requiring the module into your project
//Require the securely module into your project
var pdf = require('bencoding.pdf');
//Create a new properties object
var converters = pdf.createConverters();
convertImageToPDF( TiBlob image, int resolution ) Adds the specified callback as an event listener for the named event.
Parameters image : TiBlob Image to be converted into PDF resolution : int Optional resolution value. Only applies to iOS
Returns TiBlob
Example
Ti.Media.takeScreenshot(function(event){
// set blob on image view
var image = event.media;
var pdfBlob = converters.convertImageToPDF(image,100);
var pdfFile = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'text.pdf');
pdfFile.write(pdfBlob);
});
The benCoding.PDF module uses the below projects. I highly encourage you to check them out using the information below.
iText ( used on Android only)
Please visit iText Website to learn more
Please note iText is licensed under the GNU Affero General Public License version 3 and depending on the nature of your app you might need a license. Please visit license for details.
This project is licensed under the OSI approved Apache Public License (version 2). For details please see the license associated with each project.
Developed by Ben Bahrenburg available on twitter @benCoding
Please check the module's example folder for details.
These samples are also available on github at the following:
Please consider following the @benCoding Twitter for updates and more about Titanium.
For module updates, Titanium tutorials and more please check out my blog at benCoding.Com.


Your Payment has been Successfull
We have mailed you the invoice of your payment
Thank You for Trusting Us! We are Glad you made the Payment to us. For any further Queries, Mail us at<EMAIL_ADDRESS>Redirecting you back to Homepage here
We have mailed you the invoice of your payment
Thank You for Trusting Us! We are Glad you made the Payment to us. For any further Queries, Mail us at<EMAIL_ADDRESS>Redirecting you back to Homepage here


Welcome to WhereLy
This website is under maintenance, please be patient. If you want to see updates, feel free to join our Discord Server!
This website is under maintenance, please be patient. If you want to see updates, feel free to join our Discord Server!


9:30
I take 3 .5mg generic Alprazolam tablets to combat the high dose panic I usually get with cannabis. I have not eaten in 6 hours to clear my stomach for maximum effect.
10:00
The Xanax is slowly overtaking my body with a gentle softness. I feel very relaxed, but this is not at all like alcohol. My friend D recently bought a four hose hookah that we planned to use tonight. We also have a large amount of cannabis, 1/4 o of powerful stuff. We pack a huge bowl, and begin smoking. And smoking. And smoking. The only reason we stopped is because we became too uncoordinated to light the bowl.
10:30
The smoking session ends and I feel like I'm starting to nod off, my body is VERY loose (which is good, because earlier today I had a terrible back ache) and my mind is exploding with free association. I start to see the deeper meaning in less signifigant things. It reminded me of a part from the book Siddhartha, in which the main character is being told by his friend how the river knows all, how it can teach him infinate wisdom.
I am now too stoned to understand (or even care about) the menial banter that spews from my tv and decide to engage in the only thing that seems real now: music. I normally prefer indie and classic rock, but during my chemical excursions, trance is the only way to go. I layed in bed, but my physical surroundings now meant nothing. My vision meant nothing, all stimulation was audible and I was playing a very strange movie in my head. Very beautiful and relaxing.
The rest of the night was just lying in bed relaxing, until I woke up. I feel a little groggy and mentally impaired, but nothing that doesn't go away in a day or two.
Xanax and cannabis are, in my opinion, inseperable. Especially for someone who is prone to anxiety, it really keeps you on a good vibe.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Validin tries to take the headache out of form validation by making things simple and keeping your markup clean. Dependencies: Just jQuery.
First, link to jQuery and validin in your HTML:
<!-- validin styles: -->
<link rel="Stylesheet" href="validin.css" type="text/css" />
<!-- jQuery: -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<!-- validin scripts: -->
<script src="validin.js"></script>
Then activate it on your forms:
// You can enable validin on all forms in your page:
$(window).validin();
// Or just a specific form:
$('.form1').validin();
Lastly, add 'validate' attributes to all of the input fields that need validation:
<input validate="number">
Try testing valid and invalid values in each of the forms to see how validin reacts to user input.
Validin comes pretty much perfect right out of the box, but there are some ways to customize it's behavior. You can add options to the validin() function like so:
options = {
feedback_delay: 1000,
invalid_input_class: "bad_input"
};
$(window).validin(options);
Here are the available settings and their defaults:
feedback_delay: 700, // Number of ms after input before testing validity
invalid_input_class: "invalid", // Class name added to invalid inputs
error_message_class: "validation_error", // Class name added to forms with validation errors
form_error_message: "Please fix any errors in the form", // The message that appears at the bottom of a form if there are any errors present
required_fields_initial_error_message: "Please fill in all required fields", // Initial message showing why form is disabled if there are required fields but no errors
required_field_error_message: "This field is required", // Message shown next to required fields that are not filled in AFTER field has lost focus
custom_tests: [] // Array of custom validation tests (see below)
There are a bunch of validation tests already built into validin, but you can make your own with the 'tests' option. Custom validation tests follow this syntax:
'validation_name': {
'regex': [RegEx], // Regular expression to test if input is valid
'error_message': [string] // The message shown if field is invalid
}
For example, you might put this in your validin options to test an input field for two-letter values, such as you'd find in US state abbreviations:
custom_tests: {
'state_abbreviation': {
'regex': /[A-Z]{2}/,
'error_message': "States are abbreviated with two capital letters"
}
}


About You
First Name:
Surname:
Username:
Phone Number
Email
Address
Edit Profile
View Credit Cards
Change Password
Delete


While it is important to focus in preparing the future generations of farmers and other agriculture stakeholders, it is equally important to equip the future ICT innovators that will support them. AgriHackathon 3 calls on to the pillars of ICT education in the country to become partners in molding young minds as ICT-AgrInnovators. As the direction of global agriculture leans toward precision thru the use of ICT, they will be one of the key players who will take part in making the Philippines ahead of other developing countries in producing enough and affordable food.
To equip the future ICT-AgrInnovators with knowledge, experience, and motivation to develop ICT support for agriculture by:
Who can join? All State Universities and Colleges (SUC) in Luzon with ICT-related BS degree are invited to send their student-representatives to join the hackathon.
registration page will be considered but must be justified. Likewise, modifications in your solution concept will be accepted given that it did not alter too far from the original idea. You must inform the committee the soonest upon revision.
1st Place: 5-month internship program worth PhP225,000.00 (PhP75,000.00/student) + PhP30,000.00 budget for supplies to improve and expand their prototype + PhP10,000.00 cash + medal + other perks + trophy for the school
2nd and 3rd Place: Medal + perks + will be considered for possible internship
All participants will get event shirt and ID lace. Special prizes will be raffled during the hackathon proper. Coffee? Snacks? Meals? We have them for you. A place to sleep? Nah, you won’t need it. It’s a hackathon. Coaches can stay in the PhilRice-Hostel.


{% extends 'base.html' %} {% load state_fb_search %} {% load staticfiles %} {% block main %}
{% if state.is_swing %} {{ state.name }} is the #{{ state.tipping_point_rank }} most important swing state. Getting a couple hundred extra votes for Clinton here has a strong chance of changing the outcome of the election. {% else %} {{ state.name }} is the #{{ state.safe_rank }} safest state for {{ state.safe_for }}. Getting friends in these states to swap votes with swing-state voters is a great strategy. {% endif %}
Copy this suggested message {% if state.is_swing %}
{{ state.name }} is an important swing state, where third parties might split the vote and make Trump win (remember Al Gore?). If you want a third party candidate to get votes while making sure Trump loses, join https://voteswap.us. VoteSwap pairs up swing-state and safe-state voters so they can swap votes. Clinton will win the swing states, third parties get more votes (and more federal funding), and Trump loses. Even if you're already voting for Clinton, the more people that join the better our chances are of pairing up voters and saving our country from Trump.{% else %} {% if profile_context.is_3p_in_swing %}
I want to vote for a third party in {{ profile.state }}, but I also don't want Trump to win. You should join https://voteswap.us and swap votes with me. I'll vote Clinton in {{ profile.state }} if you vote {{ profile.preferred_candidate }} in {{ state.name }}.{% else %}
Do you want to prevent Trump from winning but also think third parties should be a viable choice? Join https://voteswap.us and swap your Clinton vote in {{ state.name }} with a third-party voter in a swing state. Third parties will get more votes and Clinton will win the important swing states so Trump will lose.{% endif %} {% endif %}
Click this button and send each of your friends a message: Find friends in {{ state.name }}
You can send them a message by clicking on the icon in the top-right of each result:
Once your friends have joined, send them a swap request from your matches page. Then on November 8th, vote and save America from Trump!


class: center, middle # Trying Scala.js https://github.com/indyscala/trying-scalajs by [Brad Fritz](http://bfritz.com/) --- class: center, middle # Demo --- ## Have I Been Pwned? ### By a professional: https://haveibeenpwned.com/ ### By Brad: file:///home/brad/projects/indyscala/trying-scalajs/pwned-dev.html --- ## What's It [Not] Good At?
Anatomy of a full-stack Scala/Scala.js Web App
from
Li Haoyi
on
Vimeo
.
--- ## Related Tools * [workbenceh](https://github.com/lihaoyi/workbench) - sbt/brwoser integration for faster development * [sbt-crossproject](https://github.com/portable-scala/sbt-crossproject#migration-from-scalajs-default-crossproject) - modern sbt plugin to cross compile for Jcala.js * [scalajs-builder](https://github.com/scalacenter/scalajs-bundler) - use npm packages (and webpack) instead of webjars * [scalajs-react](https://github.com/japgolly/scalajs-react) - use React from Scala.js * [µTest](https://github.com/lihaoyi/utest) - simple test framework with Scala.js support * [autowire](https://github.com/lihaoyi/autowire) - RPC between Scala and Scala.js * [other libraries](https://www.scala-js.org/libraries/libs.html) compatible with Scala.js --- ## Resources * [scala-js.org](https://www.scala-js.org/) * [Hands-on Scala.js by Li Haoyi](http://www.lihaoyi.com/hands-on-scala-js/) * [Anatomy of a Full-Stack Scala/Scala.js Web Application](http://www.lihaoyi.com/post/TalksIveGiven.html#anatomy-of-a-full-stack-scalascalajs-web-application)
(and other talks by Haoyi linked there) * [Gitter](https://gitter.im/scala-js/scala-js)


This trading system contains four modules which are Trader UI, Trader Gateway, Broker UI and Broker Gateway. This project is the implement of Broker Gateway using SSM framework. Broker_Gateway is designed for complex trading logic and it can support four kinds of orders included Market Order, Stop Order, Limit Order and Cancel Order. It can also maintain Market Depth for different products. It uses ActiveMQ queue mode to create queues and then receive orders from Trader_Gateway. It also uses topic mode to create queues to broadcast information to Trader User in the same company. It uses Redis to cache important orders' information and write back to database regularly. It also uses Websocket to push latest Market Depth to Broker UI. Nginx is used to implement load balance between Broker_Gateway.
Use SSM framework to implement main structure, adding Spring Shiro to implement verification and authorization. Use ActiveMQ to process orders and websocket to make a chatroom. Redis is used to cache book information. It can provide SOAP and RESTful Web Service. Apache Lucene is used to do full text search.
This is an app designed to recognize your emotion and then recommend corresponding
emoijs to you, which can help you quickly pick emoij images. It uses the Project
Oxford API and EmoKit Tool to recognize a user's emotion.
In order to speed up the processing, I use Redis to cache some emotion data ahead of time.
And try to use the data given by local Emokit Tool to compare with the data cached in Redis.
If they have a high degree of similarity between them, then we needn't get data through internet request, which will save a lot of time.
The app can also share emoij images between two users by scanning QRCode generated by each other.
ToSee is an app for travellers. You can write travel notes and share wonderful photos in this app. We also provide social module so you can follow any travellers you like. There are different categories、verious columns、 recommended algorithm and timeline for article reviewing in this app. This app has used Fragment and BottomNavigationBar for framework, using OKHttp for internet request and spring restTemplate for client. And I have also designed an easy-work time-line ui. The functions in this app are much similar to Jianshu
MCM/ICM the American College Students' Mathematical Modeling Contest, which is
the most influential mathematical modeling contest in the world. I have participated
in it with the other two classmates, Chen Zhan and Tianze Wu during 2017.1.20 to 24
and we have created a 4-level Evalaution Indicator System by using Grey Clustering
and Analytic Hierarchy Process. Then we have thought out four optimization methods and chosen
several typical cities to test its correctness and sensitivity.
Emotion Theme is A Python program based on Emotion recognition which can be used to
change wallpaper and PC’s theme color and emotion regulation.It is a project developed during
2016 Microsoft Penta-Hackathon in Zizhu Shanghai and the other three contributors are ZhanChen,
DongLiang and DangYingming. It is a great honor to be with them and we have made this idea come true
in just 24 hours.
Autoer is an app designed to be a driver helper, which can be used to bind car and manage its information, make an appointment to refuel, play music, analysis data statistics, read News, weather and maintenance information.
This is my summer vacation homework and costs me two months to implement. During this period, I am also gradually become familiar with android development.
Diaosi Hero is a shooting game based on Unity 3D. In this game, the player can use the gun to shoot zombies and the shooting moment, death and sreaming will all accompanied by sound.
There is also blood bottles randomly set up on the ground which can be used to prolong the player's life. The zombies will keep coming down from the three pyramids and run towards you, be careful!! It is my first time to use Unity, so I choose to follow a course in the Coursera. If you want to preliminary
learn about Unity, I strongly recommend this course to you.
C#
Data Visualization
This is a Data Visualization Analysis Report based on the Chinese Football Super League, which is also my interest. In this report, I use
E-charts with javascript to draw graphs and you can click See PDF to read the whole
report written in chinese. This is a kind of present work just for fun. And my next goal is to design a evaluation model based on big data which can
predict the performance of a player in a football match or even simulate the process of a real football match.


Taylor's Page
Home
Interest
Gallery
About Taylor
Sophomore in College
Math and Computer Science Double Major
From Minnesota
Assignments
To do List 1
To do List 2
To do List 3
Final To do


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
FFT Pricing engine vanilla options under a Black Scholes process. More...
#include <ql/experimental/variancegamma/fftvanillaengine.hpp>
Public Member Functions | |
| FFTVanillaEngine (const ext::shared_ptr< GeneralizedBlackScholesProcess > &process, Real logStrikeSpacing=0.001) | |
| std::unique_ptr< FFTEngine > | clone () const override |
| Public Member Functions inherited from FFTEngine | |
| FFTEngine (ext::shared_ptr< StochasticProcess1D > process, Real logStrikeSpacing) | |
| void | calculate () const override |
| void | update () override |
| void | precalculate (const std::vector< ext::shared_ptr< Instrument > > &optionList) |
| virtual std::unique_ptr< FFTEngine > | clone () const =0 |
Protected Member Functions | |
| void | precalculateExpiry (Date d) override |
| std::complex< Real > | complexFourierTransform (std::complex< Real > u) const override |
| Real | discountFactor (Date d) const override |
| Real | dividendYield (Date d) const override |
| Protected Member Functions inherited from FFTEngine | |
| virtual void | precalculateExpiry (Date d)=0 |
| virtual std::complex< Real > | complexFourierTransform (std::complex< Real > u) const =0 |
| virtual Real | discountFactor (Date d) const =0 |
| virtual Real | dividendYield (Date d) const =0 |
| void | calculateUncached (const ext::shared_ptr< StrikedTypePayoff > &payoff, const ext::shared_ptr< Exercise > &exercise) const |
Private Attributes | |
| DiscountFactor | dividendDiscount_ |
| DiscountFactor | riskFreeDiscount_ |
| Time | t_ |
| Real | var_ |
Additional Inherited Members | |
| Protected Attributes inherited from FFTEngine | |
| ext::shared_ptr< StochasticProcess1D > | process_ |
| Real | lambda_ |
FFT Pricing engine vanilla options under a Black Scholes process.
Definition at line 39 of file fftvanillaengine.hpp.
|
explicit |
Definition at line 27 of file fftvanillaengine.cpp.
|
overridevirtual |
Implements FFTEngine.
Definition at line 33 of file fftvanillaengine.cpp.
|
overrideprotectedvirtual |
Implements FFTEngine.
Definition at line 40 of file fftvanillaengine.cpp.
|
overrideprotectedvirtual |
Implements FFTEngine.
Definition at line 60 of file fftvanillaengine.cpp.
Implements FFTEngine.
Definition at line 72 of file fftvanillaengine.cpp.
Implements FFTEngine.
Definition at line 79 of file fftvanillaengine.cpp.
|
private |
Definition at line 52 of file fftvanillaengine.hpp.
|
private |
Definition at line 53 of file fftvanillaengine.hpp.
|
private |
Definition at line 54 of file fftvanillaengine.hpp.
|
private |
Definition at line 55 of file fftvanillaengine.hpp.


No. You will feel a slight pinch like you would expect when taking a blood test with a nurse.
What do I need to do before undergoing any of the treatments?
Avoid blood-thinning medication such as Aspirin, Ibuprofen and Fish Oil, one week prior to treatment.
Its important to advise your clinician beforehand, if you have the following -
* Have an auto-immune disorder
* Are regularly taking anti-coagulation therapy (i.e.: Warfarin,) Heparin
* Have an auto-immune disorder
* Have a severe metabolic or systemic disorder
* Have active sunburn, eczema or psoriasis
* Are currently taking aminoglycoside antibiotics
* Are under 18 years of age (seven-day cooling-off period is required)
Who will NOT be unsuitable or eligible for these treatments?
Anyone that suffers from the following -
*Myasthenia Gravis or Eaton Lambert Syndrome
*Is hypersensitive to product ingredients, specifically BTX-A
*Currently has an active infection in the area to be injected
*Is pregnant or breastfeeding
What outcome will we see after the treatment?
You should notice a difference after three days with optimum results visible at two weeks. Results typically last for three to four months. There will be redness in the treatment area which is usually resolved within 24 hours. Swelling in the treatment area which is usually resolved within three to seven days. You may encounter slight bruising which is usually resolved in seven to ten days.
Do you provide any after-care, post the treatment?
We do. To ensure that you are happy and that optimal results are achieved, it is recommended that you attend a review appointment and assessment after two weeks. Your health and well-being is our priority. If you are concerned about any aspect of your treatment, or if you become unwell – contact us immediately.
What payment plans do you offer?
A deposit must be paid before attending the appointment. This will be discussed during your free consultation. Once the procedure has been completed, we will take the full payment.


Back at The Queen’s Blessing, Rand threw himself against the front doorframe, panting. He had run all the way, not caring if anyone saw that he wore the red, or even if they took his running as an excuse to chase him. He did not think even a Fade could have caught him.
Lamgwin was sitting on a bench by the door, a brindle cat in his arms, when he came running up. The man stood to look for trouble the way Rand had come, still calmly scratching behind the cat’s ears. Seeing nothing, he sat back down again, careful not to disturb the animal. “Fools tried to steal some of the cats a while back,” he said. He examined his knuckles before going back to his scratching. “Good money in cats these days.”
The two men showing the white were still across the way, Rand saw, one with a black eye and a swollen jaw. That one wore a sour scowl and rubbed his sword hilt with a sullen eagerness as he watched the inn.
“Where’s Master Gill?” Rand asked.
“Library,” Lamgwin replied. The cat began purring, and he grinned. “Nothing bothers a cat for long, not even somebody trying to stick him in a sack.”
Rand hurried inside, through the common room, now with its usual complement of men wearing the red and talking over their ale. About the false Dragon, and whether the Whitecloaks would make trouble when he was taken north. No one cared what happened to Logain, but they all knew the Daughter-Heir and Lord Gawyn would be traveling in the party, and no man there would countenance any risk to them.
He found Master Gill in the library, playing stones with Loial. A plump tabby sat on the table, feet tucked under her, watching their hands move over the cross-hatched board.
The Ogier placed another stone with a touch oddly delicate for his thick fingers. Shaking his head, Master Gill took the excuse of Rand’s appearance to turn from the table. Loial almost always won at stones. “I was beginning to worry where you were, lad. Thought you might have had trouble with some of those white-flashing traitors, or run into that beggar or something.”
For a minute Rand stood there with his mouth open. He had forgotten all about that bundle-of-rags of a man. “I saw him,” he said finally, “but that’s nothing. I saw the Queen, too, and Elaida; that’s where the trouble is.”
Master Gill snorted a laugh. “The Queen, eh? You don’t say. We had Gareth Bryne out in the common room an hour or so ago, arm-wrestling the Lord Captain-Commander of the Children, but the Queen, now . . . that’s something.”
“Blood and ashes,” Rand growled, “everybody thinks I’m lying today.” He tossed his cloak across the back of a chair and threw himself onto another. He was too wound up to sit back. He perched on the front edge, mopping his face with a handkerchief. “I saw the beggar, and he saw me, and I thought . . . That’s not important. I climbed up on a wall around a garden, where I could see the plaza in front of the Palace, where they took Logain in. And I fell off, on the inside.”
“I almost believe you aren’t making fun,” the innkeeper said slowly.
“Ta’veren,” Loial murmured.
“Oh, it happened,” Rand said. “Light help me, it did.”
Master Gill’s skepticism melted slowly as he went on, turning to quiet alarm. The innkeeper leaned more and more forward until he was perched on the edge of his chair the same as Rand was. Loial listened impassively, except that every so often he rubbed his broad nose and the tufts on his ears gave a little twitch.
Rand told everything that had happened, everything except what Elaida had whispered to him. And what Gawyn had said at the Palace gate. One he did not want to think about; the other had nothing to do with anything. I’m Tam al’Thor’s son, even if I wasn’t born in the Two Rivers. I am! I’m Two Rivers blood, and Tam is my father.
Abruptly he realized he had stopped talking, caught up in his thoughts, and they were looking at him. For one panicky moment he wondered if he had said too much.
“Well,” Master Gill said, “there’s no more waiting for your friends for you. You will have to leave the city, and fast. Two days at the most. Can you get Mat on his feet in that time, or should I send for Mother Grubb?”
Rand gave him a perplexed look. “Two days?”
“Elaida is Queen Morgase’s advisor, right next to Captain-General Gareth Bryne himself. Maybe ahead of him. If she sets the Queen’s Guards looking for you—Lord Gareth won’t stop her unless she interferes with their other duties—well, the Guards can search every inn in Caemlyn in two days. And that’s saying some ill chance doesn’t bring them here the first day, or the first hour. Maybe there’s a little time if they start over at the Crown and Lion, but none for dawdling.”
Rand nodded slowly. “If I can’t get Mat out of that bed, you send for Mother Grubb. I have a little money left. Maybe enough.”
“I’ll take care of Mother Grubb,” the innkeeper said gruffly. “And I suppose I can lend you a couple of horses. You try walking to Tar Valon and you’ll wear through what’s left of your boots halfway there.”
“You’re a good friend,” Rand said. “It seems like we’ve brought you nothing but trouble, but you’re still willing to help. A good friend.”
Master Gill seemed embarrassed. He shrugged his shoulders and cleared his throat and looked down. That brought his eyes to the stones board, and he jerked them away again. Loial was definitely winning. “Aye, well, Thom’s always been a good friend to me. If he’s willing to go out of his way for you, I can do a little bit, too.”
“I would like to go with you when you leave, Rand,” Loial said suddenly.
“I thought that was settled, Loial.” He hesitated—Master Gill still did not know the whole of the danger—then added, “You know what waits for Mat and me, what’s chasing us.”
“Darkfriends,” the Ogier replied in a placid rumble, “and Aes Sedai, and the Light knows what else. Or the Dark One. You are going to Tar Valon, and there is a very fine grove there, which I have heard the Aes Sedai tend well. In any case, there is more to see in the world than the groves.  The Pattern weaves itself around you, and you stand in the heart of it.”
This man stands at the heart of it. Rand felt a chill. “I don’t stand at the heart of anything,” he said harshly.
Master Gill blinked, and even Loial seemed taken aback at his anger. The innkeeper and the Ogier looked at each other, and then at the floor. Rand forced his expression smooth, drawing deep breaths. For a wonder he found the void that had eluded him so often of late, and calmness. They did not deserve his anger.
“You can come, Loial,” he said. “I don’t know why you would want to, but I’d be grateful for the company.  “I still cannot go into the streets without raising a mob shouting ‘Trolloc’ after me. But Mat, at least, only uses words. He has not tried to kill me.”
“Of course not,” Rand said. “Not Mat.” He wouldn’t go that far. Not Mat.
A tap came at the door, and one of the serving maids, Gilda, stuck her head into the room.  “Master Gill, come quickly, please. There’s Whitecloaks in the common room.”
Master Gill leaped up with an oath, sending the cat jumping from the table to stalk out of the room, tail stiff and offended. “I’ll come. Run tell them I’m coming, then stay out of their way. You hear me, girl? Keep away from them.” Gilda bobbed her head and vanished. “You had best stay here,” he told Loial.
The Ogier snorted, a sound like sheets ripping. “I have no desire for any more meetings with the Children of the Light.”
Master Gill’s eye fell on the stones board and his mood seemed to lighten. “It looks as if we’ll have to start the game over later.”
“No need for that.” Loial stretched an arm to the shelves and took down a book; his hands dwarfed the clothbound volume. “We can take up from where the board lies. It is your turn.”
Master Gill grimaced. “If it isn’t one thing, it’s another,” he muttered as he hurried from the room.
Rand followed him, but slowly. He had no more desire than Loial to become involved with the Children. This man stands at the heart of it. He stopped at the door to the common room, where he could see what went on, but far enough back that he hoped he would not be noticed.
Dead silence filled the room. Five Whitecloaks stood in the middle of the floor, studiously being ignored by the folk at the tables. One of them had the silver lightning-flash of an under-officer beneath the sunburst on his cloak. Lamgwin was lounging against the wall by the front door, intently cleaning his fingernails with a splinter. Four more of the guards Master Gill had hired were spaced across the wall with him, all industriously paying no attention at all to the Whitecloaks. If the Children of the Light noticed anything, they gave no sign. Only the under-officer showed any emotion at all, impatiently tapping his steel-backed gauntlets against his palm as he waited for the innkeeper.
 “The Light illumine you,” he said with a careful bow, not too deep, but not slight enough to actually be insulting, either, “and our good Queen Morgase. How may I help—”
“I’ve no time for your drivel, innkeeper,” the under-officer snapped. “I’ve been to twenty inns already today, each a worse pigsty than the last, and I’ll see twenty more before the sun sets. I’m looking for Darkfriends, a boy from the Two Rivers—”
Master Gill’s face grew darker with every word.  “There are no Darkfriends in my establishment! Every man here is a good Queen’s man!”
“Yes, and we all know where Morgase stands,” the under-officer twisted the Queen’s name into a sneer, “and her Tar Valon witch, don’t we?”
The scrape of chair legs was loud. Suddenly every man in the room was on his feet. They stood still as statues, but every one staring grimly at the Whitecloaks. The under-officer did not appear to notice, but the four behind him looked around uneasily.
 The temper of the times goes hard with those who shelter Darkfriends. I wouldn’t think an inn with the Dragon’s Fang on its door would get much custom. Might have trouble with fire, with that on your door.”
“You get out of here now,” Master Gill said quietly, “or I’ll send for the Queen’s Guards to cart what’s left of you to the middens.”
Lamgwin’s sword rasped out of its sheath, and the coarse scrape of steel on leather was repeated throughout the room as swords and daggers filled hands. Serving maids scurried for the doors.
The under-officer looked around in scornful disbelief. “The Dragon’s Fang—”
“Won’t help you five,” Master Gill finished for him. He held up a clenched fist and raised his forefinger. “One.”
“You must be mad, innkeeper, threatening the Children of the Light.”
“Whitecloaks hold no writ in Caemlyn. Two.”
“Can you really believe this will end here?”
“Three.”
“We’ll be back,” the under-officer snapped, and then he was hastily turning his men around, trying to pretend he was leaving in good order and in his own time. He was hampered in this by the eagerness his men showed for the door, not running, but not making secret that they wanted to be outside.
Lamgwin stood across the door with his sword, only giving way in response to Master Gill’s frantic waves. When the Whitecloaks were gone, the innkeeper dropped heavily onto a chair. He rubbed a hand across his forehead, then stared at it as if surprised that it was not covered with sweat. All over the room men seated themselves again, laughing over what they had done. Some went over to clap Master Gill on the shoulder.
When he saw Rand, the innkeeper tottered off the chair and over to him. “Who would have thought I had it in me to be a hero?” he said wonderingly. “The Light illumine me.” Abruptly he gave himself a shake, and his voice regained almost its normal tone. “You’ll have to stay out of sight until I can get you out of the city.” With a careful look back into the common room, he pushed Rand deeper into the hall. “That lot will be back, or else a few spies wearing red for the day. After that little show I put on, I doubt they’ll care whether you’re here or not, but they’ll act as though you are.”
“That’s crazy,” Rand protested. At the innkeeper’s gesture he lowered his voice. “The Whitecloaks don’t have any reason to be after me.”
“I don’t know about reasons, lad, but they’re after you and Mat for certain sure. What have you been up to? Elaida and the Whitecloaks.”
Rand raised his hands in protest, then let them fall. It made no sense, but he had heard the Whitecloak. “What about you? The Whitecloaks will make trouble for you even when they don’t find us.”
“No worries about that, lad. The Queen’s Guards still uphold the law, even if they do let traitors strut around showing white. As for the night . . . well, Lamgwin and his friends might not get much sleep, but I could almost pity anybody who tries to put a mark on my door.”
Gilda appeared beside them, dropping a curtsy to Master Gill. “Sir, there’s . . . there’s a lady. In the kitchens.” She sounded scandalized at the combination. “She’s asking for Master Rand, sir, and Master Mat, by name.”
Rand exchanged a puzzled look with the innkeeper.
“Lad,” Master Gill said, “if you’ve actually managed to bring the Lady Elayne down from the Palace to my inn, we’ll all end up facing the headsman.” Gilda squeaked at the mention of the Daughter-Heir and gave Rand a round-eyed stare. “Off with you, girl,” the innkeeper said sharply. “And keep quiet about what you’ve heard. It’s nobody’s business.” Gilda bobbed again and darted down the hallway, flashing glances over her shoulder at Rand as she went. “In five minutes”—Master Gill sighed—“she will be telling the other women you’re a prince in disguise. By nightfall it will be all over the New City.”
“Master Gill,” Rand said, “I never mentioned Mat to Elayne. It can’t be—” Suddenly a huge smile lit up his face, and he ran for the kitchens.
“Wait!” the innkeeper called behind him. “Wait until you know. Wait, you fool!”
Rand threw open the door to the kitchens, and there they were.
Moiraine rested her serene eyes on him, unsurprised. Nynaeve and Egwene ran laughing to throw their arms around him, with Perrin crowding in behind them, all three patting his shoulders as if they had to be convinced that he was really there. In the doorway leading to the stableyard Lan lounged with one boot up on the doorframe, dividing his attention between the kitchen and the yard outside.
Rand tried to hug the two women and shake Perrin’s hand, all at the same time, and it was a tangle of arms and laughter complicated by Nynaeve trying to feel his face for fever. They looked somewhat the worse for wear—bruises on Perrin’s face, and he had a way of keeping his eyes downcast that he had never had before—but they were alive, and together again. His throat was so tight he could barely talk. “I was afraid I’d never see you again,” he managed finally. “I was afraid you were all . . . ”
“I knew you were alive,” Egwene said against his chest. “I always knew it. Always.”
“I did not,” Nynaeve said. Her voice was sharp for just that moment, but it softened in the next, and she smiled up at him. “You look well, Rand. Not overfed by any means, but well, thank the Light.”
“Well,” Master Gill said behind him, “I guess you know these people after all. Those friends you were looking for?”
Rand nodded. “Yes, my friends.” He made introductions all around; it still felt odd to be giving Lan and Moiraine their right names. They both eyed him sharply when he did.
The innkeeper greeted everyone with an open smile, but he was properly impressed at meeting a Warder, and especially at Moiraine. At her he gaped openly—it was one thing knowing an Aes Sedai had been helping the boys, quite something else having her appear in the kitchen—then bowed deeply. “You are welcome to The Queen’s Blessing, Aes Sedai, as my guest. Though I suppose you will be staying at the Palace with Elaida Sedai, and the Aes Sedai who came with the false Dragon.” Bowing again, he gave Rand a quick, worried look. It was all very well to say he did not speak ill of Aes Sedai, but that was not the same as saying he wanted one sleeping under his roof.
Rand nodded encouragingly, trying to tell him silently that it was all right. Moiraine was not like Elaida, with a threat hidden behind every glance, under every word. Are you sure? Even now, are you sure?
“I believe I will stay here,” Moiraine said, “for the short time I remain in Caemlyn. And you must allow me to pay.”
A calico cat sauntered in from the hallway to strop the innkeeper’s ankles. No sooner had the calico begun than a fuzzy gray sprang from under the table, arching its back and hissing. The calico crouched with a threatening growl, and the gray streaked past Lan into the stableyard.
Master Gill began apologizing for the cats at the same time he protested that Moiraine would honor him by being his guest, and was she sure she would not prefer the Palace, which he would quite understand, but he hoped she would accept his best room as a gift. It made a jumble to which Moiraine seemed to pay no attention at all. Instead she bent down to scratch the orange-and-white cat; it promptly left Master Gill’s ankles for hers.
“I’ve seen four other cats here, so far,” she said. “You have a problem with mice? Rats?”
“Rats, Moiraine Sedai.” The innkeeper sighed. “A terrible problem. Not that I don’t keep a clean place, you understand. It’s all the people. The whole city is full of people and rats. But my cats take care of it. You’ll not be troubled, I promise.”
Rand exchanged a fleeting look with Perrin, who put his eyes down again right away. There was something odd about Perrin’s eyes. And he was so silent; Perrin was almost always slow to speak, but now he was saying nothing at all. “It could be all the people,” he said.
“With your permission, Master Gill,” Moiraine said, as if she took it for granted. “It is a simple matter to keep rats away from this street. With luck, the rats will not even realize they are being kept away.”
Master Gill frowned at that last, but he bowed, accepting her offer. “If you are sure you don’t want to stay at the Palace, Aes Sedai.”
“Where is Mat?” Nynaeve said suddenly. “She said he was here, too.”
“Upstairs,” Rand said. “He’s . . . not feeling well.”
 “He’s sick? I’ll leave the rats to her, and I’ll attend to him.  “I will join you in a few minutes. We are crowding Master Gill’s kitchen, and it would be best if we could all be somewhere quiet for a time.” There was an undercurrent in her voice. Stay out of sight. The hiding is not done yet.
“Come on,” Rand said.
The Emond’s Field folk crowded after him to the back staircase, leaving the Aes Sedai and the Warder in the kitchen with Master Gill. He could not get over being back together. It was nearly as if he were home again. He could not stop grinning.
The same relief, almost joyous, seemed to be affecting the others. They chuckled to themselves, and kept reaching out to grip his arm.
“Moiraine said she could find you and Mat, and she did. When we rode into the city, the rest of us couldn’t stop staring—well, all except Lan, of course—all the people, the buildings, everything.”  “It’s all so big. And so many people. Some of them kept staring at us, too, shouting ‘Red or white?’ like it made some kind of sense.”
Egwene touched Rand’s sword, fingering the red wrappings. “What does it mean?”
“Nothing,” he said. “Nothing important. We’re leaving for Tar Valon, remember?”
Egwene gave him a look, but she removed her hand from the sword and took up where Perrin had left off. “Moiraine didn’t look at anything any more than Lan did.  Then, all of a sudden, she took off down a street, and the next thing I knew we were handing the horses to the stablemen and marching into the kitchen. She never even asked if you were here. Just told a woman who was mixing batter to go tell Rand al’Thor and Mat Cauthon that someone wanted to see them. And there you were”—she grinned—“like a ball popping into the gleeman’s hand out of nowhere.”
“Where is the gleeman?” Perrin asked. “Is he with you?”
Rand’s stomach lurched and the good feeling of having friends around him dimmed. “Thom’s dead. I think he’s dead. There was a Fade . . . ” He could not say any more. Nynaeve shook her head, muttering under her breath.
The silence thickened around them, stifling the little chuckles, flattening the joy, until they reached the head of the stairs.
“Mat’s not sick, exactly,” he said then. “It’s . . . You’ll see.” He flung open the door to the room he shared with Mat. “Look who’s here, Mat.”
Mat was still curled up in a ball on the bed, just as Rand had left him. He raised his head to stare at them. “How do you know they’re really who they look like?” he said hoarsely. His face was flushed, the skin tight and slick with sweat. “How do I know you’re who you look like?”
“Not sick?” Nynaeve gave Rand a disdainful look as she pushed past him, already unslinging her bag from her shoulder.
“Everybody changes,” Mat rasped. “How can I be sure? Perrin? Is that you? You’ve changed, haven’t you?”  “Oh, yes, you’ve changed.”
To Rand’s surprise Perrin dropped onto the edge of the other bed with his head in hands, staring at the floor. Mat’s hacking laughter seemed to pierce him.
Nynaeve knelt beside Mat’s bed and put a hand to his face, pushing up his headcloth. He jerked back from her with a scornful look. His eyes were bright and glazed. “You’re burning,” she said, “but you should not be sweating with this much fever.” She could not keep the worry out of her voice. “Rand, you and Perrin fetch some clean cloths and as much cool water as you can carry. I’ll bring your temperature down first, Mat, and—”
“Pretty Nynaeve,” Mat spat. “A Wisdom isn’t supposed to think of herself as a woman, is she? Not a pretty woman. But you do, don’t you? Now. You can’t make yourself forget that you’re a pretty woman, now, and it frightens you. Everybody changes.” Nynaeve’s face paled as he spoke, whether with anger or something else, Rand could not tell. Mat gave a sly laugh, and his feverish eyes slid to Egwene. “Pretty Egwene,” he croaked. “Pretty as Nynaeve. And you share other things now, don’t you? Other dreams. What do you dream about now?” Egwene took a step back from the bed.
“We are safe from the Dark One’s eyes for the time being,” Moiraine announced as she walked into the room with Lan at her heels. Her eyes fell on Mat as she stepped through the doorway, and she hissed as if she had touched a hot stove. “Get away from him!”
Nynaeve did not move except for turning to stare at the Aes Sedai in surprise. In two quick steps Moiraine seized the Wisdom by the shoulders, hauling her across the floor like a sack of grain. Nynaeve struggled and protested, but Moiraine did not release her until she was well away from the bed. The Wisdom continued her protests as she got to her feet, angrily straightening her clothes, but Moiraine ignored her completely. The Aes Sedai watched Mat to the exclusion of everything else, eyeing him the way she would a viper.
“All of you stay away from him,” she said. “And be quiet.”
Mat stared back as intently as she. He bared his teeth in a silent, snarling rictus, and pulled himself into an ever tighter knot, but he never took his eyes from hers. Slowly she put one hand on him, lightly, on a knee drawn up to his chest.
One minute Lan was in the doorway, the next he was at the bedside, as if he had not bothered with the intervening space. His hand caught Mat’s wrist, stopping the slash as if it had struck stone. Still Mat held himself in that tight ball. Only the hand with the dagger tried to move, straining against the Warder’s implacable grip. Mat’s eyes never left Moiraine, and they burned with hate.
Moiraine also did not move. She did not flinch from the blade only inches from her face, as she had not when he first struck. “How did he come by this?” she asked in a steel voice. “I asked if Mordeth had given you anything. I asked, and I warned you, and you said he had not.”
“He didn’t,” Rand said. “He . . . Mat took it from the treasure room.” Moiraine looked at him, her eyes seeming to burn as much as Mat’s. He almost stepped back before she turned away again, back to the bed. “I didn’t know until after we were separated. I didn’t know.”
“You did not know.” Moiraine studied Mat. He still lay with his knees pulled up to his chest, still snarled soundlessly at her, and his hand yet fought Lan to reach her with the dagger. “It is a wonder you got this far, carrying this. I felt the evil of it when I laid eyes on him, the touch of Mashadar, but a Fade could sense it for miles. Even though he would not know exactly where, he would know it was near, and Mashadar would draw his spirit while his bones remembered that this same evil swallowed an army—Dreadlords, Fades, Trollocs, and all. Some Darkfriends could probably feel it, too. Those who have truly given away their souls. There could not help but be those who would wonder at suddenly feeling this, as if the very air around them itched. They would be compelled to seek it. It should have drawn them to it as a magnet draws iron filings.”
“There were Darkfriends,” Rand said, “more than once, but we got away from them. And a Fade, the night before we reached Caemlyn, but he never saw us.” He cleared his throat. “There are rumors of strange things in the night outside the city. It could be Trollocs.”
“Oh, it’s Trollocs, sheepherder,” Lan said wryly. “And where Trollocs are, there are Fades.” Tendons stood out on the back of his hand from the effort of holding Mat’s wrist, but there was no strain in his voice. “They’ve tried to hide their passage, but I have seen sign for two days. And heard farmers and villagers mutter about things in the night. The Myrddraal managed to strike into the Two Rivers unseen, somehow, but every day they come closer to those who can send soldiers to hunt them down. Even so, they won’t stop now, sheepherder.”
“But we’re in Caemlyn,” Egwene said.  “The Fades are building their numbers in the countryside. That’s plain enough from the sign, if you know what to look for. Already there are more Trollocs than they need just to watch all the ways out of the city, a dozen fists, at least. There can only be one reason; when the Fades have enough numbers, they will come into the city after you. That act may send half the armies of the south marching to the Borderlands, but the evidence is that they’re willing to take that risk. You three have escaped them too long. It looks as if you’ve brought a new Trolloc War to Caemlyn, sheepherder.”
Egwene gave a gasping sob, and Perrin shook his head as though to deny it. Rand felt a sickness in his stomach at the thought of Trollocs in the streets of Caemlyn. All those people at one another’s throats, never realizing the real threat waiting to come over the walls. What would they do when they suddenly found Trollocs and Fades in their midst, killing them? He could see the towers burning, flames breaking through the domes, Trollocs pillaging through the curving streets and vistas of the Inner City. The Palace itself in flames. Elayne, and Gawyn, and Morgase . . . dead.
“Not yet,” Moiraine said absently. She was still intent on Mat. “If we can find a way out of Caemlyn, the Halfmen will have no more interest here. If. So many if’s.”
“Better we were all dead,” Perrin said suddenly, and Rand jumped at the echo of his own thoughts. Perrin still sat staring at the floor—glaring at it now—and his voice was bitter. “Everywhere we go, we bring pain and suffering on our backs. It would be better for everyone if we were dead.”
Nynaeve rounded on him, her face half fury and half worried fear, but Moiraine forestalled her.
“What do you think to gain, for yourself or anyone else, by dying?” the Aes Sedai asked. Her voice was level, yet sharp. “If the Lord of the Grave has gained as much freedom to touch the Pattern as I fear, he can reach you dead more easily than alive, now. Dead, you can help no one, not the people who have helped you, not your friends and family back in the Two Rivers. The Shadow is falling over the world, and none of you can stop it dead.”
Perrin raised his head to look at her, and Rand gave a start. The irises of his friend’s eyes were more yellow than brown. With his shaggy hair and the intensity of his gaze, there was something about him . . . Rand could not grasp it enough to make it out.
Perrin spoke with a soft flatness that gave his words more weight than if he had shouted. “We can’t stop it alive, either, now can we?”
“I will have time to argue with you later,” Moiraine said, “but your friend needs me now.” She stepped aside so they could all see Mat clearly. His eyes still on her with a rage-filled stare, he had not moved or changed his position on the bed. Sweat stood out on his face, and his lips were bloodless in an unchanging snarl. All of his strength seemed to be pouring into the effort to reach Moiraine with the dagger Lan held motionless. “Or had you forgotten?”
Perrin gave an embarrassed shrug and spread his hands wordlessly.
“What’s wrong with him?” Egwene asked, and Nynaeve added, “Is it catching? I can still treat him. I don’t seem to catch sick, no matter what it is.”
“Oh, it is catching,” Moiraine said, “and your . . . protection would not save you.” She pointed to the ruby-hilted dagger, careful not to let her finger touch it. The blade trembled as Mat strained to reach her with it. “This is from Shadar Logoth. There is not a pebble of that city that is not tainted and dangerous to bring outside the walls, and this is far more than a pebble. The evil that killed Shadar Logoth is in it, and in Mat, too, now. Suspicion and hatred so strong that even those closest are seen as enemies, rooted so deep in the bone that eventually the only thought left is to kill. By carrying the dagger beyond the walls of Shadar Logoth he freed it, this seed of it, from what bound it to that place. It will have waxed and waned in him, what he is in the heart of him fighting what the contagion of Mashadar sought to make him, but now the battle inside him is almost done, and he almost defeated.  Just as one scratch from that blade is enough to infect and destroy, so, soon, a few minutes with Mat will be just as deadly.”
 “Can you do anything?” she whispered.
“I hope so.” Moiraine sighed. “For the sake of the world, I hope I am not too late.” Her hand delved into the pouch at her belt and came out with the silk-shrouded angreal . “Leave me. Stay together, and find somewhere you will not be seen, but leave me. I will do what I can for him.”


Madison radio station switches to playing all holiday tunes for season
by Tabatha WethalMADISON, Wis. - Although Thursday was covered in snow and teeming with trick-or-treaters, a Madison radio station was already in the holiday spirit.
WMHX MIX 105.1 announced on its website and social media Thursday that it has made the seasonal change to "play Christmas music all the time" on Halloween.
On its Twitter account, 105.1 said the reason for the Oct. 31 switch is because the "snow has got us in the Christmas spirit."
Last year, the station switched to holiday music on Nov. 15.


Who We Are : Carnegie Financial Services (CFS) offers premier online banking services, known as ebanking. Our satisfied customers range from major corporations, such as wealthy individuals and to large numbers of professionals, educators, and students of all income ranges. Our sevices range from private bank and overseas bank for wealth people to personal loan to the bad credit
Our Offerings : CFS products run the gamut from free checking accounts and certificates of deposit to home mortgages, business loans, and personal loans. And, Many of our services require no transaction fee, like free checking and free foreign transaction service. We give our customers secure online wire transfer and best investment advice – in fact we operate 24-7-365 – and provide them the highest interst rate on deposits and low interest loans.


DOM manipulation example
Change the title
Pretty Ugly Shopping List
Oranges
Apples
Bananas
Aircraft carrier
Revenge
The Souls of My Enemies
Script source