MCResourcePile reserves the right to update and change the Terms of Service without notice.
1. Website
- Content distributed on this site is assumed to work correctly. MCResourcePile makes no warranties to this content and is not responsible for loss or damage through the use of content.
- Information submitted through forms is only accessable by MCResourcePile Managers and Developers and will never be shared to external parties unless stated otherwise. Never submit sensitive personal information or passwords through these forms.
- This site uses Google Analystics to help us learn about who visits and uses our services and what pages are being viewed.
- Please note that we do not track or store authentication tokens, GitHub user information, or site preferences.
2. Cookies
- By accessing this site you agree to the use of cookies on your browser to allow us to personalize your experience while using our service. Disabling cookies in your browser will not render this site unusable, however you may not be able to use some of the features this site has to offer.
- We recommend enabling cookies as this allows us to provide personal customisation in some aspects of this site.
3. Statistics
- Statistics presented on the MCResourcePile site could be subject to errors and inconsistencies and MCResourcePile does not take any responsibility if any incorrect figures are used for statistical purposes.
4. Maps and other Downloadable Content
- Maps are assumed to work correctly. Issues with content can be reported on the MCResourcePile GitHub issues repository, however MCResourcePile makes no warranties to this content and is not responsible for loss or damage through the use of content.
- MCResourcePile reserves the rights to modify and redistribute any maps uploaded to the site in favor of the version provided to the service.
- By downloading maps and XML documents from our service you agree to be bound to the license in which the specific map associated with. The LICENSE.txt which is included with the map's download must stay with the map files as long as they are being used.
- Maps downloaded from MCResourcePile without an associated LICENSE.txt file are assumed to be using the most recent license detailed on the site.
- MCResourcePile makes no warranties to any downloadable content or external links featured on the site and is not responsible for any loss or damage through use of the service.
- For map content, refer to our map policy for further details.
4. Author Rights
- Any content provided to MCResourcePile is owned by you. MCResourcePile stands as a distribution platform and does not own the rights to your content. You still have ownership over content MCResourcePile modifies and redistributes.
- Any documented authors at the time of uploading the content have the rights to request the removal of the content from MCResourcePile services.
- Authors can change the license bound to their content at anytime, however MCResourcePile will only enforce the license terms documented in the LICENSE.txt file included with the download. Content downloaded from MCResourcePile that does not include a LICENSE.txt is assumed to be using the most recent license for that content.


