The words we use communicate shades of meaning that we might not want. Here’s a list of seven words that I strive to not use when discussing a project with a client or with my team.
1. Should
This is the cardinal sin of any client communication. “We should be able to get back to you midweek.” “This code should fix the issue you are seeing.” Should is a wishy-washy, slouching word of ill repute. It’s vague and noncommittal. You need to define the expectation you are setting with your clients clearly or how can you know if expectations have been met? Should does not promise anything.
Instead, replace your shoulds with affirmative verbs like can and will.
2. Simple
I have seen very skilled and smart engineers say to clients that a request is simple or easy. What they leave off is “for me to do,” because even the most basic project task is invariably as far from easy as you can get for me, for my clients, and for 99% of the population. Calling a task simple undersells the value and worth of the work, and the one delivering it.
Instead, use the word straightforward to describe a task that requires a low level of effort.
3. Quick
This is a bit of a piggyback on no.1 and no.2; the use case for quick is a little different. I often hear that an issue can be remedied by a quick fix. This descriptor not only undercuts the skill that will go into completing, but quick is not an exact measurement of time. It’s too subjective to be valid.
Just as inexact is when you need to speak with someone and they respond that they will get back to you once they’re off this quick call. Again, I have no idea what a quick call is for you, so I’m left in ambiguous anxiety. Work to make your expectation-setting more clear and objective.
The close cousin of this word is a bit, which means nothing, so don’t use it.
4. Less than
This pet peeve is specifically about LoE estimates. Expectations being set that a given task will take less than 1 hour or less than 3 hours is deceptive. Estimates don’t need to be exact; they are setting an expectation in the requesters mind as to about how long a task will take. 59 minutes is less than an hour but is basically an hour, and will likely be billed as such. Since the client is going to see an invoice for any hour, and not 59 minutes, why split hairs?
5. Broken
All too often a site feature (or the entire site itself) will be flagged as broken or buggy or wonky. I have no idea what it means when a site is broken, since it can mean too many things. To put it another way, “The window is broken” can mean many things. Did the glass pane break? Will it not lock? Perhaps it is stuck open or closed?
Getting specific with bug reports is invaluable and an exercise every member of a production team—from client to PM to dev—needs to focus on throughout a project’s lifecycle.
6. Out-of-the-box
This hyphenated word can be replaced by off-the-shelf or vanilla and means that a solution can be plucked from a waiting pile and slapped onto your need without issue. Two things here:
- First, even a ready-made solution will need to be set up. Despite the heavy lifting in CREATING the solution already being done, wiring it up into your project’s environment takes time and effort. Be wary of the expectations out-of-the-box builds with clients; there will still be work to do.
- Second, odds are there will be some customizations necessary to get an available solution to meet all your client’s expectations. It’s a bit of a panacea in meaning, and will likely not match the reality of going this route.
7. Best practice
Another peeve of mine is best practice, but only in how it is often utilized. When a team is faced with a project decision, someone will often ask “What is the best practice here?” to lift the decision off of the group’s shoulders and onto some mysterious outside arbiter to choose. This dodge towards “if it’s a best practice, it must apply here” is dangerous.
Own your choices. Talk things through as a team and see what meets your goals and ideals best. Odds are your situation is unique enough to require thinking things through fully. A best practice can be a guiding point, but it’s not a solution.


Diagram:
The menu ‚diagram‚ contains the following options::
copy,
cut out,
save,
save under,
load from clipboard,
load from file,
plot with a printer,
plot into a HPGL-file,
plot into a DXF-file,
colour of the periphery,
colour of the diagram,
colour of the frame,
colour of the background,
printer


{% extends "skeleton/_body_md.html" %}
{%hyde
title: "Frequently Asked Questions"
navname: "FAQ"
created: 2011-03-24
modified: 2011-04-06
%}
{% block content_md %}
### Why Should I Use Cast? Is it just a Puppet Replacement?
Existing configuration management systems are a great way to, well, manage
configurations. And infrastructure.
But, at least in many cases, you treat your own code very differently than you
treat your web server, /etc/passwd, libopenssl or other infrastructure that
your application relies on. How often do you upgrade your web server compared
to how often you deploy your own code?
Even if you aren't doing "continous" deployment, maintaing a logical separation
between "platform" and "application" just makes sense. Configuration management
tools excel at managing infrastructure, but just aren't designed for the sort
of workflow most people use to manage their own code.
Cast is specifically designed for the sort of interactions you need with your
servers to facilitate a modern deployment workflow.
### What Does Cast Do?
By running the Cast agent on your server you can:
1. Upload tarballs of your application
2. Deploy (and upgrade) instances of your application
3. Run and manage your application's services
You can perform any of these activities using the Cast client, or perform them
direcly through the Cast Agent's HTTP API.
### What Platforms Does Cast Support?
Cast currently runs on almost anything "Unixy". If runit and Node.js work on
your platform, Cast probably does too. We have tested it on:
* Linux
* FreeBSD
* Mac OS X
Windows support is planned.
{% endblock %}


We all have a yearning...
Have you found the elusive truth that lurks in-between the lines of veiled layers of society?
The point man. The maverick. The rebel. The Truthseers.
Life is a path stricken in a never-ending war where the odds are stacked against you; karma continues to chase you down this path, unrelenting, jealous, and ubiquitously stubborn.
In this modern era dominated by consumerism, capitalism, and seemingly nihilistic momentous movements of the populous that provide no room for self-reflections and peaceful solitudes to recollect all that we've gone through, there's the inevitable fatigue that we accrue from the grinding of the cogwheels of mental and physical labor.
Those who either bought themselves into the system, indoctrinated to the point of no return, or slothful to awaken to the maverick depths of various truths that the human core constantly longs for - they are fools of an artificial kind, forever in denial when the option to unplug is right in front of their eyes.
We are truth seekers but we are also empathizers of the highest virtues of humanity. We are here to tell, with subjectivity but with the deepest depths of our soul laid bare to color the context.
We are here to listen, being the arbitors of mercy, sympathy, and genuine kindness that so many religious prophets have decreed as requirements for transcendence.
We are strangers to one another, and yet, eternal friends of many lifetimes, sometimes overlapped, sometimes spanning centuries.
There's stories to be told, lessons to be learned, tears to be shed, laughters to be yelled, silences to be momented.
Sit down, my friend of all times present,
Let your heart and mind laid bare, for we are all naked here in darkness.


Springboard is a web app that enables divers to keep track of their dive scores, create lists of dives to perform, and find new dives to learn.
I worked on Springboard as my term project for my User Interface Design & Implementation (6.813) class alongside Brittney Johnson, Jessica Noss, and Dylan Holmes.
For our project, we were tasked with solving a problem for a user group we did not belong to. We decided with divers as our target population as our team knew of some divers and we wondered how current applications for divers could be improved.
To understand problems faced by divers, we conducted several user interviews. We met with a pre-college diver (10 years experience), a group of MIT divers (10 years experience), and a new MIT diver (1 year experience).
From these interviews we identified two main user classes, along with their goals:
To iterate on Springboard's design, we had two rounds of prototyping: low fidelity prototyping and high fidelity prototyping.
In the low fidelity prototyping stage, we built a paper prototype and tested it on other classmates.
To run our user tests, we briefed the user on the background and purpose of our application and presented various tasks to do. From these tests, we observed many usability problems ranging from navigation issues to confusion in word choice.
We addressed these problems in three iterations of paper prototyping as well as in our computer prototypes:
After iterating on our computer prototypes, we implemented a fully functional frontend, using hardcoded responses, browser-level storage, and APIs to simulate a backend.
Our eventual design centered around the Model-View paradigm to separate the displayed elements of our website from the underlying data structures. For example, each dive in the Make Divelist database exists as a Javascript object, which is rendered to the screen as HTML using a function call every time the database is changed or filtered. We found that this separation made it much easier to implement basic functionality such as filtering, sorting, and adding/removing dives in the dive list.
Our data structures consist of the database of all possible dives, as well as structure for keeping track of the users' current list of dives.
Some of the things I implemented include:
To see our final design, play with Springboard here! - no credentials needed for login or signup.


Home
About
Services
Portfolio
Team
Contact
Contact
Hello World ! My name is
Med Redha Khelifi
I'm a Frontend Mobile
Hire me
Discover


