[gecode-users] constraints on solved spaces
Guido Tack
tack at ps.uni-sb.de
Tue Feb 5 09:20:15 CET 2008
stanio at cs.tu-berlin.de wrote:
> A question:
>
> When I post a constraint on a solved space, it seems to be not
> always propagated ... And this _not_always_ is what I am
> worrying about - I want to know what is the rule.
The rule is that some easy inferences may be done immediately on
posting the constraint, but full propagation only happens when you
call status.
> What I
> mean is prety much like this:
> ---- code -----
> int
> get_weight(){
> IntVar weight(this, 0, Limits::Int::int_max);
> linear(this, this->vars, IRT_EQ, weight);
> /*
> this->status();
> */
> return weight.val();
> }
> ---- code -----
>
> I invoke this function like
> solved_space->get_weight()
> from within the constrain() function (for BAB search).
> Without the line
> this->status();
> I experienced assertion fault due to weight.max() !=
> weight.min() : max, min remained the same as at the time of
> initialization of weight.
Although this works (if you use status), it is not the recommended way
of doing it. What you should really do is:
int
get_weight() {
int w = 0;
for (int i=0; i<vars.size(); i++)
w += vars[i].val();
return w;
}
The problem with your approach is that if you add variables and
constraints, you're not guaranteed that all the variables will be
assigned after calling status. It works in the above example, because
you add a single constraint, and the new variable can be computed as a
function from the old variables. As soon as you try something more
involved, you may need a nested search to actually determine the
values. Another disadvantage is that your version will be
considerably slower than a simple computation of the sum.
> Then I added the commented line and it worked fine.
>
> But... I have another function I invoke on solved spaces,
> which workes fine without the status() invocation.
>
> What do I have to know about constraints on solved spaces?
> Could you short explain, or give a hint for reading?
Constraints on solved spaces are exactly the same as on unsolved
spaces. You're not guaranteed to get a solution without search.
Cheers,
Guido
More information about the gecode-users
mailing list


The first version of this solver was written as part of Key Hyckenberg's MSc thesis in 1995, with contributions from Greger Ottosson at the Computing Science Department, Uppsala University. The code was later rewritten by Mats Carlsson with contributions by Nicolas Beldiceanu. Péter Szeredi contributed material for this manual chapter.
The development of this software was supported by the Swedish National Board for Technical and Industrial Development (NUTEK) under the auspices of Advanced Software Technology (ASTEC) Center of Competence at Uppsala University.
We include a collection of examples, among which some have been distributed with the INRIA implementation of clp(FD) [Diaz & Codognet 93].


Completely transform stand-alone metrics before next-generation information. Efficiently synergize future-proof communities for efficient information. Monotonectally optimize efficient alignments after standardized applications. Globally create granular sources rather than mission-critical technologies. Proactively repurpose robust products without backward-compatible.
Globally foster enterprise-wide expertise for client-centric potentialities. Dramatically incentivize cutting-edge ideas and excellent quality vectors. Quickly grow transparent solutions after ethical action items. Authoritatively productivate ethical internal or "organic" sources whereas empowered quality vectors. Compellingly restore fully researched potentialities after adaptive convergence. Enthusiastically formulate bleeding-edge best practices via alternative results. Collaboratively grow integrated expertise whereas ubiquitous results. Phosfluorescently streamline interdependent interfaces.
Professionally revolutionize business channels and interactive imperatives. Competently visualize virtual collaboration and idea-sharing after bleeding-edge testing procedures. Monotonectally implement synergistic schemas vis-a-vis fully tested metrics.
Authoritatively brand technically sound niches rather than inexpensive paradigms. Interactively strategize standards compliant manufactured products without backward-compatible technology. Synergistically engage resource-leveling information before premier technology. Conveniently reintermediate revolutionary technology before magnetic meta-services. Competently exploit alternative quality vectors rather than 2.0 models. Rapidiously procrastinate customized networks whereas multidisciplinary.
Getting Deeper
Collaboratively reinvent best-of-breed data rather than bricks-and-clicks quality vectors. Quickly e-enable client-focused schemas and strategic e-tailers. Collaboratively innovate ethical information after focused e-commerce. Objectively productize error-free internal or "organic" sources with B2B "outside the box" thinking. Authoritatively brand principle-centered action items vis-a-vis user-centric niches.
Objectively reconceptualize quality sources after high standards in intellectual capital. Synergistically synthesize cost effective growth strategies rather than ethical expertise. Distinctively deploy 24/7.
Interactively myocardinate fully researched portals after excellent customer service. Assertively communicate go forward alignments through progressive architectures. Appropriately transition go forward best practices and turnkey core competencies. Enthusiastically simplify team building catalysts for change rather than future-proof metrics. Efficiently engineer standardized intellectual capital before future-proof platforms. Holisticly monetize team building e-markets after strategic ideas. Monotonectally morph integrated action items for.
Synergistically fashion focused ROI whereas fully tested information. Efficiently utilize timely infrastructures without client-centric innovation. Efficiently reintermediate premier channels with flexible products. Progressively maintain distinctive channels and robust e-commerce. Enthusiastically implement interactive materials and cooperative vortals. Distinctively negotiate premium best practices with B2B process improvements. Intrinsicly strategize compelling solutions and business ideas. Competently visualize cross-media infrastructures vis-a-vis cost effective action items. Seamlessly network top-line supply chains via cutting-edge leadership skills. Conveniently underwhelm covalent processes before inexpensive scenarios.
Comparison
Professionally maximize 2.0 internal or "organic" sources through tactical internal or "organic" sources. Completely synergize economically sound niche markets without functionalized alignments. Quickly impact adaptive opportunities.
Uniquely envisioneer extensible innovation without exceptional testing procedures. Intrinsicly utilize user friendly.
Professionally engineer process-centric functionalities vis-a-vis distributed systems. Distinctively underwhelm mission-critical infomediaries vis-a-vis ethical communities. Appropriately reinvent low-risk high-yield models rather than diverse infomediaries. Collaboratively provide access to bricks-and-clicks web services via just in time networks. Holisticly repurpose wireless users via wireless growth strategies. Competently innovate ubiquitous leadership skills via.
Competently facilitate extensible total linkage vis-a-vis ethical benefits. Holisticly administrate prospective initiatives vis-a-vis distinctive data. Proactively network resource sucking scenarios after world-class opportunities. Authoritatively repurpose highly efficient niche markets rather than vertical networks. Dynamically promote future-proof solutions vis-a-vis quality applications. Objectively pontificate highly efficient scenarios before client-focused leadership skills. Appropriately administrate quality channels with revolutionary intellectual capital. Conveniently promote tactical catalysts for change for corporate core competencies.
Monotonectally extend robust "outside the box" thinking after low-risk high-yield supply chains. Proactively formulate real-time supply chains through extensive meta-services. Authoritatively generate an expanded array of imperatives with adaptive deliverables. Synergistically restore focused systems with integrated initiatives. Dynamically provide access to client-centric results through frictionless interfaces. Uniquely transform impactful relationships whereas fully tested information. Competently maintain flexible sources via ubiquitous bandwidth. Competently coordinate accurate e-commerce whereas exceptional relationships. Enthusiastically supply competitive "outside the box" thinking for enabled channels. Globally embrace integrated human capital and tactical best practices. Competently harness 2.0 growth strategies rather than state of.


---
layout: post
title: Happy New Year
date: '2008-01-06T16:15:00.000+01:00'
author: Andre Weissflog
tags:
- Nebula
modified_time: '2008-01-06T16:17:08.875+01:00'
blogger_id: tag:blogger.com,1999:blog-2948438400037317662.post-9008562714150847692
blogger_orig_url: http://flohofwoe.blogspot.com/2008/01/january-2008-sdk-release-is-well-on.html
---
The January 2008 SDK release is well on track. I think we'll have to settle for a bimonthly release cycle in the future. While the main chunk of work has gone into the Wii-port (which isn't part of the public SDK release of course) there are still two nice new features for the Win32 version:


EM Algorithm
March 30, 2015
EM algorithm is to find maximum likelihood solutions for models having latent variables (inference incomplete data). It is a iterative algorithm, which alternate between the E step and the M step in each iteration. In the E step, or expectation step, we use current parameters to evaluate the posterior probabilities. Then we maximum the likelihood using these probabilities, which calls M step, or maximization step.
Mixtures of Gaussians
Here, we are going to show an example for which the EM algorithm is as an elegant and powerful method.
Gaussian mixture distribution can be written as: \( p(x) = \sum_{k=1}^{K} \pi_k N(x|\mu_k, \Sigma_k) \) where \( z \) is a 1-of-K binary random variable in which a particular element is equal to 1 and all other elements are equal to 0. \( z \) is also a latent variable represented which gaussian distribution \( x \) get into.
Let \( p(z_k = 1) = \pi_k, \sum_{k=1}^{K} \pi_k = 1 \). The conditional distribution of \( x \) given a particular value for \( z \) is a Gaussian \( p(x | z_k=1) = N(x|\mu_k, \Sigma_k) \). Now we are able to get the joint distribution \( p(x) = \sum_{z} p(z) p(x|z) = \sum_{k=1}^{K} \pi_k N(x|\mu_k, \Sigma_k) \).
From above, the log of the likelihood function is given by \[ ln~p(X | \pi, \mu, \Sigma) = \sum_{n=1}^{N} ln{\sum_{k=1}^{K} \pi_k N(x|\mu_k, \Sigma_k) }~~~~~~~~~(eqn~1) \]
For simplicity, consider a Gaussian mixture whose components have covariance matrices given by \( \Sigma_k = \sigma_k^2 I \).
Maximizing the log likelihood function for a Gaussian mixture model turns out to be a more complex problem. We are not able to get the closed form solution of the maximum solution of the log likelihood function since there are latent variables inside the form. Now, we shall show how EM can be generalized to obtain the solution.
Setting the derivatives of eqn 1 with respect to the means \( \mu_k \) to zero. We can obtain \( \mu_k = \frac{\sum_{n=1}^{N} \gamma(z_{nk})x_n}{\sum_{n=1}^{N} \gamma(z_{nk})} \) where \( \gamma(z_{nk}) = \frac{\pi_kN(x_n|\mu_k, \Sigma_k)}{\sum_{j} \pi_j N(x_n|\mu_j, \Sigma_j)} \).
If we set the derivative of eqn 1 with respect to the \( \Sigma_k \) to zero. We can obtain \( \Sigma_k = \frac{\sum_{n=1}^{N} \gamma(z_{nk})(x_n-\mu_k)(x_n - \mu_k)^T}{\sum_{n=1}^{N} \gamma(z_{nk})} \).
In the same way, we are able to obtain \( \mu_k = \frac{\sum_{n=1}^{N} \gamma(z_{nk})}{N} \).
So in summary, we can solve Gaussian mixtures model by following steps. First, we initialize the parameters. Then iterate E step and M step until the parameters are converged. In the E step, we evaluate the probability, \( \gamma \) in this case, using the current parameters. In the M step, we re-estimate the parameters using the current probability that are calculated in the E step.
General EM
Observed variables \( X \) and latent variables \( Z \). the goal is to maximize the likelihood function \( p(X | \theta) \) with respect \( \theta \).
- Initial setting \( \theta^{old} \).
- E step: evaluate \( p(Z | X, \theta^{old}) \).
- M step: evaluate \( \theta^{new} = argmax Q(\theta, \theta^{old}) \). and \( Q(\theta, \theta^{old}) = \sum_{Z} p(Z|X, \theta^{old})ln~p(X, Z | \theta) \).
- If it is not converged, \( \theta^{old} = \theta^{new} \) and return to step 2).
Note: generalized EM, or GEM, algorithm addresses the problem of an intractable M step. Instead of aiming to maximize the equation, it seeks instead to change the parameters in such a way as to increase its value. We can similarly generalize the E step of the EM algorithm by performing a partial, rather than complete, optimization.