Wiz Khalifa
-
Work Hard, Play Hard
作词 : ERIKSEN, MIKKEL/HERMANSEN, TOR/THOMAZ, C./LEVIN, BENJA Work hard,play hard （x4） Work （x8） Diamonds all on my brain... -
Elevated
[by:乖老外] [ar: Wiz Khalifa] [ti: Elevated] [al: Khalifa] [length: 04:10] "Elevated" - Wiz Khalifa Scared money don’t mak...  -
See You Again
作曲 : DJ Frank E/Wiz Khalifa/Andrew Cedar/Charlie Puth 作词 : DJ Frank E/Wiz Khalifa/Andrew Cedar/Charlie Puth It's been ... -
Young, Wild & Free
作曲 : Jackson(Barrow,Bluechel,Bro 作词 : Jackson(Barrow,Bluechel,Bro So what, we get drunk So what, we smoke **** We're j... -
Young Wild & Free
[by:迷失在马路] [ti:] [ar:] [al:] [by:九九Lrc歌词网～www.99Lrc.net] So what we get drunk? So what we don't sleep? We're just having...   -
Gang Up
[by:Trap_Girl] Oh yeah Yeah yeah yeah yeah I'm with the gang gang gang and we 'bout to go up Switching lanes it's a th... -
23
[by:OctobersVeryOwn] I'm so fresh, man (EarDrummers!) man ya'll scare to do how i do it Mike Will Made It I'm in the clu... -
Shell Shocked
Knock, knock, you about to get shell shocked Knock, knock, you about to get shell shocked Knock, knock, you about to get... -
True Colors
[by:CookieJar__] (feat.Nicki Minaj) Taylor Gang, let's get it (Young Money) There's some people coming with me and I kno... -
Closer (Remix)
[by:文斯莫克-山治] [ti:] [ar:] [al:] [by:九九Lrc歌词网～www.99Lrc.net] Hey, I was doing just fine before I met you I drink too much ...  -
Up (feat. Wiz Khalifa, Sheppard) (Dzeko Remix)
[by:Trap_Girl] I've always lived the dreamer's life Never need to close my eyes Yeah Like an astronaut I'll fly Scaling ... -
Ain't Nothing
[by:小陀螺Tony] Yeah, uh huh ******* I got the black car from the Spike Lee film This that higher level stunting, make it r... -
Penthouse (feat.   -
Fr Fr (feat. Lil Skies)
[by:Trap_Girl] Yeah ***** for real, for real My *****s is real, for real I'm the field for real I'm 'bout my check for r... -
Alright
[by:Trap_Girl] Said I'm alright (Alright) Everywhere I go, ***** I’m alright (Alright) Yeah, attracting bold b*****s all...   Now you c... -
What You 'Bout
[by:一只猫的生命哲学a] [ti:What You 'Bout ] [ar:Iamsu!] [al:Sincerely Yours(Bonus Track Version)] [by:yizhimao] I like em long h... -
Captain
[by:Trap_Girl] ID Labs Uh One shot, two shots I done mixed McQueen with the Blue Dot Thug life, 2Pac Smoke me a J' on th... -
When I Grow Up
[by:Trap_Girl] 作曲 : Ki Fitzgerald/Jamal Simon/Grace Tither/Cameron Jibril Thomaz/Dimitri Thivaios/Michael Thivaios/Mark... -
No Sleep
Last night I let the party get the best of me Waking up in the morning: two hoes laying next to me Plus I heard an offic... -
Bigroom Blitz (Radio Mix)
[by:Akoasm__] Chapter five! Bigroom blitz International *****! It's-it's the bigroom blitz! Tune it up! Shotta got ... -
Real Rich
[by:Trap_Girl] Guwop! wiz! Huh Taylor Gang, 1-0-1-7 (uh) Ridin around blow so much ****** But I'm always handlin' busine... -
You And Your Friends
I got all these J's rolled up And got all these drinks poured up I bought all these bottles up in this club Came here wi... -
Stayin Out All Night
[by:Trap_Girl] I had so much champagne up in the club And I ain't come up here And I ain't looking for love I'mma leave ... -
So High
First thing uh huh, wake up out a dream uh huh Grab a lighter uh huh, something I can steam uh huh Bong rip uh huh, make... -
Wait For Me
[by:Trap_Girl] Wait, what am I doing? Go now, don't wait for me I won't give what you need And when the winter rolls in ...  -
Mean Planes & Taylor Gangs (Wiz Khalifa and Taylor Swift).
[by:小陀螺Tony] [ti:Mean Planes Taylor Gangs ] [ar:Brenton Duvall 26726249] [al:] [by:九九Lrc歌词网～www.99Lrc.net] You, with you... -
Moment
[by:Trap_Girl] This feel like my chance This feel like my moment Everyone needs a fan Everyone needs a close up Let me s... -
Pull Up
When I'm in L.A. pedal to the floor mane Your ******* in my face she must be a hoe mane Money in the way I can't see my... -
Proofread (feat. Wiz Khalifa)
[by:Trap_Girl] Check the record, misread You know what I'm sayin' Naw for real, Dexter, woah Check the record, don't mis... -
When I'm Gone
And they say all I rap about is ******* and champagne, You would too if every night you seen the same thing Money wall t... -
Molly
[by:初级说唱翻译] Hi, I'm looking for Molly I've been searching everywhere and I can't seem to find Molly, Molly, Molly, Molly... -
Payphone
作曲 : Adam Levine/Benjamin Levin/Ammar Malik/Dan Omelio/Shellback/Cameron Thomaz 作词 : Adam Levine/Benjamin Levin/Ammar ... -
We Own It (Fast & Furious)
Money's the motivation, Money's the conversation, You on vacation, We gettin' paid so We on paycation, I did it for the... -
5 O'Clock
作词 : BOBB, LOUISA GABRIELLA/DAGOIS, OLLIE/RUSSELL, BRENDA/UNGER-HAMILTON, FERDY It's 5 o' clock in the morning Conversa... -
Reach for the Stars (feat. Bone Thugs-N-Harmony)
[by:colbyodonis] [ar: ] [al: ] [ti: reach] [0-1:59.700] (Twinkle, twinkle) (Twinkle, twinkle) Might as well reach for th...  -
Something New
[by:文斯莫克-山治] [ti:] [ar:] [al:] [by:九九Lrc歌词网～www.99Lrc.net] Right now, I'm down I be with the Hitmaker So, hol' up Baby,... -
OMG
[by:Trap_Girl] Got it on smash Think he ain't got a chance with a ***** like me, He ain't rich enough, rich enough (no) ...


REPL stands for Read Eval Print Loop and it represents a computer environment like a window console or Unix/Linux shell where a command is entered and system responds with an output in interactive mode. Node.js or Node comes bundled with a REPL environment. It performs the following desired tasks.
Read - Reads user's input, parse the input into JavaScript data-structure and stores in memory.
Eval - Takes and evaluates the data structure
Print - Prints the result
Loop - Loops the above command until user press ctrl-c twice.


Simple Latex Table Generator
Note: Lists are separated by new lines and numbered.
Add Table Row
Submit


A New Mission
As I write this, Just Eat Takeaway has just announced that it intends to purchase menu aggregator and food delivery service, GrubHub, for $7 billion. Just Eat Takeaway got its mouthful of a name after Takeway.com acquired Just Eat for $8 billion. If the .com in the official name weren’t enough of a clue that we have, somehow, been flung back to the ‘90s, their business model makes it clear - Just Eat Takeaway is just a takeout marketplace.
Heather Haddon and Parmy Olson, writers for the Wall Street Journal, got a fabulous pull quote from the new, wouldbe head of Grubhub.
“Mr. Groen, 42 years old, who would become chief executive of the combination with Grubhub, describes the approach as based simply on facilitating messages between restaurants and customers. “As long as we send messages, we make money,” he said. ‘That’s why marketplace is just a superior business model.’”
How is it possible that a message platform is worth $7 billion? Quite simply, it’s not. The majority of their value comes from taking a fraction of the sale, upwards of 30%, often without providing a delivery fleet as most consumers assume they do. So what value are they providing? They provide the currency of robber barons everywhere: exposure.
These types of vain, extractive companies like DoorDash, Yelp, Uber Eats, etc. etc., are what is giving tech its bad name.
Consumers are willing to adopt this model because there is no clear alternative. While these platforms are trivial to make in the technical sense they are far out of reach for any individual food and/or beverage company short of Starbucks.
Imagine if tech treated itself this way. Imagine if choosing to use Postgres meant you had to surrender 30% of your revenue upfront. It shouldn’t be difficult to imagine, this is basically what Oracle is offering. But in the tech community we have alternatives. I don’t know a founding engineer today who is reaching for an Oracle database as the persistence layer of their stack.
Why would I use Oracle when I can use Postgres?1 Postgres is free. And it’s good! Really really good and it only continues to get better. Hundreds of thousands of person-hours have been spent on all sorts of features from different join algorithms that perform better on certain kinds of queries to the ability to tune vacuuming parameters and so on. It is true that if you have a problem, you have no one you can call or yell at... or sue. But in exchange, you get a thriving, friendly community of developers eager to help.
Postgres is just one example. There are thousands more. And even the big players like Microsoft are going full bore into the open source arena because they are worried that even they may be foregoing a floating boat if they don’t contribute to this rising tide.
So, why do software engineers write such good software for themselves and nobody else? In fact, why do software engineers write free software at all? As far as I can tell, it is mostly because software engineers enjoy writing software. There is inherent value to producing something that other people find useful. And there are few things quite so satisfying as reaching for a well-defined, open-source product that you know you can rely on.
But while we have been working hard to author exceptional, free technology for ourselves, the average consumer has been left out in the cold. There are a number of barriers to writing software for non-coders. For one, coders have a deep understanding of the kinds of things other coders want and a mindset that allows them to write interfaces they are likely to understand. Anyone who has worked in a domain they aren’t familiar with can attest to the difficulty of having to learn new domain specific lingo or having to adhere to interaction patterns that may be outmoded in tech but are familiar and even expected in finance, for instance. Most importantly, tech just isn’t that familiar with the problems other sectors face and so cannot accurately address their needs.
The free software community needs to adopt a new mission - to make excellent, free, software for non-technical consumers. The only way to do this is to collaborate.
How many person-hours would it take to make a great takeout menu aggregator and customer to restaurant messaging platform? Not that many, I submit. Our community has solved far harder problems in the past and now more than ever we have giant, free shoulders to stand on.
If we can pivot the free software movement to focus on delivering value for non-technical consumers, what is on offer, instead of adulation from our peers, is appreciation from everyone. We could restore tech’s name, participate globally in new and exciting domains, and spread value around instead of concentrating it in the tiny, clenched hands of the silicon valley few.
If this mission had a mantra, I think it could be: make free software your mom wants to use.
[1]: In fact, there are plenty of reasons to choose Oracle over Postgres but those reasons do not apply to the vast majority of people who need a database.


Post {{currentNode.name}} to Medium.
Connected to Medium as {{ MediumDialogModel.Name }}.
{{MediumDialogModel.ErrorMessage}}
Visit https://github.com/alindgren/umbraco-medium for help.


--- layout: page title: Will Matcham tags: [will,william,williammatcham,william_matcham,matcham,personal,website,economics,lse, London, School, Economics] description: Academic website for William Matcham, PhD economics student at London School of Economics subtitle: Welcome to my personal website! use-site-title: true ---
{% seo %}My name is William Matcham. I am an economics PhD candidate at the London School of Economics.
My research interests include household finance, innovation, and applied econometrics.
If you need to contact me, please email w.o.matcham at lse.ac.uk.
I currently have three projects in progress:


Proximal Policy Optimization¶
Table of Contents
Background¶
(Previously: Background for TRPO)
PPO is motivated by the same question as TRPO: how can we take the biggest possible improvement step on a policy using the data we currently have, without stepping so far that we accidentally cause performance collapse? Where TRPO tries to solve this problem with a complex second-order method, PPO is a family of first-order methods that use a few other tricks to keep new policies close to old. PPO methods are significantly simpler to implement, and empirically seem to perform at least as well as TRPO.
There are two primary variants of PPO: PPO-Penalty and PPO-Clip.
PPO-Penalty approximately solves a KL-constrained update like TRPO, but penalizes the KL-divergence in the objective function instead of making it a hard constraint, and automatically adjusts the penalty coefficient over the course of training so that it’s scaled appropriately.
PPO-Clip doesn’t have a KL-divergence term in the objective and doesn’t have a constraint at all. Instead relies on specialized clipping in the objective function to remove incentives for the new policy to get far from the old policy.
Here, we’ll focus only on PPO-Clip (the primary variant used at OpenAI).
Quick Facts¶
- PPO is an on-policy algorithm.
- PPO can be used for environments with either discrete or continuous action spaces.
- The Spinning Up implementation of PPO supports parallelization with MPI.
Key Equations¶
PPO-clip updates policies via
typically taking multiple steps of (usually minibatch) SGD to maximize the objective. Here is given by
in which is a (small) hyperparameter which roughly says how far away the new policy is allowed to go from the old.
This is a pretty complex expression, and it’s hard to tell at first glance what it’s doing, or how it helps keep the new policy close to the old policy. As it turns out, there’s a considerably simplified version [1] of this objective which is a bit easier to grapple with (and is also the version we implement in our code):
where
To figure out what intuition to take away from this, let’s look at a single state-action pair , and think of cases.
Advantage is positive: Suppose the advantage for that state-action pair is positive, in which case its contribution to the objective reduces to
Because the advantage is positive, the objective will increase if the action becomes more likely—that is, if increases. But the min in this term puts a limit to how much the objective can increase. Once , the min kicks in and this term hits a ceiling of . Thus: the new policy does not benefit by going far away from the old policy.
Advantage is negative: Suppose the advantage for that state-action pair is negative, in which case its contribution to the objective reduces to
Because the advantage is negative, the objective will increase if the action becomes less likely—that is, if decreases. But the max in this term puts a limit to how much the objective can increase. Once , the max kicks in and this term hits a ceiling of . Thus, again: the new policy does not benefit by going far away from the old policy.
What we have seen so far is that clipping serves as a regularizer by removing incentives for the policy to change dramatically, and the hyperparameter corresponds to how far away the new policy can go from the old while still profiting the objective.
You Should Know
While this kind of clipping goes a long way towards ensuring reasonable policy updates, it is still possible to end up with a new policy which is too far from the old policy, and there are a bunch of tricks used by different PPO implementations to stave this off. In our implementation here, we use a particularly simple method: early stopping. If the mean KL-divergence of the new policy from the old grows beyond a threshold, we stop taking gradient steps.
When you feel comfortable with the basic math and implementation details, it’s worth checking out other implementations to see how they handle this issue!
| [1] | See this note for a derivation of the simplified form of the PPO-Clip objective. |
Exploration vs. Exploitation¶
PPO trains a stochastic policy in an on-policy way. This means that it explores by sampling actions according to the latest version of its stochastic policy. The amount of randomness in action selection depends on both initial conditions and the training procedure. Over the course of training, the policy typically becomes progressively less random, as the update rule encourages it to exploit rewards that it has already found. This may cause the policy to get trapped in local optima.
Documentation¶
-
spinup.
ppo
(env_fn, actor_critic=<function mlp_actor_critic>, ac_kwargs={}, seed=0, steps_per_epoch=4000, epochs=50, gamma=0.99, clip_ratio=0.2, pi_lr=0.0003, vf_lr=0.001, train_pi_iters=80, train_v_iters=80, lam=0.97, max_ep_len=1000, target_kl=0.01, logger_kwargs={}, save_freq=10)[source]¶ Parameters: - env_fn – A function which creates a copy of the environment. The environment must satisfy the OpenAI Gym API.
- actor_critic –
A function which takes in placeholder symbols for state,
x_ph
, and action,a_ph
, and returns the main outputs from the agent’s Tensorflow computation graph:Symbol Shape Description pi
(batch, act_dim) Samples actions from policy givenstates.logp
(batch,) Gives log probability, according tothe policy, of taking actionsa_ph
in statesx_ph
.logp_pi
(batch,) Gives log probability, according tothe policy, of the action sampled bypi
.v
(batch,) Gives the value estimate for statesinx_ph
. (Critical: make sureto flatten this!) - ac_kwargs (dict) – Any kwargs appropriate for the actor_critic function you provided to PPO.
- seed (int) – Seed for random number generators.
- steps_per_epoch (int) – Number of steps of interaction (state-action pairs) for the agent and the environment in each epoch.
- epochs (int) – Number of epochs of interaction (equivalent to number of policy updates) to perform.
- gamma (float) – Discount factor. (Always between 0 and 1.)
- clip_ratio (float) – Hyperparameter for clipping in the policy objective. Roughly: how far can the new policy go from the old policy while still profiting (improving the objective function)? The new policy can still go farther than the clip_ratio says, but it doesn’t help on the objective anymore. (Usually small, 0.1 to 0.3.)
- pi_lr (float) – Learning rate for policy optimizer.
- vf_lr (float) – Learning rate for value function optimizer.
- train_pi_iters (int) – Maximum number of gradient descent steps to take on policy loss per epoch. (Early stopping may cause optimizer to take fewer than this.)
- train_v_iters (int) – Number of gradient descent steps to take on value function per epoch.
- lam (float) – Lambda for GAE-Lambda. (Always between 0 and 1, close to 1.)
- max_ep_len (int) – Maximum length of trajectory / episode / rollout.
- target_kl (float) – Roughly what KL divergence we think is appropriate between new and old policies after an update. This will get used for early stopping. (Usually small, 0.01 or 0.05.)
- logger_kwargs (dict) – Keyword args for EpochLogger.
- save_freq (int) – How often (in terms of gap between epochs) to save the current policy and value function.
Saved Model Contents¶
The computation graph saved by the logger includes:
| Key | Value |
|---|---|
x |
Tensorflow placeholder for state input. |
pi |
Samples an action from the agent, conditioned on states in x . |
v |
Gives value estimate for states in x . |
This saved model can be accessed either by
- running the trained policy with the test_policy.py tool,
- or loading the whole saved graph into a program with restore_tf_graph.
References¶
Relevant Papers¶
- Proximal Policy Optimization Algorithms, Schulman et al. 2017
- High Dimensional Continuous Control Using Generalized Advantage Estimation, Schulman et al. 2016
- Emergence of Locomotion Behaviours in Rich Environments, Heess et al. 2017
Why These Papers?¶
Schulman 2017 is included because it is the original paper describing PPO. Schulman 2016 is included because our implementation of PPO makes use of Generalized Advantage Estimation for computing the policy gradient. Heess 2017 is included because it presents a large-scale empirical analysis of behaviors learned by PPO agents in complex environments (although it uses PPO-penalty instead of PPO-clip).
Other Public Implementations¶
- Baselines
- ModularRL (Caution: this implements PPO-penalty instead of PPO-clip.)
- rllab (Caution: this implements PPO-penalty instead of PPO-clip.)
- rllib (Ray)


HOME
BROWSE
Expand child menu
Art
History
Science
Novels
Short Stories
Poetry
Fitness
Cookbooks
ABOUT US
MyBOOKS
0
seize the day with goodReaders
take a tour
What will you discover?
Most Reviewd BOOKS
Add to Cart
French Recipes
Add to Cart
The Vampyre a tail
Add to Cart
The bet and other stories
Add to Cart
The 7 habits of highly effective people
Add to Cart
RICH DAD POOR DAD
Add to Cart
THINK AND GROW RICH
Our daily motivational quotes for GoodReaders
“Once you learn to read, you will be forever free.” — Frederick Douglass
“The more that you read, the more things you will know. The more you learn, the more places you’ll go.”— Dr. Seuss
“Today a reader, tomorrow a leader.” – Margaret Fuller
There are worse crimes than burning books. One of them is not reading them.” – Ray Bradbury
“Reading is to the mind what exercise is to the body.” – Richard Steele”
“Books are a uniquely portable magic.” – Stephen King


Module: Mcir::Instance::Getters
- Included in:
- Mcir::Instance
- Defined in:
- lib/mcir/instance/getters.rb
Overview
Contains getters for instances.
Instance Method Summary (collapse)
-
- (Boolean) online?(*checks)
Checks if the server is online by using different checking methods.
-
- (Integer) port
Returns the port of the instance.
-
- (Integer) query_port
Returns the query port of the instance.
-
- (Integer) rcon_port
Returns the rcon port of the instance.
-
- (String) screen_name
Returns the screen name of the instance.
-
- (Symbol) screen_status
Returns the status of the server screen.
-
- (String) server_ip
Returns the server ip of the instance.
Instance Method Details
- (Boolean) online?(*checks)
Checks if the server is online by using different checking methods.
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/mcir/instance/getters.rb', line 38 def online? *checks # use lockfile per default checks << :lock << :screen if checks.empty? checks.all? do |check| case check.to_sym when :lock then lockfile? when :screen then screen_status != :unknown when :rcon then !!rcon when :query then !!query end end end |
- (Integer) port
Returns the port of the instance.
12 13 14 |
# File 'lib/mcir/instance/getters.rb', line 12 def port properties["server-port"] || 25565 end |
- (Integer) query_port
Returns the query port of the instance.
18 19 20 |
# File 'lib/mcir/instance/getters.rb', line 18 def query_port properties["query.port"] || 25565 end |
- (Integer) rcon_port
Returns the rcon port of the instance.
24 25 26 |
# File 'lib/mcir/instance/getters.rb', line 24 def rcon_port properties["rcon.port"] || 25575 end |
- (String) screen_name
Returns the screen name of the instance.
6 7 8 |
# File 'lib/mcir/instance/getters.rb', line 6 def screen_name @config["screen_name"] || "mcir_#{@name}" end |
- (Symbol) screen_status
Returns the status of the server screen.
55 56 57 58 59 60 61 62 63 |
# File 'lib/mcir/instance/getters.rb', line 55 def screen_status rec = @mcir.screen_list(:name)[screen_name] return :unknown unless rec return :running unless rec.key? :attached return :attached if rec[:attached] return :detached unless rec[:attached] :uncatched end |
- (String) server_ip
Returns the server ip of the instance.
30 31 32 |
# File 'lib/mcir/instance/getters.rb', line 30 def server_ip properties["server-ip"].presence || '<IP_ADDRESS>' end |


Bootstrap is built on responsive 12-column grids, layouts, and components.
Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.
<!DOCTYPE html>  ...
Bootstrap sets basic global display, typography, and link styles. Specifically, we:
margin
on the bodybackground-color: white;
on the body
@baseFontFamily
, @baseFontSize
, and @baseLineHeight
attributes as our typographic base@linkColor
and apply link underlines only on :hover
These styles can be found within scaffolding.less.
With Bootstrap 2, the old reset block has been dropped in favor of Normalize.css, a project by Nicolas Gallagher and Jonathan Neal that also powers the HTML5 Boilerplate. While we use much of Normalize within our reset.less, we have removed some elements specifically for Bootstrap.
The default Bootstrap grid system utilizes 12 columns, making for a 940px wide container without responsive features enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.
For a simple two column layout, create a .row
and add the appropriate number of .span*
columns. As this is a 12-column grid, each .span*
spans a number of those 12 columns, and should always add up to 12 for each row (or the number of columns in the parent).

...

...

Given this example, we have .span4
and .span8
, making for 12 total columns and a complete row.
Move columns to the right using .offset*
classes. Each class increases the left margin of a column by a whole column. For example, .offset4
moves .span4
over four columns.

...

...

To nest your content with the default grid, add a new .row
and set of .span*
columns within an existing .span*
column. Nested rows should include a set of columns that add up to the number of columns of its parent.

 Level 1 column

Level 2

Level 2

The fluid grid system uses percents instead of pixels for column widths. It has the same responsive capabilities as our fixed grid system, ensuring proper proportions for key screen resolutions and devices.
Make any row "fluid" by changing .row
to .row-fluid
. The column classes stay the exact same, making it easy to flip between fixed and fluid grids.

...

...

Operates the same way as the fixed grid system offsetting: add .offset*
to any column to offset by that many columns.

...

...

Fluid grids utilize nesting differently: each nested level of columns should add up to 12 columns. This is because the fluid grid uses percentages, not pixels, for setting widths.

 Fluid 12

 Fluid 6

Fluid 6

Fluid 6

Fluid 6

Provides a common fixed-width (and optionally responsive) layout with only

required.

 ...

Create a fluid, two-column page with

—great for applications and docs.

Turn on responsive CSS in your project by including the proper meta tag and additional stylesheet within the
of your document. If you've compiled Bootstrap from the Customize page, you need only include the meta tag.
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="content/css/bootstrap-responsive.css" rel="stylesheet">
Heads up! Bootstrap doesn't include responsive features by default at this time as not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it as needed.
Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around min-width
and max-width
.
Use media queries responsibly and only as a start to your mobile audiences. For larger projects, do consider dedicated code bases and not layers of media queries.
Bootstrap supports a handful of media queries in a single file to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:
| Label | Layout width | Column width | Gutter width |
|---|---|---|---|
| Large display | 1200px and up | 70px | 30px |
| Default | 980px and up | 60px | 20px |
| Portrait tablets | 768px and above | 42px | 20px |
| Phones to tablets | 767px and below | Fluid columns, no fixed widths | |
| Phones | 480px and below | Fluid columns, no fixed widths |
/* Large desktop */ @media (min-width: 1200px) { ... } /* Portrait tablet to landscape and desktop */ @media (min-width: 768px) and (max-width: 979px) { ... } /* Landscape phone to portrait tablet */ @media (max-width: 767px) { ... } /* Landscape phones and down */ @media (max-width: 480px) { ... }
For faster mobile-friendly development, use these utility classes for showing and hiding content by device. Below is a table of the available classes and their effect on a given media query layout (labeled by device). They can be found in responsive.less
.
| Class | Phones 767px and below | Tablets 979px to 768px | Desktops Default |
|---|---|---|---|
.visible-phone |
Visible | Hidden | Hidden |
.visible-tablet |
Hidden | Visible | Hidden |
.visible-desktop |
Hidden | Hidden | Visible |
.hidden-phone |
Hidden | Visible | Visible |
.hidden-tablet |
Visible | Hidden | Visible |
.hidden-desktop |
Visible | Visible | Hidden |
Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.
Resize your browser or load on different devices to test the above classes.
Green checkmarks indicate that class is visible in your current viewport.
Here, green checkmarks indicate that class is hidden in your current viewport.


While reading through the list of habits and productivity techniques there were a couple that stood out to me that I thought I would try. The first was the pomodoro technique. The idea of a fixed short time to work appealed to me as someone who often struggles to maintain concentration for long stretches. While I have only used this technique briefly, I can see it becoming an important part of my working routine. The five minute breaks every half hour are incredibly refreshing and are a great tool for helping me refocus on the task at hand. The second techinque I employed was brief meditation. I have tried mediation in the past and often I find it difficult to keep focused on what I am doing, whether its my breathing. My mind tends to wander and I return to focusing on my breathing or surroundings only sporadically for breif periods. I think with practice I will get better at keeping mindful and focused and am excited about the many benefits of regular meditation.
I think the most interesting topic for me was the flow state. It is something I've read about in the past and have experienced on a few occasions. However, I always assumed it just happened from time to time, and that I was lucky to feel so productive. I was happy to learn about the things I can to do to increase the likelihood of entering the flow state. Though I haven't had success thus far in achieving flow using these techniques, I look forward to getting there in the near future. Along with mediation, achieving the flow state is the habit that I will be trying to form over the next couple of months.
Home


[132] Bureau of Justice Statistics, Prisoners in 2018 (2020), https://bjs.ojp.gov/library/publications/prisoners-2018.


Perf Report:
Test (Frame #49)
Worker Thread 0
expand all
|
collapse all
View as:
tree
|
flat
Worker Thread 1
expand all
|
collapse all
View as:
tree
|
flat
Worker Thread 2
expand all
|
collapse all
View as:
tree
|
flat
CUMULATIVE
expand all
|
collapse all
View as:
tree
|
flat


Gaming Survey
Gaming Survey
Please tell us more about your gamer profile
* Name:
* E-mail:
* Age:
What is your gender?
Male
Female
Other
Which do you prefer to play games on?
Playstation 4
Xbox One
PC
Other
How often do you play video games?
Select an option
Daily
Several times a week
Several times a month
Several times a year
What game genre(s) do you enjoy?
Action
Adventure
RPG
Sports
Strategy
Racing
Any Comments or Suggestions?
Submit


ABOUT OUR LENS'S WE USE AND LOVE
40 years ago when I was just a 15 year old looking through my dads slides, I realised this is what I wanted to do. Not realising that this would be the top of my personal rainbow.
Now I have a countless number of cameras and lenses and love to just play with their different sizes and the things each intervidual can do.
My favorite is the 200/500 zoom, telephoto lens. Thats the one I can do just about anything with. From Surfing, a wild eagle and a mountain revine. Spectacular, crisp and soft, at the same time.
My camera and lens choices are relatively simple. “Through running workshops I have used a vast range of camera brands and truly believe you can make any equipment work for you”.
“Shooting landscapes and selling prints, two things I am after in my gear is high resolution and high dynamic range. At this point in time I am shooting Nikon and Pentax, which I have for the past two years. I still think Nikon make some of the best lenses, but occasionally I do miss the rugged feel of a DSLR over mirrorless”.
“I've never shot composites either. My camera can handle a large dynamic range, but if it's too high I will manually shoot two separate exposures back to back and blend later. But really there's nothing more rewarding than seeing the final image on the back of your camera,”.  It's all about the thrill of the chase and nothing compares to that moment when everything aligns, it's truly special.”


Zip64File - Users' Manual - Usage
Usage
Zip64File implements a command-line zip64 as well as an API for programmers. The use of the API is documented in the developer's manual and in the javadoc documentation. Here we describe the use of the command-line zip64.
zip64 is started by running zip64.cmd (for Windows) or zip64.sh (for LINUX) or explicitly starting it using the appropriate JAVA executable.
zip64.cmd <arguments>, zip64.sh <arguments>, or java -jar <zip64path>/lib/zip64.jar <arguments>
where <zip64path> refers to the installation folder of Zip64File and <arguments> refers to the following arguments that can be specified on the command-line:
<command> options <zipfile> files...
Command
The command defines the basic operation executed by zip64. It must be one of the following:
- n
- for inject overwrites and existing archive or creates a new archive, adding the files,
- x
- for extract extracts the files from the archive, or
- l
- for list lists the files in the archive.
If the first argument is not one of these commands, then l is assumed as a default.
Options
If zip64 is called with the special option -h a short explanation of the usage is displayed and all other arguments are ignored.
Otherwise the following options can be used:
| option | cmd | meaning |
|---|---|---|
| -d:<ziproot> | n, x | external directory relative to which the files will be injected or extracted default: current folder |
| -c | n | if present, content will be compressed default: uncompressed storage (ZIP64 file is just used as a container) |
| -r | n, x | if present, the target files will be replaced/overwritten without warning default: processing skips existing file entries and lists them on stderr. |
| -q | n, x | quiet, do not display output on stdout default: listing on stdout |
| -z:<comment> | n | adds a comment to the ZIP file |
zipfile
Archive file in ZIP format. On input this can be either in ZIP32 or in ZIP64 format. The zip64 utility will only write archives in the ZIP64 format, even if the content could be stored in ZIP32 format.
files ...
One or more names of files or @ followed by the name of a plain text file containing the names of files to be injected or extracted. (The text file will be read with the JAVA default character set which can be changed by specifying the JVM parameter file.encoding on the command line.)
Each filename (on the command line or in the file list) can contain the wildcard characters ?, * or **. The ? indicates a single character at this position in the name. The * indicates any number of characters in a file or folder name. It occurs at most once in a file or folder name. ** indicates any number of characters including the folder separator. It occurs at most once in the full file name.
If the file... argument is missing, ** is assumed as a default.
N.B.: Unfortunately the command line is parsed in a half-hearted way by the shell or by JAVA. Therefore you cannot enter a file template starting with „**“. You have to avoid the situation by starting the file name template with another character or use the file name list.
Also you need to be careful not to start a file name with „/“ on the Windows platform. On this platform „/“ is treated as a variant of „-“ and introduces command-line options.
Examples
java -jar "C:\Programme\Enter AG\zip64-1.0\lib\zip64.jar" n "-d=C:\Dokumente und Einstellungen\Hartwig\Eigene Dateien\SourceFolder" "C:\Dokumente und Einstellungen\Hartwig\Eigene Dateien\Test.zip"
recursively packs all files in SourceFolder into test.zip retaining the path name relative to the source folder in the ZIP file. If test.zip already existed, the new content is added, unless its name collides with an existing file entry.
java -jar "C:\Programme\Enter AG\zip64-1.0\lib\zip64.jar" x "-d=C:\Dokumente und Einstellungen\Hartwig\Eigene Dateien\TargetFolder" "C:\Dokumente und Einstellungen\Hartwig\Eigene Dateien\Test.zip"
recursively extracts all content of test.zip into the TargetFolder. Existing files in the target folder are not overwritten.
If the two examples are executed one after the other where initially the file test.zip did not exist and the target folder was empty, then the target folder ends up with the same content as the source folder.


Otter
Filter Check
Locks
Assembly
Short Contigs
Assembly Adjacencies
Assembly Fragmentation
Database checks
Duplicate Stable IDs
Duplicate Names
Exons with "CDS start not found" and first exon phase = -1
Transcripts with "CDS start not found" and 5' UTR
Coding transcripts with 5' UTR in first coding exon and phase not -1
Canvas
Canvas Performance


The Leonids meteor shower will send bright green shooting stars across the sky this weekend, early next week. Here's how to see them.
by Morgan McFall-JohnsenESO
- The Leonids meteor shower peaks this weekend and early next week, with about 15 meteors streaking across the night sky every hour.
- The waning gibbous moon will be bright, but you can still catch some green shooting stars.
- The Leonids have made spectacular meteor storms in the past, with up to 100,000 shooting stars each hour. The next one will appear in 2099.
- Here's how you can see the shooting stars.
- Visit Business Insider's homepage for more stories.
If you see bright green shooting stars streak across the night sky this week, don't worry. It's not an omen. It's just the Leonids.
The meteor shower peaks the nights of November 16 through 18. The moon might outshine them as it wanes gibbous — the full moon is over, and it's just starting to pass into shadow — but you can still catch a few meteors. Expect about 15 per hour.
The Leonids appear as Earth hurtles through the field of rock and metal debris left behind by the comet Tempel-Tuttle each time it passes by. As the rocks collide with our atmosphere, they burn up in the beautiful streaks known as shooting stars.
Because the metals are rich in iron and magnesium, the Leonids often leave bright green tails in their wake.
REUTERS/Jim Hollander
Avid stargazers know the Leonids best for their meteors storms — exceptionally thick and spectacular meteor showers.
The last Leonids storm in 1999 produced about 3,000 meteors per hour. Even that paled in comparison to the storms of 1833 and 1966, when 100,000 shooting stars streaked across the sky every hour.
"The great Leonid meteor storm of 1833 did more to spawn the study of meteors than any other single event," according to the American Meteor Society.
The Leonids won't make another storm like that until 2099.
Tempel-Tuttle will pass Earth again in 2031 and 2064, according to EarthSky. The comet takes about 33 years to orbit the sun.
How to watch the Leonids
REUTERS/Ognen Teofilovski
Find a dark spot with a clear view of the sky, ideally far from city lights. Meteor showers are best after midnight, when your side of the Earth faces towards the direction the planet is rotating. That way you catch meteors as they collide with our atmosphere head-on, making for much brighter explosions.
Since the moon is so bright this weekend, you'll need to keep it out of your field of vision. See if you can stand in the shadow of a building to hide it. Otherwise, face away from it.
Turn to the constellation Leo, where the Leonids appear to originate (that's where they get their name). Sit back and watch for streaks of green.
After the Leonids, the next meteor shower to look for will be the Geminids, which peak on the night of December 13.


Basic Concepts of the web
There are three componets in the web that work together.
The first is your computer and its web browser.
The second is the internet itself which is a collection of documents and files.
The third is the web servers that store the documents that make up the web.
HTTP is the protocol which allows the three separate parts to communicate with eachother.
Hyper Text Markup Language (HTML)
HTML is the format in which the majority of documents that make up the web are made in.
HTML is made up of five parts.
Text Content - what you see
Markup - what it looks like
References to other documents (e.g. images and videos)
links to other pages
Elements and HTML Tags
An Element is a piece of the web page e.g text, picture, video that is defined by an HTML tag. HTML tags are commands that tell the computer how to interpret the document that do not show up when you are looking at the document on the web. There are two basic types of tags one with an opening tag then contents then another tag that tells the computer when that command ends. The other type of tag is a void tag. This is a tag that does not have a closing tag. A couple of examples of void tags are the line break tag and a picture tag. Here is a video that gives a good explanation of tags
Inline Vs. Block Elements
Inline elements are inserted inline with the text and code. Block elements are inserted in a defined box area with height and width dimensions. These dimensions can be changed controlling the size of the elements.


Success! Network settings changed!
Error setting {{set_network_error}}!
Changing network settings may cause the system to become unavailable (e.g. changing the BMC IP address). Proceed with caution and make note of any new settings that may affect connectivity.


World Data
Location Data
Search Province Data
Global Data
Total Confirmed Cases
-
Total Recovered Cases
-
Total Deaths
-
New Confirmed Cases
-
New Recovered Cases
-
New Deaths
-


CODING
View all of my personal and ongoing coding programs.
A fun application that aims at helping people find nearby events at a last-minute notice... or when they simply need their boredom relieve right away! This is a MEAN stack (MongoDB, Express, Angular, Node) application that utilizes a RESTful server and integration with a third party API that specializes in listing nearby local events.
A color-based game that was created using React and vanilla JavaScript. The objective of the game is to get every block on the gameboard to be the same color. In order to do that, just click on a block and watch as the adjacent blocks change to the color of the block that you clicked on! But watch out, every 20 seconds the board will change a few blocks on the gameboard to a different color to try to mess you up. Win the game for a cool outcome!


A data dictionary defines a list of key value mappings that are valid to all test cases and all messages sent and received across Citrus. The data dictionary is asked for translation of message elements. If the message element is defined in a data dictionary the respective dictionary value is set in the message. This is a way of centralized message adjustments in Citrus. The mapping keys in a data dictionary can be XPath expressions, Json paths and normal XML node paths. Every time a message is sent or received the data dictionary matching the mapping key will apply to the message value before validation takes place.
Your project defines {{dictionaryCount}} data dictionaries. See all available dictionaries listed below:
| Name | Mappings | ||
|---|---|---|---|
| No custom dictionaries defined | |||
| {{type}} | {{id}} |
|
|
| Add |


Class: SampleRail
http://nmrML.org/nmrCV#NMR:1400207
Annotations (2)
-
comment "def: This system automatically prepares an NMR sample, inserts it into an NMR magnet, performs NMR experiments on the sample, and transports it back to the preparation system.
The SampleRail fulfills the transporting tasks from the preparation system into the NMR magnet and back
defprov: website" (string)
-
label "SampleRail" (string)
Superclasses (1)
Usage (1)


◆ AccountRef
| string Nexmo.Api.Messaging.SmsResponseMessage.AccountRef |
|
getset |
If a client-ref was included when sending the SMS, this field will be included and hold the value that was sent.
◆ ErrorText
| string Nexmo.Api.Messaging.SmsResponseMessage.ErrorText |
|
getset |
The status of the message. See Troubleshooting Failed SMS.
◆ MessageId
| string Nexmo.Api.Messaging.SmsResponseMessage.MessageId |
|
getset |
◆ MessagePrice
| string Nexmo.Api.Messaging.SmsResponseMessage.MessagePrice |
|
getset |
◆ Network
| string Nexmo.Api.Messaging.SmsResponseMessage.Network |
|
getset |
The ID of the network of the recipient
◆ RemainingBalance
| string Nexmo.Api.Messaging.SmsResponseMessage.RemainingBalance |
|
getset |
◆ Status
| string Nexmo.Api.Messaging.SmsResponseMessage.Status |
|
getset |
◆ To
| string Nexmo.Api.Messaging.SmsResponseMessage.To |
|
getset |
The number the message was sent to. Numbers are specified in E.164 format.
The documentation for this class was generated from the following file:
- C:/Users/slore/Documents/projects/slorello89/nexmo-dotnet/Nexmo.Api/Messaging/SmsResponseMessage.cs


My Hobbies
Zeerak Asim
Current
Queen's Computer Engineering Student
I love to make
websites
, and watch
anime
.
Home
My Hobbies!
Contact Me
Hobbies
Coding
Cooking
Basketball
Books


“Use ElasticSearch to classify OpenStack gate failures”
Identifying the specific bug that is causing a transient error in the gate is difficult. Just identifying which tempest test failed is not enough because a single tempest test can fail due to any number of underlying bugs. If we can find a fingerprint for a specific bug using logs, then we can use ElasticSearch to automatically detect any occurrences of the bug.
Using these fingerprints elastic-recheck can:
All queries are stored in separate yaml files in a queries directory at the top of the elastic-recheck code base. The format of these files is ######.yaml (where ###### is the launchpad bug number), the yaml should have a query keyword which is the query text for elastic search.
Guidelines for good queries:
Queries should get as close as possible to fingerprinting the root cause. A screen log query (e.g. tags:"screen-n-net.txt") is typically better than a console one (tags:"console"), as that’s matching a deep failure versus a surface symptom.
Queries should not return any hits for successful jobs, this is a sign the query isn’t specific enough. A rule of thumb is > 10% success hits probably means this isn’t good enough.
If it’s impossible to build a query to target a bug, consider patching the upstream program to be explicit when it fails in a particular way.
Use the ‘tags’ field rather than the ‘filename’ field for filtering. This is primarily because of grenade jobs where the same log file shows up in the ‘old’ and ‘new’ side of the grenade job. For example, tags:"screen-n-cpu.txt" will query in logs/old/screen-n-cpu.txt and logs/new/screen-n-cpu.txt. The tags:"console" filter is also used to query in console.html as well as tempest and devstack logs.
Avoid the use of wildcards in queries since they can put an undue burden on the query engine. A common case where wildcards are used and shouldn’t be are in querying against a specific set of build_name fields, e.g. gate-nova-python26 and gate-nova-python27. Rather than use build_name:gate-nova-python*, list the jobs with an OR. For example:
(build_name:"gate-nova-python26" OR build_name:"gate-nova-python27")
When adding queries you can optionally suppress the creation of graphs and notifications by adding suppress-graph: true or suppress-notification: true to the yaml file. These can be used to make sure expected failures don’t show up on the unclassified page.
If the only signature available is overly broad and adding additional logging can’t reasonably make a good signature, you can also filter the results of a query based on the test_ids that failed for the run being checked. This can be done by adding a test_ids keyword to the query file and then a list of the test_ids to verify failed. The test_id also should exclude any attrs, this is the list of attrs appended to the test_id between ‘[]’. For example, ‘smoke’, ‘slow’, any service tags, etc. This is how subunit-trace prints the test ids by default if you’re using it. If any of the listed test_ids match as failing for the run being checked with the query it will return a match. Since filtering leverages subunit2sql which only receives tempest test results from the gate pipeline, this technique will only work on tempest or grenade jobs in the gate queue. For more information about this refer to the infra subunit2sql documentation For example, if your query yaml file looked like:
query: >-
message:"ExceptionA"
test_ids:
- tempest.api.compute.servers.test_servers.test_update_server_name
- tempest.api.compute.servers.test_servers_negative.test_server_set_empty_name
this will only match the bug if the logstash query had a hit for the run and either test_update_server_name or test_server_set_empty name failed during the run.
In order to support rapidly added queries, it’s considered socially acceptable to approve changes that only add 1 new bug query, and to even self approve those changes by core reviewers.
Most transient bugs seen in gate are not bugs in tempest associated with a specific tempest test failure, but rather some sort of issue further down the stack that can cause many tempest tests to fail.
Given a transient bug that is seen during the gate, go through the logs and try to find a log that is associated with the failure. The closer to the root cause the better.
Go to logstash.openstack.org and create an elastic search query to find the log message from step 1. To see the possible fields to search on click on an entry. Lucene query syntax is available at lucene.apache.org.
Tag your commit with a Related-Bug tag in the footer, or add a comment to the bug with the query you identified and a link to the logstash URL for that query search.
Putting the logstash query link in the bug report is also valuable in the case of rare failures that fall outside the window of how far back log results are stored. In such cases the bug might be marked as Incomplete and the e-r query could be removed, only for the failure to re-surface later. If a link to the query is in the bug report someone can easily track when it started showing up again.
Add the query to elastic-recheck/queries/BUGNUMBER.yaml (All queries can be found on git.openstack.org) and push the patch up for review.
You can also help classify Unclassified failed jobs, which is an aggregation of all failed voting gate jobs that don’t currently have elastic-recheck fingerprints.
Old queries which are no longer hitting in logstash and are associated with fixed or incomplete bugs are routinely deleted. This is to keep the load on the elastic-search engine as low as possible when checking a job failure. If a bug marked as Incomplete does show up again, the bug should be re-opened with a link to the failure and the e-r query should be restored.
Queries that have “suppress-graph: true” in them generally should not be removed since we basically want to keep those around, they are persistent infra issues and are not going away.
Steps:
Note
Sometimes bugs are still New/Confirmed/Triaged/In Progress but have not had any hits in over 10 days. Those bugs should be re-assessed to see if they are now actually fixed or incomplete/invalid, marked as such and then remove the related query.
You can execute an individual query locally and analyze the search results:
$ elastic-recheck-query queries/1331274.yaml
total hits: 133
build_status
100% FAILURE
build_name
48% check-grenade-dsvm
15% check-grenade-dsvm-partial-ncpu
13% gate-grenade-dsvm
9% check-grenade-dsvm-icehouse
9% check-grenade-dsvm-partial-ncpu-icehouse
build_branch
95% master
4% stable/icehouse


Studio Art Faculty
These are the studio art faculty members at Centre College
Judith Jia
Isabella La Rocca
Sheldon Tapley
Home Page


Reports
{{vm.params}}
The iSearch profile audit report allows you to check faculty and staff profiles againts ASU web standard guidelines in order to identify which users are not in compliance.
RunThe website audit tool will provide a report against any webspark themed drupal site. This tool will test compliance on any given website againts ASU web branding best practices.
Run


{% load staticfiles %}
Borrowing
Investing
Register
Login
Logout
FAQ
{{result.lender_user_id}}'s Investor Profile
Please see below a current snapshot of your investment.
Loan Outstanding: ${{result.lender_outstanding_balance}}
Term: {{result.lender_term_balance}} years
Interest Rate: {{result.lender_interest_rate}}%


${employeeName} would like to take ${numberOfDays} day(s) of vacation.
Motivation: ${vacationMotivation}
Do you approve this? Yes No
Motivation:


You have logged in successfully!
Automatically jump to follow page after 2 seconds. If not ...
Check Your Followed Spaces


it appears you tried to access a page that doesnt exist. you can go back with the back button below
we apologize for the inconvenience, have a shiba!


This is a demo for a prototype of question generation and answer scoring pipeline. The system is intended to be used in news domain. The complete system is built on top of Deep Learning based NLP tools, showing their actual strength on the field.
This project is powered by: (FlairNLP), Transformers (


No checklists found for {{ queryChecklists }}, sorry!
No upcoming public checklists available.
Oops! There was an error retrieving checklist data.


{% set body_class = "" %} {% extends "includes/base.html" %} {% block head %} {% endblock %} {% block body %}
Donated via this page
Pledges
Days left
Campaign totals: Pledges Total


---
title: Changed functions
version: "7.1"
tags:
- "7.1"
- changed-functions
---
Changed functions
PHP Core
-
getopt() has an optional third parameter that exposes
the index of the next element in the argument vector list to be processed.
This is done via a by-ref parameter.
-
getenv() no longer requires its parameter. If the
parameter is omitted, then the current environment variables will be
returned as an associative array.
-
get_headers() now has an additional parameter to enable
for the passing of custom stream contexts.
-
output_reset_rewrite_vars() no longer resets session
URL rewrite variables.
-
parse_url() is now more restrictive and supports
RFC3986.
-
unpack() now accepts an optional third parameter to
specify the offset to begin unpacking from.
File System
-
file_get_contents() now accepts a negative seek offset
if the stream is seekable.
-
tempnam() now emits a notice when falling back to the
system's temp directory.
JSON
-
json_encode() now accepts a new option,
JSON_UNESCAPED_LINE_TERMINATORS
, to disable the
escaping of U+2028 and U+2029 characters when
JSON_UNESCAPED_UNICODE
is supplied.
PDO
-
PDO::lastInsertId() for PostgreSQL will now trigger an error
when
nextval
has not been called for the current
session (the postgres connection).
PostgreSQL
-
pg_last_notice() now accepts an optional parameter to
specify an operation. This can be done with one of the following new
constants:
PGSQL_NOTICE_LAST
,
PGSQL_NOTICE_ALL
, or
PGSQL_NOTICE_CLEAR
.
-
pg_fetch_all() now accepts an optional second parameter
to specify the result type (similar to the third parameter of
pg_fetch_array()).
-
pg_select() now accepts an optional fourth parameter to
specify the result type (similar to the third parameter of
pg_fetch_array()).


Hello!
Welcome to your friendly neighbourhood trans guide. We guess you're here because either you, yourself, have questions about being transgender, or you know someone who is and want to educate yourself on what being transgender is, to be a better ally to them. Well, you're in the right place and we're glad you're here! We will do our best to answer all of the questions you may have, and show you where you can get further information to further broaden your horizons.


What channel is Cowboys vs. Patriots on today? Schedule, time for Week 12 game
by Tadd HaislopGood news for those looking to find the TV channel for Cowboys vs. Patriots on Sunday: This game, scheduled to kick off at 4:25 p.m. ET, is being nationally televised by Fox in Week 12. So yes, you get the game on TV.
Making Cowboys vs. Patriots a national TV game was an easy move for the NFL given the marquee of these teams, but it's also an interesting matchup of strength on strength; the NFL’s top offense in Dallasvs. the league’s top defense in New England. The Cowboys are averaging an NFL-best444.6 yards per game while the Patriots are holding opponentsto a league-low 249.9 yards per game.
WEEK 12 NFL PICKS:
Against the spread | Straight-up predictions
At 9-1,the Patriots against the 6-4 Cowboys a have a chanceto win a 10th game and reach 17 consecutive seasons with 10 or more victories. New England would break a tie with San Francisco, which won 10 games in 16 straight years (1983-98). The Patriots have won at least 10 games every year since going 9-7 in 2002.
Below is all the info you need to watch Cowboys vs. Patriots on Sunday night, including the TV channels and kickoff time.
What channel is Cowboys vs. Patriots on today?
- TV channel (national): Fox
- TV channel (Dallas): KDFW
- TV channel (Boston): WFXT
With a national broadcast on Fox, Cowboys vs. Patriots will get the game-of-the-week treatment with the network's No. 1 crew. Joe Buck will call the Cowboys vs. Patriots play-by-play action, and Troy Aikman will provide analysis. Erin Andrew and Kristina Pink will report from the sidelines. Additionally, Fox NFL Rules expert Mike Pereira will join to give explanations on officiating and rules throughout the game.
For those who can't watch Cowboys vs. Patriots on TV and wish to find the game on the radio, the Dallas call can be heard on Sirius channel 82and XM channel 227, and the New England call can be heard on Sirius channel 83and XM channel 226.
MORE: Watch every NFL game and RedZone on DAZN (Canada only)
Cowboys vs. Patriots: What time is kickoff?
- Date: Sunday, Nov. 24
- Start time: 4:25 p.m. ET
The 4:25 p.m. ET start time for Cowboys vs. Patriots marks the fourth of seven such start times for Dallas games this season. It's the first time the Cowboys have played in this time window since they lost to the Jets in Week 6.
As for the Patriots, Sunday's game against the Cowboys marks their second straight game in this time window following last week's win over the Eagles. New England will return to the late Sunday afternoon time slot when it hosts Kansas City in Week 14.
MORE: NFL TV coverage map for Week 12
Cowboys schedule
| Week | Date | Opponent | Kickoff time | TV |
| Week 1 | Sept. 8 | vs. Giants | 4:25 p.m. ET | FOX |
| Week 2 | Sept. 15 | at Redskins | 1 p.m. ET | FOX |
| Week 3 | Sept. 22 | Dolphins | 1 p.m. ET | FOX |
| Week 4 | Sept. 29 | at Saints | 8:20 p.m. ET | NBC |
| Week 5 | Oct. 6 | vs. Packers | 4:25 p.m. ET | FOX |
| Week 6 | Oct. 13 | at Jets | 4:25 p.m. ET | CBS |
| Week 7 | Oct. 20 | vs. Eagles | 8:20 p.m. ET | NBC |
| Week 8 | BYE | - | - | - |
| Week 9 | Nov. 4 (Monday) | at Giants | 8:15 p.m. ET | ESPN |
| Week 10 | Nov. 10 | vs. Vikings | 8:20 p.m. ET | NBC |
| Week 11 | Nov. 17 | at Lions | 1 p.m. ET | FOX |
| Week 12 | Nov. 24 | at Patriots | 4:25 p.m. ET | CBS |
| Week 13 | Nov. 28 (Thursday) | vs. Bills | 4:30 p.m. ET | CBS |
| Week 14 | Dec. 5 (Thursday) | at Bears | 8:20 p.m. ET | FOX |
| Week 15 | Dec. 15 | vs. Rams | 4:25 p.m. ET | FOX |
| Week 16 | Dec. 22 | at Eagles | 4:25 p.m. ET | FOX |
| Week 17 | Dec. 29 | vs. Redskins | 1 p.m. ET | FOX |
Patriots schedule
| Week | Date | Opponent | Kickoff time | TV |
| Week 1 | Sept. 8 | vs. Steelers | 8:20 p.m. ET | NBC |
| Week 2 | Sept. 15 | at Dolphins | 1 p.m. ET | CBS |
| Week 3 | Sept. 22 | vs. Jets | 1 p.m. ET | CBS |
| Week 4 | Sept. 29 | at Bills | 1 p.m. ET | CBS |
| Week 5 | Oct. 6 | at Redskins | 1 p.m. ET | CBS |
| Week 6 | Oct. 10 (Thursday) | vs. Giants | 8:20 p.m. ET | FOX |
| Week 7 | Oct. 21 (Monday) | at Jets | 8:15 p.m. ET | ESPN |
| Week 8 | Oct. 27 | vs. Browns | 4:25 p.m. ET | CBS |
| Week 9 | Nov. 3 | at Ravens | 8:20 p.m. ET | NBC |
| Week 10 | BYE | - | - | - |
| Week 11 | Nov. 17 | at Eagles | 4:25 p.m. ET | CBS |
| Week 12 | Nov. 24 | vs. Cowboys | 4:25 p.m. ET | FOX |
| Week 13 | Dec. 1 | at Texans | 8:20 p.m. ET | NBC |
| Week 14 | Dec. 8 | vs. Chiefs | 4:25 p.m. ET | CBS |
| Week 15 | Dec. 15 | at Bengals | 1 p.m. ET | CBS |
| Week 16 | Dec. 21/22 | vs. Bills | TBD | TBD |
| Week 17 | Dec. 29 | vs. Dolphins | 1 p.m. ET | CBS |


President Cyril Ramaphosa dedicated a substantial chunk of his first State of the Nation Address in Parliament on February 16 2018, to persuading South Africans to put “the era of discord, disunity and disillusionment” behind them. “A new dawn is upon us,” he said.
What does that mean? Working on the assumption that the number of words the president devotes to a topic is an indication of the level of importance he places on that topic, Passmark looked at the past six State of the Nation addresses and visualised the 12 topics that got the most airtime. Education, we are happy to report, has been in the top 12 in all but one year, 2016, which was, ironically, just after the #FeesMustFall protests started on campuses around the country.
Do the comparison
We also compared Cyril Ramaphosa's top 12 topics with the number of words Jacob Zuma dedicated to those same topics in his SONA speeches. To see that comparison, click the 'compare' button below.


screen asleep with WinSwitch 1.2.1
-
kathy
Mac OS X 10.3 Panther
I'm using Fast User Switching. I just tried to install WinSwitch 1.2.1. Now my computer is asleep and I'm not able to wake it up. I don't get the log-in screen to do so. My screen saver keeps going. I've tried to restart, but am unable to get anywhere. It was working fine before I tried to do the install.
Please help!
-
Greg Hurrell
I've replied to the email you sent me... let me know how you go!
Reply
This topic is now closed.


U control chart Calculator
Statistics Formulae
Weighted Mean Calculator
Inter Quartile Range
Mean Median Mode🔴
Moments Calculator
Midrange Calculator
R-Squared Calculator
Sensitivity and Specificity
Standard Deviation
T test
Regression Coefficient Calculator
AB-test
F-test
Z-test
Outlier Calculator
Z Score Calculator
P value
Negative Binomial Distribution Calculator
PPV Calculator
NPV Calculator
C chart Calculator
P chart Calculator
R chart Calculator
Sheppard Correction for moments Calculator
Np chart Calculator
X bar chart Calculator
Confidence Interval Calculator
Odds Calculator
Skewness Calculator
Kurtosis Calculator
Coefficient of Variation
Covariance Calculator
Correlation Coefficient Calculator
Linear Regression Calculator
Margin of Error Calculator
Chi-Square test
Lead Time Calculator
Takt Time Calculator
Throughput Time Calculator
Cycle Time Calculator


Arc diagram :
home
menu
Reset
Remove
Save diagram
Set color
Heatmap Diagram
Import data:
Set read counts value:
Set reads count value:
Set read count
change color
Select Arc range:
Arc range
Set nodes distance:
Set nodes distance:
Set distance
Add Annotation:
Add promoter:
Add enhancer:
Save Diagram:
SVG
PNG
set colors:
Nodes
Interactions
Selected Object
Annotation


If you've changed a live template, it becomes blue. If you want to return to the original text, right-click such a blue template, and choose Restore defaults on the context menu.


Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, Mozilla Corporation.
Popular browsers:
Which one is your favorite?
Read more about: Mozilla Manifesto


Loops
A loop repeats code until we tell it to stop
We can declare a loop with loop do ... end
counter = 0
loop do
puts "#{counter} seconds since the loop started"
sleep(1) # waits for 1 second
counter = counter + 1
end
0 seconds since the loop started 1 seconds since the loop started 2 seconds since the loop started 3 seconds since the loop started ...
Problem: This runs forever
We use the keyword break to stop a loop
counter = 0
loop do
puts "#{counter} seconds since the loop started"
sleep(1)
counter = counter + 1
if counter == 2
break # "breaks" the loop
end
end
puts "Now we're here..."
0 seconds since the loop started 1 seconds since the loop started Now we're here...
Every loop should have a break!
...else we have an infinite loop!
loop do
# the lines between "loop do" and "end"
# get repeated until we
# break it
if condition
break
end # this "end" belongs to the if-statement
end # this "end" belongs to loop do
What questions do you have?


I completed my B.Tech in Computer Science & Engineering (CSE) from JIIT, Noida in 2019. Now working as a Front End (React) developer but also love Svelte. I love to learn things which piques my interest.
As the Technology unfolds & grows itself we are leaving the analog world behind to a brighter future. Maybe? Who knows. I love to travel and explore and would love to travel the world and explore the cultures all around the world. I am also interested in languages & cosmology & love to learn about these things in my free time.
View Resume30 Small applications ranging from JavaScript DrumKit to Flex Panel Gallery to Custom Video Player to Countdown Clock, all made with help of Vanilla JavaScript, HTML5 and CSS3.
Small JavaScript effect makes a huge difference in how webpages look and that effect which ranges from Typewriter Effect to Social Media Counter to Parallax Landing Page, all made with Vanilla JavaScript, HTML5 and CSS3 are in this project.
A simple React based App that searches the robots it has currently present on its website. It has a search button and Robots information in the form of a card.
This app is made using React which shows us a new picture or video everyday. It uses NASA's APOD API to search the picture of the day of space which we showcase with the details about the picture using this app.
CSS3 functionalities and various other things that we can achieve by using only CSS3. It helps us to design our website eloquently. Sometimes we only need CSS3 to make our webpages look more eccentric.
For Further Details & Enquries
Email me


December 13 2017
This Is My First Article
Bacon ipsum dolor amet ham hock shank ribeye brisket, biltong venison frankfurter. Jowl meatloaf chicken biltong sirloin capicola. Pork chop bresaola tri-tip, tenderloin beef short loin porchetta leberkas ham hock doner. Short ribs kielbasa tail landjaeger swine burgdoggen ground round venison. Spare ribs short ribs pork belly shoulder flank, strip steak meatloaf turducken doner andouille pancetta pastrami hamburger turkey kevin. Pork chop swine ham hock ham.
Short ribs drumstick alcatra beef, hamburger porchetta pastrami swine jerky short loin ground round pork capicola jowl rump. Salami shoulder swine beef ribs pork drumstick pork chop prosciutto buffalo meatloaf landjaeger turducken brisket.  Chuck bacon sirloin, tail jerky shank prosciutto.
Kielbasa burgdoggen pork belly, pork biltong ribeye sausage venison ham hock drumstick. Chuck chicken tail, porchetta buffalo shankle doner corned beef short loin meatball hamburger t-bone burgdoggen. Fatback hamburger turducken burgdoggen bacon capicola.  Tenderloin spare ribs pastrami flank pork belly, bresaola pork loin short ribs turkey prosciutto jerky buffalo capicola.


HC slams law minister for remark on judges
by Shivakumar MenasinakaiThe Karnataka High Court on Wednesday slammed Law and Parliamentary Affairs Minister J C Madhuswamy for his recent comment on efficiency of judges and government advocates.
Justice B Veerappa was hearing a writ petition on the issue.
The advocate for the government sought time for filing objections.
Replying to this, Justice Veerappa said, “Your law minister has made a statement in a public function that the government’s cases were delayed because judges adjourn the cases repeatedly. But in the court, government advocates ask for adjournment again and again’’.
Further, he said, ‘’judges are ready to work all 365 days and no one can have suspicion over our commitment. But a minister should not give statements without knowing his responsibilities.”
Recently, Madhuswamy had made a statement during the inauguration of the ACMM court in the city.
“The government cases are delayed because judges adjourn the hearing’’, the law minister had said.


class: center, middle, inverse, title-slide # An Open Policy Analysis for Deworming Interventions ## BITSS Annual Meeting ### Fernando Hoces de la Guardia, BITSS ### 07 January 2021 |
slides
--- count: true background-image: url("Images/BITSSlogo.png"), url(Images/cega.png) background-size: 600px, 200px background-position: 50% 10% , 100% 95% name: about-bitss   # Credits .pull-left[

 **Core BITSS Team** Aleks Bogdanoski Fernando Hoces de la Guardia Katie Hoeberling Teng Aleksandra Ma Edward Miguel **Undergraduate RAs** Sophia Bai Orianna Jia ] .pull-right[ .right[

 Keanu Lim Charles Love Emma Ng Ryan Scholes Jiayu Shi **Evidence Action** Grace Hollister Grace Morgan [BITSS](https://bitss.org) is part of the Center for Effective Global Action ([CEGA](https://cega.berkeley.edu/)). ]] --- count: true # Table of Contents
 .font130[ 1. [Introduction](#introduction) 2. [Demo](#demo) 3. [Lessons](#lessons) ] --- count: false # Table of Contents
 .font130[ 1. [**Introduction**](#introduction) 2. [Demo](#demo) 3. [Lessons](#lessons) ] --- count: true name: motivation background-image: url("Images/alternative-facts-crowd.png"), url("Images/temp.png") background-size: 800px, 300px background-position: 0% 0%, 80% 10% # Motivation: Rise of Alternative Facts  .pull-right[

 *Senator [discussing facts]("https://www.youtube.com/embed/rV_YxKOE90g?start=188") on unemployment insurance* *Interviewer:* “We I have looked at what economist are saying, and [...] there is no measurable evidence that people are staying at home because of [$600 unemp. insurance]” *Congressman:* “[scoffs] I don’t know which economist you are talking about, but ...” ] --- count: true # Possible Mechanism: Opaqueness of Policy Analysis .font130[ - Incredible Certitudes (Manski, [2011](https://academic.oup.com/ej/article-abstract/121/554/F261/5079436)) - Report wars (Wesselink et al, [2013](https://www.sciencedirect.com/science/article/abs/pii/S1462901112002365)) - Low overall credibility of PA → credibility based on reputation ("serious") → assignment of reputation varies across political positions ] -- .font130[ - Parallels to "Reproducibility Crisis" and Open Science reponse (Hoces de la Guardia, Grant, Miguel [2020](https://academic.oup.com/spp/advance-article/doi/10.1093/scipol/scaa067/6018524?guestAccessKey=ac30d681-5391-4f91-b4d8-44c6aed11161)). Propose: - Core principles for Open Policy Analysis (OPA) in outputs, analysis and materials (reproducibility) - Agenda to implement and document how OPA can be applied into several policy issues - Growing adoption of open science methods into policy analysis ] --- count: true # Deworming Interventions - Parasitic worm infections are endemic in many countries, disproportionately affecting the poor - They interfere with regular bodily processes by decreasing nutrient uptake and can thus lead to serious consequences on human health, education outcomes, and long-term economic well being - Mass deworming interventions, at school level, have been propose as a cost-effective approach to tackle this problem -- ## Different settings for deworming - Context of original study (Kenya, 1998-99) had very high prevalence rates of worm infections - Implementation costs where very low ($0.42 per round of treatment) - Length of treatment was relatively short (2.4 years) - Current deworming settings have lower prevalnce rates, varying implementation costs and length of treatments -- ## Strong debate around initial results - Ozier ([2020](https://academic.oup.com/wbro/advance-article/doi/10.1093/wbro/lkaa005/6009048)) summarizes differences between original findings (Miguel and Kremer 2004) and a re-analysis (Aiken et al, 2015). Emphazises the role of communication of results in a reanalysis. - This type of debate (result/re-analysis) can be seen in several other topics. For example: minimum wage, inmigration, taxation. - OPA need not guarante agreement on key research finding, but should help avoid multiple policy reports --- background-image: url(Images/opa_framework.svg) background-size: 800px background-position: 60% 0% count:true # A Framework for Open Policy Analysis .pull-left[ Hoces de la Guardia, Grant, Miguel ([2020](https://academic.oup.com/spp/advance-article/doi/10.1093/scipol/scaa067/6018524?guestAccessKey=ac30d681-5391-4f91-b4d8-44c6aed11161)) ]

 ## Contributions of OPA to deworming: 1. Selected one policy estimate among several alternatives and establish a clear link between it and underlying assumptions 2. Added documentation to increase reproducibility 3. Created a public repository with all materials for one-click reproducibility --- count: true # Table of Contents
 .font130[ 1. [Introduction](#introduction) 2. [**Demo**](#demo) 3. [Lessons](#lessons) ] ??? write notes here --- background-image: url(Images/dw-open-out1.png), url(Images/dw-open-out2.png), url(Images/dw-open-out3.png), url(Images/open_output_all.svg) background-size: 500px, 500px, 500px, 100px background-position: 100% 80%, 70% 40%, 40% 0%, 15% 5% count: true # Open Output .pull-left[ ## [Demo](https://fhoces.shinyapps.io/shiny_app_test/)
 ## Main features - One clear output previously agreed in consultation with policy partner - Two additional tabs to modify assumptions (key assumptions and all assumptions) - Each source is classified into research, data, or guesswork - High level equations added to illustrate location of components - Added feature to modify standard deviations - Track values of each component ] --- background-image: url(Images/dw-open-an2.png), url(Images/dw-open-an1.png), url(Images/open_analysis.svg) background-size: 400px, 400px, 100px background-position: 100% 100%, 70% 0%, 15% 5% count: true # Open Analysis .pull-left[ ## [Demo](https://rpubs.com/fhoces/547979)
 ## Main features - Complete narrative description of the methodology - Translation of each narrative step into an equation - Implementation of each equation into code - Combine all of the above into using a dynamic document (RMarkdown) - Presentation of narrative, equations, and code in layered fashion to avoid overwhelming the reader Icon figure ] --- background-image: url(Images/dw-open-mat2.png), url(Images/dw-open-mat1.png), url(Images/open_materials.svg) background-size: 600px, 600px, 100px background-position: 100% 100%, 70% 0%, 15% 5% count: true # Open Materials .pull-left[ ## [Demo](https://github.com/BITSS-OPA/opa-deworming)
 ## Main features - One-click reproducible documentation and app - Extensive readme files - Clear folder structure - Version controlled - Open data - Acknowledgment to all contributors ] --- count: true # Table of Contents
 .font130[ 1. [Introduction](#introduction) 2. [Demo](#demo) 3. [**Lessons**](#lessons) ] ??? write notes here --- background-image: url(Images/dw-nopen-out2.png), url(Images/dw-nopen-out3.png) background-size: 800px, 800px background-position: 90% 00%, 90% 100% count: true # What happens if one principle fails: Opaque Output .pull-left[ - Policy estimates of approach 2 of deworming (Baird et al, 2016) - Assume Open Analysis and Open Materials - Good for researchers - Unclear for policy analysts - Allows policy makers to cherry pick results - Does not disclose uncertainty - Unclear separation of roles between policy analyst and policy maker (Truman's request for a "one-handed" economist) ] --- count: true # Opaque Analysis/Materials
 .font140[ - Assume open output and open materials - In this scenario we can have two policy analyses: one from advocates and one from opponents - Each analysis can claim to be open source. Code is available, reproducible, and each as an interactive app. - But each analysis can bury in their code analytical choices that move the final policy estimate in their favor - Same though exercise can be done with opaque materials ] --- count: true # Lessons for future OPA projects: Timeline .font110[ 1. Reviewed existing documentation 2. Review code/spreadsheets and write down missing documentation. 3. Add equations to reflect any additional clarifying steps. 4. Translate analysis to code scripts (ideally open source software) 5. Check for computational reproducibility and consult with original analysts for discrepancies/further questions 6. Discuss with policy partner on target policy estimate 7. Draft doodle of app 8. Incorporate any potential new analysis (repeat steps 1 - 3) 9. Present draft of OPA (DD and doodle of app) to policy partner 10. Incorporate comments into documentation of the OPA 11. Build app based on analysis of dynamic document 12. Incorporate any additional features requested by policy partner 13. Verify that all three components produce the same output 14. Publish v1.0 ] --- count: true # Useful practices developed during the project
 .font120[ ## Documentation of analysis and app are connected - Each analytic step is declared in the documentation and wrapped in a function - All this steps are used to produce the results in the documentation - The steps are also stored in a file that is later sourced in the app. - If something changes in the report, it will update the app. ## Style guide - Group objects according to use: only within the documentation, for simulations, and for the app - Use diagram trees to depict nested relationships ] --- count: true # Lessons for future OPA projects: Costs - Costs (approx bandwidth over a year at full time): - Principal Investigator 30-50% - Research assistant/programmer 100-150% - Program Manager 20%-30% - Original researcher: 1-5% - Not all policy analysis justify this level of effort - Characteristics that might justify an OPA: - Topics with strong disagreement on the facts among analysts - Recurrent reports (eg. ex-ante economic analysis from development banks/agencies) - Topics that have large expected welfare effects (eg. tax reform, social cost of carbon) - With each new OPA project, templates will emerge and costs will likely fall --- count: true # Additional Benefits of OPA ## Easy to update and reuse After deworming OPA is released, anybody can modify and improve into a newer version ## Clearer connection of how evidence from research is used in policy analysis Researchers can see clearly where their estimates are being used in a policy analysis. For example, the OPA can be used to justify power calculations of potential new studies. ## Connection with forecasting When there is little information for a parameter used in an OPA, a forecasting exercise can be carried out to elicit expert knowledge (DellaVigna, Pope, Vivalt [2019](https://science.sciencemag.org/content/366/6464/428.summary)).


Previously we looked at how to create a new JSON node tree programmatically that could be sent over the wire to consumer. Now we'll look at the consumer side and see how to parse the JSON string into our application.
First we'll look at the main function in our program that will take a JSON string as input, parse it using the library and pass the tree to a function that will extract useful data.
std::string json = "{\"RootA\":\"Value in parent node\",\"ChildNode\":{\"ChildA\":\"String Value\",\"ChildB\":42}}"; JSONNode n = libjson::parse(json); ParseJSON(n);
The first line is just a simple JSON string containing a child object. You'll likely get a string from a web service, message buss or even a file.
Line 2 is where the magic happens in the library. We just pass the string to libjson::parse and if all is well, we'll receive a node tree in return. NOTE that the parser is going to allocate memory on the stack, so do not try and delete it, let it go out of scope.
Line 3 is a function call that we define for iterating through the JSON tree. While mine isn't pretty, it gets the job done for simple JSON objects.
void ParseJSON(const JSONNode & n){ JSONNode::const_iterator i = n.begin(); while (i != n.end()){ // recursively call ourselves to dig deeper into the tree if (i -> type() == JSON_ARRAY || i -> type() == JSON_NODE){ ParseJSON(*i); } // get the node name and value as a string std::string node_name = i -> name(); // find out where to store the values if (node_name == "RootA"){ rootA = i -> as_string(); } else if (node_name == "ChildA"){ childA = i -> as_string(); } else if (node_name == "ChildB") childB = i -> as_int(); //increment the iterator ++i; } }
Next on line 7 we get a pointer to the first iterator of the node we're currently dealing with. The iterator lets us navigate through the child nodes, one by one.
Line 8 begins a while loop that will continue until we've reached the final iterator returned by json_end.
If the iterator is currenly pointing to a node of type JSON_ARRAY or JSON_NODE, that means we are at a branch that requires a new iterator for processing. Thus line 16 makes a recursive call to the function so that we can start processing on the child node. Without this call, we would get the name of the node but trying to get a value would return nothing.
On line 20 we call the name method that will return a string with the name of the node. If the node is not named or it's an array's value, the string will be empty, so check for that.
Lines 23 through 34 are a simple decision tree that attempt to match the name of the node to known values and if a match is made, we use one of the library functions to extract the value of the node. as_string naturally returns the value of the node as a string. This is probably the easiest to use in that it doesn't care if the value of the node is encased in quotation marks or not, it will always return a string. You can read any node as a string and then typecast to whatever need.
Line 38 increments our iterator to the next node.
So there you have a very simple little parser that will iterate through your tree and grab extract the data. Naturally you'll want to add error handling and tweak it for your own use.


See also: IRC log
<plinss> trackbot, prepare telcon
<trackbot> Date: 29 January 2015
Yves: hasn’t been that much discussion on the webapps list -
… we discuss the use case.
…and if the use case is just performance or something else.
… if it’s just performance than tthere are other ideas - e.g. manifest - that have surfaced on the mailing list. So in that case do we really need a packaging format or is http/2 enough.
… we should ask Anne what his thinking is - since it started with a request from mozilla to address content in apackage.
… was it linked to mobile or a general web use case?
Peter: another use case - ebooks.
Yves: another discussion - sending package - serialization of a library...
Mark: that’s an archive format.
Dan: I remeber support foor this from Yehuda, Dave…
Yves: yes for javascript libraries - internal dependencies…
… also don’t need to serialize all requests to the wire...
… and links to an issue raised on the packaging spec re: service worker.
mark: not seralizing all requests to the wire seems like a performance concern.
… last discussion on ml seems to call for working through the use cases more carefully. There are some use cases that may or not may not make sense. I find the idea of a package for a js library or an ebook - reasonably intriguing.
… but the stretch is – not necessarilly a good performance technique.
… moving the web towards single page flash app kind of experience.
Dan: is it reasonable to say that we need to look to non-performance use cases? since people are looking to http/2 for performance...
Yves: I think looking only to http2 for certain cases - lots of files - I think a package is a good option...
Mark: it’s not onerous to have multiple requests with http/2 – the mantra of reducing number of requests changes with http/2
Yan: I had a non-performance use case - which I opened up as a github issue...
… my use case was for package signing - having one file with a well defined signature seems really useful to me.
+1
Yves: the conclusion is that we need to continue working on the use case.
… which was the conclusion of the email thread as well.
Dan: What about the logistics of how we work on this...
… what is Marcos’s role?
Yves: Marcos is working on the
manfiest file [and we want to avoid conflicts]
... I can step in as editor [for now]
Dan: we drive the discussion on the use case on Github -
… really need to reach back out to Anne, Wycats, Dave, .. also Marcos, also Jonas from Mozilla.. Any others?
<wycats____> sounds good :)
… Maybe alex can comment on the chrome side… Likewise Travis from a MS perspective.
yay!
wycats do you have any quick words of support for the ongoing work on packaging?
<wycats> dka: I continue to disagree that HTTP/2 solves the issues
<wycats> for all of the reasons we've discussed
ok thanks for that -
<wycats> count me among the supporters!
Would be good to get your feedback and continued support in the github discussion.
awesome.
<wycats> +1
thx!
Peter: when we initially discussed - talking about the use cases - idea of installing it on yourserver and also uninflate it on your server - so browsers that aren’t aware of the format could make individual requests… you don’t necesarilly have to pull the whole package down. Not necesarilly forcing people to retreive the whole package every single time.
Mark: I agree that that’s a reasonable case - as far as I can tell we havem’t had interest in server side folks in doing that.
… makes me question if we have the right people involved…
… also that could be supported by service worker…
Peter: a polyfil in serviceworker could be equivelent.
… on the ebook side, the resources might not be delivered over the web.
[discussion on the definition of the web]
[and multi-part mime]
Peter: Houdini session in 3 weeks…
<wycats> I'm not on the call, but we have been over and over the "HTTP/2 solves everything" argument
<wycats> one rationale is just having a standardized way to package up a bunch of assets (the Ember library as modules for example) with HTTP metadata
<mnot> wycats, no one is saying that "HTTP/2 solves everything." They quesiton is whether the motivating use cases for this are really performance, or something else.
<wycats> mnot: aha!
<wycats> in the fullness of time, it's likely that the motivating use-case is a way to package up the HTTP metadata in a way that a smart HTTP server can use to distribute the assets as efficiently as it can
<wycats> in the short-run it has other benefits
<wycats> (I mean a smart HTTP/2 server here)
<wycats> ha
thanks yehuda
<wycats> dka: np
<wycats> thanks for pinging
<mnot> wycats: yes, I'm very interested in that. Would love to get server-side folks involved
<wycats> mnot: agreed
<wycats> Service Worker is a plausible vector for prototyping too
<mnot> wycats: +1
[discussion of mailing list use / moderation / etc...]
Dan: I can start the thing in a gist however it’s pronounced...
<wycats> I have heard people pronounce github as "jit-hub"


Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
J
L
M
O
P
R
S
T
U
V
W
Y
I
icon
- Variable in class ca.ualberta.cs.c301_teamproject.
ItemListElement
IDS
- Static variable in class ca.ualberta.cs.c301_teamproject.
MainPage
importFile(View)
- Method in class ca.ualberta.cs.c301_teamproject.
InputFile
When "+" is clicked create a dialog for obtaining the desired item.
inFileCount
- Static variable in class ca.ualberta.cs.c301_teamproject.
InputFile
InputAudio
- Class in
ca.ualberta.cs.c301_teamproject
Records, plays and saves audio to .3ga format.
InputAudio()
- Constructor for class ca.ualberta.cs.c301_teamproject.
InputAudio
Constructor for InputAudio with a file path.
InputFile
- Class in
ca.ualberta.cs.c301_teamproject
Import or capture files/items to be added to a task.
InputFile()
- Constructor for class ca.ualberta.cs.c301_teamproject.
InputFile
inputFileClick(View)
- Method in class ca.ualberta.cs.c301_teamproject.
ItemList
Starts intent (screen) for inputing files of the given item type.
InputText
- Class in
ca.ualberta.cs.c301_teamproject
This class creates an input text menu that will take a user's input and generate a text file at a set location and add it to the file list.
InputText()
- Constructor for class ca.ualberta.cs.c301_teamproject.
InputText
insertEntry(CrowdSourcerEntry)
- Method in class ca.ualberta.cs.c301_crowdclient.
CrowdClient
Consumes the POST/Insert operation of the service
insertTask(Task, Context)
- Method in class ca.ualberta.cs.c301_repository.
TfLocalRepository
Inserts the given task into the local repository.
isFulfilled()
- Method in interface ca.ualberta.cs.c301_interfaces.
Task
isFulfilled()
- Method in class ca.ualberta.cs.c301_repository.
TfTask
isModified()
- Method in interface ca.ualberta.cs.c301_interfaces.
Task
isModified()
- Method in class ca.ualberta.cs.c301_repository.
TfTask
ITEM
- Static variable in class ca.ualberta.cs.c301_teamproject.
CreateTask
itemCount
- Static variable in class ca.ualberta.cs.c301_teamproject.
CreateItem
ItemList
- Class in
ca.ualberta.cs.c301_teamproject
Displays a listview of files for a given item in a task.
ItemList()
- Constructor for class ca.ualberta.cs.c301_teamproject.
ItemList
ItemListAdapter
- Class in
ca.ualberta.cs.c301_teamproject
Custom ListAdapter for Task Force's multiline, with icon, ListView.
ItemListAdapter(Context, int, ItemListElement[])
- Constructor for class ca.ualberta.cs.c301_teamproject.
ItemListAdapter
ItemListElement
- Class in
ca.ualberta.cs.c301_teamproject
Class for elements of multi-element listview in ItemList.
ItemListElement()
- Constructor for class ca.ualberta.cs.c301_teamproject.
ItemListElement
ItemListElement(int, String, String)
- Constructor for class ca.ualberta.cs.c301_teamproject.
ItemListElement
Contructor for ItemListElement, contains icon, title, and sub text.
ItemType
- Enum in
ca.ualberta.cs.c301_interfaces
Enum to represent the type of an Item.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
J
L
M
O
P
R
S
T
U
V
W
Y


Meet the partners that make this program a reality. We selected some of the best Startups in Portugal offering high-quality internships, we invited some of the most accomplished professors and professionals in the fields of engineering and management and collaborated with leading entrepreneurial organizations.


[Gecode] Namespaces
Guido Tack
tack at ps.uni-sb.de
Wed Jul 7 16:05:36 CEST 2004
Hi.
Attached to this mail you find a diagram showing a possible reorganization of
the namespaces in Gecode. This won't solve our problems with the API, though:
A Gecode user should see a special variable view (which doesn't allow posting
basic constraints or messing up the variable in any other way), propagator
post functions, and the usual Space interface. Gabor and I came to the
conclusion that, with our current design, we cannot really enforce this, the
user will always be able to mess things up if he really wants to. So the
namespaces will give a hint on which interfaces one should use and which one
shouldn't touch.
Comments?
--
Guido Tack
Programming Systems Lab
http://www.ps.uni-sb.de/~tack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Namespace hierarchy.png
Type: image/png
Size: 70154 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20040707/ba6ddfd6/attachment.png>
More information about the gecode-users
mailing list