This is the official AtomicDEX mobile beta program channel -
Android: https://play.google.com/store/apps/details?id=com.komodoplatform.atomicdex - iOS: https://testflight.apple.com/join/c2mOLEoC - Please use https://github.com/KomodoPlatform/atomicdex/issues for bug reports and feature requests. For critical security bug reports please do send us your encrypted (https://pgp.mit.edu/pks/lookup?op=get&search=0x379287998EE6CF47) report to<EMAIL_ADDRESS>and allow up to 24h for reply. For atomicDEX API (mm2) related issue reports or feature requests please do use https://github.com/KomodoPlatform/atomicDEX-API/issues
100 messages
Before 05-Dec-19 12:00 AM
TonyL31-Oct-19 06:17 PM
Stress test is finished - shortly there will be an official post on this matter. Thank you for participating!
ѕℓιм31-Oct-19 06:17 PM
@Booster99x not just u
SHossain31-Oct-19 06:18 PM
did anyone notice any outage on KMD discord server couple of mins ago?
ѕℓιм31-Oct-19 06:18 PM
yes
TonyL31-Oct-19 06:18 PM
yep
ѕℓιм31-Oct-19 06:18 PM
it disppeared
V__C31-Oct-19 06:18 PM
Yes
SHossain31-Oct-19 06:18 PM
yep...and came back
not sure what happened
ѕℓιм31-Oct-19 06:18 PM
thought we broke it too
SHossain31-Oct-19 06:18 PM
other servers were ok
TonyL31-Oct-19 06:18 PM
A lot of users joined today - so it seems it was a stress test for discord as well
cezo48431-Oct-19 06:18 PM
Campaign ongoing or finish?
ѕℓιм31-Oct-19 06:18 PM
its done
V__C31-Oct-19 06:18 PM
Stress tested discord
TonyL31-Oct-19 06:18 PM
Pinned a message.
cezo48431-Oct-19 06:19 PM
When Will distribution?
Artist31-Oct-19 06:19 PM
I got 27th
TonyL31-Oct-19 06:19 PM
We'll count all the data tomorrow to get as precise results as we can. So raffle/distribution will be in 1-2 days from now
cezo48431-Oct-19 06:20 PM
@TonyL thanks
1
Cryptoon31-Oct-19 06:20 PM
Hmm got one still at 2/3 for like 20-25 mins now
Any way to kickstart?
Or counterparty closed down their node?
TonyL31-Oct-19 06:20 PM
Maybe the maker went offline
Cryptoon31-Oct-19 06:21 PM
Roger
cezo48431-Oct-19 06:21 PM
Everybody tell me how many you made swap
Oszy31-Oct-19 06:21 PM
1
Hooftly31-Oct-19 06:22 PM
Couldnt get one to match and tried since it began lol
just ouch
cryptoclueless31-Oct-19 06:22 PM
15 but only shows 7 on the leaderboard
Jaki31-Oct-19 06:22 PM
@TonyL I got 3 times 1/3. Is it enough and what should I do for next step? Thx
niko_O31-Oct-19 06:23 PM
Not a single swap went thru after 12pm
ѕℓιм31-Oct-19 06:23 PM
where is the leaderboard?
Patrick Crypto31-Oct-19 06:23 PM
hopefully my previously scheduled trading will resume after this pre-emption for the wesminster dog show
TonyL31-Oct-19 06:23 PM
It should be enough to get the raffle ticket. @Jaki we'll count failed swaps tomorrow and announce the updated list before the raffle
1
Hooftly31-Oct-19 06:23 PM
People who couldnt get a match are hosed right?
Artist31-Oct-19 06:25 PM
Will you check auto or have to provide log
cryptoclueless31-Oct-19 06:25 PM
@TonyL i was going to send my log file but its 108 mb, too big. should i just skip it. I have 15 successfull, and probably around 50 failed
TonyL31-Oct-19 06:26 PM
@Hooftly you can send the log to @smk762 - dracocanis ominator as a proof of attempts
@Artist if current dashboard data doesn't match with your data it's better to send the log
Artist31-Oct-19 06:27 PM
I see I was 27th according to dashboard
Lol
TonyL31-Oct-19 06:27 PM
@cryptoclueless you can zip it and use some service like a https://gofile.io/ to upload it and share the link then
Gofile is a free and anonymous file-sharing platform. You can store and share data of all types (files, images, music, videos etc...). There is no limit, you download at the maximum speed of your connection and everything is free.
Hooftly31-Oct-19 06:30 PM
Alright thanks
Jimm B.31-Oct-19 06:31 PM
did anyone else have the problem that orders disappeared without canceling them?
LocoMB31-Oct-19 06:31 PM
what? someone in Blocknet discord said that KMD network burned down during stress test! WHAT HAPPENED?
ѕℓιм31-Oct-19 06:32 PM
the test...provided some stress
i even got out of bed early this morning for it haha
phm8731-Oct-19 06:33 PM
One of my kmd node stopped to work during stress test
I don t know if it is related
LocoMB31-Oct-19 06:33 PM
daemonfox31-Oct-19 06:33 PM
How did anyone manage to get any test excahnges done?
I tried matching existing all day and making new... not a single one would ever match up
2
Hooftly31-Oct-19 06:34 PM
I also had a node die lol just 1 of 4 though
Acura31-Oct-19 06:36 PM
I see a new AtomicDex Release in the Playstore
daemonfox31-Oct-19 06:38 PM
lil late lol
mrlynch31-Oct-19 06:39 PM
kmd blockchain has nothing to do with atomic dex swaps unless swapping kmd
dogracer31-Oct-19 06:39 PM
Fyi made about 60 swap attempts with zero success on Android trying periodically over a 5hr span. Was there an issue with Android or just the infrastructure?
TonyL31-Oct-19 06:41 PM
It was a global issue @dogracer Later we'll write post with test results and explanation of what actually happened
1
SHossain31-Oct-19 06:43 PM
One of my kmd node stopped to work during stress test
KMD chain in independent and 100% unrelated to this stress test(edited)
the only components were used for this stress test are:
0. maker nodes using servers which uses MM2 + MORTY + RICK coin daemon
1. AtomicDEX mobile app to connect to the above using Electrum servers and perform swaps
ѕℓιм31-Oct-19 06:46 PM
Is there a reason the app won't open using an Android emulator?
Cryptoon31-Oct-19 06:46 PM
At first I was trying to swap with funds from faucet that had no confirmations
Then i got sent some new funds and i got several swaps in
JaNuS31-Oct-19 06:49 PM
108 swap attempts for me, 4 swaped
ѕℓιм31-Oct-19 06:50 PM
nice
AkiraX31-Oct-19 06:50 PM
I still can't get any
Cryptoon31-Oct-19 06:59 PM
Are your funds confirmed on blockchain?
AkiraX31-Oct-19 07:09 PM
Should be. I faucet last night
ism(miliy)31-Oct-19 07:09 PM
over 100attempts only 3failed:)
Cryptoon31-Oct-19 07:10 PM
@AkiraX my faucet funds are still unconfirmed...
Check the blockchain for your address, I have a feeling they might not be confirmed


"Leaving Las Vegas" (1995)
A Film Review by Jason Wallis
"Leaving Las Vegas" * * * * (out of four) Starring Nicolas Cage, Elizabeth Shue and Julian Sands Directed by Mike Figgis
Some movies have such an impact that they linger in your mind long after the credits have rolled, making you think carefully and recollect on what you have just seen. I finished Mike Figgis' "Leaving Las Vegas" hours ago, and it is still as haunting as when I hit rewind on the VCR.
Alot of people refer to this film as "that flick where Nick Cage plays that alcoholic dude".
Ben (Nicolas Cage in possibly the best male performance of the past twenty years) is the drunk. His family and friends have long since abandon him, and all he has left is his liquor. In a scene early in the film, we see Ben staggering into a resteraunt, looking for a "friend" of his to mooch some money off of.  When Ben approaches the table, you can clearly sense that everyone immediatly feels uncomfortable. After Lewis gives Ben the money, he coldly says "I think it would be best if you didn't contact me again." Now even though through the course of the film, some much more depressing things happen, this is when I felt the most for Ben. There was such a look of sorrow and dispare on his face, (not to sound hokey or anything) it almost brought a tear to my eye.
It turns out that Ben was once a semi-successful Hollywood player, and apparently a pretty popular guy. Now he spends his time getting robbed by hookers and trying desperatly to pick up women, not so much for the sex, but for the company; for someone to talk to or spend time with.
Once he is fired from his job, Ben decides to burn all his belongings, collect all his cash and relocate to Las Vegas to slowly drink himself to death.
One night he runs into a prostitute (a brilliant performance by Elizabeth Shue - how far she has come since "Adventures in Babysitting") named Sera. She is involved in an abusive relationship with her pimp, a scumbag who gets-off by cutting her. They are both very lonely, self-destructive people. They immediatly hit it off, both of them realizing that they need one another.
"Leaving Las Vegas" is not a film about plot. With the exception of what I have already revealed (which all happens in the first thirty minutes or so, by the way), there isn't too much of a story to it. It is more a film about people and how they react to one another.
From what I can see, this is basically a perfect film. The direction is great (with Mike Figgis doing a brilliant mix between the glamor of Las Vegas and the moody, smokey atmosphere of a film noir) and it contains two of the best performances to come out of the 90s, or any other decade for that matter. But don't go rushing out to see this movie without knowing what you're getting yourself into.   Secondly, if you are not in the mood to see a very depressing film, don't see it.
However, if you are cool with those two things, you are in for one of the most memorable experiences you will ever have.
Visit Jason Wallis' "Filmaholics Anonymous" web page at
http://www.geocities.com/Hollywood/Boulevard/7475
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


About
Work
Contact
Hey We are Brittany and Ndatimana
we are web developers
These are some of our projects
Tribute Page
Random Quote Machine
Github


{% include "base.html" %} {% include "navbar.html" %}
{{ error }}
username is required
firstname is required
surname is required
email is required
password is required
reenter password


CITY OF PRESTON
ABOUT PRESTON — HISTORY AND COMMUNITY
The Preston area has excellent schools, low unemployment, exceptional medical personnel, an outstanding health care facility, city and county governments, unsurpassed scenic beauty, outdoor recreation, and a variety of cultural activities for the entire family.
NAPOLEON DYNAMITE
Preston is famous throughout the world for the hit movie “Napoleon Dynamite“. Preston, Idaho became a tourist attraction for fans. People came from all over the world to take a tour. You can still tour the places featured in Napoleon Dynamite movie.
THAT FAMOUS PRESTON NIGHT RODEO
Summer in Preston is marked by the PRCA and WPRA approved, more than half-century-old
“That Famous Preston Night Rodeo”, when cowboys and girls from national and international
fame come to compete and rise to the challenge only buckin’ broncs and bulls can offer.
There’s nothing quite like sitting in the stands, tasting the dust and experiencing the
courage of these participants and cheering them on to victory. The Rodeo, begun in 1936, is
the second oldest night-time rodeo, under lights, and to add to its excitement is the charm
of Rodeo Days – a sidewalk sale extraordinaire! And of course, what Rodeo would be complete
without a carnival, hamburger stands and world class entertainment?
ABOUT PRESTON — CURRENT DEMOGRAPHICS
In 2018, Preston, ID had a population of 5.31k people with a median age of 37.6
and a median household income of $48,113. Between 2017 and 2018 the population of
Preston, ID grew from 5,268 to 5,311, a 0.816% increase and its median household
income grew from $42,321 to $48,113, a 13.7% increase.
The 5 largest ethnic groups in Preston, ID are White (Non-Hispanic) (86.2%), White
(Hispanic) (7.08%), Two+ (Non-Hispanic) (2.41%), Other (Hispanic) (2.09%), and American
Indian & Alaska Native (Non-Hispanic) (1.39%). NaNk% of the people in Preston, ID speak
a non-English language, and 96.2% are U.S. citizens.
In 2018, the median property value in Preston, ID was $150,400, and the homeownership rate
was 74.1%. Most people in Preston, ID drove alone to work, and the average commute time
was 22.4 minutes. The average car ownership in Preston, ID was 2 cars per household.