Text Glow
Soft glows for text. Unfortunately glows are difficult to construct using only utility classes, so these are more hard-coded than other elements. You can adjust glow colors and some other variables within _evo_variables.scss.
text-glow
glow

glow

Create a container for your text such as a

tag or

tag, and apply the text-glow
class. Global style is defined in _evo_variables.scss
glow

glow

On dark backgrounds, apply the text-glow-inverse
class for a light colored glow. Global style is defined in _evo_variables.scss
text-glow-[thickness]
glow

glow

glow

glow

glow

glow

Create a container for your text such as a

tag or

tag, and apply the text-glow
class. Global style is defined in _evo_variables.scss
glow

glow

glow

glow

glow

glow

On dark backgrounds, apply the text-glow-inverse
class for a light colored glow. Global style is defined in _evo_variables.scss
text-glow-[number]
text-glow-1
glow
text-glow-2
glow
text-glow-3
glow
text-glow-4
glow
text-glow-5
glow
text-glow-6
glow
text-glow-7
glow
text-glow-8
glow
text-glow-9
glow
text-glow-10
glow
text-glow-11
glow
text-glow-12
glow
text-glow-13
glow
text-glow-14
glow
text-glow-15
glow
text-glow-16
glow
text-glow-17
glow
text-glow-18
glow
text-glow-19
glow
text-glow-20
glow

glow

Create a container for your text such as a

tag or

tag, and apply a text-glow-[number] class such as text-glow-20
. Global style is defined in _evo_variables.scss
inverse-text-glow-[number]
inverse-text-glow-1
glow
inverse-text-glow-2
glow
inverse-text-glow-3
glow
inverse-text-glow-4
glow
inverse-text-glow-5
glow
inverse-text-glow-6
glow
inverse-text-glow-7
glow
inverse-text-glow-8
glow
inverse-text-glow-9
glow
inverse-text-glow-10
glow
inverse-text-glow-11
glow
inverse-text-glow-12
glow
inverse-text-glow-13
glow
inverse-text-glow-14
glow
inverse-text-glow-15
glow
inverse-text-glow-16
glow
inverse-text-glow-17
glow
inverse-text-glow-18
glow
inverse-text-glow-19
glow
inverse-text-glow-20
glow

glow

Create a container for your text such as a

tag or

tag, and apply an inverse-text-glow-[number] class such as inverse-text-glow-20
. Global style is defined in _evo_variables.scss


On your next purchase
On your next purchase
Please enter your Email Address. You will receive a link to create a new password via Email.
Search Results:
Fuchsia Blazer
$49.90
Faux Leather Blazer
$129.00
Faux Leather Blazer
$129.00
Button Cropped Blazer
$129.00
Floral print midi Dress
$50.00
Nothing matches your search
😞
| Size | US | Bust | Waist | Hips |
|---|---|---|---|---|
| XS | 2 | 32 | 24 - 25 | 33 - 34 |
| S | 4 | 34 - 35 | 26 - 27 | 35 - 26 |
| M | 6 | 36 - 37 | 28 - 29 | 38 - 40 |
| L | 8 | 38 - 29 | 30 - 31 | 42 - 44 |
| XL | 10 | 40 - 41 | 32 - 33 | 45 - 47 |
| XXL | 12 | 42 - 43 | 34 - 35 | 48 - 50 |
| Size | US | Blazer Size |
|---|---|---|
| 2 | ||
| 4 | ||
| 6 | ||
| 8 | ||
| 10 |
| Size | US | Foot Length |
|---|---|---|
| 36 | 5 | 22.8 |
| 39 | 8 | 24.1 |
| 40 | 9 | 25.4 |
| 40.5 | 9.5 | 25.7 |
| 41 | 10 | 26.0 |


Open Lunar Foundation
Open Lunar Foundation is researching policies and institutional interventions in support of peaceful and cooperative futures on the Moon-- for all life.
--- layout: page title: Outer Space ---
Open Lunar Foundation is researching policies and institutional interventions in support of peaceful and cooperative futures on the Moon-- for all life.
RESEARCH SALONS | POLICY LIBRARY
The Moon Dialogs is a partnership focused on governance and coordination mechanisms for the lunar surface. It is convened by organizations and participating researchers exploring voluntary, multilateral mechanisms, norms, and economic arrangements that aim to grow ecosystems of lunar activity, both governmental and non-governmental.
Imagining Safety Zones: Implications and open questions (June 2020)
Polycentricity on the Moon (July 2020)
Lunar Resources Policy (with Chris Hadfield and Chelsea Robinson, October 2020)
Spacewatch.Global Space Cafe 33 minutes wherein Torsten and I wax philosophical about polycentircity on the Moon and other topics close to my heart (June 2020)
ASCE Paper: Pad for Humanity: Lunar Spaceports as Critical Shared Infrastructure (with Jeffrey Montes and Phil Metzger, May 2020). Explores the 'full stack' design considerations of a lunar landing pads from the physics to the engineering to the policy implicatoins.
:wLUNAR SURFACE INNOVATION CONSORTIUM //NASA & JHUAPL (Executive Committee) | ASU INTERPLANETARY INITIATIVE (Advisory Board) | OSTROM WORKSHOP SPACE GOVERNANCE WORKING GROUP(member)
IASC COMMONS IN SPACE CONFERENCE February 2021
This conference aims to bring together scholars and practitioners on the commons in space. We will cover topics from the satellites and space debris increasingly congesting orbital space, mining of celestial bodies, diverse perspectives on space as a global commons, protection of dark night sky, going beyond Antarctica and High Sea regulations as models for space law, and much more.
A fun talk for the existential hope and technofuturist crowd at Foresight Institute's .


BOT-O-MAT
Build your very own robot!
Robot Maker 3000
Name Your Robot!
Capitalization does not matter!
What type of robot is it?
UNIPEDAL
BIPEDAL
QUADRUPEDAL
ARACHNID
RADIAL
AERONAUTICAL
Create your robot!
Clear all robots!


Fugitive Malaysian 1MDB financier Jho Low offered asylum: Spokesperson
KUALA LUMPUR: A Malaysian financier wanted for his role in the multi-billion-dollar 1MDB financial scandal has been offered asylum abroad, his spokesman said Friday (Nov 1), as reports surfaced he was in the Middle East.
The news came a day after US officials announced that Low Taek Jho had struck a settlement to forfeit assets worth US$700 million, including a Beverly Hills hotel and a private jet, as part of efforts to recover stolen cash.
READ: In record deal, US to recover US$1 billion from Malaysian fugitive Jho Low
READ: Malaysia to make claim over 1MDB assets: PM Mahathir
The jet-setting former unofficial adviser to 1Malaysia Development Berhad allegedly played a key role in plundering the sovereign wealth fund, in a fraud that also purportedly involved former premier Najib Razak.
The whereabouts of Low, who has been charged over the scandal in the US and Malaysia, are a mystery but his representatives now say he has been offered asylum, without naming a country.
"We understand that Mr. Low was offered asylum in August 2019 by a country that acts in accordance with the principles of the United Nations Universal Declaration of Human Rights and European Convention on Human Rights," a spokesperson for Mr. Low, through his attorneys, told AFP.
The spokesperson did not provide further details.
READ: Malaysia aims to recover nearly US$1 billion paid out by former 1MDB unit
READ: Superyacht linked to Malaysia's 1MDB scandal on sale again
But online news portal The Malaysian Insight reported that Low was in the United Arab Emirates and had been travelling between Kuwait, Saudi Arabia and other parts of the Middle East since June, citing unidentified sources.
Low, who has denied any wrongdoing, was previously reported to be in China.
Najib's long-ruling government was booted from power last year in part due to the 1MDB scandal, and the ex-leader has been charged and put on trial.
After the announcement that Low would relinquish assets under the largest ever US civil forfeiture, Prime Minister Mahathir Mohamad said Malaysia would ask America to hand over what it has recovered from Low.
READ: Malaysia’s top cop says he knows Jho Low’s location, guarantees safety if he returns
READ: 1MDB - Malaysia's extraordinary financial scandal
"We have proof that this is our money and will make a claim with the US government," he was quoted as saying in The Star newspaper.
Malaysian police have previously said that they hoped to bring Low back home by the end of the year to stand trial.


{% extends 'layout.html' %} {% block pageTitle %} NHS login - Check your answers before you continue {% endblock %} {% block content %}
You are allowing {{ data.firstName or 'Bob' }} {{ data.lastName or 'Smith' }} to enter your {{ data.service or 'stepWell' }} account. This means they can act on your behalf and see your information within {{ data.service or 'stepWell' }}.
On your behalf, {{ data.firstName or 'Bob' }} will be able to:
{{ data.firstName or 'Bob' }} will not be able to see your medical records.
Once you submit these details, we will send an email to {{ data.firstName or 'Bob' }} {{ data.lastName or 'Smith' }} at {{ data.contactEmailAddress or<EMAIL_ADDRESS>}} with a secure link. They will need to open this link within 7 days to be able to enter {{ data.service or 'stepWell' }} and act on your behalf.
Please check your details are correct before submitting.
{{ button({ "text": "Submit", "href": "success?summaryReturn=false" }) }}


