How does life look through the 'pleasure, passion and purpose' lens?
I am not sure if i understand it correctly. I will just write what is in my head about life through the 3 different aspects.
There is not much pleasure happenning in my life at the moment,it was a mess with some life changing things drag me down,weeks after weeks,i am getting through and moving on for a bright tomorrow,I still got hope which helps me motivate me to be a happier person.
I have the passion to chase the purpose i have to be a happy person, and useful human being.There was a quite long period of my life i was confused and lost what i want and how to live the rest of my life. Eventually i figured it out, life is how you treat it, just enjoy and being happy. Do things you like and social with people you enjoy being around with.I am recharging myself to be the passionate and energized man chasing the true meaning of why we live in this world.
What are your core values? && What do you stand for?
When i get lost and depressed, I thought i am an useless person,I am just nobody. when the time flies, i got the point everyone of us is individual, I live for myself, to enjoy a human's happiness, to love and be loved. We work and do our job to make it that we call 'daily life'.
Obviously we all stand for ourselves, so do i, i stand for myself, being who i am. stand for the faith of if you have dream you should never give up.
How did you find the resilience ideas and meditation exercise?
It helps me keeping calmed and being optimistic to face failure. Motivate me not to give up.
Any other musings?
I am not too sure how many people would be like me,I agree with the method talked in the videos, and I believe it definetly can make my life change dramaticlly if i follow the correct way. But seems it is very easy to forget to put them in practise in the daily life. I just keep forgetting most of the technics talked in the 'search inside yourself'.


class Doctrine\DBAL\Types\TextType
Type that maps an SQL CLOB to a PHP string.
Construction
| Doctrine\DBAL\Types\ |
The base class for so-called Doctrine mapping types. |
Hierarchy
Constants
-
string BIGINT = "bigint"
Prototype Doctrine\DBAL\Types\ Type::BIGINT inherit See Doctrine\DBAL\Types\ Types::BIGINT -
string BINARY = "binary"
Prototype Doctrine\DBAL\Types\ Type::BINARY inherit See Doctrine\DBAL\Types\ Types::BINARY -
string BLOB = "blob"
Prototype Doctrine\DBAL\Types\ Type::BLOB inherit See Doctrine\DBAL\Types\ Types::BLOB -
string BOOLEAN = "boolean"
Prototype Doctrine\DBAL\Types\ Type::BOOLEAN inherit See Doctrine\DBAL\Types\ Types::BOOLEAN -
string DATE = "date"
Prototype Doctrine\DBAL\Types\ Type::DATE inherit See Doctrine\DBAL\Types\ Types::DATE_MUTABLE -
string DATE_IMMUTABLE = "date_immutable"
Prototype Doctrine\DBAL\Types\ Type::DATE_IMMUTABLE inherit See Doctrine\DBAL\Types\ Types::DATE_IMMUTABLE -
string DATEINTERVAL = "dateinterval"
Prototype Doctrine\DBAL\Types\ Type::DATEINTERVAL inherit See Doctrine\DBAL\Types\ Types::DATEINTERVAL -
string DATETIME = "datetime"
Prototype Doctrine\DBAL\Types\ Type::DATETIME inherit See Doctrine\DBAL\Types\ Types::DATETIME_MUTABLE -
string DATETIME_IMMUTABLE = "datetime_immutable"
Prototype Doctrine\DBAL\Types\ Type::DATETIME_IMMUTABLE inherit See Doctrine\DBAL\Types\ Types::DATETIME_IMMUTABLE -
string DATETIMETZ = "datetimetz"
Prototype Doctrine\DBAL\Types\ Type::DATETIMETZ inherit See Doctrine\DBAL\Types\ Types::DATETIMETZ_MUTABLE -
string DATETIMETZ_IMMUTABLE = "datetimetz_immutable"
-
string DECIMAL = "decimal"
Prototype Doctrine\DBAL\Types\ Type::DECIMAL inherit See Doctrine\DBAL\Types\ Types::DECIMAL -
string FLOAT = "float"
Prototype Doctrine\DBAL\Types\ Type::FLOAT inherit See Doctrine\DBAL\Types\ Types::FLOAT -
string GUID = "guid"
Prototype Doctrine\DBAL\Types\ Type::GUID inherit See Doctrine\DBAL\Types\ Types::GUID -
string INTEGER = "integer"
Prototype Doctrine\DBAL\Types\ Type::INTEGER inherit See Doctrine\DBAL\Types\ Types::INTEGER -
string JSON = "json"
Prototype Doctrine\DBAL\Types\ Type::JSON inherit See Doctrine\DBAL\Types\ Types::JSON -
string JSON_ARRAY = "json_array"
Prototype Doctrine\DBAL\Types\ Type::JSON_ARRAY inherit See Doctrine\DBAL\Types\ Types::JSON_ARRAY -
string OBJECT = "object"
Prototype Doctrine\DBAL\Types\ Type::OBJECT inherit See Doctrine\DBAL\Types\ Types::OBJECT -
string SIMPLE_ARRAY = "simple_array"
Prototype Doctrine\DBAL\Types\ Type::SIMPLE_ARRAY inherit See Doctrine\DBAL\Types\ Types::SIMPLE_ARRAY -
string SMALLINT = "smallint"
Prototype Doctrine\DBAL\Types\ Type::SMALLINT inherit See Doctrine\DBAL\Types\ Types::SMALLINT -
string STRING = "string"
Prototype Doctrine\DBAL\Types\ Type::STRING inherit See Doctrine\DBAL\Types\ Types::STRING -
string TARRAY = "array"
Prototype Doctrine\DBAL\Types\ Type::TARRAY inherit See Doctrine\DBAL\Types\ Types::ARRAY -
string TEXT = "text"
Prototype Doctrine\DBAL\Types\ Type::TEXT inherit See Doctrine\DBAL\Types\ Types::TEXT -
string TIME = "time"
Prototype Doctrine\DBAL\Types\ Type::TIME inherit See Doctrine\DBAL\Types\ Types::TIME_MUTABLE -
string TIME_IMMUTABLE = "time_immutable"
Prototype Doctrine\DBAL\Types\ Type::TIME_IMMUTABLE inherit See Doctrine\DBAL\Types\ Types::TIME_IMMUTABLE
Properties
Methods
-
getSQLDeclaration ($column, $platform) : string
Gets the SQL declaration snippet for a column of this type. Parameters array mixed[] $column The column definition
Doctrine\DBAL\Platforms\ AbstractPlatform $platform The currently used database platform.
Return string Prototype Doctrine\DBAL\Types\ Type::getSQLDeclaration() Gets the SQL declaration snippet for a column of this type. override -
convertToPHPValue ($value, $platform) : mixed
Converts a value from its database representation to its PHP representation
of this type.Parameters mixed $value The value to convert.
Doctrine\DBAL\Platforms\ AbstractPlatform $platform The currently used database platform.
Return mixed The PHP representation of the value.
Prototype Doctrine\DBAL\Types\ Type::convertToPHPValue() Converts a value from its database representation to its PHP representation override -
getName () : string
Gets the name of this type. Parameters Return string Prototype Doctrine\DBAL\Types\ Type::getName() Gets the name of this type. override -
__construct () : void
Parameters Return void Prototype Doctrine\DBAL\Types\ Type::__construct() inherit See Doctrine\DBAL\Types\ Type::addType() -
convertToDatabaseValue ($value, $platform) : mixed
Converts a value from its PHP representation to its database representation
of this type.Parameters mixed $value The value to convert.
Doctrine\DBAL\Platforms\ AbstractPlatform $platform The currently used database platform.
Return mixed The database representation of the value.
Prototype Doctrine\DBAL\Types\ Type::convertToDatabaseValue() Converts a value from its PHP representation to its database representation inherit -
getDefaultLength ($platform) : int
null Gets the default length of this type.
Parameters Doctrine\DBAL\Platforms\ AbstractPlatform $platform Return int null Prototype Doctrine\DBAL\Types\ Type::getDefaultLength() Gets the default length of this type. inherit -
getTypeRegistry () : Doctrine\DBAL\Types\
TypeRegistry Parameters Return Doctrine\DBAL\Types\ TypeRegistry Prototype Doctrine\DBAL\Types\ Type::getTypeRegistry() inherit -
getType ($name) : Doctrine\DBAL\Types\
Type Factory method to create type instances.
Type instances are implemented as flyweights.Parameters string $name The name of the type (as returned by getName()).
Return Doctrine\DBAL\Types\ Type Throws Doctrine\DBAL\ Exception Prototype Doctrine\DBAL\Types\ Type::getType() Factory method to create type instances. inherit -
addType ($name, $className) : void
Adds a custom type to the type map.
Parameters string $name The name of the type. This should correspond to what getName() returns.
class-string<Type> $className The class name of the custom type.
Return void Throws Doctrine\DBAL\ Exception Prototype Doctrine\DBAL\Types\ Type::addType() Adds a custom type to the type map. inherit -
hasType ($name) : bool
Checks if exists support for a type.
Parameters string $name The name of the type.
Return bool TRUE if type is supported; FALSE otherwise.
Prototype Doctrine\DBAL\Types\ Type::hasType() Checks if exists support for a type. inherit -
overrideType ($name, $className) : void
Overrides an already defined type to use a different implementation.
Parameters string $name class-string<Type> $className Return void Throws Doctrine\DBAL\ Exception Prototype Doctrine\DBAL\Types\ Type::overrideType() Overrides an already defined type to use a different implementation. inherit -
getBindingType () : int
Gets the (preferred) binding type for values of this type that
can be used when binding parameters to prepared statements.This method should return one of the
Doctrine\DBAL\ParameterType constants.Parameters Return int Prototype Doctrine\DBAL\Types\ Type::getBindingType() Gets the (preferred) binding type for values of this type that inherit -
getTypesMap () : string[]
Gets the types array map which holds all registered types and the corresponding
type classParameters Return string[] Prototype Doctrine\DBAL\Types\ Type::getTypesMap() Gets the types array map which holds all registered types and the corresponding inherit -
__toString () : string
-
canRequireSQLConversion () : bool
Does working with this column require SQL conversion functions?
This is a metadata function that is required for example in the ORM.
Usage ofconvertToDatabaseValueSQL and
convertToPHPValueSQL works for any type and mostly
does nothing. This method can additionally be used for optimization purposes.Parameters Return bool Prototype Doctrine\DBAL\Types\ Type::canRequireSQLConversion() Does working with this column require SQL conversion functions? inherit -
convertToDatabaseValueSQL ($sqlExpr, $platform) : string
Modifies the SQL expression (identifier, parameter) to convert to a database value.
Parameters string $sqlExpr Doctrine\DBAL\Platforms\ AbstractPlatform $platform Return string Prototype Doctrine\DBAL\Types\ Type::convertToDatabaseValueSQL() Modifies the SQL expression (identifier, parameter) to convert to a database value. inherit -
convertToPHPValueSQL ($sqlExpr, $platform) : string
Modifies the SQL expression (identifier, parameter) to convert to a PHP value.
Parameters string $sqlExpr Doctrine\DBAL\Platforms\ AbstractPlatform $platform Return string Prototype Doctrine\DBAL\Types\ Type::convertToPHPValueSQL() Modifies the SQL expression (identifier, parameter) to convert to a PHP value. inherit -
getMappedDatabaseTypes ($platform) : string[]
Gets an array of database types that map to this Doctrine type.
Parameters Doctrine\DBAL\Platforms\ AbstractPlatform $platform Return string[] Prototype Doctrine\DBAL\Types\ Type::getMappedDatabaseTypes() Gets an array of database types that map to this Doctrine type. inherit -
requiresSQLCommentHint ($platform) : bool
If this Doctrine Type maps to an already mapped database type,
reverse schema engineering can't tell them apart. You need to mark
one of those types as commented, which will have Doctrine use an SQL
comment to typehint the actual Doctrine Type.Parameters Doctrine\DBAL\Platforms\ AbstractPlatform $platform Return bool Prototype Doctrine\DBAL\Types\ Type::requiresSQLCommentHint() If this Doctrine Type maps to an already mapped database type, inherit