| delete_all_counters/0 | |
| delete_counter/1 | |
| get_snap/1 | |
| list_counts/0 | |
| snapshot/2 | |
| sup_init/0 |
delete_all_counters() -> any()
delete_counter(Key) -> any()
get_snap(Key) -> any()
list_counts() -> any()
snapshot(Key, Data) -> any()
sup_init() -> any()
Generated by EDoc, Apr 14 2017, 04:05:41.


Adventure Outfitters
Equipment
Navigation
Curiosity $98
Cabot $112
Boomer $127
Livingston $189
Maps
Zambla $20
Angola $29
Namibia $15
Botswana $15
Zimbabwe $30
Mozamblque $27
River Craft (Daily Rental)
White Water Kayak $55
Motorized Canoe $125
Steam Launch $495


Press n or j to go to the next uncovered block, b, p or k for the previous block.
| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| src |
|
100% | 22/22 | 75% | 3/4 | 100% | 1/1 | 100% | 22/22 |
| src/app |
|
85.71% | 6/7 | 100% | 0/0 | 50% | 1/2 | 80% | 4/5 |
| src/app/ModelerComponent/evaluator |
|
50% | 3/6 | 100% | 0/0 | 50% | 1/2 | 66.67% | 2/3 |
| src/app/components/TutorialComponent/components/introduction |
|
28.3% | 15/53 | 0% | 0/4 | 9.09% | 1/11 | 27.08% | 13/48 |
| src/app/components/TutorialComponent/components/test-mc |
|
21.35% | 19/89 | 0% | 0/16 | 6.25% | 1/16 | 20.73% | 17/82 |
| src/app/components/TutorialComponent/components/test-mod |
|
29.49% | 23/78 | 0% | 0/4 | 13.33% | 2/15 | 29.17% | 21/72 |
| src/app/components/TutorialComponent/models |
|
64.29% | 9/14 | 50% | 3/6 | 42.86% | 3/7 | 61.54% | 8/13 |
| src/app/components/TutorialComponent/services |
|
48.98% | 24/49 | 100% | 0/0 | 15.38% | 2/13 | 44.44% | 20/45 |
| src/app/services |
|
47.88% | 79/165 | 0% | 0/4 | 6.35% | 4/63 | 47.17% | 75/159 |
| src/assets |
|
29.03% | 63/217 | 0% | 0/150 | 3.85% | 2/52 | 28.3% | 60/212 |
| src/environments |
|
100% | 1/1 | 100% | 0/0 | 100% | 0/0 | 100% | 1/1 |


Enter Assets that you would like to distribute to the next of kin?
A Guarantor is the person who will carry out the wishes in your Will. Pick someone responsible. He or she needs to be at least 21 years old, and cannot be a bankrupt.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eius quos aliquam consequuntur, esse provident impedit minima porro! Laudantium laboriosam culpa quis fugiat ea, architecto velit ab, deserunt rem quibusdam voluptatum.