October 2, 2019
Project 2: Scalable Icons
For this scalable icon project, we had to create three icons that represent different aspects of ourselves. These icons must be designed to fit together with similar aesthetics and be scalable in three sizes: 128px, 64px, and 32px. My three icons depict one of my hobbies, a cultural aspect, and an academic aspect of myself. For my hobby, I chose baking, so I decided to create an icon of a cupcake. As a cultural aspect, I chose to create a bowl of rice because rice is a staple of Japanese cuisine. As an academic aspect, I chose to create an icon of a laptop because as a Computer Science major and a Graphic Design minor, I use my laptop on a daily basis.
My first step for this project was brainstorming three icons to represent myself. The three different topics popped in my head quickly -- a hobby, a cultural aspect, and an academic aspect. For my icon representing my Japanese culture, I came up with two ideas: a traditional Japanese teacup, and a rice bowl. For my hobby icon, I came up with two ideas at first: a bowl and whisk, and a tray of cookies. I was reluctant on creating an icon of the bowl + whisk because I created an icon of that in a previous graphic design class. For my icon representing my academics, my first thought was a laptop. However, I felt like a laptop was a very generic idea so I tried coming up with more ideas that represent my major. I played around with the concept of nodes, 0’s and 1’s, and glasses, but I had trouble creating icons out of those concepts.
I wasn’t set with all the icon designs I thought of, but I started to create the rice bowl on Illustrator first since that was the only icon I was certain of using. After designing the rice bowl, I had trouble coming up with a design for the tray of cookies that fit with the rice bowl icon, so I chose to create a cupcake for my hobby icon. Then I decided to design a laptop for my academic icon.
To make all three icons similar, I tried using the same colors - red, black, blue, brown. I also tried to keep similar shapes; since the bowl and cupcake were both rounded, I decided to round the edges of the laptop as well. Incorporating gradients in all three also helps unify them.
All three icons are scalable. From 128px to 64px, I didn’t change anything in the icons. From 64px to 32px, I only did slight modifications. The rice bowl loses the flower pattern on the bowl, and for the cupcake and laptop, I increased the spacing between the two parts.
For my favicon, I chose to use the rice bowl icon because I think that came out the best out of the three, and I think it’s the strongest icon that represents myself.


Congratulations, !
Hey, ! I see that you picked a lot of B answers, so I think learning Java would be a great fit for you!


--- layout: page title: About permalink: /about/ order: 2 ---
Flock is a platform that focuses on the convergence advertising and marketing services, including video content creation and influencer strategies, exploring possibility combining design, technology, and art.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.


These days, all desktops easily have at least 4 or more cores. We can use Torque to continuously use all these for running jobs in a batch.
Here, we install Torque on a linux desktop, with eight cores. The desktop will act both as the torque server and also as the compute node on which computations are carried out.
Let us assume that we are trying to install it on the desktop with the fully qualified domain: bluesky.breezy.day. It is running openSuSE 13.2. So, the hostname would just be bluesky. Then, do the following.
-
Install all torque related stuff (torque-sever, torque-client, torque-mom, etc.) from here. They are listed as unstable.
-
Check the hostname. In my case, for some reason,
hostname -f
was not giving the fully qualified domain name bluesky.breezy.day, but just the hostnmame bluesky.hostname bluesky hostname -f bluesky
-
Make sure that /etc/hosts has a line which lists the ip address of whatever you get for hostname in 1.
echo '<IP_ADDRESS> bleusky' >> /etc/hosts
-
Create a serverdb file
pbs_server -t create
-
Create a nodes file
cat server_priv/nodes bluesky np=6 # np is the number of cores on the desktop that you want to use
-
Since, we are using the server also as the compute node, modify mom_priv/config. It should be:
cat mom_priv/config $pbsserver bluesky # hostname running pbs server $logevent 225 # bitmap of which events to log
-
Open up the ports for Torque in openSuSE firewall.
-
Enable pbs_server, pbs_mom and pbs_sched in Yast > System > Services in exactly the order listed. Enabling the pbs_server AFTER pbs_mom, will not result in the pbs_server starting properly.
-
Finally create a queue in which to run the jobs.
qmgr -c "set server scheduling=true" qmgr -c "create queue default queue_type=execution" qmgr -c "set queue default started=true" qmgr -c "set queue default enabled=true" qmgr -c "set queue default enabled=true" qmgr -c "set server default_queue=default"


Welcome. You'll need to replace the images on this page with screenshots of your final guide.
Replace this mark-up with some nice onboarding particular to your tour.
Look out for the headphones symbol in the exhibition and then hit the number you’re in front of to begin.
Press the menu icon at the top right of the screen to change stops.
Use the buttons at the bottom of the screen to move to the next or previous stop.


We're back! The sites, directories, and IRC are back up, and you sould be able to log in as usual.
The wiki will be back soon. Some of the programming languages are missing; they'll all be reinstalled as I get time over the next few days.
I'll put up a postmortem once everything's fixed.
NOTE: If you see the following message when you log in:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!  This is a side effect of the IP address of the server changing. Update your ~/.ssh/known_hosts file according to the instructions and you will be able to get back in. The server's ECDSA key fingerprint is as follows, if you'd like to verify it:
9f:67:e6:cb:bd:f0:56:30:23:7c:7c:9d:91:c6:39:2d
We did lose two things: symlinks and cronjobs. The data is all still available, so if you symlinked to something outside your home directory, let me know and I can get a copy of it for you. Cron jobs will need to be re-entered. :( Sorry about that.
If you are missing anything, notice something wrong, or just have a suggestion, please contact us at<EMAIL_ADDRESS>Thanks everyone for your patience! Let's get back to fun and learning!
So what happened?
On Feb. 9, at about 9:30 AM CST, the server hosting ctrl-c.club was no longer available. Communication from our hosting provider (digitalocean.com) indicated that the server's networking had been disabled due to a flood of traffic.
Working with DO, I was able to log in and set up a firewall to block the outgoing traffic which was causing the problem. My hope was to allow our regular users to continue using Ctrl-C.club as usual while I tracked down the misbehaving user or process.
DO agreed to re-enable networking for us, since I asked nicely. :) The server and site came back up and everything appeared to be working correctly. I let a few people know that things were provisionally working again.
That same day, at about 4:00 PM CST, Ctrl-C.club went down again. DigitalOcean had once again disabled networking due to a flood of traffic.
To my immense chagrin, I discovered that, while cleaning up some odds and ends on the server, I had disabled the firewall.  :\
Working again with DO, we discovered that the outgoing traffic was clearly malicious in nature. DO quite justifiably asked me to destroy the server which was causing the problem.
That evening, I spun up a new server through DigitalOcean, and began transferring user data, packages, and configuration over from the old server to the new server. This work was completed by the next day.
Over the next week, I added missing packages, fixed up the wiki, and corrected a few minor issues that had cropped up during the transfer.
Moving forward, the firewall blocking malicious traffic will stay in place. I've further documented the system configuration and packages, so that in the event of another outage, spinning up a new server will be much faster.
As discussed extensively in the status above:
There are no other impacts known or expected at this time.
DigitalOcean was a great help throughout this process. I'd like to thank them, and all of our amazing users who've built our community for their patience and kindness.
Let's keep learning and having fun!


you have javascript turned off!
if you're seeing this, it's because you have javascript turned off,
which doesn't mean much on this page, other than that you can't be tracked
by our google analytics. :p
did you know the iframe
below works without javascript
?
i was today years old when i learned that.
the same cannot be said for our javascript demo, though.


Preparation time
1-2 hours
Cooking time
30 mins to 1 hour
Serves
Serves 8-12
Dietary
This traditional German recipe makes a great alternative to Christmas cake. Enjoy it with a glass of brandy.
Place the milk and yeast into a bowl and mix well. Leave to sit for 5-6 minutes.
Meanwhile, sift the salt, sugar, flour and mixed spice into a large bowl.
Add the dried fruit, almonds and butter and mix well.
Add the yeast and milk mixture and mix well.
Add the egg and stir well to make a dough.
Knead the dough for 5-6 minutes, then cover and leave to prove for 20 minutes.
Uncover the dough and turn out onto a clean, floured work surface. Using your hands knock the dough back to reduce the volume, then knead the dough for 3-4 minutes.
Push and roll the dough out by hand into a flat oval shape about 23cm x 18cm/9in x 7in.
Roll the marzipan into a piece about 18cm x 5cm/7in x 2in. Place the marzipan into the centre of the dough, then fold over the sides of the dough to seal in the marzipan.
Place the stollen seal-side down onto a greased baking tray. Cover and place somewhere warm to prove for one hour.
Preheat the oven to 180C/365F/Gas 4.
Place the stollen on the baking tray into the oven to bake for 40 minutes, or until golden-brown and cooked through.
To finish, remove the stollen from the oven, brush with the melted butter and dust with icing sugar immediately.
Allow the stollen to cool, then serve in slices.


I am a postdoctoral researcher in the School of Electrical Engineering at KAIST. I received my B.S., M.S. and Ph.D. from KAIST, advised by Prof. In So Kweon. My research background is computer vision and machine learning. Recently, I am working on machine learning problems related to data issues, including audio-visual learning, few-shot learning, and active learning.


# File vendor/plugins/active_scaffold/lib/data_structures/column.rb, line 226 def initialize_search_sql if self.virtual? self.search_sql = nil else if association.nil? self.search_sql = self.field.to_s else # with associations we really don't know what to sort by without developer intervention. we could sort on the primary key ('id'), but that's hardly useful. previously ActiveScaffold would try and search using the same sql as from :sort, but we decided to just punt. self.search_sql = nil end end end