fatal
ignorant
legislation
magnificent
- triumph
- The result was triumph.
- His team began to triumph.
- universal
- They deny that there is any universal normative morality.
- The first basic problem that universal bank face is risk management.
- vital
- Rigorous forward-looking appraisal is vital too.
- Not everyone agrees the first is vital.
- be hard to say
- While it might be hard to say what’s true, would you want a white lie told to you ?
- It would be pretty hard to say since neither country had a history of foreign expeditions for us to use as comparison.
- dam
- Before the dam was built. Campbell River is used to flood in the spring.
- The floor weakened the dam.
- embark
- He’s embarking on a new career as a writer.
- They embarked on a ship for Europe.
- hang up
- She hang up on me.
- The talks were hang up for a week.
- keep sb. down
- He keep his head down as his mother blames him.
- The government tried to keep down the rebels.
- languid
- He’s a large. Languid man with a round and impassive face.
- manufacture
- This method of manufacture evolved out of a long process of trial.
- Government move the manufacture out of the city.
- physician
- The old physician was unfrocked by the Medical Association?
- If it does,you should discuss with your physician, other approaches to cholesterol control.
- plausible
- Both ideas sound plausible and there was no way of telling in advance who was right.
- But this view is incorrect, no matter how plausible it may seem.
- refugee
- At 18 she left the hospital and move into an apartment with a fellow refugee.
- I am refugee.
- stereotype
- But when a particular stereotype is activated can we avoid being influenced by it?
- First, add the stereotype to this class.
- fatal
- Life is an invariable fatal disease.
- They can also suffer potentially fatal placenta problem.
- considerate
- While they may not be romantic they are considerate and committed.
- Would’t friends be more considerate of each other.
- inventory
- the inventory cycle is powerful phenomenon.
- the inventory turnaround is global.
- mislead
- an intensions change and states can mislead.
- the jobless figured may also mislead;
- objective
- Don’t attribute all your mistakes to objective causes.
- Fun is a central objective.
- perception
- Perception is a dynamic phenomenon.
- A change in gender perception may also be a factor.
- porous
- Some may drift off cross porous borders.
- Regulations on cross-border investment are becoming increasingly porous.
- priority
- The government priority is to build more power plants.
- Education is a high priority in China.
- Satisfactory
- But few married couples found it satisfactory.
- Is there a satisfactory way out of the dilemma ?
- staff
- I must say you have a great staff.
- He dismissed all the staff.
- superb
- it is a superb bodycare moisturizer.
- Its architect is unknown, but his work was superb.
- Catholic
- He was a man of catholic tastes, a lover of grand opera, history and the fine arts.
- at less nine out of ten Mexicans are baptized catholic.
- crown
- He laid his hand gently on the crown of her head.
- She says the sovereignty of the crown must be preserved.
- erroneous
- Some people have the erroneous notion that one can contract AIDS by giving blood.
- No erroneous ideas should be allowed to spread unchecked.
- excrement
- The cage smelled of excrement.
- They should be especially careful around uncooked meat, domestic animals,human excrement and lake or river water.
- from the outset
- The West has learned through bitter experience to avoid grievous mistakes it made from the outset of that venture.
- But this particular project, from the outset, was plagued with in decision.
- hold sb down
- It took three strong men to hold him down.

- We should settled the business on hand first.
- stand in line
- Now she will learn to stand in line, and wait by the alphabet for her name to be called.
- I know I stand in line, until you think you have the time
- secretary
- His secretary got it down.
- And yet I think secretary Clinton can do herself one better.


QGIS versions 1.8.0, 2.0.0, 2.0.1, and 2.4.0
diff file_v1.txt file_v2.txt
> git clone https://github.com/try-git/try_git.git
Cloning into 'try_git'...
warning: You appear to have cloned an empty repository.
Checking connectivity... done.
> cd try_git/
> echo "some work" > my_file.txt
> git add my_file.txt
> git status
On branch master
Initial commit
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: my_file.txt
> git commit -m "I did some work. Wow!"
1 file changed, 1 insertion(+)
create mode 100644 my_file.txt
> git log
commit 9e0e514d7b54e45d2d8667472376d125939a780a
Author: Chris Holden<EMAIL_ADDRESS>Date: Sun Oct 5 19:23:53 2014 -0400
I did some work. Wow!
> git push origin master
Because of some network firewall reasons, we cannot pull
or push
using HTTPS.
Instead we have to use SSH:
Github for education (free private repos for students): https://education.github.com/


Gregory Paul Zierten
Unafffiliated
Recently retired.
MBA - Vanderbilt University BA - University of California - Berkeley
80226
I was a delegate to the Texas democratic state convention in 1994. However, a far more important political activity is voting. I have voted in every election, for so long that my kids no longer even try to catch me on small local elections. Nothing is a better teacher than example. and nothing is a more important political activity than voting.
Current volunteer with Jefferson County Open Space. Previous volunteer for over ten years for Street Reach - an organization providing meals for the homeless in downtown Denver. Previously volunteered on several faith based committees.
My experience in organizing and advocating for groups and organizations is primarily in a not for profit business setting where I advocated to regulators on behalf of my members. Also, I have served as a jury foreman on a criminal case in Colorado where my role was to initiate and encourage respectful, fact based conversation where everyone felt heard, including the two eighteen year olds on the jury panel. Then to work toward a decision - the verdict.
First, I have the time. Second, I have experience working with diverse groups in a not for profit environment and know how to contribute positively in group setting and even lead those discussions. Third, I think it's really important to get this right, other states may follow our lead. Fourth, I have the analytical skills and experience to reach conclusions on numbers based problems.
Having worked for two not for profits, I understand how non-top-down organizations work. I've chaired member committees for years and used the following approach successfully. First, listen, ensure everyone has their say, understand that not everyone sees things the same way, listen respectfully to everyone and actively encourage everyone's participation and then look for consensus solutions
I've had a career in financial industry, have an MBA and a statistical background, so have the analytical skillset and dealt with numerical problems throughout my career. As to applying logic and reason to a problem in a group setting, what has worked for me is (1) Get the group to agree on the goals (some examples in this setting could be - as best as possible, ensure all voters have a voice, no strange shaped districts like Michigan or North Carolina; geographic areas with similar concerns should be in similar districts; and so on). (2( Get the group to agree to civil and open discourse, (3) Let the discussion take its course encouraging everyone to participate and raise questions or objections based on the agreed goals. (4) Get buy in to what was agreed to.
Male


Category
T-shirt
Shoes
mobiles
Login/SignUp
create
Already registered?
Sign In
login
Not registered?
Create an account


Using Add new file provider or Import file provider you agree, that Virtual Folder stores authentication token or other type of credentials encrypted in VF database. This information is used only when a resources (files, folders) are read/updated via Virtual Folder portal or via link generated by some Virtual Folder widget. If you remove selected file provider then corresponding token or credentials are deleted and all links to it become invalid.
The West-Life VRE uses B2DROP to store data files. B2DROP is a secure and trusted data exchange service for researchers and scientists. Create B2drop account at Register.
Generate username and password for this VirtualFolder at Generate and copy the generated values to the appropriate fields bellow:
Username:DROPBOX is a commercial data store and exchange service. West-life portal can use your DROPBOX account to access and download your data files.
I know the secure tokenYou need to have a DROPBOX account.
Connect to DROPBOXWebDAV is standard protocol to access files via the web. If you have address (WebDAV url) of a service, you can add it to West-life virtual folder directly.
WebDAV URL:


Hotel Info
Transparent Economy
ORG ID
Hotel Rooms
Booking Form
Selected Room
Booking Details
Book
Your booking is confirmed!
Booked Room
Booking Detail
Transaction in progress...