00 /* pass 7 -- Code generation */ 01 Root root = new Root(spec, new PrintWriter(System.out, true)); 02 String targetName 03 = coinsOptions.getArg(CommandLine.COINS_TARGET_NAME_OPTION); 04 String targetConvention 05 = coinsOptions.getArg(CommandLine.COINS_TARGET_CONVENTION_OPTION); 06 trace.trace(myName, 5000, "target name = " + targetName); 07 Module unit = Module.loadSLir(sexp, targetName, targetConvention, root); 08 makeCSourceFromLir("new", lirToCTimings, unit, io); 09 10 if(spec.getCoinsOptions().isSet("snapshot")) 11 snap.shot(unit,"Generated LIR"); 12 13 /* SSA optimization */ 14 if (spec.getCoinsOptions().isSet(coins.ssa.OptionName.SSA_OPT)) { 15 unit.apply(new coins.ssa.SsaDriver(unit, io, spec)); 16 /* Simple/JumpOpt again */ 17 unit.apply(coins.backend.opt.SimpleOpt.trig); 18 unit.apply(coins.backend.opt.JumpOpt.trig); 19 } else { 20 unit.basicOptimization(); 21 } 22 if (spec.getCoinsOptions().isSet("simd")) { 23 unit.apply(new coins.simd.SimdDriver(unit, io, spec)); 24 } 25 makeCSourceFromLir("opt", lirToCTimings, unit, io); 26 27 if(spec.getCoinsOptions().isSet("snapshot")) 28 snap.shot(unit,"Optimized LIR"); 29 30 if(spec.getCoinsOptions().isSet("snapshot")) 31 snap.generateXml(); 32 33 unit.generateCode(out); 34 35 if (trace.shouldTrace("Sym", 1)) { 36 trace.trace("Sym", 1, "\nSym after code generation "); 37 symRoot.symTable.printSymTableAllDetail(symRoot.symTableRoot); 38 symRoot.symTableConst.printSymTableDetail(); 39 }The instance root made at the line 1 has the root information of the backend process. It has the information of the compiler options (spec) and output assembly file (System.out). The backend processes are called at the line 7, 20, and 33 as:
Module unit = Module.loadSLir(sexp, targetName, targetConvention, root); unit.basicOptimization(); unit.generateCode(out);The instance unit has the internal representaion of the LIR made from the S-expression sexp.
The above three methods, loadSLir, basicOptimizations, and generateCode, are composed of several steps as follows:
Module unit = new Module(sexp, targetName, convention, root); unit.apply(new String[] { "IntroVirReg", "EarlyRewriting", "+AfterEarlyRewriting", "If2Jumpc" }); return unit;
unit.apply(new String[] { "+BeforeBasicOpt", "SimpleOpt", "JumpOpt", "PreHeaders", "LoopInversion", "+AfterBasicOpt" });
unit.apply(new String[] { "+BeforeCodeGeneration", "LateRewriting", "+AfterLateRewriting", "ToMachineCode", "+AfterToMachineCode", "ConvToAsm" });
unit.apply("IntroVirReg");the method doIt in the class coins.backend.opt.IntroVirReg is executed, because the Module constructor has registered the transformer IntroVirReg.trig with the name "IntroVirReg" to the instance root by the following statement:
root.registerTransformer(IntroVirReg.trig);By the execution of doIt of coins.backend.opt.IntroVirReg, frame variables are named as virtual registers.
Furthermore, the execution of
unit.apply("ToMachineCode");in generateCode causes the excecution of the instance method toMachineCode of the class Function, and the toMachineCode method executes the following steps:
apply(LiveRange.trig); // live range analysis apply(JumpOpt.trig); // jump optimization apply(JumpCanon.trig); // canonicalize JUMPC instructions apply("+BeforeFirstInstSel"); // call Hook point apply(module.targetMachine.instSelTrig); // instruction selection apply("+AfterFirstInstSel"); // call Hook point int count = 0; for (;;) { if (count++ >= REGALOLIMIT) throw new CantHappenException("Looks like an infinite loop during Register allocation"); if (apply(RegisterAllocation.trig)) // register allocation break; // if success apply("+BeforeSecondInstSel"); // call Hook point apply(module.targetMachine.instSelTrig); // instruction selection again apply("+AfterSecondInstSel"); // call Hook point } postProcess(); // eliminate redundant jumpsThe argument string with prefixed "+" in the above calls of the apply method means that it is a hook name. Usually this call does nothing. But, if the method
Root#addHook(String, Transformer)has been called with a hook name and a Transformer object, the doIt method of the Transformer object is executed when the apply method is called with the hook name.
class NewProcess { class NewTrigger implements LocalTransformer{ // or GlobalTransformer void doIt(...){...} ... } static void attach(CompileSpecification spec, Root root){ // if (spec.getCoinsOptions().isSet("newprocess")) { root.addHook("+xxx", new NewTrigger()); // } } }where "+xxx" is a hook name. LocalTransformer is applied to each Function instance, and GlobalTransformer is applied to a Module instance.
When the compiler option
-coins:attach=NewProcessis specified, the NewProcess.attach method is called at the entry of the backend process. And the doIt method of the NewTrigger object is executed at the hook point "+xxx".
-coins:newprocessis specified.
-coins:schedule,attach=coins.backend.sched.ScheduleThe attach method of coins.backend.sched.Schedule is defined as follows:
public static void attach(CompileSpecification spec, Root root) { if (spec.getCoinsOptions().isSet("schedule")) { root.addHook("+AfterFirstInstSel", before); root.addHook("+AfterToMachineCode", after); } }Therefore, the instruction scheduler is called twice by two triggers, one is the before trigger at the "+AfterFirstInstSel" hook point, and the other is the after trigger at the "+AfterToMachineCode" hook point. The former point is before the register allocation, and the latter is after the regisiter allocation.
The two triggers are almost the same except that the latter does the "nop"-instruction elimination if the target CPU has delayed branch instructions. They are written machine independently, and can be applied to any target machine.
See Fig.12-2 in 12. Performance of COINS compilers for some results of this optimization.
-coins:regpromote,attach=RegPromoteThe class RegPromote is in the package coins.backend.contrib. The name of this special package can be omitted.
The register promotion is the process to promote static variables to registers within some loops. This promotion is effective especially for such a program as:
int candidat, quotient, remaindr, index, nth, primenum, loopend ; int primeNumbers[SIZE] ; void getPrime(int primevec[SIZE], int count) { primevec[0] = 2 ; nth = 1 ; candidat = 3 ; while (nth<count) { remaindr = 1 ; index = 0 ; loopend = 0 ; while(loopend==0) { primenum = primevec[index] ; quotient = candidat / primenum ; remaindr = candidat - quotient*primenum ; if (remaindr==0) loopend = 1 ; if (quotient*quotient<candidat) loopend = 1 ; index = index + 1 ; if (index>=nth) loopend = 1 ; } if (remaindr != 0) { primevec[nth] = candidat ; nth = nth + 1 ; } candidat = candidat + 2 ; } nth = 0 ; while (nth<count) { /* print(primevec[nth]) ; */ nth = nth + 1 ; } return; }This program is the prime program in the Fig.12-2 of the chapter 12. Performance of COINS compilers. This register promotion produces almost all the performance gain of the prime program.


[gecode-users] implementing branching heuristics
Guido Tack
tack at ps.uni-sb.de
Mon Jun 9 22:41:41 CEST 2008
Oliver Kullmann wrote:
> P.S. Regarding the documentation one finds the statement:
>
> "We kindly ask that documentation is not installed anywhere in such
> a way that it will be indexed by search engines."
>
> I wonder what is the reason for this? Actually, it creates a problem
> for my system, since the complete documentation is mirrored on the
> Internet, and I make available also all documentation of external
> sources installed by the OKlibrary, and this should include Gecode.
> Would it be enough if on the main page which links to the
> documentation
> I set the meta-tags to "no search engines"?
Yes, that should do.
> Isn't the documentation also open-source?
> Perhaps your reason is that search-engines shall point to
> your site, not to others?
> But this seems not compatible to me to the GPL licence, which
> doesn't allow to put restrictions on further distribution?
The license we use is MIT, not GPL, but it also does not restrict
redistribution. Of course, as we hold the copyright, we could add
further restrictions as we like, but we don't. We just kindly ask
you. The reason is exactly what you guessed, that we would like
search engines to point to the main, most up-to-date version.
Cheers,
Guido
More information about the gecode-users
mailing list


A utility for collecting internal GPU state, nvidia-debugdump, is included with the NVIDIA Linux graphics driver. After installing the driver, you can run this utility by running:
% nvidia-debugdump
in a terminal window.
Detailed help information is available via the --help command line option, or when no parameters are supplied.
In most cases, this utility is invoked by the nvidia-bug-report.sh (/usr/bin/nvidia-bug-report.sh) script. In rare cases, typically when directed by an NVIDIA technical support representative, nvidia-debugdump may also be invoked as a stand-alone diagnostics program. The "dump" output of nvidia-debugdump is a binary blob that requires internal NVIDIA engineering tools in order to be interpreted.


---
layout: post
title: visuals for stunt truck decoration for the house
date: '2015-06-25T18:30:29+02:00'
categories:
- Props Design
- Illustration
picture_url: https://film-Storyboards.tumblr.com/post/122457812211/visuals-for-stunt-truck-decoration-for-the-house
---
Visuals for stunt truck decoration for The House of Dancing Water, Franco Dragone’s show in City of Dreams, Macau.


POST a stream and download content from a website. Use the progress handler to get information about the stage, retries made, data sent and data received.
| Not Started | 0 | 0 | 0 | 0 | 0 |
| Stage | Retries | Bytes Sent | Total Bytes To Send | Bytes Received | Total Bytes To Receive |


| 002:040 Khan | : |
O Children of Israel! Remember My Favour which I bestowed upon you, and fulfill (your obligations to) My Covenant (with you) so that I fulfill (My Obligations to) your covenant (with Me), and fear none but Me. |
| 002:040 Maulana | : |
O Children of Israel, call to mind My favour which I bestowed on you and be faithful to (your) covenant with Me, I shall fulfil (My) covenant with you; and Me, Me alone, should you fear. |
| 002:040 Pickthal | : |
O Children of Israel! Remember My favour wherewith I favoured you, and fulfil your (part of the) covenant, I shall fulfil My (part of the) covenant, and fear Me. |
| 002:040 Rashad | : |
O Children of Israel, remember My favor, which I bestowed upon you, and fulfill your part of the covenant, that I fulfill My part of the covenant, and reverence Me. |
| 002:040 Sarwar | : |
Children of Israel, recall My favors which you enjoyed. Fulfill your covenant with Me and I shall fulfill Mine. Revere only Me. |
| 002:040 Shakir | : |
O children of Israel! call to mind My favor which I bestowed on you and be faithful to (your) covenant with Me, I will fulfill (My) covenant with you; and of Me, Me alone, should you be afraid. |
| 002:040 Sherali | : |
O Children of Israel ! remember MY favours which I bestowed upon you, and fulfill your covenant with ME, I will fulfill MY covenant with you, and ME alone should you fear. |
| 002:040 Yusufali | : |
O Children of Israel! call to mind the (special) favour which I bestowed upon you, and fulfil your covenant with Me as I fulfil My Covenant with you, and fear none but Me. |
Concepts/Themes Covered: الإنسان والعلاقات الأخلاقية > الأخلاق الحميدة > شكر النعمة Man and The Moral Relations> Good Morals>Thanking for the Gifts الإنسان والعلاقات الأخلاقية > الأخلاق الحميدة > الوفاء بالعهد Man and The Moral Relations> Good Morals>Keeping Promise العلاقات القضائية > أحكام قانونية > أحكام عامة > الوفاء بالعهد و العقد و اليمين Judicial Relationships>Legal Rules>General Rules> The Commitment to the Promise, Contract, and Oath الديانات > بنو إسرائيل > أوامر الله إليهم Religions>Children of Israel>Allah's Orders to them الديانات > بنو إسرائيل > حالاتهم Religions>Children of Israel>Their Status الديانات > بنو إسرائيل > نعم الله عليهم Religions>Children of Israel>Allah Gifts on them
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.


#include <SkinData.h>
The skin data is managed by the skin. If you want to implement a skin independent application (or game), do not use this object outside the skin. However, if you know which skin is in use and you require to read or write special property, you may cast this object to the respective type. This object may be NULL, if the skin does not need to store any data.
Definition at line 28 of file SkinData.h.
Public Member Functions | |
| Component * | getComponent () |
| Returns the component this skin data belongs to or NULL, if this skin data does not belong to a component. | |
| SkinData () | |
| Creates a new skin data. | |
Protected Member Functions | |
| virtual | ~SkinData () |
| Destroys the skin data. | |
Private Attributes | |
| Component * | component |
| The component this skin data belongs to or NULL, if this skin data does not belong to a component. | |
| friend | Component |
| friend | GlazieryObject |
|
|
Destroys the skin data.
|
|
|
Creates a new skin data.
|
|
|
Returns the component this skin data belongs to or NULL, if this skin data does not belong to a component.
|
|
|
The component this skin data belongs to or NULL, if this skin data does not belong to a component.
Definition at line 40 of file SkinData.h. |
|
|
Definition at line 31 of file SkinData.h. |
|
|
Definition at line 32 of file SkinData.h. |


Methods summary
public static
MvcCore\Controller
|
#
CreateInstance( )
Return always new instance of statically called class, no singleton.
Always called from \MvcCore::DispatchControllerAction() before controller is dispatched,
or always called in \MvcCore\Controller::autoInitMembers(); in base controller initialization.
This is place where to customize any controller creation process,
before it's created by MvcCore framework to dispatch it.
Return always new instance of statically called class, no singleton.
Always called from \MvcCore::DispatchControllerAction() before controller is dispatched,
or always called in \MvcCore\Controller::autoInitMembers(); in base controller initialization.
This is place where to customize any controller creation process,
before it's created by MvcCore framework to dispatch it.
Returns
|
public static
MvcCore\Controller |null
|
#
GetCallerControllerInstance( )
Try to determinate \MvcCore\Controller instance from debug_bactrace() ,
where was form created, if no form instance given into form constructor.
If no previous controller instance founded, NULL is returned.
Try to determinate \MvcCore\Controller instance from debug_bactrace() ,
where was form created, if no form instance given into form constructor.
If no previous controller instance founded, NULL is returned.
Returns
|
public static
|
#
Redirect( string $location = '', integer $code = \MvcCore\IResponse::SEE_OTHER, string|null $reason = NULL )
Redirect client browser to another place by "Location: ..."
header and call \MvcCore\Application::GetInstance()->Terminate(); .
Redirect client browser to another place by "Location: ..."
header and call \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
- $location
- $code
- $reason
- Any optional text header for reason why.
|
public
|
#
Dispatch( string $actionName = "IndexAction" )
Dispatching controller life cycle by given action.
This is INTERNAL, not TEMPLATE method, internally
called in \MvcCore::DispatchControllerAction(); .
Call this immediately after calling controller methods:
- \MvcCore\Controller::__construct()
- \MvcCore\Controller::SetApplication($application)
- \MvcCore\Controller::SetEnvironment($environment)
- \MvcCore\Controller::SetRequest($request)
- \MvcCore\Controller::SetResponse($response)
- \MvcCore\Controller::SetRouter($router)
This function automatically complete (through controller lifecycle)
protected \MvcCore\Response object with response headers and content,
which you can send to client browser by method
\MvcCore\Controller::Terminate() or which you can store
anywhere in cache to use it later etc.
Dispatching controller life cycle by given action.
This is INTERNAL, not TEMPLATE method, internally
called in \MvcCore::DispatchControllerAction(); .
Call this immediately after calling controller methods:
- \MvcCore\Controller::__construct()
- \MvcCore\Controller::SetApplication($application)
- \MvcCore\Controller::SetEnvironment($environment)
- \MvcCore\Controller::SetRequest($request)
- \MvcCore\Controller::SetResponse($response)
- \MvcCore\Controller::SetRouter($router)
This function automatically complete (through controller lifecycle)
protected \MvcCore\Response object with response headers and content,
which you can send to client browser by method
\MvcCore\Controller::Terminate() or which you can store
anywhere in cache to use it later etc.
Parameters
- $actionName
PHP code action name in PascalCase.
This value is used to call your desired function
in controller without any change.
|
public
|
#
Init( )
TEMPLATE method. Call parent::Init(); at the method very beginning.
Application controllers initialization.
This is best time to initialize language, locale, session etc.
There is also called auto initialization processing - instance creation
on each controller class member implementing \MvcCore\IController
and marked in doc comments as @autoInit .
then there is of course called \MvcCore\Controller::Init(); method on each
automatically created sub-controller.
TEMPLATE method. Call parent::Init(); at the method very beginning.
Application controllers initialization.
This is best time to initialize language, locale, session etc.
There is also called auto initialization processing - instance creation
on each controller class member implementing \MvcCore\IController
and marked in doc comments as @autoInit .
then there is of course called \MvcCore\Controller::Init(); method on each
automatically created sub-controller.
|
public
|
#
PreDispatch( )
TEMPLATE method. Call parent::PreDispatch(); at the method very beginning.
Application pre render common action - always used in application controllers.
This is best time to define any common properties or common view properties,
which are the same for multiple actions in controller etc.
There is also called \MvcCore\Controller::PreDispatch(); method on each sub-controller.
TEMPLATE method. Call parent::PreDispatch(); at the method very beginning.
Application pre render common action - always used in application controllers.
This is best time to define any common properties or common view properties,
which are the same for multiple actions in controller etc.
There is also called \MvcCore\Controller::PreDispatch(); method on each sub-controller.
|
public
string|string[]|integer|int[]|boolean|bool[]|array|mixed
|
#
GetParam( string $name = "", string|array|boolean $pregReplaceAllowedChars = "a-zA-Z0-9_/\-\.\@", mixed $ifNullValue,…, string $targetType,… )
Get param value from $_GET , $_POST or php://input , filtered by
"rule to keep defined characters only", defined in second argument (by preg_replace() ).
Place into second argument only char groups you want to keep.
Shortcut for: \MvcCore\Request::GetParam();
Get param value from $_GET , $_POST or php://input , filtered by
"rule to keep defined characters only", defined in second argument (by preg_replace() ).
Place into second argument only char groups you want to keep.
Shortcut for: \MvcCore\Request::GetParam();
Parameters
- $name
- Parameter string name.
- $pregReplaceAllowedChars
- If String - list of regular expression characters to only keep, if array -
preg_replace() pattern and reverse, if FALSE , raw value is returned.
- $ifNullValue,…
- Default value returned if given param name is null.
- $targetType,…
- Target type to retype param value or default if-null value. If param is an array, every param item will be retyped into given target type.
Returns
string|string[]|integer|int[]|boolean|bool[]|array|mixed
|
public
MvcCore\Application
|
#
GetApplication( )
Get current application singleton instance object as reference.
Get current application singleton instance object as reference.
Returns
|
public
MvcCore\Controller
|
#
SetApplication( MvcCore\IApplication $application )
Sets up \MvcCore\Application singleton object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Sets up \MvcCore\Application singleton object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Parameters
Returns
|
public
MvcCore\Environment
|
#
GetEnvironment( )
Get environment object to detect and manage environment name.

Returns
|
public
MvcCore\Request
|
#
GetRequest( )
Get current application request object as reference.
Get current application request object as reference.
Returns
|
public
string
|
#
GetControllerName( )
Get requested controller name - "dashed-controller-name" .
Get requested controller name - "dashed-controller-name" .
Returns
string
|
public
MvcCore\Controller
|
#
SetControllerName( string $controllerName )
Set requested controller name - "dashed-controller-name" .
Set requested controller name - "dashed-controller-name" .
Parameters
Returns
|
public
string
|
#
GetActionName( )
Get requested action name - "dashed-action-name" .
Get requested action name - "dashed-action-name" .
Returns
string
|
public
MvcCore\Controller
|
#
SetActionName( string $actionName )
Set requested action name - "dashed-action-name" .
Set requested action name - "dashed-action-name" .
Parameters
Returns
|
public
MvcCore\Controller
|
#
SetEnvironment( MvcCore\IEnvironment $environment )
Set environment object to detect and manage environment name.
This is INTERNAL, not TEMPLATE method.
Set environment object to detect and manage environment name.
This is INTERNAL, not TEMPLATE method.
Parameters
Returns
|
public
MvcCore\Controller
|
#
SetRequest( MvcCore\IRequest $request )
Sets up \MvcCore\Request object and other protected properties.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction(); before controller is dispatched.
Usually call this as soon as possible after controller creation
to set up following controller properties:
- \MvcCore\Controller::$request
- \MvcCore\Controller::$controllerName
- \MvcCore\Controller::$actionName
- \MvcCore\Controller::$ajax
Sets up \MvcCore\Request object and other protected properties.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction(); before controller is dispatched.
Usually call this as soon as possible after controller creation
to set up following controller properties:
- \MvcCore\Controller::$request
- \MvcCore\Controller::$controllerName
- \MvcCore\Controller::$actionName
- \MvcCore\Controller::$ajax
Parameters
Returns
|
public
MvcCore\Response
|
#
GetResponse( )
Get current application response object as reference.
Get current application response object as reference.
Returns
|
public
MvcCore\Controller
|
#
SetResponse( MvcCore\IResponse $response )
Sets up \MvcCore\Response object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Sets up \MvcCore\Response object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Parameters
Returns
|
public
MvcCore\Router
|
#
GetRouter( )
Get current application router object as reference.
Get current application router object as reference.
Returns
|
public
MvcCore\Controller
|
#
SetRouter( MvcCore\IRouter $router )
Sets up \MvcCore\Router object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Sets up \MvcCore\Router object.
This is INTERNAL, not TEMPLATE method, internally called in
\MvcCore::DispatchControllerAction() before controller is dispatched.
Usually call this as soon as possible after controller creation.
Parameters
Returns
|
public
boolean
|
#
IsAjax( )
Get boolean about AJAX request.
TRUE if request is requested from browser by XmlHttpRequest object
with http header: X-Requested-With: AnyJavascriptFrameworkName , FALSE otherwise.
Get boolean about AJAX request.
TRUE if request is requested from browser by XmlHttpRequest object
with http header: X-Requested-With: AnyJavascriptFrameworkName , FALSE otherwise.
Returns
boolean
|
public
MvcCore\Controller
|
#
SetIsAjax( boolean $ajax )
Set boolean about AJAX request.
TRUE if request is requested from browser by XmlHttpRequest object
with http header: X-Requested-With: AnyJavascriptFrameworkName , FALSE otherwise.
Set boolean about AJAX request.
TRUE if request is requested from browser by XmlHttpRequest object
with http header: X-Requested-With: AnyJavascriptFrameworkName , FALSE otherwise.
Parameters
Returns
|
public
MvcCore\Model
|
#
GetUser( )
Get user model instance. Template method.
Get user model instance. Template method.
Returns
|
public
MvcCore\Controller
|
#
SetUser( MvcCore\Model $user )
Set user model instance. Template method.
Set user model instance. Template method.
Parameters
Returns
|
public
MvcCore\View |null
|
#
GetView( )
Return current controller view object if any.
Before \MvcCore\Controller::PreDispatch(); is called
in controller lifecycle, this property will be still NULL .
Return current controller view object if any.
Before \MvcCore\Controller::PreDispatch(); is called
in controller lifecycle, this property will be still NULL .
Returns
|
public
MvcCore\Controller
|
#
SetView( MvcCore\IView $view )
Set current controller view object.
Set current controller view object.
Parameters
Returns
|
public
integer
|
#
GetRenderMode( )
Get rendering mode switch to render views in two ways:
\MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT :
- Render action view first into output buffer, then render layout view
wrapped around rendered action view string also into output buffer.
Then set up rendered content from output buffer into response object
and then send HTTP headers and content after all.
\MvcCore\IView::RENDER_WITHOUT_OB_CONTINUOUSLY :
- Special rendering mode to continuously sent larger data to client.
Render layout view and render action view together inside it without
output buffering. There is not used reponse object body property for
this rendering mode. Http headers are sent before view rendering.
Get rendering mode switch to render views in two ways:
\MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT : - Render action view first into output buffer, then render layout view wrapped around rendered action view string also into output buffer. Then set up rendered content from output buffer into response object and then send HTTP headers and content after all.
\MvcCore\IView::RENDER_WITHOUT_OB_CONTINUOUSLY : - Special rendering mode to continuously sent larger data to client. Render layout view and render action view together inside it without output buffering. There is not used reponse object body property for this rendering mode. Http headers are sent before view rendering.
Returns
integer
|
public
MvcCore\Controller
|
#
SetRenderMode( integer $renderMode = \MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT )
Set rendering mode switch to render views in two ways:
\MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT :
- Render action view first into output buffer, then render layout view
wrapped around rendered action view string also into output buffer.
Then set up rendered content from output buffer into response object
and then send HTTP headers and content after all.
\MvcCore\IView::RENDER_WITHOUT_OB_CONTINUOUSLY :
- Special rendering mode to continuously sent larger data to client.
Render layout view and render action view together inside it without
output buffering. There is not used reponse object body property for
this rendering mode. Http headers are sent before view rendering.
Set rendering mode switch to render views in two ways:
\MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT : - Render action view first into output buffer, then render layout view wrapped around rendered action view string also into output buffer. Then set up rendered content from output buffer into response object and then send HTTP headers and content after all.
\MvcCore\IView::RENDER_WITHOUT_OB_CONTINUOUSLY : - Special rendering mode to continuously sent larger data to client. Render layout view and render action view together inside it without output buffering. There is not used reponse object body property for this rendering mode. Http headers are sent before view rendering.
Parameters
Returns
|
public
string
|
#
GetLayout( )
Get layout name to render html wrapper around rendered action view.
Example: "front" | "admin" | "account"... .
Get layout name to render html wrapper around rendered action view.
Example: "front" | "admin" | "account"... .
Returns
string
|
public
MvcCore\Controller
|
#
SetLayout( string $layout = '' )
Set layout name to render html wrapper around rendered action view.
Example: "front" | "admin" | "account"... .
Set layout name to render html wrapper around rendered action view.
Example: "front" | "admin" | "account"... .
Parameters
Returns
|
public
string|null
|
#
GetViewScriptsPath( )
Get customized sub-controllers template path value. NULL by default.
You need to set into this property any custom string as relative path to
your template file placed somewhere in /App/Views/Scripts/ .
For example if you want to render template file placed in:
/App/Views/Scripts/something/completely/custom.phtml , you need to set
up this property to value something/completely and then there is
necessary to render your template only by calling controller rendering by:
$subcontrollerInstance->Render('custom');
Get customized sub-controllers template path value. NULL by default.
You need to set into this property any custom string as relative path to
your template file placed somewhere in /App/Views/Scripts/ .
For example if you want to render template file placed in:
/App/Views/Scripts/something/completely/custom.phtml , you need to set
up this property to value something/completely and then there is
necessary to render your template only by calling controller rendering by:
$subcontrollerInstance->Render('custom');
Returns
string|null
|
public
MvcCore\Controller
|
#
SetViewScriptsPath( string|null $viewScriptsPath = NULL )
Get customized sub-controllers template path value. NULL by default.
You need to set into this property any custom string as relative path to
your template file placed somewhere in /App/Views/Scripts/ .
For example if you want to render template file placed in:
/App/Views/Scripts/something/completely/custom.phtml , you need to set
up this property to value something/completely and then there is
necessary to render your template only by calling controller rendering by:
$subcontrollerInstance->Render('custom');
Get customized sub-controllers template path value. NULL by default.
You need to set into this property any custom string as relative path to
your template file placed somewhere in /App/Views/Scripts/ .
For example if you want to render template file placed in:
/App/Views/Scripts/something/completely/custom.phtml , you need to set
up this property to value something/completely and then there is
necessary to render your template only by calling controller rendering by:
$subcontrollerInstance->Render('custom');
Parameters
Returns
|
public
boolean
|
#
GetViewEnabled( )
Get TRUE if view is automatically created in base controller PreDispatch()
method and if view is automatically rendered with wrapping layout view
around after controller action is called. Or get FALSE if no view
automatically rendered. Default value is TRUE for all non-ajax requests.
Get TRUE if view is automatically created in base controller PreDispatch()
method and if view is automatically rendered with wrapping layout view
around after controller action is called. Or get FALSE if no view
automatically rendered. Default value is TRUE for all non-ajax requests.
Returns
boolean
|
public
MvcCore\Controller
|
#
SetViewEnabled( $viewEnabled = TRUE )
Set TRUE if view object will be automatically created in base controller
PreDispatch() method and if view will be automatically rendered with wrapping
layout view around after controller action is called. Or set FALSE
otherwise to not render any view. Default value is TRUE for all non-ajax requests.
Set TRUE if view object will be automatically created in base controller
PreDispatch() method and if view will be automatically rendered with wrapping
layout view around after controller action is called. Or set FALSE
otherwise to not render any view. Default value is TRUE for all non-ajax requests.
Returns
|
public
MvcCore\Controller
|
#
AddChildController( MvcCore\IController $controller, string|integer $index = NULL )
- Register child controller to process dispatching on it later.
- This method is always called INTERNALLY, but you can use it for custom purposes.
- This method automatically assigns into child controller(s) properties from parent:
\MvcCore\Controller::$_parentController
\MvcCore\Controller::$request
\MvcCore\Controller::$response
\MvcCore\Controller::$router
\MvcCore\Controller::$layout
\MvcCore\Controller::$viewEnabled
\MvcCore\Controller::$user
- Register child controller to process dispatching on it later.
- This method is always called INTERNALLY, but you can use it for custom purposes.
- This method automatically assigns into child controller(s) properties from parent: -
\MvcCore\Controller::$_parentController - \MvcCore\Controller::$request - \MvcCore\Controller::$response - \MvcCore\Controller::$router - \MvcCore\Controller::$layout - \MvcCore\Controller::$viewEnabled - \MvcCore\Controller::$user
Parameters
Returns
|
public
MvcCore\Controller |null
|
#
GetParentController( )
Get parent controller instance if any.
Method for child controllers. This method returns
NULL for top most parent controller instance.
Get parent controller instance if any.
Method for child controllers. This method returns
NULL for top most parent controller instance.
Returns
|
public
MvcCore\Controller
|
#
SetParentController( MvcCore\IController $parentController = NULL )
Set parent controller instance
or NULL for "top most parent" controller.
Method for child controllers.
Set parent controller instance
or NULL for "top most parent" controller.
Method for child controllers.
Parameters
Returns
|
public
MvcCore\Controller[]
|
#
GetChildControllers( )
Get all child controllers array, indexed by
sub-controller property string name or by
custom string name or by custom numeric index.
Get all child controllers array, indexed by
sub-controller property string name or by
custom string name or by custom numeric index.
Returns
|
public
MvcCore\Controller
|
#
SetChildControllers( array $childControllers = [] )
Set all child controllers array, indexed by
sub-controller property string name or by
custom string name or by custom numeric index.
This method is dangerous, because it replace all
previous child controllers with given child controllers.
If you want only to add child controller, use method:
\MvcCore\Controller::AddChildController();` instead.
Set all child controllers array, indexed by
sub-controller property string name or by
custom string name or by custom numeric index.
This method is dangerous, because it replace all
previous child controllers with given child controllers.
If you want only to add child controller, use method:
\MvcCore\Controller::AddChildController();` instead.
Parameters
Returns
|
public
MvcCore\Controller
|
#
GetChildController( string|integer $index = NULL )
Get child controller at specific index.
Sub-controller index should be string by parent controller
property name or custom string name or numeric index.
Get child controller at specific index.
Sub-controller index should be string by parent controller
property name or custom string name or numeric index.
Parameters
Returns
|
public
MvcCore\Config |null
|
#
GetConfig( string $appRootRelativePath )
Get (optionally cached) config INI file as stdClass or array ,
placed relatively from application document root.
Get (optionally cached) config INI file as stdClass or array ,
placed relatively from application document root.
Parameters
- $appRootRelativePath
- Any config relative path like
'/%appPath%/website.ini' .
Returns
|
public
MvcCore\Config |null
|
#
GetSystemConfig( )
Get (optionally cached) system config INI file as stdClass or array ,
placed by default in: "/App/config.ini" .
Get (optionally cached) system config INI file as stdClass or array ,
placed by default in: "/App/config.ini" .
Returns
|
public
|
#
AssetAction( )
Return small assets content with proper headers
in single file application mode and immediately exit.
Return small assets content with proper headers
in single file application mode and immediately exit.
Throws
Exception If file path is not allowed (500) or file not found (404).
|
public
string
|
#
__toString( )
Rendering process alias for \MvcCore\Controller::Render(); .
Rendering process alias for \MvcCore\Controller::Render(); .
Returns
string
|
public
string
|
#
Render( string $controllerOrActionNameDashed = NULL, string $actionNameDashed = NULL )
- This method is called INTERNALLY in lifecycle dispatching process,
but you can use it sooner or in any different time for custom render purposes.
- Render prepared controller/action view in path by default:
"/App/Views/Scripts/<ctrl-dashed-name>/<action-dashed-name>.phtml" .
- If controller has no other parent controller, render layout view around action view.
- For top most parent controller - store rendered action and layout view in response object and return empty string.
- For child controller - return rendered action view as string.
- This method is called INTERNALLY in lifecycle dispatching process, but you can use it sooner or in any different time for custom render purposes.
- Render prepared controller/action view in path by default:
"/App/Views/Scripts/<ctrl-dashed-name>/<action-dashed-name>.phtml" .
- If controller has no other parent controller, render layout view around action view.
- For top most parent controller - store rendered action and layout view in response object and return empty string.
- For child controller - return rendered action view as string.
Parameters
- $controllerOrActionNameDashed
- $actionNameDashed
Returns
string
|
public
|
#
HtmlResponse( string $output = "", boolean $terminate = TRUE )
Store rendered HTML output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Store rendered HTML output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
|
public
|
#
XmlResponse( string $output = "", boolean $terminate = TRUE )
Store rendered XML output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Store rendered XML output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
|
public
|
#
TextResponse( string $output = '', boolean $terminate = TRUE )
Store rendered text output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Store rendered text output inside \MvcCore\Controller::$response
to send into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
|
public
|
#
JsonResponse( mixed $data = NULL, boolean $terminate = TRUE )
Serialize any PHP value into JSON string and store
it inside \MvcCore\Controller::$response to send it
into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Serialize any PHP value into JSON string and store
it inside \MvcCore\Controller::$response to send it
into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
Throws
Exception JSON encoding error.
|
public
|
#
JsonpResponse( mixed $data = NULL, string $callbackParamName = 'callback', boolean $terminate = TRUE )
Serialize any PHP value into JSON string , wrap around prepared public
javascript function in target window sent as $_GET param under
variable $callbackParamName (allowed chars: a-zA-Z0-9\.\-_\$ ) and
store it inside \MvcCore\Controller::$response to send it
into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Serialize any PHP value into JSON string , wrap around prepared public
javascript function in target window sent as $_GET param under
variable $callbackParamName (allowed chars: a-zA-Z0-9\.\-_\$ ) and
store it inside \MvcCore\Controller::$response to send it
into client browser later in \MvcCore\Application::GetInstance()->Terminate(); .
Parameters
- $data
- $callbackParamName
- $terminate
Throws
Exception JSON encoding error.
|
public
string
|
#
Url( string $controllerActionOrRouteName = 'Index:Index', array $params = [] )
Generates url:
- By "Controller:Action" name and params array
(for routes configuration when routes array has keys with "Controller:Action" strings
and routes has not controller name and action name defined inside).
- By route name and params array
(route name is key in routes configuration array, should be any string
but routes must have information about controller name and action name inside).
Result address (url string) should have two forms:
- Nice rewritten URL by routes configuration
(for apps with URL rewrite support (Apache .htaccess or IIS URL rewrite module)
and when first param is key in routes configuration array).
- For all other cases is URL form like: "index.php?controller=ctrlName&action=actionName"
(when first param is not founded in routes configuration array).
Generates url:
- By "Controller:Action" name and params array (for routes configuration when routes array has keys with "Controller:Action" strings and routes has not controller name and action name defined inside).
- By route name and params array (route name is key in routes configuration array, should be any string but routes must have information about controller name and action name inside).
Result address (url string) should have two forms:
- Nice rewritten URL by routes configuration (for apps with URL rewrite support (Apache .htaccess or IIS URL rewrite module) and when first param is key in routes configuration array).
- For all other cases is URL form like: "index.php?controller=ctrlName&action=actionName" (when first param is not founded in routes configuration array).
Parameters
- $controllerActionOrRouteName
- Should be
"Controller:Action" combination or just any route name as custom specific string.
- $params
- Optional, array with params, key is param name, value is param value.
Returns
string
|
public
string
|
#
AssetUrl( string $path = '' )
Return asset path or single file mode URL for small assets
handled by internal controller action "Controller:Asset" .
Return asset path or single file mode URL for small assets
handled by internal controller action "Controller:Asset" .
Parameters
Returns
string
|
public
MvcCore\Session
|
#
GetSessionNamespace( mixed $name = \MvcCore\ISession::DEFAULT_NAMESPACE_NAME )
Alias for \MvcCore\Session::GetNamespace($name);
but called with configured session core class name.
Alias for \MvcCore\Session::GetNamespace($name);
but called with configured session core class name.
Parameters
Returns
|
public
|
#
RenderError( string $exceptionMessage = '' )
Render error controller and error action
for any dispatch exception or error as
rendered html response or as plain text response.
Render error controller and error action
for any dispatch exception or error as
rendered html response or as plain text response.
Parameters
|
public
|
#
RenderNotFound( )
Render not found controller and not found action
for any dispatch exception with code 404 as
rendered html response or as plain text response.
Render not found controller and not found action
for any dispatch exception with code 404 as
rendered html response or as plain text response.
|
public
string
|
#
GetViewScriptPath( string $controllerOrActionNameDashed = NULL, string $actionNameDashed = NULL )
Complete view script path by given controller and action or only by given action rendering arguments.
Complete view script path by given controller and action or only by given action rendering arguments.
Parameters
- $controllerOrActionNameDashed
- $actionNameDashed
Returns
string
|
public
|
#
Terminate( )
Terminate request.
- Send headers if possible.
- Echo response body.
- Write session.
This method is always called INTERNALLY after controller
lifecycle has been dispatched. But you can use it any
time sooner for custom purposes.
This method is only shortcut for: \MvcCore\Application::GetInstance()->Terminate(); .
Terminate request.
- Send headers if possible.
- Echo response body.
- Write session.
This method is always called INTERNALLY after controller
lifecycle has been dispatched. But you can use it any
time sooner for custom purposes.
This method is only shortcut for: \MvcCore\Application::GetInstance()->Terminate(); .
|


Commerical Herbal Mix (Morning Glory, H.B. Woodrose, Calamus & Kava) & Cannabis
| DOSE: T+ 0:00 |
|
|
Cannabis |
(plant material) |
| T+ 0:00 |
1 capsl |
oral |
Various |
(capsule) |
| T+ 0:30 |
2 capsls |
oral |
Various |
(capsule) |
| T+ 1:00 |
|
smoked |
Cannabis |
(plant material) |
Setting: Quiet night in
These capsules claim to produce an effect similar to that of magic mushrooms.
10.00pm
Took one capsule on an empty stomach. Very heavily under the influence of cannabis.
10.30pm
Took two more capsules.
11.00pm
Nothing had yet happened. Cannabis consumption continued.
12.00am
Still no effects.
12.30am
Still no effects. Ceased smoking cannabis.
01.15am
Ever so slight trailing(*) of lights.
01.30am
Sleepiness set in. Think this was due to the cannabis rather than the capsules
(*)Trailing, as I mean it, is in the same sense as if someone waves a glowstick past your face when you're on MDMA. Only this was nowhere near as pronounced as it is on MDMA.
Since that night I tried again with a full dose. I had not been smoking cannabis. They had no effect whatsoever. I do not have sufficient knowledge to propose whether or not there was an interaction between the capsules and the cannabis the first time, or whether cannabis consumption increases/decreases the effects.
I wouldn't bother buying them again, I can get a fresh portion of shrooms for the same price anyway!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{% extends "driving/layout.html" %} {% block page_title %} Driving lessons {% endblock %} {% block content %} {% include "includes/phase_banner_beta.html" %} {{formData | safe}} Will you be paying an instructor for driving lessons? Will you be paying an instructor for driving lessons? Yes No Not sure yet {% endblock %}


Buy Gift With Tickets
Buy Gift With Tickets
Name *
Description *
Points Required Per Gift*
Quantity *
Serial Number *


Experienced software engineer with strong technical and soft skills capable of implementing software solutions for business needs.
Working on backend systems to build a next generation avatar ecosystem.
Skills: AWS, GCP, Kubernetes, PostGres, Golang, Typescript, Terraform
Designing and implementing software solutions to transform the way AWS conducts internal audits by automating manual workflow.
Designed and implemented a product classification tool for product managers in AWS product catalog service. Used AWS technologies and machine learning to launch an API endpoint capable of categorizing product offerings for the purpose of verifying manual inputs.
Implemented RESTful API functionalities for the higi website and wrote automated tests to cover customer workflows.
Developed a search functionality with test driven development practices using an open source library called Lucene to search for all applications and services that State Farm has.
Apart from working as a software engineer, I like to work out, hang out with friends and learn random things. I love watching historical documentaries to be in awed by the events that happened before me.


Number of calls per PageProvider (#1)
| Pageprovider |
Number of calls |
| [[entry.key]] |
[[entry.value]] |
Number of calls per hour (#2)
| Hour |
Number of calls |
| [[entry.key]] |
[[entry.value]] |
Result of searches by range of number of result (#3)
| Number of results |
Number of calls |
| [[entry.key]] |
[[entry.value]] |
Most used expressions for full text search (#4)
| Search term |
Number of calls |
| [[entry.key]] |
[[entry.value]] |
Searches by number of pages displayed (#5)
| Number of Pages |
Number of calls |
| [[entry.key]] |
[[entry.value]] |
Searches by filters used (#6)
| Filters used |
Number of calls |
| [[entry.key]] |
[[entry.value]] |


Edison Setup
Configure
Upgrade
Change Device Name
This changes the device and access point name (must be at least 5 characters). The default login remains as 'root'. Tip: leave field empty to skip setting a device name.
New Device Name:
Connect to a WiFi Network
Connect to a wireless network by entering the required information.
Network Name:
Network Protocol:
Username:
Password:
Back to automatic setup
Scanning...
Open
WEP
WPA-Personal or WPA2-Personal
WPA-Enterprise or WPA2-Enterprise


AnythingZoomer2
DownloadSections: Basics | HTML | CSS | Parameters | Methods | Callbacks ^
Basics
This is a jQuery plugin, so you'll need to load the jQuery library first, then the plugin file, then invoke the new function on the area you wish to have zooming. There is a specific HTML structure and some required CSS to have all this work correctly, so read on. The full list of parameters is also below.
<link rel="stylesheet" href="css/anythingzoomer.css">   * The minimum supported jQuery version is 1.3.2.
The HTML
The only required HTML is the wrapper and the small area. The large area is required if you don't clone the small area.

<-- the large content can be cloned from the small content -->

There are five parts to the actual zoomable area. The idea is to allow for a good amount of flexibility in customizing each part. This includes the "small" area having different content from the "large" zooming area.
- The Wrap (#zoom) - goes around everything.
- Overlay (.az-overlay) - small image overlay; the "az-overlay" class is only applied when hovering.
- Small Area (.small) - the default viewable area, that you mouse over to zoom.
- Large (.large) - the content that is viewable through the zoomer.
- Zoom (.az-zoom) - the zooming box that follows the mouse around.
This is the HTML after the plugin has been applied.

The CSS
The widths, heights, borders and things like that can be altered to your needs. The positioning, z-index, overflow, and top/left values should stay as it is here to function properly.
Modify the.az-zoom
definition as desired:
- Adjust the width and height to set the initial zoom window size.
- Add a border radius of
50%
to make it round. - Change the background color to adjust the color outside of the zoomed element.
- Adjust the border or box shadow color, or remove them if you don't like it.
- It's all defined in the CSS!
Image Demo CSS Example
.zoom { width: 500px; } .small img { width: 250px; height: 167px; } .large img { width: 500px; height: 333px; background: white; }
anythingzoomer.css
/* AnythingZoomer */ .az-wrap, .az-small, .az-large { position: relative; } .az-wrap-inner { display: block; margin: 0 auto; /* center small & large content */ } /* This wraps the large image and hides it */ .az-zoom { background: #fff; border: #333 1px solid; position: absolute; top: 0; left: 0; width: 110px; height: 110px; overflow: hidden; z-index: 100; display: none; -moz-box-shadow: inset 0px 0px 4px #000; -webkit-box-shadow: inset 0px 0px 4px #000; box-shadow: inset 0px 0px 4px #000; } /* Class applied to az-mover when large image is windowed */ .az-windowed { overflow: hidden; position: absolute; } /* Class applied to az-mover when large image is fully shown */ .az-expanded { height: auto; width: auto; position: static; overflow: visible; } /* overlay small area */ .az-overlay { background-color: #000; opacity: 0.3; filter: alpha(opacity=30); z-index: 10; } /* fade out small content when hovering .az-hovered > * { opacity: 0.5; filter: alpha(opacity=50); } */ /* edit mode coordinate styling */ .az-coords { display: none; /* hidden when expanded */ } .az-zoom .az-coords { display: block; position: absolute; top: 0; right: 0; background: #000; background: rgba(0,0,0,0.5); color: #fff; }
All Parameters
$("#zoom").anythingZoomer({ // content areas smallArea : 'small', // class of small content area; the element with this class name must be inside of the wrapper largeArea : 'large', // class of large content area; this class must exist inside of the wrapper. When the clone option is true, it will add this automatically clone : false, // Make a clone of the small content area, use css to modify the style // appearance overlay : false, // set to true to apply overlay class "az-overlay"; false to not apply it speed : 100, // fade animation speed (in milliseconds) edge : 30, // How far outside the wrapped edges the mouse can go; previously called "expansionSize" offsetX : 0, // adjust the horizontal position of the large content inside the zoom window as desired offsetY : 0, // adjust the vertical position of the large content inside the zoom window as desired // functionality switchEvent : 'dblclick', // event that allows toggling between small and large elements - default is double click delay : 0, // time to delay before revealing the zoom window // edit mode edit : false, // add x,y coordinates into zoom window to make it easier to find coordinates // callbacks initialized : function(event, zoomer){}, // AnythingZoomer done initializing zoom : function(event, zoomer){}, // zoom window visible unzoom : function(event, zoomer){} // zoom window hidden });
smallArea
- Class name given to the small content area.
- This element must be inside of the wrapper and should contain an image or whatever visible content the user hovers over.
- Default value is
'small'
.
largeArea
- Class name given to the large content area.
- This element must be inside of the wrapper and should contain an image or whatever visible content that will be seen inside the zoom window.
- The large content is replaced by a clone of the small area when the clone option is true. The dimensions of the large content should be set in the css.
- Default value is
'large'
.
clone
- Make a clone of the small content and add it to the large area.
- This option allows you to only need to add the content to the page once, if the only difference between the small and large content is the dimensions defined by the css.
- See the text demo for an example of how this can be useful.
- Default value is
false
.
overlay
- An overlay is automatically added over every small content area. When this option is true, the overlay element will get a class name of "az-overlay" added to it.
- The css definition for "az-overlay" is within the "anythingzoomer.css" file and can be used to darken the small content during hovering (see the image demo). Alternatively, you can lighten the small area content (look in the anythingzoomer.css file for the commented out definition for ".az-hovered > *") by using the hover class name (not associated with this option).
- Default value is
false
.
speed
- Change the animation speed (in milliseconds) of the zoom window fading in and out.
- Default value is
100
.
edge
- This sets the number of pixels from the outside edge of the small content to maintain the zoom window. Or, said another way... when the mouse arrow is beyond the small content edge by this set number of pixel, the zoom window will fade out.
- The small content edge may vary slightly depending on the value of the content ratio between the small and large content. See a more detailed explanation in the
offsetX
section below. - Default value is
30
.
offsetX & offsetY
- When using the
edit
option, you may sometimes notice that the top left corner of the image isn't at 0,0 and the bottom right corner doesn't match the small area dimensions like it should be. This is partially due to the jQuery offset not including borders, margins or padding. And partially due to the ratio between the small and large areas . - Sometimes it isn't a big deal to be a few pixels off, but if you need to adjust it perfectly, use these options. To do this, enable the edit mode coordinates (set edit to true) then use these options to adjust the location of the large content within the zoom window to set the proper position.
- Default value is
0
.
switchEvent
- This is the name of the event that allows toggling between the small and large content.
- Valid events include: "click", "dblclick", "mouseover", "mouseout", etc.
- Default value is
dblclick
.
delay
- Time to delay (in milliseconds) before revealing the zoom window.
- This is useful if you don't want the zoom window to open when the user is quickly passing over the content.
- Default value is
0
.
edit
- When true, this option will add x,y coordinates into zoom window to make it easier to find coordinates.
- This is useful if you plan on using external triggers to open a zoom window. See the Methods section below.
- Default value is
false
.
initialized
- This is an optional callback function which is executed after AnythingZoomer has completely set up.
- Add any custom function using the
event
orzoomer
object as desired. - For a list of
zoomer
arguments and functions, see the callback arguments section below. - Default value is
undefined
.
zoom
- This is an optional callback function which is executed after the AnythingZoomer zoom window becomes visible.
- Add any custom function using the
event
orzoomer
object as desired. - For a list of
zoomer
arguments and functions, see the callback arguments section below. - Default value is
undefined
.
unzoom
- This is an optional callback function which is executed after the AnythingZoomer zoom window has hidden.
- Add any custom function using the
event
orzoomer
object as desired. - For a list of
zoomer
arguments and functions, see the callback arguments section below. - Default value is
undefined
.
Methods
Enable or Disable AnythingZoomer
To enable or disable AnythingZoomer, call the plugin with the appropriate text:
$('.zoom').anythingZoomer('disable'); // disable AnythingZoomer $('.zoom').anythingZoomer('enable'); // enable AnythingZoomer
This method is demonstrated in the Double demo page. What isn't shown there is that when AnythingZoomer is disabled, the zoom window automatically closes and the small area content is shown.
Control Zoom Window Externally
You can open the zoom window using an external link using these methods. This would be useful to highlight portions of the content in say instructions on how to use an app or name the presidents in the image demo.
// TARGET X,Y COORDINATE // $('.zoom').anythingZoomer( x, y, [ w, h ] ); // x, y = left and top coords to target (will be centered in the zoom window) // w, h = width and height of the zoom window, if not defined, it will default to the css definition // Example: $('.zoom').anythingZoomer( 88, 51, [200,200] ); // 88, 51 will target George Washington; [200,200] will make the zoom window 200px x 200px in size $('.zoom').anythingZoomer( 88, 51, [200,200] ); // TARGET AN OBJECT // $('.zoom').anythingZoomer( 'selector', [ xOffset, yOffset ], [zoomW, zoomH] ); // 'selector' - jQuery selector targeting the element // [xOffset, yOffset] - by default the zoom window will center itself on the element, if you want to move the window, change the offset values (negative values are okay) // [zoomW, zoomH] - width and height of the zoom window // Example: $('.zoom').anythingZoomer( '.day[rel=2009-08-26]', [0, 0], [200, 200] ); // '.day[rel=2009-08-26]' targets the table cell with day class name and rel attribute of "2009-08-26" // [ 0, 0 ] has no x or y offset; this can be replaced with '' (empty string); or if only one number is included, like [-1] this sets the xOffset only // [200,200] will make the zoom window 200px x 200px in size $('.zoom').anythingZoomer( '.day[rel=2009-08-26]', [0, 0], [200, 200] );
Image Demo Example
George Washington, Thomas Jefferson, Theodore Roosevelt or Abraham Lincoln
$('.president') // prevent the link from doing anything .bind('click', function(){ return false; }) // click or mouseover the link to show the zoom window .bind('mouseover click', function(){ // get coordinates from rel attribute var loc = $(this).attr('rel'); if (loc && loc.indexOf(',') > 0) { loc = loc.split(','); // send the coordinates to anythingZoomer $('.zoom').anythingZoomer( loc[0], loc[1] ); } return false; });
Callbacks and Events
These callbacks were added to allow further customizations.
Callback functions
$('#zoom').anythingZoomer({ // initialized occurs after AnythingZoomer has initialized initialized : function(e, zoomer){}, // zoom occurs when the zoom window is visible zoom : function(e, zoomer){}, // unzoom occurs when the zoom window is hidden unzoom : function(e, zoomer){} });
Events
Bind to the AnythingZoomer's events as follows:
$('#zoom').bind('initialized', function(e, zoomer){ // do something after AnythingZoomer has initialized }); $('#zoom').bind('zoom unzoom', function(e, zoomer){ // do something when the zoom toggles if (e.type === "zoom") { // do something when zoomed } else { // do something when unzoomed } });
Callback and Events Arguments and Functions
These arguments and functions are available from the callback or event methods, or from the zoomer
data object.
Access the AnythingZoomer object from outside of callbacks and events as follows:
var zoomer = $('#zoom').data('zoomer');
zoomer.$wrap
- jQuery object of the wrapper which contains both the large and small content.
zoomer.state
- true when the small content is showing, false when large content is visible.
zoomer.current
- This variable contains the current x and y position of the mouse within the small content area.
- The value is updated everytime the mouse is moved, so it can be monitored externally if desired.
zoomer.$inner
- jQuery object of the span immediately inside of
zoomer.$wrap
. - This is the element that centers the small and large content using css; look in
.az-wrap-inner
.
zoomer.$small
- jQuery object of the small area.
zoomer.$large
- jQuery object of the large area.
zoomer.$zoom
- jQuery object of the zoom window which contains the large content area.
- This is the zoom window that follows the mouse and repositions the large area.
zoomer.$overlay
- jQuery object of the overlay element which is contained within the small area and has the same dimensions.
- When the
overlay
option is true, this object gets theaz-overlay
class name applied to it.
zoomer.options.{name}
- Access any of the zoomer options (e.g.
zoomer.options.edge
). - Trying to set the options this way is possible, but may break the zoomer.
zoomer.setTarget('selector', [xOffset, yOffset], [zoomW, zoomH])
- This function is called when controlling the zoom window externally.
- Call this function if you are using a jQuery selector to target an element; use
zoomer.zoomAt()
if you have specific coordinates to set. - Please refer to the methods section for more details on how to set the parameters.
zoomer.zoomAt(x, y, [zoomW, zoomH])
- This function is called by the
zoomer.setTarget()
function after it calculates the x and y coordinates. - Call this function directly if you already know the coordinates.
zoomer.showSmall()
- This function is called when switching from the large content to the small content.
zoomer.showLarge()
- This function is called when switching from the small to large content.
zoomer.hideZoom()
- This function is called when the zoom window needs to be hidden.
- The "unzoom" callback will not be triggered.
zoomer.setEnabled(boolean)
- This function will enable (if boolean is true) or disable (if boolean is false) AnythingZoomer.
- When the plugin is disabled, any open zoom window will be closed and the large content will be hidden.
- This function is called directly from the shortcut method which allows you to call the plugin using 'enable' or 'disable'.


HomePage
Avengers
Avengers Team
Hero
Picture
Likes
Dislikes
>
Hulk
420
230
IronMan
100
5
Captain America
654
156
total
654
4980


Angular Introduction
demo application link
Angular Primer
1. Introduction, 2. Angular Concepts and Usages, 3. Hands-on
Resources:
What is AngularJS
A Data-Driven JavaScript Framework with:
- Event handling through Data
Binding
- UI templating (HTML tags)
- RESTful AJAX API (optional resouces maping through $resource plugin)
- URL mapping with state management
- Testing support, location & i18n, security, accessibility
and more...
- Modularized design support - good for
Enterprise Environment!
Why AngualrJS
- A general trend to move UI processing to Client Side
- HTML5 for cross-platform support
- Advances in JavaScript - ES6, JS engines
Limitations: framework design, weakly typed language
Receptions: Made with Angular
Angular concepts
Declarative vs. Imperative
<input ng-model="model">
Display: {{model}}
vs.
Data Binding
Promises
Plunker demo
promiseFactory.getPromise(data).then(function() {
_this.promiseModel = data;
});
Live Demo
- clone AngularJS seed project
- build with nmp, bower, grunt
- add new


Today in Focus
@Html(description)
@(seriesId: String, title: String, subscribeLinks: Map[String, String], description: String)
@Html(description)
@fragments.inlineSvg("gu-podcast-2021", "journalism/audio")
Today in Focus
@fragments.inlineSvg("flagship-audio-series-header", "journalism/audio-flagship")