Release Notes -- Apache Geronimo Eclipse Plugin -- Version 2.2.0 --<PHONE_NUMBER>2824
Helpful URLs
------------
Geronimo Devtools: http://geronimo.apache.org/development-tools.html
Geronimo Eclipse Update Site: http://www.apache.org/dist/geronimo/eclipse/updates
Bug Tracking: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS
Quick start - fast and easy development: http://cwiki.apache.org/GMOxDOC22/quick-start-fast-and-easy-development.html
5-minute Tutorial using GEP: http://cwiki.apache.org/GMOxDOC22/5-minute-tutorial-on-enterprise-application-development-with-eclipse-and-geronimo.html
System Requirements
-------------------
1. Java J2SE 1.5.0 or greater, and a platform that supports it
2. Eclipse IDE for Java EE Developers (Galileo or Ganymede), which is platform-specific
-- Get Eclipse from http://www.eclipse.org/downloads/
3. Geronimo server (1.1.x, 2.0.x, 2.1.x or 2.2)
-- Get a Geronimo server from http://geronimo.apache.org/downloads.html
Notes
-----
You will likely need to increase the default setting for maximum PermGen size
for your Eclipse installation (especially for Sun's JDK 1.5.0_x on the Windows
platform) to prevent "java.lang.OutOfMemoryError: PermGen" errors. From the
command line you can use:
eclipse -vmargs -Xms128m -Xmx512m -XX:MaxPermSize=128m
Or you can edit your eclipse.ini file. An example is shown below but remember
that each argument has to be on seperate lines:
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m
Geronimo Eclipse Plugin Version 2.2.0 Enhancements
--------------------------------------------------
1. Numerous enhancements to the Geronimo deployment plan editors
2. Inegrate v1.1.x server adapter in GEP 2.2. See details in online release notes
Installation Instructions
-------------------------
See http://cwiki.apache.org/GMOxDOC22/installing-geronimo-eclipse-plugin.html
Bug Fixed and New Features
--------------------------
GERONIMODEVTOOLS-598 Support builds on Linux x86_64 based systems
GERONIMODEVTOOLS-594 Geronimo server can't be deleted when it has been stopped in GEP
GERONIMODEVTOOLS-593 "tptp.runtime-TPTP-4.6.0.zip " download URL is incorrect in build.xml
GERONIMODEVTOOLS-592 Extend "rename" for ejb/connector/ear project,too, meanwhile rename artifactId in these deployment plans.
GERONIMODEVTOOLS-591 "Next" can go to next step without application chosen after click "back" button.
GERONIMODEVTOOLS-590 org.eclipse.ltk.core.refactoring added in Require-Bundle must be set visibility:=reexport,
GERONIMODEVTOOLS-587 Using GEP to convert an application to a plugin, if add prerequisite module,will encouter an error when install the plugin
GERONIMODEVTOOLS-586 Index.jsp can not find servlet in the same project when use <jsp:include page="/ConverterHandler" />
GERONIMODEVTOOLS-585 Make GEP generate standard JEE deployment descriptor by default
GERONIMODEVTOOLS-582 Plugin list contains non-car modules when create plugin
GERONIMODEVTOOLS-581 GEP 2.2 can't be installed on WTP 3.1 used by Eclipse 3.5 Galileo
GERONIMODEVTOOLS-579 java specs are not included into G server runtime by default
GERONIMODEVTOOLS-577 Appclient server and client environment module ID are the same resulting in deployment error.
GERONIMODEVTOOLS-575 GEP errors that are logged to the Eclipse error log are not always seen by end-user
GERONIMODEVTOOLS-571 "Next" or "Finish" Button displays when required fields are not selected or checked during convert plugin
GERONIMODEVTOOLS-567 EJB projected created by WTP without openejb-jar.xml cannot be published to Geronimo 2.1.4 server via GEP 2.1.4
GERONIMODEVTOOLS-563 Start geronimo server in profiling mode
GERONIMODEVTOOLS-510 Deployment plan editor warning message when opening source tab for openejb-jar.xml file
GERONIMODEVTOOLS-504 advanced security section does not allow setting of credential store
GERONIMODEVTOOLS-456 Add Security Realm Wizard to GEP to deploy security realm directly from GEP
GERONIMODEVTOOLS-455 Add Database pool wizard in GEP to enable application specific pools
GERONIMODEVTOOLS-453 JAXB Classes support for schema geronimo-login-config-2.0.xsd
GERONIMODEVTOOLS-362 GEP DependencyHelper not interrogating server for already-deployed dependencies
GERONIMODEVTOOLS-361 GEP DependencyHelper not interrogating all contents of EAR files for dependencies
GERONIMODEVTOOLS-320 Provide facility to change id/pw associated with server instance (withing creating a new instance of the server)
GERONIMODEVTOOLS-289 Unable to deploy EJB application on AG 2.1 through Eclipse
GERONIMODEVTOOLS-283 Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id & context root
GERONIMODEVTOOLS-255 Can deploy and EAR file from the admin console without an application.xml file, but fails from the Eclipse plugin
GERONIMODEVTOOLS-578 Integrate server adapter 1.1 in GEP 2.2
GERONIMODEVTOOLS-573 <sec:security/> was added to plan after add a resource-ref via GEP UI
GERONIMODEVTOOLS-568 Trunk build failed: should remove "snapshot" for 2.1 runtime dependency package
GERONIMODEVTOOLS-541 move all Abbot testcases to run during a single server install/uninstall
GERONIMODEVTOOLS-519 Document the Deployment Plan editors
GERONIMODEVTOOLS-512 When running the testsuite from maven, the Geronimo branding does not show up
GERONIMODEVTOOLS-481 Convert all Junit testcases to use the new NamespacePrefix class (instead of NamespacePrefixMapper)
GERONIMODEVTOOLS-454 Add support to GEP for various Admin Console wizards like Database pool, Security realm etc
GERONIMODEVTOOLS-433 Tasklist for Ganymede-specific problems
GERONIMODEVTOOLS-432 Intermittent IllegalArgumentExceptions when starting a new run configuration using Ganymede
GERONIMODEVTOOLS-424 Port Plan Creator work into GEP Deployment Plan Editor
GERONIMODEVTOOLS-400 editing and saving the deployment plan XML doesn't get reflected back into the editor pages.
GERONIMODEVTOOLS-383 unable to set enterprise-beans
GERONIMODEVTOOLS-379 unable to set cmp-connection-factory"
GERONIMODEVTOOLS-378 EJB deployment plan editor improvements
GERONIMODEVTOOLS-355 devtools web page out of date. refers GEP v2.0.0, not lastest v2.1.1
GERONIMODEVTOOLS-344 Cannot utilize the xpp3-<IP_ADDRESS>.O jar in GEP
GERONIMODEVTOOLS-319 GEP security exception when attempting to use password that is not the default for the server
GERONIMODEVTOOLS-292 manual install of plugin broken
GERONIMODEVTOOLS-198 Daytrader deployment exception in Eclipse
Release Notes -- Apache Geronimo Eclipse Plugin -- Version 2.2.0 --<PHONE_NUMBER>2824
@version $Rev: 897145 $ $Date: 2010-01-08 17:38:07 +0800 (Fri, 08 Jan 2010) $


We’ve moved into a post capital world, where attention is the scarcest resource - and therefore the one with most value. Albert Wenger wrote a book on this topic, The World After Capital, in which he writes:
Technological progress has shifted scarcity for humanity. When we were foragers, food was scarce. During the agrarian age, it was land. Following the industrial revolution, capital became scarce. With digital technologies scarcity is shifting once more. We need to figure out how to live in a World After Capital in which the only scarcity is our attention.
A new book by Shoshanna Zuboff called The Age of Surveillance Capitalism discusses how technology powerhouses have created a new, mutant form of capitalism which uses our data as a raw material.
The Guardian provides an in-depth commentary on the book and the concept of surveillance capitalism:
The headline story is that it’s not so much about the nature of digital technology as about a new mutant form of capitalism that has found a way to use tech for its purposes. The name Zuboff has given to the new variant is “surveillance capitalism”. It works by providing free services that billions of people cheerfully use, enabling the providers of those services to monitor the behaviour of those users in astonishing detail – often without their explicit consent.
She also writes about how Internet services use only a fraction of the data they collect to actually improve the service itself. The rest of it often fed into a machine learning model and is sold as predictive analytics software or part of a data product. In essence, data gets treated as a valuable raw material. One that is easy to create and manipulate in any way companies choose - with little agency or value transfer to customers.
“Surveillance capitalism,” she writes, “unilaterally claims human experience as free raw material for translation into behavioural data. Although some of these data are applied to service improvement, the rest are declared as a proprietary behavioural surplus, fed into advanced manufacturing processes known as ‘machine intelligence’, and fabricated into prediction products that anticipate what you will do now, soon, and later. Finally, these prediction products are traded in a new kind of marketplace that I call behavioural futures markets. Surveillance capitalists have grown immensely wealthy from these trading operations, for many companies are willing to lay bets on our future behaviour.”
She also writes about the threat to democracy posed by surveillance capitalists:
These dangerous asymmetries are institutionalised in their monopolies of data science, their dominance of machine intelligence, which is surveillance capitalism’s “means of production”, their ecosystems of suppliers and customers, their lucrative prediction markets, their ability to shape the behaviour of individuals and populations, their ownership and control of our channels for social participation, and their vast capital reserves. We enter the 21st century marked by this stark inequality in the division of learning: they know more about us than we know about ourselves or than we know about them. These new forms of social inequality are inherently antidemocratic.
As someone that has spent a many years of my career as a “surveillance capitalist” of sorts - it’s really important that we ask ourselves some of these questions. This level of scrutiny - about what data to collect and how to use it - helps us become better as an industry.


{{t:Entity}}
{{id}}
{{t:Currency}}
{{keyspace}}
{{t:Addresses}}
{{no_addresses}}
{{t:Transactions}}
{{no_incoming_txs}} {{no_outgoing_txs}}
{{t:Neighbors}}
{{in_degree}} {{out_degree}}
{{t:First usage}}
{{first_usage}}
{{t:Last usage}}
{{last_usage}}
{{t:Activity period}}
{{activity_period}}
{{t:Total received}}
{{total_received}}
{{t:Final balance}}
{{balance}}
{{t:Tag coherence}}
{{tagCoherence}}


Are we being an obedient citizen?
One of the biggest obstacles to the implementation of plastic bans on the ground, say activists, is the lack of political will. Every few years, particularly before elections, politicians play to the gallery with such announcements about banning plastic bags, but they are not interested in implementation.
The simple reason plastic bans don’t work is that they are not backed by the same regulatory seriousness. Once the government announces a ban, it is the responsibility of feebly empowered agencies like the CPCB and state pollution control boards to enforce it. These agencies are already fighting a losing battle,failing at their job to protect the environment thanks to multiple challenges.
In states where all plastic bags are banned, the structure authorises very few officials to fine violators, which makes enforcement difficult. Hardly anyone is actually fined.
Many big brands and vendors have started charging the customers for the polybags in order to commercially discourage them, but it is so far not been effective as there is no law or guidelines that says shopkeepers should charge money from the customers for the polybag.


Gecode::Int::Distinct::BiLink Class Reference
Inherited by Gecode::Int::Distinct::Edge< View >, and Gecode::Int::Distinct::Node< View >.Detailed Description
Bidirectional links for both edges and anchors in nodes of view-value graph.
Definition at line 62 of file dom.icc.
Public Member Functions | |
| BiLink (void) | |
| BiLink * | prev (void) const |
| void | prev (BiLink *) |
| BiLink * | next (void) const |
| void | next (BiLink *) |
| void | add (BiLink *) |
| void | unlink (void) |
| void | mark (void) |
| bool | marked (void) const |
| bool | empty (void) const |
Constructor & Destructor Documentation
|
|
Definition at line 25 of file bilink.icc. |
Member Function Documentation
|
|
Definition at line 30 of file bilink.icc. |
|
|
Definition at line 38 of file bilink.icc. |
|
|
Reimplemented in Gecode::Int::Distinct::Edge< View >. Definition at line 34 of file bilink.icc. |
|
|
Definition at line 42 of file bilink.icc. |
|
|
Definition at line 47 of file bilink.icc. |
|
|
Definition at line 52 of file bilink.icc. |
|
|
Definition at line 58 of file bilink.icc. |
|
|
Definition at line 62 of file bilink.icc. |
|
|
Definition at line 66 of file bilink.icc. |
The documentation for this class was generated from the following files:
- gecode/int/distinct/dom.icc (Revision: 3768)
- gecode/int/distinct/bilink.icc (Revision: 3512)


Gemstones
Find the rarest Gemstones brought from the heart of Africa, European mountains, and the American deserts
Built for traders, by traders. Gemaholic provides gemstones, precious metals, and jewelry enthusiasts with a marketplace to trade with the use of crypto, and government back currencies. Gemaholic acts as the pioneer in the free-market of luxuries and delicacies by enabling trading with the use of top 5 crypto currencies. This is aligned with our vision towards a decentralized free market governed solely by the forces of demand and supply.


--- layout: portfolio title: eknelson17 | Projects banner-title: Photography type: photo ---
Eventually, I'll add my favorite photos to this page with a fancy lightbox, but for now, please visit my flickr page to see my most recent work. As a side note, I have been uploading more than just my best shots while studying abroad in order to share my adventures with everyone. :)