Lone Pine Koala Sanctuary
While in Brisbane we took a city bus out to the Lone Pine Koala Sanctuary about 30 minutes away. This was started in 1927 as the world's first koala sanctuary and now protects over 130 koalas! They own their own eucalyptus plantations around the Brisbane area to provide food for the animals, and truck in new branches daily.
We timed our visit to coincide with feeding for quite a few of the animals, and so saw the tasmanian devil (world's largest carnivorous marsupial) ripping apart raw wallaby meat...
the platypus swimming after his food (Alan's favourite childhood animal)...
and the koala eating eucalyptus. We declined paying an extra $18 to hold a koala and take a photo, but after listening to a ranger talk, we got to stroke one and take a picture beside it anyway. Such a strong scent of eucalyptus on them.
We didn't know much about koalas before we went, but we found out a ton during the koala talk! One crazy fact about koalas is that the babies are actually born on the back of the mother and must crawl, using only their sense of smell, around the mother's body to the pouch in the front. When born they are only the size of a nickel and spend the next 6 months in the pouch.
They had a farm area with sheep to visit, and we saw the sheep-herding show as well as a sheep-shearing! It was quite interesting really for us city folk to watch a shearing - they really throw the sheep around whilst shearing it, and it was interesting to see and touch the wool right off the sheep's back still warm and oily.
The kangaroo area is open to the public and you can walk around freely with the kangaroos, even feeding them with food from the gift shop. Kaitlyn was a bit timid to get too close in case they kicked her, but we did manage to find a roo with a joey which was cute.
They also have a range of other Australian animals, so we checked off a lot of boxes for strange animals that day.
The perentie - Australia's largest lizard
A blue-winged kookaburra
The lorrikeets were colourful and loud
I liked the freshwater turtle (or terrapin)
And an emu
Overall we really liked the koala sanctuary and we're really glad we decided to go! We definitely recommend that you go check it out if you're in the Brisbane area.


STOREY.COM
Welcome,
Username
PRODUCT DEMO
form here
Save
Username
Profile
50%
Settings
Help
Log Out
Category Name
Description
View More


WARNING
Content Under Development
See release page for latest official PDF version.
 So I always develop mine incrementally. First, let’s
allow an adjustable field of view (_fov_). This is the angle you see through the portal. Since our
image is not square, the fov is different horizontally and vertically. I always use vertical fov. I
also usually specify it in degrees and change to radians inside a constructor -- a matter of
personal taste.
I first keep the rays coming from the origin and heading to the $z = -1$ plane. We could make it the
$z = -2$ plane, or whatever, as long as we made $h$ a ratio to that distance. Here is our setup:
![Figure 10-1](../assets/fig10-1.jpg)
This implies $h = tan(\theta/2)$. Our camera now becomes:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
#ifndef CAMERAH
#define CAMERAH
#include "ray.h"
class camera {
public:
camera(float vfov, float aspect) { // vfov is top to bottom in degrees
float theta = vfov*M_PI/180;
float half_height = tan(theta/2);
float half_width = aspect * half_height;
lower_left_corner = vec3(-half_width, -half_height, -1.0);
horizontal = vec3(2*half_width, 0.0, 0.0);
vertical = vec3(0.0, 2*half_height, 0.0);
origin = vec3(0.0, 0.0, 0.0);
}
ray get_ray(float u, float v) {
return ray(origin,
lower_left_corner + u*horizontal + v*vertical - origin);
}
vec3 origin;
vec3 lower_left_corner;
vec3 horizontal;
vec3 vertical;
};
#endif
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When calling it with camera `cam(90, float(nx)/float(ny))` and these spheres:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
float R = cos(M_PI/4);
list[0] = new sphere(vec3(-R,0,-1), R, new lambertian(vec3(0, 0, 1)));
list[1] = new sphere(vec3( R,0,-1), R, new lambertian(vec3(1, 0, 0)));
hitable *world = new hitable_list(list,2);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gives:
![Image 10-1](../assets/img10-1.jpg)
To get an arbitrary viewpoint, let’s first name the points we care about. We’ll call the position
where we place the camera _lookfrom_, and the point we look at _lookat_. (Later, if you want, you
could define a direction to look in instead of a point to look at.)
We also need a way to specify the roll, or sideways tilt, of the camera; the rotation around the
lookat-lookfrom axis.  What we need is a way to specify an up
vector for the camera. Notice we already we already have a plane that the up vector should be in,
the plane orthogonal to the view direction.
![Figure 10-2](../assets/fig10-2.jpg)
We can actually use any up vector we want, and simply project it onto this plane to get an up vector
for the camera. I use the common convention of naming a “view up” (_vup_) vector. A couple of cross
products, and we now have a complete orthonormal basis (u,v,w) to describe our camera’s orientation.
![Figure 10-3](../assets/fig10-3.jpg)
Remember that `vup`, `v`, and `w` are all in the same plane. Note that, like before when our fixed
camera faced -Z, our arbitrary view camera faces -w. And keep in mind that we can -- but we don’t
have to -- use world up (0,1,0) to specify vup. This is convenient and will naturally keep your
camera horizontally level until you decide to experiment with crazy camera angles.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
#ifndef CAMERAH
#define CAMERAH
#include "ray.h"
class camera {
public:
camera(vec3 lookfrom, vec3 lookat, vec3 vup, float vfov, float aspect) {
// vfov is top to bottom in degrees
vec3 u, v, w;
float theta = vfov*M_PI/180;
float half_height = tan(theta/2);
float half_width = aspect * half_height;
origin = lookatfrom;
w = unit_vector(lookfrom - lookat);
u = unit_vector(cross(vup, w));
v = cross(w, u);
lower_left_corner = origin - half_width*u - half_height*v - w;
horizontal = 2*half_width*u;
vertical = 2*half_height*v;
}
ray get_ray(float s, float t) {
return ray(origin,
lower_left_corner + s*horizontal + t*vertical - origin);
}
vec3 origin;
vec3 lower_left_corner;
vec3 horizontal;
vec3 vertical;
};
#endif
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This allows us to change the viewpoint:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
camera cam(vec3(-2,2,1), vec3(0,0,-1), vec3(0,1,0), 90, float(nx)/float(ny));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
to get:
![Image 10-2](../assets/img10-2.jpg)
And we can change field of view to get:
![Image 10-3](../assets/img10-3.jpg)


Highway.Data 5.0 Released ( <IP_ADDRESS> )
New Features, and better Domain Driven Design support
Domain Context
We have added support for advanced domain specific contexts. These allow for detailed manipulation of your data access patterns. It adheres to the Domain Driven version of a bounded context.
Simplified Creation Pattern
We have also added the much requested Repository
factories. These give you the ability to use Highway.Data in services and long living work-flows without having to hand roll your own management of unit of work.
Entity Framework <IP_ADDRESS> Support
We shipped an EF 6.0 supported version now that some of the initial release bugs have been patch. We did require the <IP_ADDRESS> version so that we could make sure you get their fixes as well.
We will be working over the next 3-4 weeks to support some of the new features ( that we don’t already support) in Entity Framework 6.0.
More Details are here: EF 6.0
Breaking Changes:
AsQueryable off Repository.Context
After seeing a lot of examples from clients, friends, and other speakers using repository.Context.AsQueryable()
, we realized that this represented a large hole in the design pattern for Query Object separation. We have remove that hole this publish. If you were using this for simple operations please look at the pre-built queries, or codify the queries into Query<T>, Scalar<T>, Command<T>
objects.
Interception
We have disabled event interception for the simple DataContext
as it caused an additional understanding and performance overhead. This is in an effort make sure we have a simple entry story for most developers. If you were using this feature, we have good news. We have expanded the feature with pre/post Command
, Scalar
, and Query
execution intercept points, as well as kept the standard pre/post save. These features have moved onto the DomainContext<T>
class due to their advanced nature.
More Details are here:
Thanks to:
Curtis Schlak for pushing us to get EF 6.0 support published.
Michael Dudley for the design sessions on vacation in Las Vegas, and the push to finish the beta release.


How moving to Jekyll saved me $120
Leaving Bluehost
I signed up for a Bluehost account in about 2007, a Millenia ago and diligently paid for my annual renewal every year (it seems that they dropped prices but kept charging me the same $10 per month ).
Most of the stuff I had on my box were experiments, my portfolio, and a couple of client sites. I was using only like 10% of my 10GB box (which they now upgraded to infinity).
I really had no reason to move… everything worked sort of okay, i got my emails, clicked around my cpanel and uploaded stuff with Filezilla… that is until my box got hacked, likely through my Wordpress install or through my pedestrian SSH access (very likely my fault ), I spent a weekend trying to clean it up but eventually I was so frustrated I just decided to close my Bluehost account for good (although i still had a whole year paid up).
I needed to a new home quickly, I needed a solution that would allow me to be up and running within an hour and that is how I ended up on Jekyll.
Wordpress — the Heavy weight
I had began disliking how really Heavy weight Wordpress is, sometime you just want to write a story but then you find yourself swimming through a sea of plugins and configuration options you know… Jetpack, Akismet bla bla bla… it is so so big. Wordpress by it’s own admission is no longer a simple blogging platform, it not even a CMS…. Its a Web OS
WordPress was first for pure blogging, then became embraced as a CMS (though some people still deny this), is seeing growth and innovation in being used as an application platform (I think we’re about a third of the way through that), and just now starting to embrace social and mobile — the fourth phase of our evolution.
–Matt Mullenweg, WordPress Founder, 2012
I see the future of WordPress as a web operating system.
–Matt Mullenweg, WordPress Founder, 2013
Wordpress keeps all your content in an opaque database with very granular columns, just looking at your content with phpMyadmin can make your head spin. (Jekyll has a really neat meta section at the top… that’s it the rest of content is in static Markdown files)
Luckily did not feel like moving with any of the stuff i had written so far, i just wanted a clean slate “ You Know Nothing Chaos ”
I was very happy to leave Wordpress behind.
Ghost — The Light weight
Termed the “Wordpress Killer” after the hype it’s Kickstarter campaign kicked up. I immediately loved Ghost’s cleaner user interface, simple templating and styling and Node JS geekyness… that why i used it on Ongair’s Blog
Still to run Ghost you need a server that can run Node.js and there not very many cheap options, BlueHost can’t.. technically it can but it would take a lot of wrangling to get it working. The fastest way to get onto Ghost is a $5/mo droplet on Digital Ocean $5 that i did not have to spend.
Ghost is a very solid solution, even some big blogs have moved over to Ghost people like Envato.
Enter the Octocat
I had played around with Jekyll and Github pages before, at the time it seemed a little Hackish and experimental, since i already had all my code on Github I decide to give Jekyll another try.
Github pages are really easy to set up
Getting started on Jekyll was not difficult, yes it’s not the famous 5 minute WP install but it is still simple enough. After wrangling around with a few problems and a couple of gotchas i was up and running.
Once my domain name propagated my hosting costs were $0
They are a couple of quick themes to get you started with Jekyll really fast, I like Poole by My Huge Nerd @mdo and there is a whole list of good looking Jekyll themes here too.
There are also some easy tools to help you migrate your current blog over to Jekyll.
Jekyll is not a hobby platform either, Obama care is an example of a large website built on Jekyll.
Jekyll has a couple of advantages;
You use markdown to write you articles, you can write markdown straight into Github, you can also use Sublime text with a Markdown extension or something like Prose.io (i use all of them ) Markdown is easy to use.
Host for free on Github.

No more databases, , or pesky updates to install , no just your content. Makes your site a lot faster since you are mostly serving up static files
Simplicity, No CMS to deal with, No Fat WYSIWYG editor to fight with. Simple backups. There is no funny plugin soup in the background doing something that you do not understand to 1 of you 200 .php files
Also running Jekyll on your machine is very easy, compared with all the hoops you have to jump through to get WP or Ghost running locally.
Jekyll’s Blogging for Hackers Ethos might make it a steep climb for some people but it’s advantages far outweigh the learning curve.
Jekyll rocks.
Others
I also checked out Harp.js for 10 minutes.
But Wait
What about Medium 2.0, Medium is great but you have no control over your code etc.
Stay Foolish
Discovery starts with accepting the obvious, that you know Nothing


Hello everybody. I'm Nicolas, a Software Engineer from Ukraine that specializes in architecture app development.
The main direction of my study and work are designing and development Cross-platform native apps for different aspects of life.
A Developer is a formally trained programmer. They dont just solve problems or create things, but do so in accordance with a set of design and implementation principles. These include things like performance, maintainability, scale, robustness, and (ideally) security.
Life gets loud, stressful, and tense. When you're ready to pull the trigger on some serious leisure, set a block of time and keep it.  Every now and then, it's ok.If you're good-natured, hapless, and lazy, people will think it's just part of your personality.  Sleep.


TIKI TANK CONTROL
Panels
Treads
Barrel
Settings
current effect:
CURRENT EFFECT
No FX :(
current effect:
CURRENT EFFECT
No FX :(
input:
SET VALUE
SET COLOR
AUTOMATIC
SCREEN SAVER
current effect:
CURRENT EFFECT
No FX :(
input:
SET VALUE
SET COLOR
SCREEN SAVER
Brightness:
SET VALUE
10%
25%
50%
100%
Manual tick interval [ms]:
SET VALUE
Screensaver effect interval [mins]:
SET VALUE


Wrong size protection, you can use only:
'xs' | 'sm' | 'md' | 'lg' | 'cozy' | 'compact' | 'condensed'
Initial size:
xsssss
View size:
md
Initial Rate: 0.51
View rate: {{ rate3.viewValue }}
Initial Rate: 2.51
View rate: {{ rate4.viewValue }}
Initial Rate: 4.99 View rate: {{ rate5.viewValue }}
Initial Rate:<PHONE_NUMBER>312313.99 (Wrong value) View rate: {{ rate6.viewValue }}
Disabled Rating indicator


The COMSC football team was founded in 2011 by a small group of friends just out of love for the game. Since then the team has grown to include a variety of people with different abilities and from different subject areas too. In our 2012/13 season the team initially started off well, featuring in the local paper after beating EarthSOC, an undefeated team for two years 21. Then the team hit a rough patch, with inconsistent form not helped by game cancellations due to the worse than usual wet weather. The teams performance after the christmas break continued in the same manner unfortunately. Ending the season with more defeats than wins and draws combined. However this makes us more determined than ever to aim for a more successful season. We hope that next season we will have a more consistent approach to improve team performance but to also keep things friendly, fun and importantly lots of socials!


--- title: "The end" layout: default permalink: /end/ ---
Congratulations! You did it!
{{ tweet-text }} {{ site-url }}
Don’t be a 🧟 monster. Make your websites keyboard accessible.Learn more with the following ressources:


a mobile app that streamlines the process of moving in to new cities in the US.
MoveIt is a mobile app that helps students (typically out-of-state or international students) who might not have anyone to help them move-in when they first travel to US college towns and cities. The app does this by facilitating connections with existing students in these cities to provide moving services and also has a virtual marketplace for buying used goods and furniture.
While empathy is a core requirement in most design philosophies this particular problem demanded the utmost level of empathy to the user. Users face varying levels of stress from medium to extremely high during different stages of the moving-in process, so this app had to alleviate that stress as much as possible and not induce any further stress.
Another important factor to be consider was reducing the steps involved. Moving-in involves making many decisions, often repeatedly. The app had to balance the number of decisions involved with fast planning. It achieves this by leveraging a unique crowdfunded pricing algorithm to streamline purchase decisions. In short, the app oozes minimalistic design.
As one reads the story behind this project and looks at the various perspectives I have offered, it will become clear that this is not a random app. It’s based on my own personal struggles. In order to evoke strong emotions in the reader and enable them to empathize with users, I worked hard on storytelling to deliver a powerful rhetoric and inspire people to reach out and help others.
Defining the problem
Having moved to the US only recently (in Fall 2016), to a place where I knew no one, I experienced first-hand the problem of moving-in. Hunting for an apartment, dealing with ironclad US rental agreements, and finding furniture were harder than they should have been. A week into a series of unfortuntate events that just made things very hard for me, an old friend I hadn’t met or even spoken to in 12 years came out from nowhere and offered to help me settle in. A week of sleeping on the floor with only my jeans and a couple of sweatshirts to act as a blanket had finally come to an end.
Talking to others, mostly out-of-state and international students, about their own experiences, made me realize that this was a common problem — one without a permanent solution.  The crux of the problem was that there was no one place which offered cheap and safe moving services and a marketplace where one could buy reliable second-hand furniture. This made me turn away from frustrations towards the sketching board, feverishly working on a solution. It fueled my desire to become a designer.
Market research
I took a look at 4 direct competitors who were offering similar services or platforms to see what I could offer as an improvement.
Sketching Alternatives
As I went about brainstorming potential solutions, I came up with the following ideas. They ranged from simple to simply wild ideas to solve this problem.
To narrow down the scope and add some perspectives to the individual steps involved, I walked users through the processes that I envisioned each of these ideas as consisting of. Based on the feedback I received, I drew up a more detailed set of steps for each idea. This is what I came up with.
User interviews and personas
The most important part of this product is, of course, the user. So, I set about talking to potential users of MoveIt — international students and out of state students. Their concerns and experiences provided useful insights that drove design decisions. The output from the interviews were personas that shed light on user needs and behaviors that I would hope to incorporate in the app.
Paper Prototype
As the problem became more defined and user needs more relevant, it was time to set about focusing on a preliminary solution. The user needs, as captured during interviews were:
Preliminary Design
The preliminary solution was a mobile app that would consist of three separate features that would cater to each of these user needs:
User Testing
The next step was to build a paper prototype of the app, test it on users and get their feedback to eventually drive design decisions.
Design Decisions
After showing users the paper prototype, users felt that there were too many moving parts to the app. They felt that booking a U-Haul truck was fairly easy without the app and that adding that feature would not be required. So, when making the final prototype, I decided to remove it entirely.
Users enjoyed the bargaining push notifications. It was especially useful for introverted users who felt that American bargaining could be somewhat aggressive. Additionally, it helped some international students overcome the language barrier by providing an alternative to verbal/in-person bargaining.
Users also praised the crowdsourced price range for the items. There were some concerns from buyers who felt that they could not trust the system entirely, but praised the transparency of the system.
Hi-Fi Prototype
Based on the feedback provided, I made the final hi-fi prototype using Sketch and Invision.
Who will use it
As mentioned previously, the target audience for this app are college students who are either out-of-state or international.
The app seeks to disrupt the moving industry by offering students the opportunity to make some money by signing up as human labor to help their fellow students move into their houses. By leveraging the strength and sense of community that student groups often possess, MoveIt offers secure and economical forms of moving assistance as well as a marketplace for reliable products offered by students themselves.
On the app, users can sign up either as:
The Business side of things
In order to get people interested there needs to be an incentive. However, it is also important to note that the reason this app is being developed in the first place is to offer competitive pricing and secure transactions. To achieve that, there will be two decisions made from a business perspective:


A REST resource is simply a Java class annotated with {@link oajr.annotation.Rest @Rest}.
The most common case is a class that extends {@link oajr.servlet.BasicRestServlet}, which itself is simply an
extension of {@link jakarta.servlet.http.HttpServlet} which allows it to be deployed as a servlet.
Juneau has two sample applications for demonstrating how to use the REST API, one using Jetty and one using
Spring Boot:
- org.apache.juneau.examples.rest.jetty
- org.apache.juneau.examples.rest.springboot
The org.apache.juneau.examples.rest.springboot application is described in the section SpringBoot Overview.
The Jetty application consists of the following application class that registers our top-level servlet:
| public class App {
|
| public static void main(String[] args) throws Exception {
| JettyMicroservice
| .create()
| .args(args)
| .servlet(RootResources.class)
| .build()
| .start()
| .startConsole()
| .join();
| }
| }
The root resources class is an example of a router page that is used to attach children to:
| @Rest(
| title="Root resources",
| description="Example of a router resource page.",
| children={
| HelloWorldResource.class,
| DtoExamples.class,
| UtilityBeansResource.class,
| HtmlBeansResource.class,
| ConfigResource.class,
| ShutdownResource.class
| }
| )
| @HtmlDocConfig(
| widgets={
| ContentTypeMenuItem.class
| },
| navlinks={
| "api: servlet:/api",
| "stats: servlet:/stats",
| "$W{ContentTypeMenuItem}",
| "source: $C{Source/gitHub}/org/apache/juneau/examples/rest/RootResources.java"
| },
| aside={
| "
",
| "
This is an example of a 'router' page that serves as a jumping-off point to child resources.
",
| "
Resources can be nested arbitrarily deep through router pages.
",
| "
Note the API link provided that lets you see the generated swagger doc for this page.
",
| "
Also note the STATS link to view runtime statistics on this page.
",
| "
Also note the SOURCE link to view the source code for the page.
",
| "
All content on pages in the UI are serialized POJOs. In this case, it's a serialized array of beans with 2 properties, 'name' and 'description'.
",
| "
Other features (such as this aside) are added through annotations.
",
| "
"
| },
| asideFloat="RIGHT"
| )
| @SerializerConfig(
| // For testing purposes, we want to use single quotes in all the serializers so it's easier to do simple
| // String comparisons.
| // You can apply any of the Serializer/Parser/BeanContext settings this way.
| quoteChar="'"
| )
| public class RootResources extends BasicRestServletGroup {
| private static final long serialVersionUID = 1L;
| }
This is what it looks like in a browser:
The {@link oaj.examples.rest.HelloWorldResource} class is our basic example of a child REST resource:
| @Rest(
| title="Hello World",
| description="An example of the simplest-possible resource",
| path="/helloWorld"
| )
| @HtmlDocConfig(
| aside={
| "
",
| "
This page shows a resource that simply response with a 'Hello world!' message
",
| "
The POJO serialized is a simple String.
",
| "
"
| }
| )
| public class HelloWorldResource extends BasicRestObject {
|
| @RestGet(path="/*", summary="Responds with \"Hello world!\"")
| public String sayHello() {
| return "Hello world!";
| }
| }
This is what it looks like in a browser:
It doesn't much simpler than that.
In this case, we're simply returning a string that will be converted to any of the supported languages (e.g.
JSON, XML, HTML, ...).
However, we could have returned any POJO consisting of beans, maps, collections, etc...


Join the tiles to find out more about me!
New GameHow to play: Use your arrow keys to move the tiles. When two identical touch, they merge into another tile!
Created by Simanta Gautam. Based on 2048 by Gabriele Cirulli and 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.
Hi! My name is Simanta Gautam, and I am currently a freshman at MIT planning to double major in Math and EECS with a minor in Philosophy. I’m a fan of 2048, so I thought this would be a cool way to share my interests and some of my previous projects! As you merge identical tiles, you will get new tiles that reveal an interest or a previous project of mine.
Any questions? Email them to<EMAIL_ADDRESS>During the Independent Activities Period (IAP) at MIT, students have the month of January to work on any project that they want. I used this time to get my feet wet in web development by creating a database-backed website with dynamically generated pages. Working in a team with three other students, we decided to make a website that helps local musicians connect with local fans as an event-finding and social network application.
My role in the team involved backend development with Ruby on Rails and some front-end design. From this project, I gained proficiency in HTML, CSS, Ruby on Rails, and some exposure to Javascript. Additionally, our website, Metronotes, was awarded second place among 40 teams at the MIT 6.470 Web Development competition for functionality, aesthetics, and viability.
My ‘senior project’ in high school was an ambitious, 6-month undertaking to build a fully autonomous, 1-meter sailboat from scratch with four other students. In these six months, we acquired several thousand dollars in funding from local companies, designed and 3D-printed some parts of the boat, and built a control system around an Arduino 2560 microcontroller using an integrated GPS and wind sensors. Lastly, we programmed a waypoint navigation algorithm that gave our sailboat the autonomy to sail by herself.
My role in the project was developing the waypoint navigation algorithm in C, contributing to the hull design on Autodesk, and communicating with dozens of tech companies to fund our project. From this project, I also gained a lot of experience in team collaboration and figuring out quick fixes to small problems that popped up throughout the project.
In June of 2013, we went to Gloucester, MA to compete in the International Robotic Sailing Regatta. There, we were awarded first place in North America in the one-meter class after our team won all the autonomous events and the Innovation award for her six segment 3D-printed hull.
I spent the summer after my junior year at doing research with the MIT Math Department as a participant in the Research Science Institute. Under the mentorship of a graduate student, I started my research on the Spherical Codes Problem, an open problem in discrete geometry and optimization, that summer.
After the summer ended, I continued working on this problem in between classes during the school year. By the end, I created a gradient descent algorithm to optimally distribute points in higher dimensional spheres. This algorithm utilized concepts from group theory and produced some novel results for the problem.
I received several accolades for this project, including Second Place in Mathematics at the 2013 Intel International Science and Engineering Fair, Third Place Karl Menger Memorial Award by the American Mathematical Society, and "Best of Show" at the 2013 National Junior Science and Humanities Symposium.
To keep myself busy during my sophomore year of high school, I started looking into Bitcoin, which, at the time, was only one year old and not very well known. I spent several months with a friend understanding Bitcoins in great detail and focused on documenting its vulerabilities. Eventually, we wrote a 36-page paper titled "On the Vulnerability of the Bitcoin Distributed Electronic Cash System".
One thing we focused on in this paper was the feasibility of a 51% attack, where the attacker amasses more CPU power than the rest of the network. We mined data from Bitcoin IRC Bot and estimated that, at the time, an attacker could amass more CPU power than the network for $136,000 per hour. This estimate was calculated assuming the attacker uses Amazon's Cluster GPU Instances.
We chose not to publicly distribute our research, but email me if you're interested in reading the paper. Most of the statistics in the paper are now outdated.
The summer after my freshman year in high school, I went to Boston University to study number theory at PROMYS. After coming back from this program, I decided to independently pursue an open-ended problem in number theory regarding full-reptend primes. I extensively studied the densities and distributions of these primes in different bases.
After several months of exploring and thinking, I came up with several conjectures of my own and proved them rigorously. I presented my work at the 2011 Intel ISEF, where I received Second Place Grand Award in Mathematics and recognition from MIT Lincoln Lab by having a minor planet named after me.
One of my current interests is in Android Development. I plan to finish going through the Android Development tutorials by the end of April. Along with the tutorials, I am also currently developing a note-taking app similar to Notes on the App Store, but meant to be more user friendly and with additional features like color tags.
Eventually, I also hope to be able to develop simple games and integrate an app with physical machines as a form of remote control.
I'm really interested in Micro Air Vehicles (MAVs), especially quadcopters. One particular area that I find interesting in quadcopter development is creating fully autonomous copters in both GPS and GPS-denied areas.The latter case is much harder because stability is a key concern in development. A quadcopter must always be moving even when it's learning about its environment.
Recently, I joined the MIT UAV Team, and hope to gain experience with developing quadcopters. Eventually, I would like to be able to create a quadcopter that is integrated with a smart phone or one that does something useful.
Though I don't know very much about this field, I have recently gained a lot of interest in machine learning. My interest mostly stems from the large range of applications of machine learning in technologies today and those to come. Other than Bayesian Networks, I haven't done any projects with machine learning, but I've worked on many projects where machine learning would have helped tremendously.
This summer, I plan to either learn some topics in machine learning from textbook or work on some project that forces me to explore this field.
Since coming to MIT, I have found that I really enjoy writing on philosophical topics. Though I've only taken courses like Survey of Philosophy and Bioethics, I've found time to read outside of class in topics like metaphyics and religion.
Currently, I'm writing a paper titled "Religion in Us All", related not to religion in its most common definition, but to the values and ideas specific to an individual. Writing this particular paper is mostly an attempt to crystallize some thoughts I've had for a while.
Wow, congratulations for making it this far into the game. I don't really know what to say for this block, but if you want to find out more about me, please feel free to shoot an email at simanta@mit.edu.


| 002:126 Khan | : |
And (remember) when Ibrahim (Abraham) said, "My Lord, make this city (Makkah) a place of security and provide its people with fruits, such of them as believe in Allah and the Last Day." He (Allah) answered: "As for him who disbelieves, I shall leave him in contentment for a while, then I shall compel him to the torment of the Fire, and worst indeed is that destination!" |
| 002:126 Maulana | : |
And when Abraham said: My Lord, make this a secure town and provide its people with fruits, such of them as believe in Allah and the Last Day. He said: And whoever disbelieves, I shall grant him enjoyment for a short while, then I shall drive him to the chastisement of the Fire. And it is an evil destination. |
| 002:126 Pickthal | : |
And when Abraham prayed: My Lord! Make this a region of security and bestow upon its people fruits, such of them as believe in Allah and the Last Day, He answered: As for him who disbelieveth, I shall leave him in contentment for a while, then I shall compel him to the doom of Fire - a hapless journey's end! |
| 002:126 Rashad | : |
Abraham prayed: "My Lord, make this a peaceful land, and provide its people with fruits. Provide for those who believe in GOD and the Last Day." (God) said, "I will also provide for those who disbelieve. I will let them enjoy, temporarily, then commit them to the retribution of Hell, and a miserable destiny." |
| 002:126 Sarwar | : |
When Abraham prayed to the Lord saying ,"Lord, make this town a place of security and provide those in the town who believe in God and the Day of Judgement, with plenty," God replied, "I shall allow those who hide the truth to enjoy themselves for a while.  |
| 002:126 Shakir | : |
And when Ibrahim said: My Lord, make it a secure town and provide its people with fruits, such of them as believe in Allah and the last day. He said: And whoever disbelieves, I will grant him enjoyment for a short while, then I will drive him to the chastisement of the fire; and it is an evil destination. |
| 002:126 Sherali | : |
And remember when Abraham said, 'My Lord, make this a town of peace and provide with fruits such of its dwellers as believe in ALLAH and the Last Day.' ALLAH said 'And on him too who believes not, will I bestow benefits for a little while; then will I drive him to the punishment of the Fire, and an evil destination it is. |
| 002:126 Yusufali | : |
And remember Abraham said: "My Lord, make this a City of Peace, and feed its people with fruits,-such of them as believe in Allah and the Last Day." He said: "(Yea), and such as reject Faith,-for a while will I grant them their pleasure, but will soon drive them to the torment of Fire,- an evil destination (indeed)!" |
Concepts/Themes Covered: أركان الإسلام > التوحيد > الكافرون > صفات الكفار Pillars of Islam> Islamic> The Disbelievers> The Characteristics of the Disbelievers أركان الإسلام > الحج والعمرة > مكة المكرمة Pillars of Islam> Hajj and Umrah> The Honoured Macca الإيمان > الغيب > النار > أسماء النار > بئس المصير Faith> The Unseen World> Hell-Fire>Hell Names> Bad End الإيمان > الغيب > النار > أصحاب النار Faith> The Unseen World> Hell-Fire>Hell Fellows
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Parents of Hazed Fraternity Pledge Say Ritual Caused Death
by MATTHEW RENDA(CN) – The parents of a deceased university sued a national fraternity in California state court Thursday after a hazing incident led to the untimely death of their son.
Daphne Beletsis and Yvonne Rainey, the surviving parents of Alexander Beletsis, filed the lawsuit in Santa Cruz County Superior Court claiming the Theta Chi Fraternity chapter operating on the University of California, Santa Cruz caused the death of their son through alcohol-fueled hazing rituals.
“Defendant Theta Chi National knew or should have known of the long-documented risk of death and serious injury posed by fraternity traditions like the Crossover Ceremony and related membership rituals and events, and their respective failures in reforming such dangers, which resulted in the death of Alex,” the plaintiffs said in the complaint.
A Crossover Ceremony is a hazing ritual performed by the fraternity to initiate prospective pledges into the organization or further indoctrinate lower ranking members as they are groomed for officer positions.
One such ceremony took place on June 2, 2018, at which Beletsis and other pledges were plyed with copious amounts of alcohol, including shots of vodka. The senior fraternity members threatened Beletsis with physical punishment if he did not comply with the ritual and berated him with epithets like “pussy” and “faggot,” according to the complaint.

After imbibing a large amount of alcohol in several forms, Beletsis became visibly inebriated, slurring his words and displaying erratic behavior.
In an effort to curb his behavior, the fraternity brothers placed Beletsis by himself in a second-story bathroom, purportedly so he could collect himself.
Instead, he stumbled out of a window, plummeting head first and crushing his skull as he struck the concrete below.
The house was occupied by the Theta Chi UC Santa Cruz Chapter president and was a known satellite destination for the fraternity, according to the complaint.
“That residence, occupied exclusively by the chapter president and other fraternity members, was a satellite house for the chapter and chapter events, and had been the scene of seven emergency calls for ambulance service to care for people in medical danger during the preceding year,” the complaint says.
The plaintiffs are also suing the landlord of the building, saying the second story bathroom window was constructed and maintained in a negligent manner.
The complaint further blames the national fraternity for withholding information about past infractions, including other hazing deaths like that of Philip Dhanens in 2012.
“Because Theta Chi National and the chapter keep secret incidents of misconduct and other important risk information, Alex and his family knew nothing about the dangerous history of misconduct of the chapter,” the complaint says.
In the aftermath of Beletsis’s death, the Theta Chi members at UC Santa Cruz convened an emergency meeting with members of the national organization and agreed to stonewall a university investigation into the tragedy, according to the lawsuit.
“At the outset of the university’s investigation, Theta Chi National’s Executive Director Michael Mayer, contacted the university and, either directly or through another employee acting under his direction and authority, falsely declared that Alex’s death was not connected to a chapter event,” the complaint says.
The fraternity frequently and repeatedly interfered in UC Santa Cruz’s attempts to investigate and determine the cause of Beletsis’s death, the complaint says. Ultimately, university investigators concluded the events leading up to the death of Beletsis were hosted by the chapter and the behavior of the fraternity officers and brothers was “deeply appalling.”
The surviving parents are seeking punitive damages in the case.
An email sent to Theta Chi Fraternity Inc. was not immediately returned Thursday evening.
Copyright © 2019 courthousenews.com


Background
Today we are going to discuss one way in which the silhouette of an object can be detected. To make things clearer, I'm referring to the silhouette of a 3D object which is created when light falls upon it from an arbitrary direction. Moving the light source will likely change the silhouette accordingly. This is entirely different from silhouette detection in image space that deals with finding the boundaries of an object in a 2D picture (which is usually not dependant on the location of the light source). While the subject of silhouette detection may be interesting by itself, for me its main goal is as a first step in the implementation of a Stencil Shadow Volume. This is a technique for rendering shadows which is particularly useful when dealing with point lights. We will study this technique in the next tutorial (so you may refer to this tutorial as "Stencil Shadow Volume - Part 1"...).
The following image demonstrates the silhouette that we want to detect:
In the image above the silhouette is the ellipsis which is touched by the light rays.
Let us now move to a more traditional 3D language. A model is basically composed of triangles so the silhouette must be created by triangle edges. How do we decide whether an edge is part of the silhouette or not? The trick is based on the diffuse light model. According to that model the light strength is based on the dot product between the triangle normal and the light vector. If the triangle faces away from the light source the result of this dot product operation will be less than or equal to zero. In that case the light doesn't affect the triangle at all. In order to decide whether a triangle edge is part of the silhouette or not we need to find the adjacent triangle that shares the same edge and calculate the dot product between the light direction and the normals of both the original triangle and its neighbor. An edge is considered a silhouette edge if one triangle faces the light but its neighbor does not.
The following picture shows a 2D object for simplicity:
The red arrow represents the light ray that hits the three edges (in 3D these would be triangles) whose normals are 1, 2 and 3 (dot product between these normals and the reverse of the light vector is obviously greater than zero). The edges whose normals are 4, 5 and 6 are facing away from the light (here the same dot product would be less than or equal to zero). The two blue circles mark the silhouette of the object and the reason is that edge 1 is facing the light but its neighbor edge 6 does not. The point between them is therefore a silhoette. Same goes for the other silhouette point. Edges (or points in this example) that face the light as well as their neighbors are not silhoette (between 1 and 2 and between 2 and 3).
As you can see, the algorithm for finding the silhouette is very simple. However, it does require us to have knowledge of the three neighbors of each triangle. This is known as the Adjacencies of the triangles. Unfortunately, Assimp does not support automatic adjacencies calculation for us so we need to implement such an algorithm ourselves. In the coding section we will review a simple algorithm that will satisfy our needs.
What is the best place in the pipeline for the silhouette algorithm itself? remember that we need to do a dot product between the light vector and the triangle normal as well as the normals of the three adjacent triangles. This requires us to have access to the entire primitive information. Therefore, the VS is not enough. Looks like the GS is more appropriate since it allows access to all the vertices of a primitive. But what about the adjacencies? luckily for us, the designers of OpenGL have already given it much thought and created a topology type known as 'triangle with adjacencies'. If you provide a vertex buffer with adjacency information it will correctly load it and provide the GS with six vertices per triangle instead of three. The additional three vertices belong to the adjacent triangles and are not shared with the current triangle. The following image should make this much clearer:
The red vertices in the above picture belong to the original triangle and the blue ones are the adjacent vertices (ignore the edges e1-e6 for now - they are referenced later in the code section). When we supply a vertex buffer in the above format the VS is executed for every vertex (adjacent and non adjacent) and the GS (if it exists) is executed on a group of six vertices that include the triangle and its adjacent vertices. When the GS is present it is up to the developer to supply an output topology but if there is no GS the rasterizer knows how to deal with such a scheme and it rasterizes only the actual triangles (ignoring the adjacent triangles). One of the readers informed me that such a setup has produced an error on his Macbook with Intel HD 3000 so if you run into a similar problem simply use a pass thru GS, or change the topology type.
Note that the adjacent vertices in the vertex buffer have the same format and attributes as regular vertices. What makes them adjacent is simply their relative location within each group of six vertices. In the case of a model whose triangles are continuous the same vertices will sometimes be regular and sometimes adjacent, depending on the current triangle. This makes indexed draws even more attractive due to the saving of space in the vertex buffer.
Source walkthru
(mesh.cpp:204)
void Mesh::FindAdjacencies(const aiMesh* paiMesh, vector& Indices)
{
for (uint i = 0 ; i < paiMesh->mNumFaces ; i++) {
const aiFace& face = paiMesh->mFaces[i];
Face Unique;
// If a position vector is duplicated in the VB we fetch the
// index of the first occurrence.
for (uint j = 0 ; j < 3 ; j++) {
uint Index = face.mIndices[j];
aiVector3D& v = paiMesh->mVertices[Index];
if (m_posMap.find(v) == m_posMap.end()) {
m_posMap[v] = Index;
}
else {
Index = m_posMap[v];
}
Unique.Indices[j] = Index;
}
m_uniqueFaces.push_back(Unique);
Edge e1(Unique.Indices[0], Unique.Indices[1]);
Edge e2(Unique.Indices[1], Unique.Indices[2]);
Edge e3(Unique.Indices[2], Unique.Indices[0]);
m_indexMap[e1].AddNeigbor(i);
m_indexMap[e2].AddNeigbor(i);
m_indexMap[e3].AddNeigbor(i);
}
Most of the adjacency logic is contained in the above function and a few helper structures. The algorithm is composed of two stages. In the first stage we create a map between each edge and the two triangles that share it. This happens in the above for loop. In the first half of this loop we generate a map between each vertex position and the first index that refers to it. The reason why different indices may point to vertices that share the same position is that sometimes other attributes force Assimp to split the same vertex into two vertices. e.g. the same vertex may have different texture attributes for two neighboring triangles that share it. This creates a problem for our adjacency algorithm and we prefer to have each vertex appear only once. Therefore, we create this mapping between a position and first index and use only this index from now on.
(mesh.cpp:240)
for (uint i = 0 ; i < paiMesh->mNumFaces ; i++) {
const Face& face = m_uniqueFaces[i];
for (uint j = 0 ; j < 3 ; j++) {
Edge e(face.Indices[j], face.Indices[(j + 1) % 3]);
assert(m_indexMap.find(e) != m_indexMap.end());
Neighbors n = m_indexMap[e];
uint OtherTri = n.GetOther(i);
assert(OtherTri != -1)
const Face& OtherFace = m_uniqueFaces[OtherTri];
uint OppositeIndex = OtherFace.GetOppositeIndex(e);
Indices.push_back(face.Indices[j]);
Indices.push_back(OppositeIndex);
}
}
}
In the second stage we populate the index vector with sets of six vertices each that match the topology of the triangle list with adjacency that we saw earlier. The map that we created in the first stage helps us here because for each edge in the triangle it is very easy to find the neighboring triangle that shares it and then the vertex in that triangle which is opposite to this edge. The last two lines in the loop alternate the content of the index buffer between vertices from the current triangle and vertices from the adjacent triangles that are opposite to edges of the current triangle.
There are a few additional minor changes to the Mesh class. I suggest you compare it to the version from the previous tutorial to make sure you capture all differences. One of the notable changes is that we use GL_TRIANGLES_ADJACENCY instead of GL_TRIANGLES as the topology when calling glDrawElementsBaseVertex(). If you forget that the GL will feed incorrectly sized primitives into the GS.
(silhouette.vs)
#version 330
layout (location = 0) in vec3 Position;
layout (location = 1) in vec2 TexCoord;
layout (location = 2) in vec3 Normal;
out vec3 WorldPos0;
uniform mat4 gWVP;
uniform mat4 gWorld;
void main()
{
vec4 PosL = vec4(Position, 1.0);
gl_Position = gWVP * PosL;
WorldPos0 = (gWorld * PosL).xyz;
}
In today's demo we are going to detect the silhouette of an object and mark it by a thick red line. The object itself will be drawn using our standard forward rendering lighting shader and the silhouette will be drawn using a dedicated shader. The code above belongs to the VS of that shader. There is nothing special about it. We just need to transform the position into clip space using the WVP matrix and provide the GS with the vertices in world space (since the silhouette algorithm takes place in world space).
(silhouette.gs)
#version 330
layout (triangles_adjacency) in;
layout (line_strip, max_vertices = 6) out;
in vec3 WorldPos0[];
void EmitLine(int StartIndex, int EndIndex)
{
gl_Position = gl_in[StartIndex].gl_Position;
EmitVertex();
gl_Position = gl_in[EndIndex].gl_Position;
EmitVertex();
EndPrimitive();
}
uniform vec3 gLightPos;
void main()
{
vec3 e1 = WorldPos0[2] - WorldPos0[0];
vec3 e2 = WorldPos0[4] - WorldPos0[0];
vec3 e3 = WorldPos0[1] - WorldPos0[0];
vec3 e4 = WorldPos0[3] - WorldPos0[2];
vec3 e5 = WorldPos0[4] - WorldPos0[2];
vec3 e6 = WorldPos0[5] - WorldPos0[0];
vec3 Normal = cross(e1,e2);
vec3 LightDir = gLightPos - WorldPos0[0];
if (dot(Normal, LightDir) > 0.00001) {
Normal = cross(e3,e1);
if (dot(Normal, LightDir) <= 0) {
EmitLine(0, 2);
}
Normal = cross(e4,e5);
LightDir = gLightPos - WorldPos0[2];
if (dot(Normal, LightDir) <=0) {
EmitLine(2, 4);
}
Normal = cross(e2,e6);
LightDir = gLightPos - WorldPos0[4];
if (dot(Normal, LightDir) <= 0) {
EmitLine(4, 0);
}
}
}
All the silhouette logic is contained within the GS. When using the triangle list with adjacencies topology the GS receives an array of six vertices. We start by calculating a few selected edges that will help us calculate the normal of the current triangle as well as the three adjacent triangles. Use the picture above to understand how to map e1-e6 to actual edges. Then we check whether the triangle faces the light by calculating a dot product between its normal and the light direction (with the light vector going towards the light). If the result of the dot product is positive the answer is yes (we use a small epsilon due to floating point inaccuracies). If the triangle does not face the light then this is the end of the way for it, but if it is light facing, we do the same dot product operation between the light vector and every one of the three adjacent triangles. If we hit an adjacent triangle that doesn't face the light we call the EmitLine() function which (unsurprisingly) emits the shared edge between the triangle (which faces the light) and its neighbor (which does not). The FS simply draws that edge in red.
(tutorial39.cpp:183)
void RenderScene()
{
// Render the object as-is
m_LightingTech.Enable();
Pipeline p;
p.SetPerspectiveProj(m_persProjInfo);
p.SetCamera(m_pGameCamera->GetPos(),
m_pGameCamera->GetTarget(), m_pGameCamera->GetUp());
p.WorldPos(m_boxPos);
m_LightingTech.SetWorldMatrix(p.GetWorldTrans());
m_LightingTech.SetWVP(p.GetWVPTrans());
m_mesh.Render();
// Render the object's silhouette
m_silhouetteTech.Enable();
m_silhouetteTech.SetWorldMatrix(p.GetWorldTrans());
m_silhouetteTech.SetWVP(p.GetWVPTrans());
m_silhouetteTech.SetLightPos(Vector3f(0.0f, 10.0f, 0.0f));
glLineWidth(5.0f);
m_mesh.Render();
}
This is how we use the silhouette technique. The same object is rendered twice. First with the standard lighting shader. Then with the silhouette shader. Note how the function glLightWidth() is used to make the silhouette thicker and thus more noticeable.
If you use the code above as-is to create the demo, you might notice a minor corruption around the silhouette lines. The reason is that the second render generates a line with roughly the same depth as the original mesh edge. This causes a phenomenon known as Z fighting as pixels from the silhouette and the original mesh cover each other in an inconsistent way (again, due to floating point accuracies). To fix this we call glDepthFunc(GL_LEQUAL) which relaxes the depth test a bit. It means that if a second pixel is rendered on top of a previous pixel with the same depth the last pixel always take precedence.


Hi, I am Nwachukwu Ani a Web Designer/Developer. I love accepting challenges that will boost my creativity. I find myself always learning the latest trends in web design and development. One of my favourite quotes: "The secret of getting ahead is getting started." - Mark Twain.
Let's Socialize


GALBITANG
Galbitang is a hearty, nourishing soup made with beef short ribs. This recipe shows you how to make traditional galbitang with the delicately clean taste it’s known for. Galbitang (???) is a clear soup made with beef short ribs (galbi, ??). It’s a hearty, nourishing soup with a delicate flavor. Typically, the ribs are boiled along with Korean radish (mu, ?), onion, garlic, and ginger until tender. Beef short ribs are an expensive cut of meat, so this soup is considered a luxury among Korean soups and often served for special occasions such as wedding receptions.


Try these Free text searches:
- Typing a DOI equal to '10.1007/978-3-319-11955-7_42' Try it ->
- Typing an article Q-ID equal to 'Q56083889' Try it ->
- Typing the keyword 'semantic' (Note: this search is very slow) Try it ->
Try these Advanced searches:
- Retrieve the list of articles citing 10.1016/J.WEBSEM.2012.08.001 with a minimum publication year equal to 2002 Try it ->
- Retrieve the articles citing 10.1145/2362499.2362502 published in 'Journal of Documentation' Try it ->
- Retrieve all the authors which have contributed on '10.3897/RIO.3.E12431' and their occupation is 'Researcher' Try it ->


Consider this Java program code:String st1, st2; st1 = "two"; st2 = "one"; st2 = st2 + st1; st1 = st2 + st1; st2 = st2 + st1; System.out.println("st1 = " + st1 + " and st2 = " + st2);What output is displayed in the Java Console when this code is executed?


Forward all traffic:
sshuttle -r username@sshserver <IP_ADDRESS>/0
- Use the sshuttle -r parameter to specify a remote server.
- By default sshuttle will automatically choose a method to use. Override with the sshuttle --method parameter.
- There is a shortcut for <IP_ADDRESS>/0 for those that value their wrists:
sshuttle -r username@sshserver 0/0
If you would also like your DNS queries to be proxied through the DNS server of the server you are connect to:
sshuttle --dns -r username@sshserver 0/0
The above is probably what you want to use to prevent local network attacks such as Firesheep and friends. See the documentation for the sshuttle --dns parameter.
(You may be prompted for one or more passwords; first, the local password to become root using sudo, and then the remote ssh password. Or you might have sudo and ssh set up to not require passwords, in which case you won’t be prompted at all.)
Usage Notes
That’s it! Now your local machine can access the remote network as if you were right there. And if your “client” machine is a router, everyone on your local network can make connections to your remote network.
You don’t need to install sshuttle on the remote server; the remote server just needs to have python available. sshuttle will automatically upload and run its source code to the remote python interpreter.
This creates a transparent proxy server on your local machine for all IP addresses that match <IP_ADDRESS>/0. (You can use more specific IP addresses if you want; use any number of IP addresses or subnets to change which addresses get proxied. Using <IP_ADDRESS>/0 proxies everything, which is interesting if you don’t trust the people on your local network.)
Any TCP session you initiate to one of the proxied IP addresses will be captured by sshuttle and sent over an ssh session to the remote copy of sshuttle, which will then regenerate the connection on that end, and funnel the data back and forth through ssh.
Fun, right?


Pystache Logo
Pystache is a Python implementation of the Mustache templating system. I respect the project, especially because the mascot simply had to be a python with a mustache. I designed the logo on spec and then pushed it to the Github account. I was fortunate enough to be approved. Technically it is a WIP. I plan to add better details to the back and modify some details.
Sketch & Official Logo
Response
Holy Crap,that’s awesome! -Chris Wanstrath, CEO and Co-Founder of Github


Easy Fried Rice
Ingredients:
- 3 tablespoons butter, divided
- 2 eggs, whisked
- 2 medium carrots, peeled and diced
- 1 small white onion, diced
- 1/2 cup frozen peas
- 3 cloves garlic, minced
- salt and black pepper
- 4 cups cooked and chilled rice
- 3 green onions, thinly sliced
- 3–4 tablespoons soy sauce, to taste
- 2 teaspoons oyster sauce (optional)
- 1/2 teaspoons toasted sesame oil
Instructions:
- Heat 1/2 tablespoon of butter in a large sauté pan* over medium-high heat until melted. Add egg, and cook until scrambled, stirring occasionally. Remove egg, and transfer to a separate plate.
- Add an additional 1 tablespoon butter to the pan and heat until melted. Add carrots, onion, peas and garlic, and season with a generous pinch of salt and pepper. Sauté for about 5 minutes or until the onion and carrots are soft. Increase heat to high, add in the remaining 1 1/2 tablespoons of butter, and stir until melted.
- Immediately add the rice, green onions, soy sauce and oyster sauce (if using), and stir until combined. Continue sautéing for an extra 3 minutes to fry the rice, stirring occasionally. (I like to let the rice rest for a bit between stirs so that it can crisp up on the bottom.) Then add in the eggs and stir to combine. Remove from heat, and stir in the sesame oil until combined.
- Serve immediately, or refrigerate in a sealed container for up to 3 days
2
Ready To Go?
Decide a meeting location to exchange meals with your match in the chat below!
Enter your meeting location below:
Please be sure to:
- Wear a mask covering your nose and chin
- Wash hands before and after handling food
- Socially distance from your match, at least 6 feet
Select one of the following:
- Picnic (weather permitting)
- Exchange food and video chat at home


A place for finding the perfect fit.
Room Me matches you with other people looking for roommates. Create a profile, take the quiz on your living style, and match with people like you.


Press n or j to go to the next uncovered block, b, p or k for the previous block.
| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| album-api.js |
|
91.46% | 257/281 | 72.68% | 133/183 | 100% | 21/21 | 96% | 216/225 |
| artist-api.js |
|
87.3% | 220/252 | 74.27% | 127/171 | 85.19% | 23/27 | 97.35% | 184/189 |
| browse-api.js |
|
87.31% | 117/134 | 83.75% | 67/80 | 68.75% | 11/16 | 91.89% | 102/111 |
| image-api.js |
|
89.63% | 441/492 | 78.5% | 241/307 | 96% | 24/25 | 97.11% | 370/381 |
| library-api.js |
|
94.89% | 130/137 | 86.67% | 78/90 | 75% | 6/8 | 97.35% | 110/113 |
| notification-api.js |
|
59.88% | 97/162 | 52.94% | 36/68 | 45.45% | 5/11 | 65.03% | 93/143 |
| player-api.js |
|
87.17% | 462/530 | 80.3% | 265/330 | 100% | 21/21 | 91.67% | 396/432 |
| playlist-api.js |
|
83.08% | 388/467 | 66.98% | 215/321 | 92.86% | 26/28 | 94.65% | 336/355 |
| search-api.js |
|
92.61% | 263/284 | 76.35% | 113/148 | 100% | 26/26 | 99.59% | 243/244 |
| sendmail.js |
|
75% | 12/16 | 66.67% | 8/12 | 100% | 2/2 | 75% | 12/16 |
| track-api.js |
|
87.18% | 340/390 | 80% | 192/240 | 96% | 24/25 | 92.76% | 269/290 |
| user-api.js |
|
83.5% | 602/721 | 73.51% | 297/404 | 95.83% | 46/48 | 86.9% | 491/565 |


Press this box to start
You can proceed to the next page after the sound clip has ended
Click here to pause or terminate the survey.


| Time | Consistency | Availability | Partition tolerance |
|---|---|---|---|
| 9:00 | The promise and perils of NewSQL | Disconnected slaves, H. Beecher Stowe | CouchDB and me, H. Simpson |
| 10:30 | Scaling MySQL way beyond reasonable limits. | Avoiding minority reports in Paxos, Tom Cruise | Bow-wow hood.ie, I.P. Pavlov |
| 12:00 | Lunch | ||
| 13:30 | Spanner: megalomaniac like everything we do, G.O.Ogler | Latency compensation in early modern Spain, Philip II of Spain | Offline ATMs |
| 15:00 | Resolving the Great Papal Schism, Holy Father Martin V | Splitting worms for fun and profit |
online


class ChangeBoundsBuilder : TransitionBuilder<ChangeBounds>
Builder for ChangeBounds |
|
class ChangeClipBoundsBuilder : TransitionBuilder<ChangeClipBounds>
Builder for ChangeClipBounds |
|
class ChangeColorBuilder : TransitionBuilder<ChangeColor>
Builder for ChangeColor |
|
class ChangeImageBuilder : TransitionBuilder<ChangeImageTransform>
Builder for ChangeImageTransform |
|
class ChangeScrollBuilder : TransitionBuilder<ChangeScroll>
Builder for ChangeScroll |
|
class ExplodeBuilder : TransitionBuilder<Explode>
Builder for Explode |
|
class ScaleRotateBuilder : TransitionBuilder<ChangeTransform>
Builder for ChangeTransform |


{% extends 'sales/base.html' %} {% block content %}
The password reset link was invalid, possibly because it has already been used. Please request a new password reset.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/updating.20the.20nth.20element.20of.20a.20list.html ---
Do we have something equivalent to
def patch_nth {α : Type} (f : α → α) : ℕ → list α → list α | _ [] := [] | 0 (h :: t) := f h :: t | (n+1) (h :: t) := h :: patch_nth n t
in mathlib?
I've found a few times that it's really painful for update the nth element, because you have to deal with nth
returning an option, even when you know it's there.
A slight variation that is even more useful:
def opatch_nth {α : Type} (f : α → option α) : ℕ → list α → list α | _ [] := [] | 0 (h :: t) := match f h with | (some e) := e :: t | none := t end | (n+1) (h :: t) := h :: opatch_nth n t
I've found a few times that it's really painful for update the nth element, because you have to deal with
nth
returning an option, even when you know it's there.
... did you say it's painful to update the nth element?
Of course there is update_nth
also what is it with your meta
?
Oh, yeah, those meta
s are completely unnecessary :-) Just habit, as I was in a whole file where most things were meta.
But to use update_nth
, you need to use nth
earlier to get out the existing element to modify.
The typical example here is that I have a list of some structure, and I want to modify a single field of the nth element.
In this case the function f
can be λ s, { f := x, .. s}
.
did you say you want to modify the nth element?
Did somebody say "lens"?
Thanks. And yes, let's have more lens. :-)
Wait, isn't the syntax to declare functions in lean meta def ....
? ;)
Last updated: Apr 24 2020 at 19:02 UTC


Creates an instance of AppDataStore.
Returns true when the API call is busy.
Returns true when the last API promise is rejected.
Returns true when the last API call loaded data without any errors.
Observes the service data.
Observes any service errors.
returns domain-specific options to be overridden in a subclass
gets the tabular data of the internal data store
Initializes App data-loading state.
Load domain data from the specified URI.
Load domain data from the specified URI.
loads tabular data into the rows of the internal data store
A lifecycle hook that is called when a directive, pipe, or service is destroyed.
Sends domain data to the specified URI.
Sends domain data to the specified URI.
gets/reloads domain datum with the specified strategy @param {onNext} for the rows of the internal data store
Generated using TypeDoc
defines a tabular data store for the application domain


{{ partial "widgets/search.html" . }} {{ partial "widgets/categories.html" . }} {{ partial "widgets/tags.html" . }}


K
- the type of keys in the mapV
- the type of values in the mapM
- the type of map builtB
- the type of this builderpublic interface MapBuilder<K,V,M extends Map<K,V>,B extends MapBuilder<K,V,M,B>>
| Modifier and Type | Method and Description |
|---|---|
M |
build()
Builds the map.
|
default M |
buildAndContinue()
Builds the map, but keeps this builder usable for adding other elements in addition to the
already added elements.
|
static <K,V> MapBuilder<K,V,ConcurrentHashMap<K,V>,?> |
forConcurrentHashMap()
Returns a map builder that constructs
ConcurrentHashMap instances. |
static <K extends Comparable<K>,V> |
forConcurrentSkipListMap()
Returns a map builder that constructs
ConcurrentSkipListMap instances. |
static <K,V> MapBuilder<K,V,ConcurrentSkipListMap<K,V>,?> |
forConcurrentSkipListMap(Comparator<? super K> comparator)
Returns a map builder that constructs
ConcurrentSkipListMap instances that orders
elements per the given comparator. |
static <K,V> MapBuilder<K,V,HamtMap<K,V>,?> |
forHamtMap()
Returns a map builder that constructs
HamtMap instances. |
static <K,V> MapBuilder<K,V,HashMap<K,V>,?> |
forHashMap()
Returns a map builder that constructs
HashMap instances. |
static <K,V> MapBuilder<K,V,LinearHashingMap<K,V>,?> |
forLinearHashingMap()
Returns a map builder that constructs
LinearHashingMap instances. |
static <K,V> MapBuilder<K,V,LinkedHashMap<K,V>,?> |
forLinkedHashMap()
Returns a map builder that constructs
LinkedHashMap instances. |
static <K extends Comparable<K>,V> |
forTreeMap()
Returns a map builder that constructs
TreeMap instances. |
static <K,V> MapBuilder<K,V,TreeMap<K,V>,?> |
forTreeMap(Comparator<? super K> comparator)
Returns a map builder that constructs
TreeMap instances that orders elements per the
given comparator. |
static <K,V> MapBuilder<K,V,?,?> |
forUnmodifiableMap()
Returns a map builder that constructs unmodifiable maps.
|
static <K,V> MapBuilder<K,V,?,?> |
forUnmodifiableMap(MapBuilder<K,V,?,?> base)
Returns a map builder that constructs unmodifiable maps.
|
B |
put(K key,
V value)
Adds an item to the map being built.
|
B |
putAll(Map<? extends K,? extends V> otherMap)
Adds all items from another map into the map being built.
|
void |
reset()
Resets the map so it can be re-used to construct another map.
|
static <K,V,M extends Map<K,V>> |
withMapConstructor(Supplier<M> mapConstructor)
Returns a map builder that constructs maps using the given map constructor.
|
B put(K key, V value)
key
- the key of the new entryvalue
- the value of the new entryIllegalStateException
- if a map has already been built but the
builder has not yet been resetB putAll(Map<? extends K,? extends V> otherMap)
otherMap
- the entries to add to the mapIllegalStateException
- if a map has already been built but the
builder has not yet been resetM build()
reset()
is invoked.default M buildAndContinue()
Implementations will need to copy the elements added so far into a new map. The extra copy
can usually be avoided, as long as the builder is no longer needed, by instead using
build()
.
The default implementation looks like so:
M builtMap = build(); reset(); // make builder usable again putAll(builtMap); // seed it with elements already added return builtMap;
void reset()
build()
to make more than
one map from the same builder.static <K,V> MapBuilder<K,V,?,?> forUnmodifiableMap()
K
- the type of keys in the mapV
- the type of values in the mapstatic <K,V> MapBuilder<K,V,?,?> forUnmodifiableMap(MapBuilder<K,V,?,?> base)
Collections.unmodifiableMap(Map)
.K
- the type of keys in the mapV
- the type of values in the mapbase
- the builder of the underlying (modifiable) map implementationstatic <K,V> MapBuilder<K,V,HashMap<K,V>,?> forHashMap()
HashMap
instances.K
- the type of keys in the mapV
- the type of values in the mapHashMap
instancesstatic <K,V> MapBuilder<K,V,LinkedHashMap<K,V>,?> forLinkedHashMap()
LinkedHashMap
instances. Iteration order of the
built map is the same as the order that elements are added to the builder.K
- the type of keys in the mapV
- the type of values in the mapLinkedHashMap
instancesstatic <K extends Comparable<K>,V> MapBuilder<K,V,TreeMap<K,V>,?> forTreeMap()
TreeMap
instances.K
- the type of keys in the mapV
- the type of values in the mapTreeMap
instancesstatic <K,V> MapBuilder<K,V,TreeMap<K,V>,?> forTreeMap(Comparator<? super K> comparator)
TreeMap
instances that orders elements per the
given comparator.K
- the type of keys in the mapV
- the type of values in the mapTreeMap
instancesstatic <K,V> MapBuilder<K,V,HamtMap<K,V>,?> forHamtMap()
HamtMap
instances.K
- the type of keys in the mapV
- the type of values in the mapHamtMap
instancesstatic <K,V> MapBuilder<K,V,LinearHashingMap<K,V>,?> forLinearHashingMap()
LinearHashingMap
instances.K
- the type of keys in the mapV
- the type of values in the mapLinearHashingMap
instancesstatic <K,V> MapBuilder<K,V,ConcurrentHashMap<K,V>,?> forConcurrentHashMap()
ConcurrentHashMap
instances.K
- the type of keys in the mapV
- the type of values in the mapConcurrentHashMap
instancesstatic <K extends Comparable<K>,V> MapBuilder<K,V,ConcurrentSkipListMap<K,V>,?> forConcurrentSkipListMap()
ConcurrentSkipListMap
instances.K
- the type of keys in the mapV
- the type of values in the mapConcurrentSkipListMap
instancesstatic <K,V> MapBuilder<K,V,ConcurrentSkipListMap<K,V>,?> forConcurrentSkipListMap(Comparator<? super K> comparator)
ConcurrentSkipListMap
instances that orders
elements per the given comparator.K
- the type of keys in the mapV
- the type of values in the mapConcurrentSkipListMap
instancesstatic <K,V,M extends Map<K,V>> MapBuilder<K,V,M,?> withMapConstructor(Supplier<M> mapConstructor)
IllegalStateException
during a reset if the given supplier returns
a non-empty map.K
- the type of keys in the mapV
- the type of values in the mapM
- the type of the built mapmapConstructor
- a supplier of a new, empty mapIllegalStateException
- if the given supplier returns a non-empty map the first time it
is called (when initializing the returned builder)


According to publicly
available incident report data, an average of approximately 15.9 crimes per
day was reported within a 300 meter radius of 16 Turk in 2019. This map displays
the total crimes reported near each intersection in the area in 2019.
Maybe discuss specific intersections? Specific locations students might have
to go a lot like grocery stores?


Disaster at the Joadia Islands Gameathon (in conjunction with Defence Science & Technology Group)
INTRO
In conjunction with Australian Department of Defence, DSAi is proud to announce we are hosting a Gameathon to help generate ideas around the use of AI in the field of wargaming. The term “gameathon” is a derivation of wargaming and ideathons which are a popular way to come up with new sorts of ideas with data and technology.
Defence Science & Technology Group (DSTG) has a wargame called “Disaster of the JOADIA Islands” (detailed below) and has set up 2 challenges which cover Game Design and AI Assistance. Contestants can register as individuals or as teams and create submissions for either or both challenges. DSTG and DSAi will judge the entries and award prize.
Further details on the challenges are set out below and details of terms and conditions are available here: Terms and Conditions.
BACKGROUND
Disaster of the JOADIA Islands is a turn-based wargame that models a Joint Task force assigned with the goal of rescuing civilians in a fictitious humanitarian aid disaster relief (HADR) scenario. Playing a wargame has the potential to help human decision makers with a range of decisions related to real world problem scenarios. JOADIA is the computerised version of the original board game rule sets for the purpose of conducting research into AI and machine learning agents as a means of providing enhanced decision making. JOADIA is one of our sandbox toy platforms for investigating this potential for future emerging AI decision support concepts.
Details of the rules of the game are shown here: Disaster at Joadia Islands Rulebook
.
CHALLENGES
Challenge 1 - Game Design
Design new game systems and rule sets for the original game to explore concepts applicable to a HADR scenario. Some ideas that you might like to consider include:
- Our representation of an adversarial force is currently a militia with a limited set of actions. Can you come up other actions that red force could do that would disrupt blue force’s mission? How would you model them?
- How can we design the game for better immersion? For example, can the game influence player perceptions on the loss of civilian lives?
- Think of an AI or autonomy-related technology that Disaster of the JOADIA Islands could model within the game rules. For example, what if we had autonomous drones that could deliver supplies quickly over rough terrain? How would you model this? What if the red force had AI capabilities? How could they counter blue more effectively?
- What are some modelling additional use cases that may be applicable in an HADR scenario? E.g working with non-government organisations (NGOs), disease models, social media.
Challenge 2 - AI Assistance
We are interested in exploring all the different possible ways that modern AI techniques could be used as part of wargaming for enhanced decision support. Some of the questions related to this that we are interested in exploring include:
- What are the most effective ways that we can use AI to help players think about alternate strategies available to them?
- In what ways can we use AI to help players understand the trade-offs between the different blue force unit capabilities? For example, what is the worth of one infantry unit versus one medic unit?
- How can we use AI to help in analysing the decisions made by human players? Are there any novel visualisations or maybe “intelligent” playback mechanisms that would help most effectively in this area?
- How could AI be used to modify the game rules to better explore the space of HADR decision-making?
TIMEFRAMES
The following dates show the timeframe for submissions and judging:
- November 9th - Entries open to the public
- November 23rd - Frequently Asked Questions to be answered in post on this events page
- December 7th - Entries close
- December 14th – Final presentations to judges
- December 21st – Final judging completed and winners announced
SUBMISSIONS
If interested, entrants must fill in the following Google Form: TBA
Details of what is required are shown in the Terms and Conditions.
Additionally, entrants must provide answers to the above challenge in either Word, PDF, PPT as attachments to their submissions.
Separate documents must be provided for challenge 1 and 2.
These must be submitted to the following DSAi email address<EMAIL_ADDRESS>PRIZES
There are 1st, 2nd and 3rd place prizes for each challenge in the sums of $1,000, $500 and $250.
If teams are created then the prizemoney is divided amongst each member.
Register Here


Taapsee Pannu names two of her worst co-stars
by FilmfareTaapsee Pannu was last seen in Saand Ki Aankh and with that film, she proved that there’s nothing she can do. The actress has featured in movies ranging from intense dramas like Pink to comedies like Judwaa 2. Taapsee is also known to speak her mind. She recently featured on one of the episodes of No Filter with Neha, with the host Neha Dhupia where she answered a series of fun questions about herself. On being quizzed about who were her worst co-stars, Taapsee, to everyone’s shock named Vicky Kaushal and Jacqueline Fernandez.
She went on to further explain, “I'll say two of them - Jacqueline because she is so freaking hot which I was struggling to match up to it in Judwaa 2 and I was like I just hope I don’t put myself to shame. And the other one which I had a difficult time with was, Vicky because I was always so conscious that I should not lose out to him in the scene because he is just so good."
Well, we couldn’t agree more with your reasons, Taapsee.


electronic payments
Profile
Verifications
Invoice
Log-Out
1
CheckOut
Calculate How Much To Pay
3
Payment
Make Payment
4
Complete Payment
Finish Payment
Choose a payment method
Cardholder Name
*
Card Number
*
Payment Types
*
Expiration Date
*
/
CSC
*
What's this?


Simple Array Sum
Given an array of N integers, can you find the sum of its elements?
Input Format
The first line contains an integer, N , denoting the size of the array.
The second line contains space-separated integers representing the array's elements.
Output Format
Print the sum of the array's elements as a single integer.
Sample Input
1 2 3 4 10 11
Sample Output


Lice go back over 5 million years. Even Cleopatra had her own golden lice comb. The bottom line is they are here to stay. They're very picky preferring to die rather than select any other host than human. And they are so hearty that when threatened, they mutate. Today's "super lice" can withstand pecsticides leaving us no choice but to comb and pick each and every nit from our infested darlnig's head. Ugh.