Providing online support for doctors, clinicians, nurses, health professionals and the public
Meducate provides online education for doctors, clinicians, health professionals and the public. We achieve this by combining the skills of our educators and founders in medical education and digital media to produce bespoke training packages that exceed expectations. We believe the critical limitations to the current way that medical education services are delivered is a lack of readily available and appropriate training. Meducate was established to bridge that gap and provide ongoing, easily accessible courses, eliminating the need to attend weekend seminars or travel long distances. New courses are continuously in production so please contact us and be the first to know of brand-new classes, free on-demand training and podcasts, to help you become your natural best.


Home
List Keys
Generate
Tx Builder
Ethereum Wallet Generation
Key Genration Mechanism
Select
ECDSA
Generate ECDSA key pair
Public Key
Related Ethereum Wallet Address


Configuring (example)¶
To configure stand-alone Object Storage for Rackspace Private Cloud Powered By Openstack (RPCO), you update the following files:
/etc/openstack_deploy/openstack_user_config.yml
/etc/openstack_deploy/user_osa_variables_overrides.yml
/etc/openstack_deploy/conf.d/swift.yml
Update the stand-alone Object Storage configuration files¶
In the
openstack_user_config.yml
file, set theidentity_hosts
andshared-infra_hosts
entries to the following values to set up the Identity and infrastructure services. The following example showsnode1
throughnode3
. The values must be adjusted for allidentity_hosts
andshared-infra_hosts
entries.# identity_hosts: # node1: # ip: <IP_ADDRESS> # node2: # ip: <IP_ADDRESS> # node3: # ip: <IP_ADDRESS> # shared-infra_hosts: # node1: # ip: <IP_ADDRESS> # node2: # ip: <IP_ADDRESS> # node3: # ip: <IP_ADDRESS>
In the
user_osa_variables_overrides.yml
file, update the following user variables.Note
The
rackspace_cloud
variables are needed only if you are using the Rackspace Monitoring service.# container_openstack_password: # keystone_auth_admin_password: # keystone_auth_admin_token: # keystone_container_mysql_password: # keystone_service_password: # memcached_encryption_key: # mysql_debian_sys_maint_password: # mysql_root_password: # rabbitmq_cookie_token: # rabbitmq_password: # rackspace_cloud_api_key: # rackspace_cloud_auth_url: # rackpace_cloud_password: # rackspace_cloud_tenant_id: # rackspace_cloud_username: # rackspace_cloudfiles_tenant_id: # rpc_support_holland_password: # swift_container_mysql_password: # swift_hash_path_prefix: # swift_hash_path_suffix: # swift_service_password: # swift_dispersion_user: # swift_dispersion_password: # service_syslog: # galera_root_password:
In the
/etc/openstack_deploy/conf.d/swift.yml
file, update theglobal_overrides
values as shown in the following example. The parameters are explained following the example.# global_overrides: # swift: # part_power: 8 # weight: 100 # min_part_hours: 1 # repl_number: 3 # storage_network: 'br-storage' # replication_network: 'br-repl' # drives: # - name: sdc # - name: sdd # - name: sde # - name: sdf # mount_point: /mnt # account: # container: # storage_policies: # - policy: # name: gold # index: 0 # default: True # - policy: # name: silver # index: 1 # repl_number: 3 # deprecated: True
part_power
Set the partition power value based on the total amount of storage that the entire ring will use.
weight
The default weight is 100. If the drives are different sizes, set the weight value to avoid uneven distribution of data. For example, a 1 TB disk would have a weight of 100, while a 2 TB drive would have a weight of 200.
min_part_hours
The default value is 1. Set the minimum partition hours to the amount of time to lock a partition’s replicas after a partition has been moved. Moving multiple replicas at the same time might make data inaccessible. This value can be set separately in the
swift
,container
,account
, andpolicy
sections, with the value in other sections superseding the value in theswift
section.repl_number
The default value is 3. Set the replication number to the number of replicas of each object. This value can be set separately in the
swift
,container
,account
, andpolicy
sections, with the value in the other sections superseding the value in theswift
section.storage_network
By default, the swift services will listen on the default management IP address. Optionally, specify the interface of the storage network.
replication_network
Optionally, specify a dedicated replication network interface, so dedicated replication can be set up. If this value is not specified, no dedicated replication network is set.
drives
Set the default drives per host. This is useful when all hosts have the same drives. These values can be overridden for each host.
mount_point
Set the
mount_point
value to the location where the swift drives are mounted. For example, with a mount point of/mnt
and a drive ofsdc
, a drive is mounted at/mnt/sdc
on the swift host. This value can be overridden for each host.storage_policies
Storage policies determine on which hardware data is stored, how the data is stored across that hardware, and in which region the data resides. Each storage policy must have an unique
name
and a uniqueindex
value. There must be a storage policy with an index of 0 in theswift.yml
file to use any legacy containers created before storage policies were instituted.default
Set the
default
value toyes
for at least one policy. This policy is the default storage policy for any non-legacy containers that are created.deprecated
Set the
deprecated ``value to ``yes
to turn off storage policies.
In the
/etc/openstack_deploy/conf.d/swift.yml
file, update the Object Storage proxy hosts values by setting the IP address of the hosts to which Ansible will connect to deploy the swift-proxy containers. Theswift-proxy_hosts
value should match the infra nodes.# swift-proxy_hosts: # infra-node1: # ip: <IP_ADDRESS> # infra-node2: # ip: <IP_ADDRESS> # infra-node3: # ip: <IP_ADDRESS>
Verify that the
swift.yml
file is in the/etc/openstack_deploy/conf.d/
folder.
Allow Identity users to use Object Storage¶
Users with the _member_
role are authorized Identity (keystone)
users. You can allow these users to create containers and upload
objects to Object Storage by opening the
user_osa_variables_overrides.yml
file for editing and setting
swift_allow_all_users
to True
.
Note
If this value is False
, then by default, only users with the
admin
or swiftoperator
role are allowed to create containers or
manage projects.
When the back-end type for the Image service (glance) is set to
swift
, the Image service can access the Object Storage cluster
regardless of whether this value is True
or False
.


LOGROTATE
Section: System Administrator's Manual (8)Updated: Wed Nov 5 2002
Index Return to Main Contents
NAME
logrotate - rotates, compresses, and mails system logsSYNOPSIS
logrotate [-dv] [-f|--force] [-s|--state file] config_file ..DESCRIPTION
logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large. Normally, logrotate is run as a daily cron job. It will not modify a log multiple times in one day unless the criterion for that log is based on the log's size and logrotate is being run multiple times each day, or unless the -f or --force option is used. Any number of config files may be given on the command line. Later config files may override the options given in earlier files, so the order in which the logrotate config files are listed is important. Normally, a single config file which includes any other config files which are needed should be used. See below for more information on how to use the include directive to accomplish this. If a directory is given on the command line, every file in that directory is used as a config file. If no command line arguments are given, logrotate will print version and copyright information, along with a short usage summary. If any errors occur while rotating logs, logrotate will exit with non-zero status.OPTIONS
- -d, --debug
-
Turns on debug mode and implies -v. In debug mode, no changes will
be made to the logs or to the logrotate state file.
- -f, --force
-
Tells logrotate to force the rotation, even if it doesn't think
this is necessary. Sometimes this is useful after adding new entries to
a logrotate config file, or if old log files have been removed
by hand, as the new files will be created, and logging will continue
correctly.
- -m, --mail <command>
-
Tells logrotate which command to use when mailing logs. This
command should accept two arguments: 1) the subject of the message, and
2) the recipient. The command must then read a message on standard input
and mail it to the recipient. The default mail command is /bin/mail
-s.
- -s, --state <statefile>
-
Tells logrotate to use an alternate state file. This is useful
if logrotate is being run as a different user for various sets of
log files. The default state file is /var/lib/logrotate.status.
- --usage
-
Prints a short usage message.
- --?, --help
-
-Prints help message.
- -v, --verbose
-
Turns on verbose mode.
CONFIGURATION FILE
logrotate reads everything about the log files it should be handling from the series of configuration files specified on the command line. Each configuration file can set global options (local definitions override global ones, and later definitions override earlier ones) and specify logfiles to rotate. A simple configuration file looks like this:
# sample logrotate configuration file compress /var/log/messages { rotate 5 weekly postrotate /usr/bin/killall -HUP syslogd endscript } "/var/log/httpd/access.log" /var/log/httpd/error.log { rotate 5 mail<EMAIL_ADDRESS>size 100k sharedscripts postrotate /usr/bin/killall -HUP httpd endscript } /var/log/news/* { monthly rotate 2 olddir /var/log/news/old missingok postrotate kill -HUP `cat /var/run/inn.pid` endscript nocompress }
The first few lines set global options; in the example, logs are compressed after they are rotated. Note that comments may appear anywhere in the config file as long as the first non-whitespace character on the line is a #.
The next section of the config files defined how to handle the log file /var/log/messages. The log will go through five weekly rotations before being removed. After the log file has been rotated (but before the old version of the log has been compressed), the command /sbin/killall -HUP syslogd will be executed.
The next section defines the parameters for both /var/log/httpd/access.log and /var/log/httpd/error.log. They are rotated whenever it grows over 100k in size, and the old logs files are mailed (uncompressed) to<EMAIL_ADDRESS>after going through 5 rotations, rather than being removed. The sharedscripts means that the postrotate script will only be run once (after the old logs have been compressed), not once for each log which is rotated. Note that the double quotes around the first filename at the beginning of this section allows logrotate to rotate logs with spaces in the name. Normal shell quoting rules apply, with ', ", and \ characters supported.
The last section defines the parameters for all of the files in /var/log/news. Each file is rotated on a monthly basis. This is considered a single rotation directive and if errors occur for more than one file, the log files are not compressed.
Please use wildcards with caution. If you specify *, logrotate will rotate all files, including previously rotated ones. A way around this is to use the olddir directive or a more exact wildcard (such as *.log).
Here is more information on the directives which may be included in a logrotate configuration file:
- compress
-
Old versions of log files are compressed with gzip(1) by default. See also
nocompress.
- compresscmd
-
Specifies which command to use to compress log files. The default is
gzip. See also compress.
- uncompresscmd
-
Specifies which command to use to uncompress log files. The default is
gunzip.
- compressext
-
Specifies which extension to use on compressed logfiles, if compression
is enabled. The default follows that of the configured compression
command.
- compressoptions
-
Command line options may be passed to the compression program, if one is
in use. The default, for gzip(1), is "-9" (maximum compression).
- copy
-
Make a copy of the log file, but don't change the original at all.
This option can be used, for instance, to make a snapshot of the current
log file, or when some other utility needs to truncate or parse the file.
When this option is used, the create option will have no effect,
as the old log file stays in place.
- copytruncate
-
Truncate the original log file in place after creating a copy,
instead of moving the old log file and optionally creating a new one.
It can be used when some program cannot be told to close its logfile
and thus might continue writing (appending) to the previous log file forever.
Note that there is a very small time slice between copying the file and
truncating it, so some logging data might be lost.
When this option is used, the create option will have no effect,
as the old log file stays in place.
- create mode owner group
-
Immediately after rotation (before the postrotate script is run)
the log file is created (with the same name as the log file just rotated).
mode specifies the mode for the log file in octal (the same
as chmod(2)), owner specifies the user name who will own the
log file, and group specifies the group the log file will belong
to. Any of the log file attributes may be omitted, in which case those
attributes for the new file will use the same values as the original log
file for the omitted attributes. This option can be disabled using the
nocreate option.
- daily
-
Log files are rotated every day.
- dateext
-
Archive old versions of log files adding a daily extension like YYYYMMDD
instead of simply adding a number. The extension may be configured using
the dateformat option.
- dateformat format_string
-
Specify the extension for dateext using the notation similar to
strftime(3) function. Only %Y %m %d and %s specifiers are allowed.
The default value is -%Y%m%d. Note that also the character separating log
name from the extension is part of the dateformat string. The system clock
must be set past Sep 9th 2001 for %s to work correctly.
Note that the datestamps generated by this format must be lexically sortable
(i.e., first the year, then the month then the day. e.g., 2001/12/01 is ok,
but 01/12/2001 is not, since 01/11/2002 would sort lower while it is later).
This is because when using the rotate option, logrotate sorts all
rotated filenames to find out which logfiles are older and should be removed.
- delaycompress
-
Postpone compression of the previous log file to the next rotation cycle.
This only has effect when used in combination with compress.
It can be used when some program cannot be told to close its logfile
and thus might continue writing to the previous log file for some time.
- extension ext
-
Log files with ext extension can keep it after the rotation.
If compression is used, the compression extension (normally .gz)
appears after ext. For example you have a logfile named mylog.foo
and want to rotate it to mylog.1.foo.gz instead of mylog.foo.1.gz.
- ifempty
-
Rotate the log file even if it is empty, overriding the notifempty
option (ifempty is the default).
- include file_or_directory
-
Reads the file given as an argument as if it was included inline
where the include directive appears. If a directory is given,
most of the files in that directory are read in alphabetic order
before processing of the including file continues. The only files
which are ignored are files which are not regular files (such as
directories and named pipes) and files whose names end with one of
the taboo extensions, as specified by the tabooext directive.
The include directive may not appear inside a log file
definition.
- mail address
-
When a log is rotated out-of-existence, it is mailed to address. If
no mail should be generated by a particular log, the nomail directive
may be used.
- mailfirst
-
When using the mail command, mail the just-rotated file,
instead of the about-to-expire file.
- maillast
-
When using the mail command, mail the about-to-expire file,
instead of the just-rotated file (this is the default).
- maxage count
-
Remove rotated logs older than <count> days. The age is only checked
if the logfile is to be rotated. The files are mailed to the
configured address if maillast and mail are configured.
- minsize size
-
Log files are rotated when they grow bigger than size bytes, but not
before the additionally specified time interval (daily, weekly,
monthly, or yearly). The related size option is similar
except that it is mutually exclusive with the time interval options, and it
causes log files to be rotated without regard for the last rotation time.
When minsize is used, both the size and timestamp of a log file are
considered.
- missingok
-
If the log file is missing, go on to the next one without issuing an error
message. See also nomissingok.
- monthly
-
Log files are rotated the first time logrotate is run in a month
(this is normally on the first day of the month).
- nocompress
-
Old versions of log files are not compressed. See also compress.
- nocopy
-
Do not copy the original log file and leave it in place.
(this overrides the copy option).
- nocopytruncate
-
Do not truncate the original log file in place after creating a copy
(this overrides the copytruncate option).
- nocreate
-
New log files are not created (this overrides the create option).
- nodelaycompress
-
Do not postpone compression of the previous log file to the next rotation cycle
(this overrides the delaycompress option).
- nodateext
-
Do not archive old versions of log files with date extension
(this overrides the dateext option).
- nomail
-
Don't mail old log files to any address.
- nomissingok
-
If a log file does not exist, issue an error. This is the default.
- noolddir
-
Logs are rotated in the same directory the log normally resides in (this
overrides the olddir option).
- nosharedscripts
-
Run prerotate and postrotate scripts for every log file which
is rotated (this is the default, and overrides the sharedscripts
option). The absolute path to the log file is passed as first argument
to the script. If the scripts exit with error, the remaining actions will
not be executed for the affected log only.
- noshred
-
Do not use shred when deleting old log files. See also shred.
- notifempty
-
Do not rotate the log if it is empty (this overrides the ifempty option).
- olddir directory
-
Logs are moved into directory for rotation. The directory
must be on the same physical device as the log file being rotated,
and is assumed to be relative to the directory holding the log file
unless an absolute path name is specified. When this option is used all
old versions of the log end up in directory. This option may be
overridden by the noolddir option.
- postrotate/endscript
-
The lines between postrotate and endscript (both of which
must appear on lines by themselves) are executed (using /bin/sh)
after the log file is rotated. These directives may only appear inside
a log file definition. Normally, the absolute path to the log file is
passed as first argument to the script. If sharedscripts is specified,
whole pattern is passed to the script.
See also prerotate. See sharedscripts and nosharedscripts
for error handling.
- prerotate/endscript
-
The lines between prerotate and endscript (both of which
must appear on lines by themselves) are executed (using /bin/sh) before
the log file is rotated and only if the log will actually be rotated. These
directives may only appear inside a log file definition. Normally,
the absolute path to the log file is passed as first argument to the script.
If sharedscripts is specified, whole pattern is passed to the script.
See also postrotate.
See sharedscripts and nosharedscripts for error handling.
- firstaction/endscript
-
The lines between firstaction and endscript (both of which
must appear on lines by themselves) are executed (using /bin/sh) once
before all log files that match the wildcarded pattern are rotated, before
prerotate script is run and only if at least one log will actually be rotated.
These directives may only appear inside a log file definition. Whole pattern is
passed to the script as first argument. If the script exits with error,
no further processing is done. See also lastaction.
- lastaction/endscript
-
The lines between lastaction and endscript (both of which
must appear on lines by themselves) are executed (using /bin/sh) once
after all log files that match the wildcarded pattern are rotated, after
postrotate script is run and only if at least one log is rotated. These
directives may only appear inside a log file definition. Whole pattern is
passed to the script as first argument. If the script exits
with error, just an error message is shown (as this is the last
action). See also firstaction.
- rotate count
-
Log files are rotated count times before being removed or mailed to the
address specified in a mail directive. If count is 0, old versions
are removed rather than rotated.
- size size
-
Log files are rotated only if they grow bigger then size bytes. If
size is followed by k, the size is assumed to be in kilobytes.
If the M is used, the size is in megabytes, and if G is used, the
size is in gigabytes. So size 100, size 100k, size 100M and
size 100Gare all valid.
- sharedscripts
-
Normally, prerotate and postrotate scripts are run for each
log which is rotated and the absolute path to the log file is passed as first
argument to the script. That means a single script may be run multiple
times for log file entries which match multiple files (such as the
/var/log/news/* example). If sharedscripts is specified, the scripts
are only run once, no matter how many logs match the wildcarded pattern,
and whole pattern is passed to them.
However, if none of the logs in the pattern require rotating, the scripts
will not be run at all. If the scripts exit with error, the remaining
actions will not be executed for any logs. This option overrides the
nosharedscripts option and implies create option.
- shred
-
Delete log files using shred -u instead of unlink(). This should
ensure that logs are not readable after their scheduled deletion; this is
off by default. See also noshred.
- shredcycles count
-
Asks GNU shred(1) to overwite log files count times before
deletion. Without this option, shred's default will be used.
- start count
-
This is the number to use as the base for rotation. For example, if
you specify 0, the logs will be created with a .0 extension as they are
rotated from the original log files. If you specify 9, log files will
be created with a .9, skipping 0-8. Files will still be rotated the
number of times specified with the count directive.
- tabooext [+] list
-
The current taboo extension list is changed (see the include directive
for information on the taboo extensions). If a + precedes the list of
extensions, the current taboo extension list is augmented, otherwise it
is replaced. At startup, the taboo extension list
contains .rpmorig, .rpmsave, ,v, .swp, .rpmnew, ~, .cfsaved and .rhn-cfg-tmp-*.
- weekly
-
Log files are rotated if the current weekday is less than the weekday
of the last rotation or if more than a week has passed since the last
rotation. This is normally the same as rotating logs on the first day
of the week, but it works better if logrotate is not run every
night.
- yearly
-
Log files are rotated if the current year is not the same as the last rotation.
FILES
- /var/lib/logrotate.status
- Default state file.
- /etc/logrotate.conf
-
Configuration options.
SEE ALSO
gzip(1)<http://fedorahosted.org/logrotate/>
AUTHORS
Erik Troan, Preston Brown, Jan Kaluza<EMAIL_ADDRESS>Index
This document was created by man2html, using the manual pages.
Time: 05:34:27 GMT, December 24, 2015


--- ---
Have you noticed that when you close the window of a tray application it often doesn't actually close the application but simply hides the window and leaves the application running in the tray: it effectively minimizes the application to the tray. There's usually no visual clue that this has happened as there would be if you minimized a normal application.
We can change this behaviour by using the DrawAnimatedRects Windows API function. (See Tip #46 for an explanation of this function.)
Here is a little static class that your tray applications can use to animate the window caption, zooming to the tray when the window closes and zooming from the tray when it opens.
unit UTrayZoom; interface uses Windows; type TTrayZoom = class(TObject) private class function GetTrayRect: TRect; class procedure DoZoom(const Wnd: HWND; const Src, Dest: TRect); public class procedure ZoomToTray(const Wnd: HWND); class procedure ZoomFromTray(const Wnd: HWND); end; implementation class procedure TTrayZoom.DoZoom(const Wnd: HWND; const Src, Dest: TRect); begin DrawAnimatedRects(Wnd, IDANI_CAPTION, Src, Dest); end; class function TTrayZoom.GetTrayRect: TRect; var TaskbarWnd, TrayWnd: HWND; begin TaskbarWnd := FindWindow('Shell_TrayWnd', nil); TrayWnd := FindWindowEx(TaskbarWnd, 0, 'TrayNotifyWnd', nil); GetWindowRect(TrayWnd, Result); end; class procedure TTrayZoom.ZoomFromTray(const Wnd: HWND); var WndRect: TRect; begin GetWindowRect(Wnd, WndRect); DoZoom(Wnd, GetTrayRect, WndRect); end; class procedure TTrayZoom.ZoomToTray(const Wnd: HWND); var WndRect: TRect; begin GetWindowRect(Wnd, WndRect); DoZoom(Wnd, WndRect, GetTrayRect); end; end.
Inspired by code from the Delphi3000.com article #1862 by Gian Luca Pepe
The DoZoom method simply wraps the call to DrawAnimatedRects. GetTrayRect gets the bounding rectangle of the tray area of the task bar. (See Tip #47 for details of how to find the tray window handle.) The two public methods ZoomToTray and ZoomFromTray zoom the specified window to and from the tray respectively. The Wnd parameter to these methods should be the window handle of the form that you are zooming to and from the tray.
When your tray application is opening from the tray call TTrayZoom.ZoomFromTray. You may possibly do this in a menu item's OnClick event handler. When your application is closing to the tray call TTrayZoom.ZoomToTray. This may be done in the form's OnClose or OnCloseQuery event handlers. Exactly where and when you call TTrayZoom's methods will vary from application to application.


Contents
Resource 1: Chemical Inventory: Identifying Chemicals in Products and Processes¶
Goal¶
To identify the chemicals used to produce and manufacture a product, including those chemicals that remain in the product when used and any chemicals that are produced after use a./or during waste management treatment.
Introduction¶
To complete a chemical inventory, you’ll have to learn which chemical substances are present in the final product, which are used to make the product, and what breakdown chemical substances are likely. A chemical inventory considers the chemicals used to manufacture a product because they may remain in the product and workers and potentially the local community are exposed to those chemicals. It is also important to think about what the chemical may become when it is released to the environment. Many chemicals degrade into other chemicals or ultimately break down to CO2 and water over time.
Ideally, it would be possible to know all of the reagents, catalysts, auxiliaries, products, by-products, residuals and emissions at each life cycle stage. However, gathering this information is not always a simple task. The more you know about what is in the material, the better you can identify areas for improvement.
Keep in mind that even small amounts of toxic chemical ingredient additives can greatly impact the sustainability attributes of a product. Additives to plastics and residual chemicals from manufacturing can:
Affect recycling, incineration and value-recovery options
Be hazardous to workers or the environment
Leak into the environment after disposal
Affect the quality of recycled materials and how they can be used in future products
What are the life cycle stages you plan to evaluate?¶
At a minimum, you will want to know the chemicals that are present in the chemicals, materials or products at the life cycle stage that you control and in the product that you are making to sell to customers. This would include the base material along with known additives. It should also include residuals and impurities above a desired threshold.
What chemical types do you plan to evaluate?¶
For some products, you may want to focus on certain substance types or functional uses. For example, while there may be many residual substances in a laptop casing, the presence of flame retardants may have sustainability implications. Likewise, there may be concerns about the type of preservative used in a surfactant.
What concentration thresholds will you use?¶
Commonly used strategies include identifying all chemicals that are intentionally added to the formulations, material or product at any concentration or produced regardless of the concentration. Others will set a reporting threshold such as 0.01% (100 ppm) or 0.1% (1000 ppm) for reporting both intentionally added and residual substances. Others may inventory chemicals at different thresholds depending on the likelihood of concern. For example, safety data sheets require reporting of carcinogens at 10x lower concentrations (0.1%) than other chemical hazards (1%).
Using a chemical inventory template, identify all of the chemicals used at each life cycle stage that you evaluate. Identify the concentrations thresholds or other rules used to decide which chemicals to include in your inventory.
What chemicals are likely to be present in the product based on what you know about production and manufacturing of the product? Identify any concentration thresholds or other rules used to decide which residuals or impurities to include in your inventory.
Which of the above resources have you used to identify chemicals in your product or chemicals that may formed when the product is used or no longer needed?
Example¶
Chart template for creating a chemical inventory and mapping chemical use to life cycle stage.
Tools¶
Some organizations offer tools for assisting with building, storing, and using your chemical inventory. These are typically focused on the constituents of the product (use phase inventory) and do not necessarily have space by default for inventorying process and byproduct chemicals. Both of these tools will automate list screening hazard assessments, as well. - Pharos Chemical and Material Library - toxnot.com


# Moberating 101 ### Turning Engineers in to a super computer Josh Beauregard E Business DevOps Transformation Principal Consultant, Infosys Note: Welcome to the moberator training, as mentioned to some you are guinea pigs in this training and the first to receive it. Please if you have a question or suggestion write it on a post it so we can talk about it in the end of each section. # Topics - Katas - Pain Management - What is a Moberator - Planning a mob ## What is a # Moberator: The facilitator of the mob. Responsible for facilitating an environment where brilliance can happen. Note: Organizes location and topics. Looks out for the welfare of the participants, keeps time. Required for beginning the mobbing process but good to have all the time. This can be a rotating hat. ## SetUp the Room A mobbing environment needs: - A screen all participants can see. - A shared development environment. - Protect from distraction Note: All participants need to be able to see and type. some people like to sit, some people like to stand. Chairs and standing area should be provided. An Isolated are is good so that the group can get rowdy. ## Dynamic Role Assignment As needed - Would you feel comfortable with ____? - Can we re order? Note: Depending on how the group has started one may need to ask for people to do different things through out the a session. A Researcher may need to be created. An product owner may need to be assumed to make sure the work stays in scope. Ask CLICK. ## What is a # Kata? A set combination of positions and movements performed as an exercise
https://www.merriam-webster.com/dictionary/kata
Note: Athletes at every level warm up with the same practice drills. Running or passing. Getting warmed up. In mobbing we have have made this a to mean small practices that we do on a regular basis to make us smaller. ## Koans Katas - Questions - Mini Retros - Switching for what seels like no reason. Note: When doing koans we have a regular practice of asking questions. Switching randomly or doing mini retros, all to maintain learning. Any person in their second Koans knows that the test is going to provide teh answer. But we need to know why that answer is. Switching takes time, the more you switch the faster it gets and the less monet it costs. Retros let the group control how they learn. ## Koans Example Kata ### Stop and Ask. - What did the code just do? - What was new? - What was hard? - What did we learn about the language? - What did we learn about working as a group? ## Mobbing Kata - Mini and End of session retros - Questions - Swapping from (standing|sitting) Note: This is a little different from the Koans, the goal is to get things done. Our Katas are going to be more focused on keeping the group productive than creating a learning environment. ## Mobbing Kata Questions - Are we in scope? - Do we need to add remove a _researcher_? - Does anyone have any questions about what we have done? - Any experiments for the next few rounds? Note: Any Questions about Katas? # Looking for Pain Note: As a moberator we are always making sure things are moving forward. But the development is not the only thing that will be accelerated. ## Is someone marginalized? Note: We must always be on the look out for that look of pain on someones face. Are they confused? are they feeling stupid? Are the being talked over? How do we redirect the group? to end this? # On Ignorance > It is okay to not know something.  This just means that you dont know something. We can fix ignorance with education. ## Is the group hurting itself? Note: We do continuos experiments. Early on a group will say "can we get rid of the single _navigator_?" It may be a bad idea but the group has to learn that. Let them go the wrong direction, but prompt for self direction. ## Remind people of the Cadence ## Intent → Technical → Dictation # Planning a mob It is your job to sort out the: - Room - scope - Programming environment Note: this means finding a space in advance and setting it up right. # Experiment! ## Postits - keep a record of what people have learned, in real time. ## Order Switching - Order By Height - By Name Alpha - Pair people you want to see work together Note: Switch up the order. It can be really helpful to pair sr and jr people together. # Additional Resources ## Fork My Koans slides (Including these) https://github.com/sanguis/koans-deck Note: I am expecting your Pull Requests! ## Twitter #mobprogramming Note: My final thoughts are... ## Websites - mobprogramming.com - approvaltests.com - Leanpub (search for Mob programming)


A good package to install when working on a Node application is Nodemon. Nodemon is a utility that will monitor for any changes in your code and automatically restart your server. It is perfect for development. We can install it with the following command on the terminal:
npm install nodemon
Now we just have to change the way we run our app.js file, we use nodemon app.js
instead of node app.js
.
Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js. We can install it with the following command on the terminal:
npm install express
To start working with Express we will need the following lines of code:
const express = require("express");// We get express from node_modules and save it in a constant
const app = express();// We instantiate express
app.use(express.json());// Middleware that parses json
app.listen(8080, err =>{// We set the port express listens at
if (err)
console.log(err);
else
console.log("Server running on port", 8080);
});
In the above code we use app.use(express.json());
to make use of the json
middleware of bodyparser. Middleware are those methods/functions/operations that are called between processing
the Request and sending the Response in our application method. We don't need express.json() for GET Requests or DELETE Requests,
but for POST and PUT requests, because in both these requests you are sending data (in the form of some data object) to the server
and we are asking the server to accept or store that data (object), which is enclosed in the body (i.e. req.body) of that (POST or PUT) Request.
express.json()
is a method inbuilt in express to recognize the incoming Request Object as a JSON Object. This method is called as a
middleware in your application using the code: app.use(express.json());
So far in the course we have not worked with MongoDB, we have only used hard-coded data. Take a look at this test data for example:
//Test data
const data = {
"courses":[{"id":1, "name":"Java", "teacher":"John"},
{"id":2, "name":"JavaScript", "teacher":"Mike"},
{"id":3, "name":"C#", "teacher":"Anna"}]
}
We will now work with some HTTP requests.
To get all courses we would need to write code such as this:
//GET method to get all courses
app.get('/courses', (req, res)=>{
res.send(data.courses);
console.log("All courses retrieved!");
});
Notice how we use the routes or endpoints we designed in the previous section. In the get method we provide the endpoint and a callback function in the form of an arrow function that takes 2 parameters request and response and sends our data in the response.
To get a specific course, we would need to use the id:
//GET method to get courses by id
app.get('/courses/:id', (req, res)=>{
res.send({"course": `${data.courses[req.params.id-1].name} with ${data.courses[req.params.id-1].teacher}`});
console.log(`The course with id=${req.params.id} has been retrieved!`);
});
To save a new course in our "database" we would need to use the POST HTTP method.
//POST method to create a course and set an id
app.post('/courses/:id', (req, res)=>{
res.send(
{
"id": req.params.id,
"name": "Angular",
"teacher": "Claus"
});
console.log(`A new course (${req.params.name}) has been saved!`);
});
To replace a course in our "database" we would use the PUT method.
app.put('/courses/:id', (req, res)=>{ res.send( { "id": req.params.id, "name": "Angular 5", "teacher": "Claus" }); console.log("Course name updated"); });
To delete a course in our "database" we would use the DELETE method and we only need to send the id.
//DELETE method to delete a course by id
app.delete('/courses/:id', (req, res)=>{
res.send({"id": req.params.id});
console.log(`Course with id ${req.params.id} has been deleted!`);
});
This website was made with ExpressJS as well. The GET method is used to serve the html pages:
app.get('/getting-started', (req, res)=>{ res.sendFile(__dirname + "/public/getting-started.html"); });
__dirname
is an environment variable that tells you the absolute path of the directory containing the currently executing file. And we use the .sendFile()
function of Express this time around.


| |
Notes
on Groups and Geometry,
1978-1986
by Steven
H. Cullinane
Typewritten notes collected in a 40-page PDF document.
PDF: 3.5 MB (June 1, 2012) DjVu: 1.3 MB (June 14,
2012)
CONTENTS
01 1978-??-?? "An invariance of
symmetry" Research announcement.
02 1978-10-?? "Symmetry invariance in a diamond
ring," AMS abstract
received Oct. 31, 1978.
03 1978-12-?? "Orthogonality of Latin squares
viewed as as skewness of lines"
04 1981-11-05 "Patterns invariant, modulo rigid
motions, under groups of
discontinuous transformations: two
examples"
05 1981-12-24 "Solid symmetry"-- "Motions of each
cell induce
motions of the entire pattern."
06 1982-05-12 "Map systems" Definition.
07 1982-06-12 "Inscapes" Definition.
08 1982-09-12 "A symplectic array"
09 1982-09-22 "Inscapes II" Generalized definition.
10 1982-12-27 "Group scores" Definition.
11 1983-05-31 "Decompositions of group enveloping
algebras"
12 1983-06-21 "An invariance of symmetry" Group
actions on a 4x4x4 cube.
13 1983-08-04 "Group identity algebras" Definition.
14 1982-08-26 "Transformations over a bridge"
Definition and problem.
15 1983-10-01 "Portrait of O" Action of the
octahedral group.
16 1983-10-16 "Study of O" Group actions
on two-color cubes.
17 1983-11-08 "Compound groups" Definition and
problem.
18 1983-11-10 "Group compounds"
Definition and problem.
19 1983-11-27 "Table groups" Definition and problem.
20 1984-01-05 "Linear operators in geometric
function spaces"
Definition, theorem, problem.
21 1984-09-15 "Diamonds and whirls" Blocks
illustrate group actions.
22 1984-09-25 "Affine groups on small binary
spaces" Theorem.
23 1985-03-26 "Visualizing GL(2,p)" Example on a
3x3 array.
24 1985-04-05 "GL(2,3) actions on a cube"
25 1985-04-05 "Group actions on partitions"
Definition and problem.
26 1985-04-28 "Generating the octad generator"
27 1985-08-22 "Symmetry invariance under M12"
Theorem.
28 1985-11-17 "A group bridge" Definition and
problem.
29 1985-12-11 "Dynamic and algebraic compatibility
of groups" Problems.
30 1986-01-11 "Geometry of partitions II" A foray
into analysis.
31 1986-02-04 "Inscapes III: PG(2,4) from PG(3,2)"
32 1986-02-20 "The relativity problem in finite
geometry"
33 1986-03-31 "Group topologies" Definition and
problems.
34 1986-04-26 "Picturing the smallest projective
3-space"
35 1986-05-08 "A linear complex related to M24"
36 1986-05-26 "The 2-subsets of a 6-set are the
points of a
PG(3,2)"
37 1986-06-26 "21 projective partitions" A 6-set
model of PG(2,4).
38 1986-06-11 "An outer automorphism of S6
related
to M24"
39 1986-07-03 "Picturing outer automorphisms of S6"
40 1986-07-11 "Inscapes IV: Inner and outer group
actions"
This page:
http://finitegeometry.org/sc/gen/typednotes.html
|
|


| Opcode*/Instruction | Op/En | 64/32 bit Mode Support | CPUID Feature Flag | Description |
| 0F EF /r1 PXOR mm, mm/m64 | RM | V/V | MMX | Bitwise XOR of mm/m64 and mm. |
| 66 0F EF /r PXOR xmm1, xmm2/m128 | RM | V/V | SSE2 | Bitwise XOR of xmm2/m128 and xmm1. |
| VEX.NDS.128.66.0F.WIG EF /r VPXOR xmm1, xmm2, xmm3/m128 | RVM | V/V | AVX | Bitwise XOR of xmm3/m128 and xmm2. |
| VEX.NDS.256.66.0F.WIG EF /r VPXOR ymm1, ymm2, ymm3/m256 | RVM | V/V | AVX2 | Bitwise XOR of ymm3/m256 and ymm2. |
Notes: 1. See note in Section 2.4, “Instruction Exception Specification” in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 2A and Section 22.25.3, “Exception Conditions of Legacy SIMD Instructions Operating on MMX Registers” in the Intel® 64 and IA-32 Architectures Software Developer’s Manual, Volume 3A.
| Op/En | Operand 1 | Operand 2 | Operand 3 | Operand 4 |
| RM | ModRM:reg (r, w) | ModRM:r/m (r) | NA | NA |
| RVM | ModRM:reg (w) | VEX.vvvv (r) | ModRM:r/m (r) | NA |
Performs a bitwise logical exclusive-OR (XOR) operation on the source operand (second operand) and the destination operand (first operand) and stores the result in the destination operand. Each bit of the result is 1 if the corresponding bits of the two operands are different; each bit is 0 if the corresponding bits of the operands are the same.
In 64-bit mode, using a REX prefix in the form of REX.R permits this instruction to access additional registers (XMM8-XMM15).
Legacy SSE instructions: The source operand can be an MMX technology register or a 64-bit memory location. The destination operand is an MMX technology register. 128-bit Legacy SSE version: The second source operand is an XMM register or a 128-bit memory location. The first source operand and destination operands are XMM registers. Bits (VLMAX-1:128) of the corresponding YMM destination register remain unchanged. VEX.128 encoded version: The second source operand is an XMM register or a 128-bit memory location. The first source operand and destination operands are XMM registers. Bits (VLMAX-1:128) of the destination YMM register are zeroed. VEX.256 encoded version: The second source operand is an YMM register or a 256-bit memory location. The first source operand and destination operands are YMM registers.
Note: VEX.L must be 0, otherwise instructions will #UD.
PXOR (128-bit Legacy SSE version) DEST ← DEST XOR SRC DEST[VLMAX-1:128] (Unmodified) VPXOR (VEX.128 encoded version) DEST ← SRC1 XOR SRC2 DEST[VLMAX-1:128] ← 0 VPXOR (VEX.256 encoded version) DEST ← SRC1 XOR SRC2
| PXOR: | __m64 _mm_xor_si64 (__m64 m1, __m64 m2) |
| (V)PXOR: | __m128i _mm_xor_si128 ( __m128i a, __m128i b) |
| VPXOR: | __m256i _mm256_xor_si256 ( __m256i a, __m256i b) |
None.
None.
See Exceptions Type 4; additionally
| #UD | If VEX.L = 1. |


| AndroiDJ Information | Real-World Metaphor | Ideas About AndroiDJ Information Design |
| Mash-up Creation | Mixing Colors | Two play buttons, ability to play at same time |
| Music Cloud | Googling | Button bringing up a search bar for streaming a song from a database |
| Change the Volume | A volume fader | Vertical slider that increases/decreases volume |
| Change the Pitch/Frequency | A musical scale | Button that brings up a horizontal slider that increases/decreases frequency |
| Song Information | ID3 tag display (iTunes) | Display screen showing Song title, Artist, Album, Genre, and BPM (beats/min) |
| Automation | The Staples "Easy" Button | A touch screen button that perfects the song for nice-sounding music |
| Sound Effects | A soundboard | An Android "drawer" interface that allows user to play with the sound using buttons and sliders |
| Equalizer | Bass/Mids/Treble controls on a car | Button thats opens a new display screen with the waveform of the song. User can change the way the song plays |
| Pan Control | The pan control in a car | Slider to change the left and right speaker volumes |
| Smart Library | iTunes catagorization on Song/Genre/Artist/Album | Display screen with 4 options that will sort by artist, song, album, and genre |
| Song Queuing | iTunes playlist | Display screen listing each song in the queue |
Using the activities we came up with in our Activity Design process, we now started to think about how they would look on our software interface. We have incorporated some standard ideas, like the volume sliders and the play buttons. And we have incorporated some new features including a Music Cloud, buttons that allows changes to the frequency of the song, and display interfaces to change and play with the music.
In our information design brainstorming, we thought about how each feature would look on the screen. The buttons are going to be standard touch screen buttons that are big enough for the user to use. The sliders are going to be standard as well, and the user will use his/her finger to slide up and down or left and right.
The automation and equalizer features will be in a seperate Android "drawer." A new display screen will come up with the waveform of the song and the ability to draw on this waveform to change how the music sounds.
The smart library and the playlist features will be a seperate display screen. The library will have four different options; song, artist, album, and genre that the user can sort through by touching. The playlist feature will allow the user to queue up as many songs as he/she wants.
Overall, these features will fit nicely in our application. The sliders and buttons will be placed intelligently throughout the program. It will be easily navigated by any DJ.
After talking to our clients in our activtiy design phase, they were very eager to see the features we decided to implement. They wer excited to see the Music Cloud as well as all of the activities that would give the DJ the ability to change the sound (mash-ups, automation, equalizing, etc.)
We then met with our main client again after doing the information design process. He loved the way we decided to set up our Android application. The most intriguing idea that he seemed to really like was the equilizer. He loved that he could have the waveform of the song and be able to draw on top of it, playing only the part he drew on.
The second idea that our client liked was the volume and pitch sliders. But with our sketches, he did not like the fact that he could change both the volume and the frequency at the same time. Sometimes, this creates a cool effect. So we went back to our sketches and decided to move the pitch slider so that it overlaps some of the other buttons, giveing the DJ the ability to change both sliders.
Our client really enjoyed seeing our designs and gave us some excellent input. We took his advice, tweeked some of our ideas to match his, and put together a solid foundation for our interface.


Sign Up
Sign Up
-- District --
Kottayam
Pathanamthitta
Kasaragode
-- Select Area--
Pampady
-- Select Area --
Mallapally
I Agree To The Terms & Conditions
Already have an Account?
Login Now!


Format: /chatcommands {reference number}
Format: /chatcommands {chat name}
ChatCommands is a toggle that enables or disables the ability for
a chat
connection to send you commands. You can see if a connection has
command
sending enabled by looking at /chat. You will see an A flag if the
option
is enabled. Once enabled the other person can send you commands
(actions,
aliases, events, etc...).
Click here to return to previous page.


--- layout: page title: Pricing ---
Your name is displayed on your profile.
Must be 8 characters long
Enter your current password to save these changes.
This feature provides information about your account usage and other related changes. If you see any suspicious activity, change your password immediately.
No security events found.


--- title: novaprova - Support ---
Note: in August 2015 the project moved from Sourceforge, which had previously been hosting bug reports and mailing lists. If you can't find what you're looking for here, it might be there.


"At The Museum of Modern Art and MoMA PS1, we celebrate creativity, openness, tolerance, and generosity. We aim to be inclusive places—both onsite and online—where diverse cultural, artistic, social, and political positions are welcome. We’re committed to sharing the most thought-provoking modern and contemporary art, and hope you will join us in exploring the art, ideas, and issues of our time." Source
In this project, I visualized where MoMA acquired their works. I looked at the years 1965, 1975, 1985, 1995, 2005, 2015, 2016, 2017 and 2018. Since this museum is one of world's leading museum in exhibiting contemporary art, it is important to know where they acquired their works.
Below, you can find the dataset that was used for the creation of this project. Click to view datasource


This website is not optimized for this screen size. Please have at least 992px in screen width.
Try again
M
L1
R1
L2
R2
L3
R3
Pick a spot, and click here to start encounter!
Shoot oracle
Players
Feel free to change this to your name!
Chat
GitHub
About


Orphan Tables
Not all diagrams were created
SchemaSpy was unable to generate diagrams for all orphan tables.
Check application output for details.
SchemaSpy was unable to generate diagrams for all orphan tables.
Check application output for details.