|
The identities of doctors and patients in this article have been replaced with contrived, ridiculous pseudonyms. Sexual Ethics in PsychologyThe American Psychological Association is a scientific and professional organization which serves to uphold the standards and practices of psychology in the United States. In the late 1930s, the APA established an informal ethics committee consisting of experienced, senior psychologists elected or appointed to positions of governance. These individuals were chosen not only for their superior credentials and well-documented case histories, but also for their strict moral compasses, their internal senses of right and wrong, and their own unique interpretations of what constitutes "fair play". Each serves his or her full term without salary, and none are reimbursed for any expenses incurred during the course of an investigation. Unlike a Catholic church outlet quietly shuffling child molesters from parish to parish, the APA ethics committee is not in the business of hiding or protecting rogue, predatorial psychologists. Justice is dispensed swiftly, and in the public eye.   Prematurely terminating therapy with a patient in order to circumvent this code of conduct would indeed be considered a breach of ethics. Furthermore, psychologists cannot accept as patients any persons with whom they've had sexual relationships in the past, and they cannot engage in sexual intimacies with former patients for at least two years after therapy has come to an unequivocal close. Psychologists who engage in such activity after two years have elapsed bear the additional burden of demonstrating that there has been no exploitation or abuse, in light of all relevant factors -- and good luck with that. The question often arises whether, after terminating therapy, the two people are "ethically free" to commence a sexual relationship. Ethics committees have pursued cases known informally as the "you're cured; your place or mine" variety.   He claimed that they all needed sexual activity to function effectively, and then attempted to elucidate vague theoretical justifications regarding why he was the appropriate person to provide these services. Despite claims by his clients that he forced his sexual attention on them and that the experiences were traumatic, the doctor continued to deny wrongdoing or poor professional judgment. The only issue on which he would agree was that his form of therapy "did not work on these four women, but it has worked beautifully on scores of others". When a licensed, board-certified psychologist in the United States behaves inappropriately or demonstrates questionable motives resulting in an official complaint, he or she must navigate an exchange with the ethics committee. The dilemmas faced by this board can be extremely difficult and sensitive -- not only in terms of the registered complaint, but also with respect to clients who are now twice as distressed, twice as fragile, or even more vulnerable than they were before undergoing many years of flawed, faulty psychological care. The word "psychologist" (as defined in the General Guidelines for Providers of Psychological Services published by the APA) can mean only one thing: an individual with a doctoral degree in psychology from an organized, sequential program in a regionally accredited university or professional school. As it turns out, there exists a seemingly infinite number of ways a practicing psychologist can screw it all up for everybody, lose his or her license, and exit the profession in disgrace. The most obvious violations are similar to those you'd find in the Jamba Juice employee handbook. Performing your duties under the influence of alcohol, for instance -- or sneaking bonghits from behind the couch to the extent that your professional duties cannot be carried out. Those alone are grounds for strict fines, penalties, sanctions -- even loss of one's license. In eleven states, much to the chagrin of disgraced therapist Dr. Haywood Jablowme, Ph.D., practicing under a false or assumed name is strictly prohibited. Three states have even begun clamping down on the advertising techniques used to secure and woo new clients, so if your therapist offers you a punch card good for one (1) tube of Dutch boner cream after ten hours of sit-down chitty chat, it could very well be a matter for the ethics committee to look into. Fraud or deception in rendering services, obtaining fees, or accepting rebates for professional referrals are notable conduct violations indeed. "Low-carb lifestyle" psychiatric treatment continues to be wholly fraudulent in all fifty states. Nonetheless, psychologists have been known to willfully, even maliciously engage in acts they know to be in violation of the ethical standards of their profession. Self-serving motives like the need to get laid are common among those guilty of ethical breach. Some psychologists are not even required to be licensed -- such as psychology professors or research psychologists. These individuals often fall through the cracks, avoiding sexual scrutiny altogether, and are subject only to criminal law or the quality control mechanisms of their workplace. The express prohibition against sexual intimacies in the 2500-year-old Hippocratic Oath was not duplicated by the APA until only a few years ago. While psychotherapy literature has acknowledged the "transference" of feelings among clients and therapists, erotic contact has gone unmentioned until relatively recent times. Charges of sexual exploitation against psychotherapists are increasing, no doubt due to media publicity and the forceful denouncement of client-therapist sex from within the profession. A 1931 letter from Sigmund Freud to his student reveals issues that were being raised fifty years ago: "You have not made a secret of the fact that you kiss your patients and let them kiss you... now I am assuredly not one of those who from prudishness or from consideration of bourgeoisie convention would condemn little erotic gratifications of this kind, but that does not alter the fact that with us a kiss signifies a certain erotic intimacy. A number of independent thinkers will say to themselves, why stop with a kiss? Certainly one gets further when one adopts pawing as well, which after all doesn't make a baby. And then bolder ones will come along who will go further -- to peeping and showing -- and soon we shall have accepted in the technique of analysis the whole repertoire of petting parties, resulting in the enormous interest in psychoanalysis among both analysts and patients." However, sexilicious ethical problems can sneak up on you, as demonstrated by the following case studies. These dilemmas may be wholly unforeseen, the result of inexperience among young psychologists or merely the ignorance of specific principles. In small towns, for instance, where you're the sole practitioner of psychology and the only therapist for miles around -- how do you treat the patient who works full-time at the video store where you rent five pornographic videotapes each night? A simple non-sexual case might be a good starting point: CASE 2: Dr. Hugh G. Rection, who had a longstanding and intense dislike for a colleague, complained that the colleague engaged in unprofessional conduct by telling people he had "shit for brains" and had, in all likelihood, a small penis. When the committee asked the colleague about the incident, he countercharged that Dr. Rection had been making horrendous remarks about him for years. In this instance, the committee realized that it could not resolve the ethical issues or the intense interpersonal difficulties between the two doctors, given the limitations of its scope and function. A duplicate letter was sent to both psychologists indicating it was withdrawing from the case, and noting that it was a no-win situation for all concerned. These disputes can be likened to a college student complaining that she got a B when she clearly deserved an A -- the sort of assessment virtually impossible to resolve with committee intervention. Ethical violations of a sexual nature are frequently more vivid: CASE 3: Leela Loosegoose worked as a receptionist and secretary for Dr. Rod Popper, Ph.D. Dr. Popper approached her about acting as a sexual surrogate for some of his male clients. Loosegoose agreed, and allegedly so enjoyed the surrogate work that she began to offer such services on a freelance basis in addition to her work for Dr. Popper's clients. Subsequently, her spouse filed for divorce and sued for custody of their two children, citing her work was similar to that of a prostitute. Loosegoose sought emotional damages from Dr. Popper, later claiming he seduced her. Indeed, the American Association of Sex Educators, Counselors, and Therapists have developed a code of ethics and training guidelines for psychologists practicing in this highly specialized field.  This practice can lead to substantial ethical and legal complications. In some states, a psychologist who refers a client to a sex surrogate may be liable for criminal prosecution under local prostitution statutes -- even charges of rape, if some aspect of the relationship goes wrong, or is brought to the attention of a zealous district attorney. Substantially harmful publicity can initiate deeply troubling shockwaves throughout the psychological industry. Even sexual identity can be called into question: CASE 4: Dr. Dick Pincher, Ph.D. agreed to treat Cecil Q. Prissy, age 5, whose parents were concerned about his effeminate behaviors. Dr. Pincher devised a behavioral approach for implementation at the office and at home involving toy choice, dress-up play, and various other activities of a stereotypical sex-role nature. Dresses were worn, make-up and cosmetics applied, feminine wigs donned, and photographs taken for the child and his parents to discuss later. When reports of Pincher's project were published in a professional journal, a storm of protests ensued. The use of coercive persuasion and "deprogramming" are often on par with hypnosis. In general, it is unethical for a psychotherapist to coerce a client into treatment or to force certain goals or outcomes against the client's wishes. Often these ethical dilemmas revolve around the matter of client's involvement in making choices rather than the technique itself -- and where a child's sexual identity comes into play, most areas are regarded as judicial thin ice. CASE 5: Don Splatter, Ph.D. designed an aversive treatment program to deal with severely retarded residents of a state school who were urinating in the hallways. The program involved a deterrent: a quick spray of ice water administered from a small squirt bottle -- right into the face of a patient caught using a corridor as a bathroom. Some of the resident attendants were inadequately trained in the subtler applications of the technique.  In this instance, clearly the attendant did not discriminate between the intended shock value of the ice water spray and the sexually sadistic, punitive act of holding a person's head in the toilet. Unfortunately, not all psychologists who attempt to employ behavioral techniques are well trained in underlying learning theory. Confusion on the distinction between the concepts of punishment and negative reinforcement is only one example of a common problem often resulting in the need for committee review. Psychologists should show careful concern for ethical problems inherent in the use of aversive stimuli, spray bottles, and toilets. CASE 6: Barbara Streisand sought a consultation from Dixon Cox, Ph.D. shortly after her divorce to discuss her inability to control her rage toward her spouse. Cox, recently divorced himself, did not mention his similar situation to Streisand. As Dr. Cox listened to her vindictive attacks against her ex-husband, he found himself tensing considerably and biting his lip until it began to bleed onto his shirt collar. Minutes later, Mrs. Streisand screamed and fled from the office, later writing to an ethics committee that Dr. Cox was a vampire. In cases where the psychologist is found innocent of ethical misconduct, it is the complainant who misunderstood either the psychologist's conduct or the psychologist's responsibilities in certain difficult situations. At other times, while the psychologist's behavior could hardly be described as exemplary, his behavior might not be judged to be outside the realm of tolerable human expression given the context of the situation. Presently there are six disciplinary levels of misconduct as characterized by the APA, ranging from probationary to expulsion: LEVEL 1A: Educative Advisory. Not clearly unethical behavior, but in poor taste or insufficiently cautious. These offenses fall into gray areas, often dealing with newly emerging issues or problems. LEVEL 1B: Educative Warning. A "cease and desist" notice from an ethics committee might accompany a finding that a mild or minor infraction had occurred. LEVEL IIA: Reprimand. A finding of clearly unethical misconduct, when the psychologist "should have known better," although the consequence of the action or inaction may have been minor. LEVEL IIB: Censure. Deliberate or persistent behavior that could lead to substantial harm to the client or public -- although little harm may have occurred. LEVEL IIIA: Stipulated or Permitted Resignation. Continuing or dramatic misconduct producing genuine hazard to clients, the public, and the profession; questionable motivation to change or demonstrate concern for the behavior in question. LEVEL IIIB: Expulsion (Voided Membership). Individual clients or others with whom the psychologist worked are substantially injured with serious questions about the potential rehabilitation of the psychologist in question.  If an investigation reveals no evidence of wrongdoing, the psychologist and complainant are so informed, and the case is closed. Despite their most vigorous investigatory efforts, ethics committees may not be able to obtain sufficient evidence to render a verdict one way or another. In lieu of credible witnesses or supporting documentation, it all comes down to one person's word against another. |


SetupGroup
Ctrl:Chan :Disp:Numb :N:Type:Lower:Mode:Upper:
Copy "XXXX" to all encoders in group
Complete Privacy: This web application (page) does not track, store or dispatch any data entered here. Visits, appliance or any other interactions with this page are not tracked. If in doubt, feel free to check the source code.


I gotta say that I'm fooling you a little. I do think that we have had enough manifestos for a while. I also like to tease things up a little. Thus I think that "Communist manifesto" is a decent pair of words for explaining something that aims to equalize the workforce and equalize the ownership. All in effort to create better software products and offer better service in world of I(C)T.
WHY
Because it is all about power.
About power and oppression.
It's happening all around us in form of a structural manifestation we nurture in our organizations. We tend it like we tend our babies. We are worried if the metrics show that it is ill. We like to think that it is alive and that it has a direction which can be managed, steered, controlled with practices concerning it and it alone.
We raise bodies, institutions, to cement the existence of such a thing. We wield it as a weapon, we wield it as a source of "yes, but"'s. It is bottomless what comes to makeshift rules. It is twisted. It is a base of
POWER
And base for all the games that follow with pursuit of power. It is something that is sows the seeds of conflict between classes that should not exist in the first place. It's the thing grinding onwards and simultaneously generating more and more friction as it goes. Because it makes you focus on all the wrong things.
There's rooted belief that the labor has limited value, accusation based solely on the fact of how we try to steer the outcome of labor strictly by acting on the thing that embodies it. We oftentimes try to reduce the amount of labor instead of making it meaningful. Simply because when evaluating it we tend not to look at the beauty: we look at the size.
This causes separation of interests. It creates a ruling class which is responsible for it and an oppressed one that keeps getting pushed away from the source we like to name "customer satisfaction" or other noble cause. The possible success is torn from the backs of the proletariat generating the value they are not likely to see, or be part of, ever. Simply because we believe in responsibility and it is greedy for having someone tending on itself. It promises golden apples. It promises glory of taming, or slaying, the beast.
Small surprise we condemn it to be a failure before it is even born. Small surprise that we think by default for it to fail. Small surprise that the proletariat has explored new means.
You should too.
Since we need
Equality
Project is the factory where programmers are oppressed. The ability to make a difference is taken from the people. The same people who are hired in the first place because of their ability to make difference. Project is the conveyor belt moving the fruits away from their reach. Project is the beast that makes people dull, hopeless and poor in using their tool: the brain.
Thus it is time to rise, programmers. Rise.
Programmers of the World, unite!
You have nothing to lose but your gantt charts, project managers and billing rate statistics.
And your cubicles.
If we can get rid of the artificial division of workforce, the division of why and what, and get to work in a way that everyone is responsible for great products and services, we can get the meaning back to our work as programmers.
Yours truly and my beloved friend Antti will be giving a short talk about the subject at Tampere Goes Agile 2013.


Home
About
Sales
Contact
Delicious Salmon Cookies
Yum Yum Best Cookie Ever!
Hours:
All locations -
6am-8pm
Contact:
Tel -<PHONE_NUMBER>
Email -
<EMAIL_ADDRESS>Locations:
1st & Pike
Capitol Hill
SeaTac Airport
Seattle Center
Alki


Basic dashboard to help shot-call Colosseum fights more efficiently, maybe.
Source of Nightmare Images: https://sinoalice.game-db.tw/nightmares
Source of Buff/Debuff Icons: Me
Basically, this tools takes in EXP needed to level up and your AP remaining and calculates an EXP/AP ratio. Then it looks through all the Story chapters to see if there is a chapter with a similar (but less than) ratio. It then repeats this process based on the ratio until it can no longer do that. Finally, it recommends the largest chapter you can possibly do to level up.
Long story short, it's really bad and you should not use this tool.
Source for Chapter EXP Data: Yumedere's SINoALICE Archives


| PostgreSQL 9.6.15 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 21. Database Roles | Next |
PostgreSQL provides a set of default roles which provide access to certain, commonly needed, privileged capabilities and information. Administrators can GRANT these roles to users and/or other roles in their environment, providing those users with access to the specified capabilities and information.
The default roles are described in Table 21-1. Note that the specific permissions for each of the default roles may change in the future as additional capabilities are added. Administrators should monitor the release notes for changes.
Table 21-1. Default Roles
| Role | Allowed Access |
|---|---|
| pg_signal_backend | Send signals to other backends (eg: cancel query, terminate). |
Administrators can grant access to these roles to users using the GRANT command:
GRANT pg_signal_backend TO admin_user;


Change to the al-folio theme
This Jekyll theme is developed by Maruan Al-Shedivat, which is modified from the original template -folio developed by Lia Bogoev. Thanks to those two for this clean, and simplistic design.
code highlighter
Switch from python-based highlighter highlighter
to ruby-based highlighter rouge
.
Install Rouge
gem install kramdown rouge
Make sure that the version of kramdown
is at least 1.5.0.
Use Rouge
In the _config.yml
, change from highlighter: pygments
to highlighter: rouge
,
markdown: kramdown
highlighter: rough
# Markdown Processing
kramdown:
input: GFM
syntax_highlighter: rouge
This tells Jekyll to use kramdown when parsing markdown files and to pass the two settings to kramdown whenever it’s running.
Themes
Rouge is compatible with the Pygments syntax highlighter, which means that we can use stylesheets created for Pygments.
My Jekyll template use the _syntax_highlighting.scss
located in _scss
for highlighting. This file contains the default style sheet for syntax highlighter. If you website don’t have this file, then find out which file is responsible for the syntax highlighting, and then copy the content of syntex.css
into this file. Otherwise, you can do the following:
- Select a Pygments theme, for instance
monokai.css
; - Copy the css file of theme
monokai.css
toblog_root_dir/[assets]/css/
directory; - Open
blog_root_dir/[assets]/css/main.css
and add the selected theme:@import url(monokai.css);
One more step: all the Pygments themes use
.codehilite
as the default class. Thus we need to replace.codehilite
with.highlight
in the theme css file.
There is a project called base16 for color schemes. On the preview website you can see how they look like. The themes as they are packaged cannot be directly consumed by rouge. Fortunately though, there is a git repo with base16 styles for pygments.
truncate post
See the original post.
{% if post.content contains '' %}
{{ post.content | split:'' | first }}
{% else %}
{{ post.excerpt }}
{% endif %}
read more
.DS_Store and .sass-cache dir
Add a .gitignore
file with the following entries
.DS_Store
.sass-cache/
If those have already been staged, then first execute these two commands
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch # remove .DS_Store
git rm -r --cache .sass-cache/ # remove .sass-cache


Number of displaced by floods almost doubles in Terengganu
KUALA TERENGGANU, Nov 29 — The flood situation in Terengganu worsened tonight with the number of victims increased from 875 from 258 families compared to 445 from 142 families this afternoon.
The increase in the number of flood victims is after two more districts were hit by floods — Hulu Terengganu and Dungun — compared to only Setiu and Besut before.
Director of the Terengganu Civil Defence Force, Lieutenant Colonel Che Adam A. Rahman said Besut recorded the highest number of victims with 457 people from 113 families who are now at 10 temporary evacuation centres tonight.
“In Setiu, the number of victims increased to 362 persons from 131 families compared to 161 from 70 families previously. All of them have been placed at six evacuation centres,” he said.
The latest district to be hit by floods was Hulu Terengganu with 48 victims from 12 families placed in three evacuation centres while there is only one centre in Dungun with eight victims from two families.
Che Adam has advised residents living in low-lying and flood-prone areas to abide by the instructions of the authorities, especially to move to the evacuation centres.
“Always be alert to weather changes and follow the latest development in the flood situation from valid information sources,” he said. — Bernama


TABLE OF CONTENT
A. GS1 Related B. GS2 Related POLITY 1. Modi to meet Xi to repair bilateral ties 2. Only PSUs may be let to make Oxytocin INTERNATIONAL RELATIONS 1. $1 mn fund to bolster BRICS media C. GS3 Related ECONOMY 1. Come next weekend, fuel prices will change daily 2. Products used by common man to cost less: Centre SCIENCE AND TECHNOLOGY 1. The neutrino opportunity D. GS4 Related E. Concepts-in-News: Related Concepts to Revise/Learn F. Bills/Acts/Schemes/Orgs in News G. Practice Questions for UPSC Prelims Exam
UPSC Current Affairs 2017: News Analysis
A. GS1 Related
Nothing here for Today!!!
1. Modi to meet Xi to repair bilateral ties
In news:
- Prime Minister Narendra Modi to meet Chinese President Xi Jinping in Astana, Kazakhstan on the sidelines of a major security summit.
- Meeting is crucial for India:
- India is keen on membership of the Nuclear Suppliers Group, the plenary session of which is being held in Geneva on June 19.
- June 30 deadline for the U.N. Security Council committee to designate Masood Azhar a terrorist. China has been blocking both.
2. Only PSUs may be let to make Oxytocin
In news:
- The Drug Controller will soon restrict manufacturing of controversial hormone drug Oxytocin to public sector undertakings (PSUs).
- Oxytocin at present is banned in the retail markets after it was found that indiscriminate use of Oxytocin in milch animals and by farmers was causing irreversible hormone damage.
- Controversial usage: The drug is used by diary owners and farmers to boost milk production and make vegetables look bigger and fresher.
- Oxytocin is a hormone known to trigger a wide variety of physical and psychological effects and is commonly used to facilitate childbirth.
Category: INTERNATIONAL RELATIONS
1. $1 mn fund to bolster BRICS media
Context: Inaugural session of the BRICS Media Forum in the Chinese capital, Cai Mingzhao.
In news:
- The Brazil-Russia-India-China-South Africa (BRICS) grouping has signalled its intent to expand its footprint in the global media space.
- President of Xinhua News Agency and executive president of the BRICS Media Forum, announced that the news agency will invest $1 million for boosting media cooperation in the five-nation grouping.
- The BRICS media forum is the result of a joint initiative by Xinhua News Agency, Brazil’s CMA Group, Russia’s Sputnik News Agency and Radio, The Hindu group of publications from India, and South Africa’s Independent Media.
- The plan will promote six objectives, including “balanced reporting”.
C. GS3 Related
1. Come next weekend, fuel prices will change daily
In news:
- Retail prices for petrol and diesel would be revised on a daily basis starting from June 16, compared to the present system where oil marketing companies usually adjust prices on a fortnightly basis.
- The public sector oil marketeers — Indian Oil Corporation, Hindustan Petroleum and Bharat Petroleum — launched a pilot project in May for daily dynamic pricing at petrol pumps in Udaipur, Puducherry, Visakhapatnam, Jamshedpur and Chandigarh.
- Based on the ‘successful implementation’ of the pilot project, the firms have decided to start daily revision across the country.
- Advantages:
- Daily revisions will make retail prices more reflective of the current market conditions.
- Minimises the volatility in the retail sales price of petrol and diesel.
- Increased transparency
2. Products used by common man to cost less: Centre
In news:
- Several consumer goods purchased on a daily basis by the common man would become cheaper once the GST is implemented
- Branded foodgrains and flours will attract a 5% GST.
- No tax: Cereals, pulses and atta, fresh milk, vegetables and fruits, puffed rice, common salt, animal feed, organic manure, fire wood, raw silk, wool and jute will be tax-free.
- Effectiveness of GST:
- GST is the most important tax reform since independence and is going to substantially ease doing of business in India which will promote new investment and contribute to the overall GDP growth.
- It will also help in removing the cascading effect of taxation and will give relief to the common man by leading to reduction in prices especially of essential consumer goods.
Category: SCIENCE AND TECHNOLOGY
Context
- India’s wait to join the elite club of countries undertaking neutrino research suffered a procedural delay
- The National Green Tribunal (NGT) suspended the environmental clearance (EC) granted to the India-based Neutrino Observatory (INO)
- It was ordered it to file a fresh application for clearance
INO project
- The proposed INO project primarily aims to study atmospheric neutrinos in a 1,300-m deep cavern in the Bodi West Hills in Theni district, Tamil Nadu
- If completed, the INO would house the largest magnet in the world
- It will be four times more massive than the European Organization for Nuclear Research, CERN’s Compact Muon Solenoid (CMS) detector’s magnet
Neutrinos
- Neutrinos are tiny particles
- They are almost massless
- They travel at near light speeds
- They are born from violent astrophysical events such as exploding stars and gamma ray bursts
- Therefore, they are abundant in the universe, and can move as easily through matter as we move through air
- They are notoriously difficult to track down
- If you hold your hand towards the sunlight for one second, about a billion neutrinos from the sun will pass through it
- This is because they are the by-products of nuclear fusion in the sun
- Aim of the INO project: It aims to use to understand some of the unsolved mysteries of the universe
Setback of delayed project
- The suspension of INO’s environmental clearance is a setback
- The scientific community hopes these procedural lapses will be addressed in an earnest and time-bound manner
- The NGT’s March 2017 order further delays the start of the project
- Now the earliest conceivable completion date is projected as 2022
- The INO will fall further behind other facilities including China’s Jiangmen Underground Neutrino Observatory (JUNO), expected to open in 2019
Criticism of INO Project
- The explosives used in construction are a threat to the highly sensitive ecology of the Western Ghats
- The relevant radiation safety studies for carrying out the long baseline neutrino experiment in the second phase of INO have not been done
- There are further allegations that neutrinos are radioactive particles
- The INO will double up the storage of nuclear waste
The better side of the story
- The proposed excavation is planned to be carried out by a controlled blast, limiting the impact of vibrations with the help of computer simulations
- Additionally, building the INO involves constructing an underground lab accessed by a 2 km-long horizontal access tunnel, resembling a road tunnel
- Such tunnels have been built extensively in India and the relevant studies show that the environmental impact (mainly dust and noise in the initial phase) have been managed
- For those who argue that Rs. 1,500 crore is a waste of money, it might be instructive to look back at the enormous achievements 20th century has brought in on the pillars of relativity and quantum mechanics
Neutrino Factory
- In the second phase, the INO project initially had planned to be set up as a far detector for the Neutrino Factory
- It is a proposed particle accelerator
- The radiation from the neutrino beam alone on an average would be one in 100 millionth of the natural radiation, which is negligible
Long history of research
- In the 1960s and 1970s, a group of scientists led by the Tata Institute of Fundamental Research detected some unusual experimental observations
- They were the Kolar events in the Kolar Gold Fields (KGF) in Karnataka
- Half a century later these events remain as science fiction, yet to be explained and unraveled
- From the 1980s, neutrino enthusiasts discussed the possibility of a neutrino observatory located in India
- In 2002, a document was presented to the Department of Atomic Energy which laid out an ambitious plan to establish the INO
- On January 5, 2015, the Union cabinet gave its approval to establish the INO at an estimated cost of Rs. 1,500 crore, the most expensive basic science project in India
D. GS4 Related
Nothing here for Today!! !
PIB Articles Editorials Roundup
E. Concepts-in-News: Related Concepts to Revise/Learn
F. Bills/Acts/Schemes/Orgs in News
|
Schemes in News |
About the Schemes |
|
‘DigiYatra’- A New Digital Experience for Air Travellers |
|


git-remote-fd - Reflect smart transport stream back to caller
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
This helper uses specified file descriptors to connect to a remote Git server. This is not meant for end users but for programs and scripts calling git fetch, push or archive.
If only <infd> is given, it is assumed to be a bidirectional socket connected to remote Git server (git-upload-pack, git-receive-pack or git-upload-achive). If both <infd> and <outfd> are given, they are assumed to be pipes connected to a remote Git server (<infd> being the inbound pipe and <outfd> being the outbound pipe.
It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper is started.
<anything> can be any string. It is ignored. It is meant for providing information to user in the URL in case that URL is displayed in some context.
GIT_TRANSLOOP_DEBUG
If set, prints debugging information about various reads/writes.
git fetch fd::17 master
Fetch master, using file descriptor #17 to communicate with git-upload-pack.
git fetch fd::17/foo master
Same as above.
git push fd::7,8 master (as URL)
Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to same service.
git push fd::7,8/bar master
Same as above.
Part of the git(1) suite


|
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
| def | __init__ |
| def | get_restart_directories |
| def | files_changed |
| def | configuration_changed |
| def | new_instance |
Public Attributes | |
| request_data | |
| max_concurrent_requests | |
| max_background_threads | |
Static Public Attributes | |
| START_URL_MAP = None | |
| WARMUP_URL_MAP = None | |
| SUPPORTS_INTERACTIVE_REQUESTS = False | |
| FILE_CHANGE_INSTANCE_RESTART_POLICY = None | |
An abstract factory that creates instances for an InstancePool. Attributes: max_concurrent_requests: The maximum number of concurrent requests that Instances created by this factory can handle. If the Instances do not support concurrent requests then the value should be 1. START_URL_MAP: An apinfo.URLMap that should be used as the default /_ah/start handler if no user-specified script handler matches. WARMUP_URL_MAP: An apinfo.URLMap that should be used as the default /_ah/warmup handler if no user-specified script handler matches.
| def google.appengine.tools.devappserver2.instance.InstanceFactory.__init__ | ( | self, | |
| request_data, | |||
| max_concurrent_requests, | |||
max_background_threads = 0 |
|||
| ) |
Initializer for InstanceFactory. Args: request_data: A wsgi_request_info.WSGIRequestInfo instance that will be populated with Instance data for use by the API stubs. max_concurrent_requests: The maximum number of concurrent requests that Instances created by this factory can handle. If the Instances do not support concurrent requests then the value should be 1. max_background_threads: The maximum number of background threads that the instance can handle. If the instance does not support background threads then the value should be 0.
| def google.appengine.tools.devappserver2.instance.InstanceFactory.configuration_changed | ( | self, | |
| config_changes | |||
| ) |
Called when the configuration of the module has changed. Args: config_changes: A set containing the changes that occured. See the *_CHANGED constants in the application_configuration module.
| def google.appengine.tools.devappserver2.instance.InstanceFactory.files_changed | ( | self | ) |
Called when a file relevant to the factory *might* have changed.
| def google.appengine.tools.devappserver2.instance.InstanceFactory.get_restart_directories | ( | self | ) |
Returns a list of directories changes in which should trigger a restart. Returns: A list of directory paths. Changes (i.e. files added, deleted or modified) in these directories will trigger the restart of all instances created with this factory.
| def google.appengine.tools.devappserver2.instance.InstanceFactory.new_instance | ( | self, | |
| instance_id, | |||
expect_ready_request = False |
|||
| ) |
Create and return a new Instance. Args: instance_id: A string or integer representing the unique (per module) id of the instance. expect_ready_request: If True then the instance will be sent a special request (i.e. /_ah/warmup or /_ah/start) before it can handle external requests. Returns: The newly created instance.Instance.


{% extends 'layout/layout_user.html' %} {% load leagues %} {% load math %} {% load teams %} {% load utility %} {% block title %}Grouping · {{ league.night_title|smart_title }} · {{ league.season_title|smart_title }} {{ league.year }} · {{ block.super }}{% endblock %} {% block og_title %}{{ block.super }} {{ league.year }} {{ league.season_title|smart_title }} {{ league.night_title|smart_title }} Division Grouping{% endblock %} {% block content %} {% include '_partials/division_header.html' with league=league only %} {% include '_partials/league_tabs.html' with selected_tab='registration' %}
The deadline for group changes is {{ league.group_lock_start_date|date:'l, F jS' }} at {{ league.group_lock_start_date|date:'g:iA'|lower }}. This division allows groups of up to {{ league.baggage }} (including you).
{% if registration.waitlist %}You are currently on the waitlist and are ineligible to form a group at this time.
{% else %}Only complete, non-waitlisted registrations are eligible to form groups.
{% endif %} {% else %}This division does not support groups.
{% endif %} {% endif %} {% endblock %}


The Toast API provides a notification pop up for displaying important information to a user. Just like real toast!


StatementBuilder
Extends:
Direct Subclass:
Use StatementBuilder to make Statements. If you're not planning to send Statements according to a Profile Pattern, this is your starting point.
Example:
var statement = StatementBuilder.builder();
statement = statement.withActorEmail(
<EMAIL_ADDRESS>).withVerb(
"http://made.up.verb.example.com/desalinated"
).withObjectId(
"http://made.up.activity.example.com/PacificOcean"
);
console.log(statement.build());
Member Summary
| Public Members | ||
| public get |
An ActivityBuilder derived from this StatementBuilder, knowing about all the same Profiles. |
|
| public get |
An AgentBuilder derived from this StatementBuilder, knowing about all the same Profiles. |
|
| public get |
An AttachmentBuilder derived from this StatementBuilder, knowing about all the same Profiles. |
Method Summary
| Public Methods | ||
| public |
Makes the |
|
| public |
Mark the Statement |
|
| public |
Mark the Statement |
|
| public |
Mark the Statement |
|
| public |
Makes this create a SubStatement (StatementBuilder makes Statements by default) |
|
| public |
Mark the Statement |
|
| public |
Makes the |
|
| public |
Makes the |
|
| public |
Makes the |
|
| public |
Makes the |
|
| public |
templated(template: uri | string | Object): StatementBuilder Make this Statement follow the rules of a Statement template |
|
| public |
withActor(agent: AgentBuilder | Object): StatementBuilder Add the |
|
| public |
withActorAccount(account: {homePage: uri, name: string}): StatementBuilder Identify this |
|
| public |
Add the |
|
| public |
withActorEmail(email: string): StatementBuilder Add an |
|
| public |
withActorHomePage(homePage: uri): StatementBuilder Add the |
|
| public |
withActorMbox(mbox: uri): StatementBuilder Identify this |
|
| public |
Identify this |
|
| public |
withActorMember(agent: Object): StatementBuilder Adds an Agent as a |
|
| public |
withActorName(name: string): StatementBuilder Add a personal or descriptive name for the |
|
| public |
withActorOpenid(openid: uri): StatementBuilder Identify this |
|
| public |
withAttachment(attachment: Attachment): StatementBuilder Add an attachment to the Statement |
|
| public |
withAuthority(agent: AgentBuilder | Object): StatementBuilder Add the |
|
| public |
withAuthorityAccount(account: {homePage: uri, name: string}): StatementBuilder Identify this |
|
| public |
Add the |
|
| public |
withAuthorityEmail(email: string): StatementBuilder Add an |
|
| public |
withAuthorityHomePage(homePage: uri): StatementBuilder Add the |
|
| public |
withAuthorityMbox(mbox: uri): StatementBuilder Identify this |
|
| public |
Identify this |
|
| public |
withAuthorityMember(agent: Object): StatementBuilder Adds an Agent as a |
|
| public |
withAuthorityName(name: string): StatementBuilder Add a personal or descriptive name for the |
|
| public |
withAuthorityOpenid(openid: uri): StatementBuilder Identify this |
|
| public |
withCompletion(completion: boolean): StatementBuilder Add a boolean |
|
| public |
withContextCategory(activity: uri | string | Object): StatementBuilder Add an Activity to the |
|
| public |
withContextExtension(key: uri | string, value: *): StatementBuilder Add an extension to the |
|
| public |
withContextGrouping(activity: uri | string | Object): StatementBuilder Add an Activity to the |
|
| public |
withContextOther(activity: uri | string | Object): StatementBuilder Add an Activity to the |
|
| public |
withContextParent(activity: uri | string | Object): StatementBuilder Add an Activity to the |
|
| public |
withContextStatement(statement: uuid | Object): StatementBuilder Add a |
|
| public |
Set the Statement as occurring at the current time. |
|
| public |
withDuration(duration: string | number): StatementBuilder Add an ISO 8601 |
|
| public |
withId(uuid: uuid): StatementBuilder Add the |
|
| public |
withInstructor(agent: AgentBuilder | Object): StatementBuilder Add the |
|
| public |
withInstructorAccount(account: {homePage: uri, name: string}): StatementBuilder Identify this |
|
| public |
Add the |
|
| public |
withInstructorEmail(email: string): StatementBuilder Add an |
|
| public |
withInstructorHomePage(homePage: uri): StatementBuilder Add the |
|
| public |
withInstructorMbox(mbox: uri): StatementBuilder Identify this |
|
| public |
Identify this |
|
| public |
withInstructorMember(agent: Object): StatementBuilder Adds an Agent as a |
|
| public |
withInstructorName(name: string): StatementBuilder Add a personal or descriptive name for the |
|
| public |
withInstructorOpenid(openid: uri): StatementBuilder Identify this |
|
| public |
withLanguage(language: string): StatementBuilder Add a |
|
| public |
withMaxScore(score: number): StatementBuilder Add a maximum score bound (inclusive) for the raw score. |
|
| public |
withMinScore(score: number): StatementBuilder Add a minimum score bound (inclusive) for the raw score. |
|
| public |
withObject(object: uuid | uri | string | StatementBuilder | AgentBuilder | ActivityBuilder | Object): StatementBuilder Add the |
|
| public |
withObjectAccount(account: {homePage: uri, name: string}): StatementBuilder Identify this |
|
| public |
Add the |
|
| public |
withObjectAsProfile(id: uri | string): StatementBuilder Makes the Activity object look exactly as in the Profile it is from. |
|
| public |
withObjectChoices(choices: InteractionComponent[]): StatementBuilder Add available |
|
| public |
withObjectCorrectResponsesPattern(responses: string[]): StatementBuilder Add possible |
|
| public |
withObjectDefinition(definition: string, language: string): StatementBuilder Add a |
|
| public |
withObjectEmail(email: string): StatementBuilder Add an |
|
| public |
withObjectExtension(key: uri | string, value: *): StatementBuilder Add an extension to the Activity |
|
| public |
withObjectHomePage(homePage: uri): StatementBuilder Add the |
|
| public |
withObjectId(id: uri | string): StatementBuilder Set an Activity |
|
| public |
Add an |
|
| public |
withObjectMbox(mbox: uri): StatementBuilder Identify this |
|
| public |
Identify this |
|
| public |
withObjectMember(agent: Object): StatementBuilder Adds an Agent as a |
|
| public |
Add a |
|
| public |
withObjectName(name: string, language: string): StatementBuilder Add a name for the |
|
| public |
withObjectOpenid(openid: uri): StatementBuilder Identify this |
|
| public |
withObjectScale(scale: InteractionComponent[]): StatementBuilder Add |
|
| public |
withObjectSource(source: InteractionComponent[]): StatementBuilder Add available |
|
| public |
withObjectSteps(steps: InteractionComponent[]): StatementBuilder Add available |
|
| public |
withObjectTarget(target: InteractionComponent[]): StatementBuilder Add available |
|
| public |
withObjectType(type: uri | string): StatementBuilder Set the Activity |
|
| public |
withPlatform(platform: string): StatementBuilder Add a |
|
| public |
withProfile(profile: Object): StatementBuilder Add an xAPI Profile to enable referring to terms by name instead of URI with later API calls. |
|
| public |
withRawScore(score: number): StatementBuilder Add a raw score for the Statement |
|
| public |
withRegistration(uuid: uuid): StatementBuilder Add a |
|
| public |
withResponse(response: string): StatementBuilder Add a |
|
| public |
withResultExtension(key: uri | string, value: *): StatementBuilder Add an extension to the |
|
| public |
withRevision(revision: string): StatementBuilder Add a |
|
| public |
withScaledScore(score: number): StatementBuilder Add a score scaled to between -1 and 1 (inclusive) for the Statement
|
|
| public |
withStored(timestamp: string): StatementBuilder Add the ISO 8601 |
|
| public |
withSuccess(success: boolean): StatementBuilder Add a boolean |
|
| public |
withTeam(agent: AgentBuilder | Object): StatementBuilder Add the |
|
| public |
withTeamAccount(account: {homePage: uri, name: string}): StatementBuilder Identify this |
|
| public |
Add the |
|
| public |
withTeamEmail(email: string): StatementBuilder Add an |
|
| public |
withTeamHomePage(homePage: uri): StatementBuilder Add the |
|
| public |
withTeamMbox(mbox: uri): StatementBuilder Identify this |
|
| public |
Identify this |
|
| public |
withTeamMember(agent: Object): StatementBuilder Adds an Agent as a |
|
| public |
withTeamName(name: string): StatementBuilder Add a personal or descriptive name for the |
|
| public |
withTeamOpenid(openid: uri): StatementBuilder Identify this |
|
| public |
withTimestamp(timestamp: string): StatementBuilder Add the ISO 8601 |
|
| public |
withVerb(verb: uri | string | Verb): StatementBuilder Add the |
|
| public |
withVerbDisplay(language: string, display: string): StatementBuilder Add the |
|
| public |
withVersion(version: string): StatementBuilder Add the xAPI |
Inherited Summary
| From class BuilderRecord | ||
| public static |
Make an instance of a Builder |
|
| public |
Get the plain javascript object from this builder, ready to serialize into JSON |
|
| public |
Without validating, get the plain javascript object from this builder, ready to serialize into JSON |
Public Members
public get activities: ActivityBuilder source
An ActivityBuilder derived from this StatementBuilder, knowing about all the same Profiles.
public get agents: AgentBuilder source
An AgentBuilder derived from this StatementBuilder, knowing about all the same Profiles.
public get attachments: AttachmentBuilder source
An AttachmentBuilder derived from this StatementBuilder, knowing about all the same Profiles.
Public Methods
public asSubStatement(): StatementBuilder source
Makes this create a SubStatement (StatementBuilder makes Statements by default)
You do not have to call this to use a StatementBuilder as a SubStatement. Just pass another StatementBuilder to StatementBuilder#withObject and the conversion will be handled automatically.
public templated(template: uri | string | Object): StatementBuilder source
Make this Statement follow the rules of a Statement template
If the Statement Template has verb
or objectActivityType
determining
properties, those are set on the Statement. When the Statement is built,
all the rules of the Statement Template are checked, as well as the
presence of all the determining properties.
Throw:
if a uri or string is passed in and there is no matching Statement Template. |
public withActor(agent: AgentBuilder | Object): StatementBuilder source
Add the actor
for the Statement
There are two ways to provide the agent:
- As a AgentBuilder from this library.
- as a complete simple javascript object of an Agent or Group.
Params:
| Name | Type | Attribute | Description |
| agent | AgentBuilder | Object | the agent |
public withActorAccount(account: {homePage: uri, name: string}): StatementBuilder source
Identify this actor
with an account
public withActorAccountName(name: string): StatementBuilder source
Add the name
identifier of an account
to the actor
. This is a unique identifier
the system identified by homePage
links to a particular account.
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withActorEmail(email: string): StatementBuilder source
Add an mbox
to the actor
based on an email
Params:
| Name | Type | Attribute | Description |
| string | Email to use for the Agent/Group |
public withActorHomePage(homePage: uri): StatementBuilder source
Add the homePage
URL of an account
to the actor
Params:
| Name | Type | Attribute | Description |
| homePage | uri | URL to use for the Agent/Group |
public withActorMbox(mbox: uri): StatementBuilder source
Identify this actor
with an mbox
(must start with mailto:
!)
Params:
| Name | Type | Attribute | Description |
| mbox | uri | What to set the |
public withActorMbox_sha1sum(sha1: string): StatementBuilder source
Identify this actor
with an mbox_sha1sum
Params:
| Name | Type | Attribute | Description |
| sha1 | string | What to set the |
public withActorMember(agent: Object): StatementBuilder source
Adds an Agent as a member
of the actor
.
Params:
| Name | Type | Attribute | Description |
| agent | Object | An AgentBuilder or a plain Javascript object
representing a complete Agent, to add to the |
public withActorName(name: string): StatementBuilder source
Add a personal or descriptive name for the actor
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withActorOpenid(openid: uri): StatementBuilder source
Identify this actor
with an openid
Params:
| Name | Type | Attribute | Description |
| openid | uri | URI to set the |
public withAttachment(attachment: Attachment): StatementBuilder source
Add an attachment to the Statement
Params:
| Name | Type | Attribute | Description |
| attachment | Attachment | an AttachmentBuilder or simple javascript object of an attachment. |
public withAuthority(agent: AgentBuilder | Object): StatementBuilder source
Add the authority
for the Statement
There are two ways to provide the agent:
- As a AgentBuilder from this library.
- as a complete simple javascript object of an Agent or Group.
Params:
| Name | Type | Attribute | Description |
| agent | AgentBuilder | Object | the agent |
public withAuthorityAccount(account: {homePage: uri, name: string}): StatementBuilder source
Identify this authority
with an account
public withAuthorityAccountName(name: string): StatementBuilder source
Add the name
identifier of an account
to the authority
. This is a unique identifier
the system identified by homePage
links to a particular account.
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withAuthorityEmail(email: string): StatementBuilder source
Add an mbox
to the authority
based on an email
Params:
| Name | Type | Attribute | Description |
| string | Email to use for the Agent/Group |
public withAuthorityHomePage(homePage: uri): StatementBuilder source
Add the homePage
URL of an account
to the authority
Params:
| Name | Type | Attribute | Description |
| homePage | uri | URL to use for the Agent/Group |
public withAuthorityMbox(mbox: uri): StatementBuilder source
Identify this authority
with an mbox
(must start with mailto:
!)
Params:
| Name | Type | Attribute | Description |
| mbox | uri | What to set the |
public withAuthorityMbox_sha1sum(sha1: string): StatementBuilder source
Identify this authority
with an mbox_sha1sum
Params:
| Name | Type | Attribute | Description |
| sha1 | string | What to set the |
public withAuthorityMember(agent: Object): StatementBuilder source
Adds an Agent as a member
of the authority
.
Params:
| Name | Type | Attribute | Description |
| agent | Object | An AgentBuilder or a plain Javascript object
representing a complete Agent, to add to the |
public withAuthorityName(name: string): StatementBuilder source
Add a personal or descriptive name for the authority
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withAuthorityOpenid(openid: uri): StatementBuilder source
Identify this authority
with an openid
Params:
| Name | Type | Attribute | Description |
| openid | uri | URI to set the |
public withCompletion(completion: boolean): StatementBuilder source
Add a boolean completion
for the Statement result
Params:
| Name | Type | Attribute | Description |
| completion | boolean | complete? |
public withContextCategory(activity: uri | string | Object): StatementBuilder source
Add an Activity to the category
contextActivities
in context
There are several possible ways to provide the Activity:
- As a name or URI of an Activity. If the Activity is found in a Profile loaded by StatementBuilder#withProfile, the complete Profile representation of that Activity will be used.
- As a builder from this library for an Activity.
- as a complete simple javascript object of an Activity.
Throw:
if a string activity does not match a name and is not uri-like. |
public withContextExtension(key: uri | string, value: *): StatementBuilder source
Add an extension to the context
If the key
is not a URI but matches a name of a Context Extension in a
Profile loaded by StatementBuilder#withProfile, the uri of that
Context Extension will be used.
Throw:
if |
public withContextGrouping(activity: uri | string | Object): StatementBuilder source
Add an Activity to the grouping
contextActivities
in context
There are several possible ways to provide the Activity:
- As a name or URI of an Activity. If the Activity is found in a Profile loaded by StatementBuilder#withProfile, the complete Profile representation of that Activity will be used.
- As a builder from this library for an Activity.
- as a complete simple javascript object of an Activity.
Throw:
if a string activity does not match a name and is not uri-like. |
public withContextOther(activity: uri | string | Object): StatementBuilder source
Add an Activity to the other
contextActivities
in context
There are several possible ways to provide the Activity:
- As a name or URI of an Activity. If the Activity is found in a Profile loaded by StatementBuilder#withProfile, the complete Profile representation of that Activity will be used.
- As a builder from this library for an Activity.
- as a complete simple javascript object of an Activity.
Throw:
if a string activity does not match a name and is not uri-like. |
public withContextParent(activity: uri | string | Object): StatementBuilder source
Add an Activity to the parent
contextActivities
in context
There are several possible ways to provide the Activity:
- As a name or URI of an Activity. If the Activity is found in a Profile loaded by StatementBuilder#withProfile, the complete Profile representation of that Activity will be used.
- As a builder from this library for an Activity.
- as a complete simple javascript object of an Activity.
Throw:
if a string activity does not match a name and is not uri-like. |
public withContextStatement(statement: uuid | Object): StatementBuilder source
Add a context
statement
as a StatementRef
Accepts a StatementBuilder object, a simple javascript Statement or
StatementRef object, or the uuid id
of the Statement referred to.
public withCurrentTimestamp(): StatementBuilder source
Set the Statement as occurring at the current time.
Note: when .build() is called to turn this into a Statement,
if no timestamp
is set the current time will be used.
This method is for if the time the statement occurs is
before some information is known for the Statement.
public withDuration(duration: string | number): StatementBuilder source
Add an ISO 8601 duration
for the Statement result
If duration
is a number, this will automatically convert it to a
duration representation in seconds.
public withId(uuid: uuid): StatementBuilder source
Add the id
for the Statement
Params:
| Name | Type | Attribute | Description |
| uuid | uuid | the |
public withInstructor(agent: AgentBuilder | Object): StatementBuilder source
Add the instructor
to the context
for the Statement
There are two ways to provide the agent:
- As a AgentBuilder from this library.
- as a complete simple javascript object of an Agent or Group.
Params:
| Name | Type | Attribute | Description |
| agent | AgentBuilder | Object | the agent |
public withInstructorAccount(account: {homePage: uri, name: string}): StatementBuilder source
Identify this instructor
with an account
public withInstructorAccountName(name: string): StatementBuilder source
Add the name
identifier of an account
to the instructor
. This is a unique identifier
the system identified by homePage
links to a particular account.
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withInstructorEmail(email: string): StatementBuilder source
Add an mbox
to the instructor
based on an email
Params:
| Name | Type | Attribute | Description |
| string | Email to use for the Agent/Group |
public withInstructorHomePage(homePage: uri): StatementBuilder source
Add the homePage
URL of an account
to the instructor
Params:
| Name | Type | Attribute | Description |
| homePage | uri | URL to use for the Agent/Group |
public withInstructorMbox(mbox: uri): StatementBuilder source
Identify this instructor
with an mbox
(must start with mailto:
!)
Params:
| Name | Type | Attribute | Description |
| mbox | uri | What to set the |
public withInstructorMbox_sha1sum(sha1: string): StatementBuilder source
Identify this instructor
with an mbox_sha1sum
Params:
| Name | Type | Attribute | Description |
| sha1 | string | What to set the |
public withInstructorMember(agent: Object): StatementBuilder source
Adds an Agent as a member
of the instructor
.
Params:
| Name | Type | Attribute | Description |
| agent | Object | An AgentBuilder or a plain Javascript object
representing a complete Agent, to add to the |
public withInstructorName(name: string): StatementBuilder source
Add a personal or descriptive name for the instructor
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withInstructorOpenid(openid: uri): StatementBuilder source
Identify this instructor
with an openid
Params:
| Name | Type | Attribute | Description |
| openid | uri | URI to set the |
public withLanguage(language: string): StatementBuilder source
Add a language
for the Statement context
Params:
| Name | Type | Attribute | Description |
| language | string | the |
public withMaxScore(score: number): StatementBuilder source
Add a maximum score bound (inclusive) for the raw score.
Params:
| Name | Type | Attribute | Description |
| score | number | the score. |
public withMinScore(score: number): StatementBuilder source
Add a minimum score bound (inclusive) for the raw score.
Params:
| Name | Type | Attribute | Description |
| score | number | the score. |
public withObject(object: uuid | uri | string | StatementBuilder | AgentBuilder | ActivityBuilder | Object): StatementBuilder source
Add the object
for the Statement
There are several possible ways to provide the object
:
- As the UUID
id
of a Statement. Theobject
will be set to a StatementRef with thatid
. - As a name or URI of an Activity. If the Activity is found in a Profile loaded by StatementBuilder#withProfile, the complete Profile representation of that Activity will be used.
- As a builder from this library for an Agent, Group, or Activity.
- As a StatementBuilder, which will be used as a SubStatement according to the rules from the xAPI specification.
- as a complete simple javascript object of an Activity, Agent, Group, StatementRef, or SubStatement.
Params:
| Name | Type | Attribute | Description |
| object | uuid | uri | string | StatementBuilder | AgentBuilder | ActivityBuilder | Object | the |
Throw:
if a string argument is not a UUID, does not match a name, and is not uri-like. |
public withObjectAccount(account: {homePage: uri, name: string}): StatementBuilder source
Identify this object
with an account
public withObjectAccountName(name: string): StatementBuilder source
Add the name
identifier of an account
to the object
. This is a unique identifier
the system identified by homePage
links to a particular account.
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withObjectAsProfile(id: uri | string): StatementBuilder source
Makes the Activity object look exactly as in the Profile it is from.
If no id
is provided but one is set for the Activity, that will be used.
If the id
is not a URI but matches a name of an Activity in a Profile
loaded by StatementBuilder#withProfile, that Activity will
be used.
Throw:
if |
public withObjectChoices(choices: InteractionComponent[]): StatementBuilder source
Add available choices
for this interaction to an Activity object
Params:
| Name | Type | Attribute | Description |
| choices | InteractionComponent[] | interaction components with string |
public withObjectCorrectResponsesPattern(responses: string[]): StatementBuilder source
Add possible correctResponsesPattern
values to an Activity object
Params:
| Name | Type | Attribute | Description |
| responses | string[] | strings indicating possible
|
public withObjectDefinition(definition: string, language: string): StatementBuilder source
Add a definition
for this Activity object
in a particular language
public withObjectEmail(email: string): StatementBuilder source
Add an mbox
to the object
based on an email
Params:
| Name | Type | Attribute | Description |
| string | Email to use for the Agent/Group |
public withObjectExtension(key: uri | string, value: *): StatementBuilder source
Add an extension to the Activity object
definition
If the key
is not a URI but matches a name of an Activity Extension in a
Profile loaded by StatementBuilder#withProfile, the uri of that
Activity Extension will be used.
Throw:
if |
public withObjectHomePage(homePage: uri): StatementBuilder source
Add the homePage
URL of an account
to the object
Params:
| Name | Type | Attribute | Description |
| homePage | uri | URL to use for the Agent/Group |
public withObjectId(id: uri | string): StatementBuilder source
Set an Activity object
id
If the id
is not a URI but matches a name of an Activity in a Profile
loaded by StatementBuilder#withProfile, the id
of that Activity will
be used.
Throw:
if |
public withObjectInteractionType(value: string): StatementBuilder source
Add an interactionType
to an Activity object
Params:
| Name | Type | Attribute | Description |
| value | string |
|
public withObjectMbox(mbox: uri): StatementBuilder source
Identify this object
with an mbox
(must start with mailto:
!)
Params:
| Name | Type | Attribute | Description |
| mbox | uri | What to set the |
public withObjectMbox_sha1sum(sha1: string): StatementBuilder source
Identify this object
with an mbox_sha1sum
Params:
| Name | Type | Attribute | Description |
| sha1 | string | What to set the |
public withObjectMember(agent: Object): StatementBuilder source
Adds an Agent as a member
of the object
.
Params:
| Name | Type | Attribute | Description |
| agent | Object | An AgentBuilder or a plain Javascript object
representing a complete Agent, to add to the |
public withObjectMoreInfo(url: uri): StatementBuilder source
Add a moreInfo
URL to an Activity object
Params:
| Name | Type | Attribute | Description |
| url | uri | URL to use for |
public withObjectName(name: string, language: string): StatementBuilder source
Add a name for the object
-- a personal or descriptive name
for an Agent or Group, or the name of an Activity in a language
public withObjectOpenid(openid: uri): StatementBuilder source
Identify this object
with an openid
Params:
| Name | Type | Attribute | Description |
| openid | uri | URI to set the |
public withObjectScale(scale: InteractionComponent[]): StatementBuilder source
Add scale
values for this interaction to an Activity object
Params:
| Name | Type | Attribute | Description |
| scale | InteractionComponent[] | interaction components with string |
public withObjectSource(source: InteractionComponent[]): StatementBuilder source
Add available source
values for this interaction to an Activity object
Params:
| Name | Type | Attribute | Description |
| source | InteractionComponent[] | interaction components with string |
public withObjectSteps(steps: InteractionComponent[]): StatementBuilder source
Add available steps
for this interaction to an Activity object
Params:
| Name | Type | Attribute | Description |
| steps | InteractionComponent[] | interaction components with string |
public withObjectTarget(target: InteractionComponent[]): StatementBuilder source
Add available target
values for this interaction to an Activity object
Params:
| Name | Type | Attribute | Description |
| target | InteractionComponent[] | interaction components with string |
public withObjectType(type: uri | string): StatementBuilder source
Set the Activity object
type
If the type
is not a URI but matches a name of an Activity Type in a
Profile loaded by StatementBuilder#withProfile, the uri of that
Activity Type will be used.
Throw:
if |
public withPlatform(platform: string): StatementBuilder source
Add a platform
for the Statement context
Params:
| Name | Type | Attribute | Description |
| platform | string | the |
public withProfile(profile: Object): StatementBuilder source
Add an xAPI Profile to enable referring to terms by name instead of URI with later API calls.
Params:
| Name | Type | Attribute | Description |
| profile | Object | a complete xAPI Profile as a JSON object. |
public withRawScore(score: number): StatementBuilder source
Add a raw score for the Statement result
Params:
| Name | Type | Attribute | Description |
| score | number | the score. |
public withRegistration(uuid: uuid): StatementBuilder source
Add a registration
for the Statement context
Params:
| Name | Type | Attribute | Description |
| uuid | uuid | the |
public withResponse(response: string): StatementBuilder source
Add a response
for the Statement result
Params:
| Name | Type | Attribute | Description |
| response | string | the |
public withResultExtension(key: uri | string, value: *): StatementBuilder source
Add an extension to the result
If the key
is not a URI but matches a name of a Result Extension in a
Profile loaded by StatementBuilder#withProfile, the uri of that
Result Extension will be used.
Throw:
if |
public withRevision(revision: string): StatementBuilder source
Add a revision
for the Statement context
Params:
| Name | Type | Attribute | Description |
| revision | string | the |
public withScaledScore(score: number): StatementBuilder source
Add a score scaled to between -1 and 1 (inclusive) for the Statement
result
Params:
| Name | Type | Attribute | Description |
| score | number | the score. |
public withStored(timestamp: string): StatementBuilder source
Add the ISO 8601 stored
time for the Statement
Params:
| Name | Type | Attribute | Description |
| timestamp | string | the |
public withSuccess(success: boolean): StatementBuilder source
Add a boolean success
for the Statement result
Params:
| Name | Type | Attribute | Description |
| success | boolean | successful? |
public withTeam(agent: AgentBuilder | Object): StatementBuilder source
Add the team
to the context
for the Statement
There are two ways to provide the agent:
- As a AgentBuilder from this library.
- as a complete simple javascript object of an Agent or Group.
Params:
| Name | Type | Attribute | Description |
| agent | AgentBuilder | Object | the agent |
public withTeamAccount(account: {homePage: uri, name: string}): StatementBuilder source
Identify this team
with an account
public withTeamAccountName(name: string): StatementBuilder source
Add the name
identifier of an account
to the team
. This is a unique identifier
the system identified by homePage
links to a particular account.
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withTeamEmail(email: string): StatementBuilder source
Add an mbox
to the team
based on an email
Params:
| Name | Type | Attribute | Description |
| string | Email to use for the Agent/Group |
public withTeamHomePage(homePage: uri): StatementBuilder source
Add the homePage
URL of an account
to the team
Params:
| Name | Type | Attribute | Description |
| homePage | uri | URL to use for the Agent/Group |
public withTeamMbox(mbox: uri): StatementBuilder source
Identify this team
with an mbox
(must start with mailto:
!)
Params:
| Name | Type | Attribute | Description |
| mbox | uri | What to set the |
public withTeamMbox_sha1sum(sha1: string): StatementBuilder source
Identify this team
with an mbox_sha1sum
Params:
| Name | Type | Attribute | Description |
| sha1 | string | What to set the |
public withTeamMember(agent: Object): StatementBuilder source
Adds an Agent as a member
of the team
.
Params:
| Name | Type | Attribute | Description |
| agent | Object | An AgentBuilder or a plain Javascript object
representing a complete Agent, to add to the |
public withTeamName(name: string): StatementBuilder source
Add a personal or descriptive name for the team
Params:
| Name | Type | Attribute | Description |
| name | string | Name to use for the Agent/Group |
public withTeamOpenid(openid: uri): StatementBuilder source
Identify this team
with an openid
Params:
| Name | Type | Attribute | Description |
| openid | uri | URI to set the |
public withTimestamp(timestamp: string): StatementBuilder source
Add the ISO 8601 timestamp
the Statement occurred
Params:
| Name | Type | Attribute | Description |
| timestamp | string | the |
public withVerb(verb: uri | string | Verb): StatementBuilder source
Add the verb
for the Statement
If the verb
is not a verb object or a URI but matches a name of a Verb
in a Profile loaded by StatementBuilder#withProfile, the complete
Profile representation of that verb will be used. If a URI is provided
will also attempt to load the complete Profile representation.
Throw:
if |
public withVerbDisplay(language: string, display: string): StatementBuilder source
Add the verb
display
for a particular language
public withVersion(version: string): StatementBuilder source
Add the xAPI version
of the Statement
Params:
| Name | Type | Attribute | Description |
| version | string | the |


MySQL find what statement is causing a lock
Tested with MySQL 5.7.22.
Show open tables:
SHOW OPEN TABLES WHERE In_Use > 0;
This can reveal open tables due to lock waits.
Show processes information:
SHOW FULL PROCESSLIST;
This can reveal the lock waiting process's pending statement.
Show transactions information:
SHOW ENGINE INNODB STATUS;
The TRANSACTIONS
section can reveal the lock waiting transaction's pending statement.
Show transactions information:
SELECT * FROM information_schema.innodb_trx;
This can reveal each transaction's information like trx_id
, trx_state
(e.g. RUNNING
, LOCK WAIT
), trx_started
(time), trx_wait_started
(time), trx_mysql_thread_id
(PROCESSLIST ID, not thread ID), trx_query
.
Show InnoDB lock waits:
SELECT * FROM sys.innodb_lock_waits;
This can reveal each lock waiting transaction (waiting_trx_id
, waiting_pid
) and its corresponding lock holding transaction (blocking_trx_id
, blocking_pid
).
Use the blocking_pid
from sys.innodb_lock_waits
, we can find the corresponding thread ID from performance_schema.threads
. Then use the thread ID, we can find the last one and ten statements of the lock holding transaction from performance_schema.events_statements_current
and performance_schema.events_statements_history
:
SELECT
t1.waiting_trx_id,
t1.waiting_pid,
t2.THREAD_ID AS waiting_tid,
t1.wait_started,
t1.wait_age,
t1.waiting_query,
t1.locked_table,
t1.locked_index,
t1.locked_type,
t1.blocking_trx_id,
t1.blocking_trx_started,
t1.blocking_trx_age,
t1.blocking_pid,
t3.THREAD_ID AS blocking_tid,
t1.blocking_query,
t4.SQL_TEXT AS blocking_last_query,
t5.SQL_TEXT AS blocking_last_10_querys
FROM sys.innodb_lock_waits AS t1
LEFT JOIN performance_schema.threads AS t2
ON t1.waiting_pid = t2.PROCESSLIST_ID
LEFT JOIN performance_schema.threads AS t3
ON t1.blocking_pid = t3.PROCESSLIST_ID
LEFT JOIN performance_schema.events_statements_current AS t4
ON t3.THREAD_ID = t4.THREAD_ID
LEFT JOIN performance_schema.events_statements_history AS t5
ON t3.THREAD_ID = t5.THREAD_ID
ORDER BY t1.waiting_trx_id, t1.blocking_trx_id, t5.EVENT_ID;
Comments:


Zionism, the Confederate Flag and the Stigma of Racism
07 Jul 2015One day after America’s 239th Independence Day, a new poll was released announcing that Israel is losing major support among Democrats and therefore “can’t claim bipartisan US support.” According to the Times of Israel report, “three quarters of highly educated, high income, publicly active US Democrats — the so-called “opinion elites” — believe Israel has too much influence on US foreign policy, almost half of them consider Israel to be a racist country, and fewer than half of them believe that Israel wants peace with its neighbors.” Since Israel’s founding over 67 years ago, it has enjoyed broad support from across the American political spectrum and though in Europe support for Israel from the Left has been consistently dropping for years, this was not the case in America.
Until now.
This is incredibly disturbing to say the least. The main reason why Israel and America share such a close relationship is because the two countries share the same values leading to a majority of Americans supporting Israel. This new poll reaffirms that most Americans continue to support Israel (68% say the US should support Israel v. Palestinians), but the stark decline in support from Democrats and the Left indicates that unless something is done, this majority will continue to decline. Then Israel will become a partisan issue of Right v. Left as it is in Europe.
The main reason for this is that the more time goes on without a peace treaty between Israel and the Palestinians, the more time the Palestinians have had to convince the Left to accept its narrative and reject Israel’s.
This is not a new endeavor as Israel’s enemies have attempted to smear Israel and the Zionist movement with charges of racism well before Israel declared independence. The “greatest success” this slanderous movement had was UNGA 3379, the infamous 1975 “Zionism equals Racism” resolution.
What most people forget about this resolution was that it not only resolved that “Zionism is a form of racism and racial discrimination,” but that it reached this conclusion by linking Zionism with Apartheid South Africa and Rhodesia. The reason why the anti-Israel movement has been so persistent in pushing the lie that “Zionism = Racism” and that the BDS movement has been so forceful with its “Israel is an apartheid state” slander is they know that once a symbol is associated with racism, whether justifiably or not, that symbol is beyond saving.
###The Case of the Confederate Battle Flag
After the terrorist attack at the historic African-American AME church in Charleston, South Carolina, there was a rush to ban the Confederate Battle Flag, remove it from public buildings and stores. The Apple App Store even went so far as to remove apps that used the flag not as a symbol of hate or pride but simply as an appropriate identifying marker in Civil War related apps. Many Southerners were upset by this rush to condemn a symbol that, for them, had nothing to do with hatred or racial supremacy but rather was a reminder of their heritage. To be clear, there is nothing wrong in people feeling pride in their history and culture. However, when that pride focuses on a treasonous flag that fought to preserve the institution of human slavery and then made its resurgence as a symbol of the fight against desegregation and the civil rights movement, that cultural pride is completely overshadowed and becomes linked to ideas its supporters reject.
It doesn’t matter that most American Southerners who venerate the flag don’t believe in white supremacy, slavery or segregation. Since the flag has such strong historical connections to the evils or slavery & segregation, it cannot be rehabilitated. Southern Pride must find a new symbol not only free of these sins, but one that southerners of all ethnicities can rally behind.
Similarly, there is no reason why Germans cannot be proud of their country and their heritage. However, using the Nazi flag would be an unacceptable way to show that pride because it is inextricably linked with the worst chapter of German history. If a German flew the Swastika and said he only identified with the German nationalism it represents but not the anti-Semitism, no one would accept such an argument and rightly so. It is impossible to separate the Nazi Swastika from the Holocaust and attempts to do so are done with the specific intent of whitewashing Nazi war crimes and diminishing the horrors of the Holocaust.
Building on these examples, the anti-Israel movement has sought for years to link Zionism and the Israeli flag with racism. The BDS-holes have attempted to make it so that whenever someone hears the word “Israel” they then hear the word “apartheid.” This is in keeping with Nazi Master Propagandist Joseph Goebbels’ mantra of The Big Lie, where he said, “If you tell a lie big enough and keep repeating it, people will eventually come to believe it.” It is in this area that the BDS movement is having its greatest success among its left-wing audience.
When examining the use of the term “Zionism” with audiences on the Left, pollster Frank Luntz points out, “you can’t make the case [for Israel] if you use that word [Zionism]. If you are at Berkeley or Brown and start outlining a Zionist vision, you don’t get to make a case for Israel because they’ve already switched off.” When these left-wing students hear the word “Zionism,” they don’t think of the Jewish National Liberation Movement, they don’t think about the only country in the Middle East where women, gays and minorities have equal rights and protection under the law, they don’t think about the only true safe haven for persecuted Jews. They hear Zionism and immediately think Apartheid.
History shows us that once this stigma of racism is attached to a symbol, it is unshakable, so does this mean that the term Zionism itself is lost?
In short, no. At least not yet.
It is important to remember that unlike the Confederate Battle Flag and the Nazi Swastika, Zionism is innocent of the outlandish charges leveled against it. This is one of the reasons why Israel’s enemies not only lie about crimes they say Israel commits, but why they try to link it to real crimes committed by others.
In this respect, the BDS-holes still have an uphill battler (at least in America) because they need to convince a majority of the people that their lie is the truth and that the truth is a lie. As long as a solid majority of Americans reject BDS’s lies, Israel’s supporters need not abandon the name of our nationalist movement, but unless something changes, a growing number of Americans will continue to fall under the sway of the anti-Israel misinformation brigade.
###BDS’s Goals
The main problem is that the best way to counter this anti-Israel movement is to make peace with the Palestinians. However, the more BDS isolates Israel, the more obstinate the Palestinians become and the less likely they are to finally confront their sacred cows - refusing to recognize Israel as the Jewish State, dividing Jerusalem, the “Right of Return” and supporting terrorism - not that they’ve ever shown the slightest interest in doing so. BDS gives the Palestinians the false impression that they never have to compromise on these anti-peace ideas because eventually Israel will become so isolated it will be forced to give in on each one.
In this way, BDS makes peace less likely, not more and that is exactly its point. BDS needs to make peace more difficult because if Israel actually makes peace, it loses 99% of its Western support. For this reason, it is imperative that BDS link Israel with the modern evil-incarnate that is apartheid so it can maintain and grow its support from people who would otherwise reject its extremism and hatred.
###What can be done?
Unfortunately, the only way to counter this is by repeatedly making the just case for Israel. Reminding the world and the Left of Israel’s liberal values, of its respect for human rights, women’s rights, gay rights, freedom of speech, freedom of the press, protection of religious minorities, and spurned peace overtures, all the causes the West believes in. Zionists face an uphill battle not only because we can’t even call ourselves by this name in some circles any more, but also because BDS-holes use tactics that we won’t. No matter how much we love Israel and want to defend her, most of us are loathe to spread lies, even about our enemies. We respect freedom of speech and won’t shout down and prevent those we disagree with from speaking. We refuse to engage in macabre street theater as they do with “die ins” and mock checkpoints that present a false reality.
We must fight with one hand tied behind our back because that is what our morality requires of us.
But is that any different from how Jews have had to defend ourselves in every generation?


During this lab, we will acquaint ourselves with read mapping. You will:
Install software and download data
Map reads to dataset
look at mapping quality
The STAR manuscript: https://www.ncbi.nlm.nih.gov/pubmed/23104886 The STAR manual: https://github.com/alexdobin/STAR/blob/master/doc/STARmanual.pdf
Step 1: Launch an instance on Jetstream. For this exercise, we will use a m1.Xlarge instance.
ssh -i jetkey<EMAIL_ADDRESS>Update and upgrade your computer like you have every other week. Yes, you may use notes and pervious labs..
Install the following…
sudo apt-get -y install build-essential python
Install Conda like you have every other week!
Install the following software packages via Conda like you have every other week:
samtools bedtools star bcftools vcftools sra-tools
Download data
cd
curl -LO ftp://ftp.ensemblgenomes.org/pub/metazoa/release-40/fasta/danaus_plexippus/dna/Danaus_plexippus.Dpv3.dna.toplevel.fa.gz
curl -LO https://s3.amazonaws.com/gen711/SRR585568_R1.fastq.gz
curl -LO https://s3.amazonaws.com/gen711/SRR585568_R2.fastq.gz
gzip -d *gz
Index the genome
mkdir butterfly
STAR --runMode genomeGenerate --genomeDir $HOME/butterfly \
--genomeFastaFiles $HOME/Danaus_plexippus.Dpv3.dna.toplevel.fa \
--runThreadN 24
Map reads!! (10 minutes). You’re mapping RNA data, from a mosquito antenna to the mosquito genome.
STAR --runMode alignReads \
--genomeDir butterfly/ \
--readFilesIn $HOME/SRR585568_R1.fastq $HOME/SRR585568_R2.fastq \
--runThreadN 18 \
--outSAMtype BAM SortedByCoordinate \
--outFileNamePrefix monarch_mapping_
Let’s find SNPs, but just on the largest scaffold.
samtools view -h -t $HOME/Danaus_plexippus.Dpv3.dna.toplevel.fa --threads 12 monarch_mapping_Aligned.sortedByCoord.out.bam \
| awk '$1 ~ "@" || $3=="DPSCF300001"' \
| samtools view -h -t $HOME/Danaus_plexippus.Dpv3.dna.toplevel.fa --threads 12 -1 -o filtered.bam -
bcftools mpileup --skip-indels -f $HOME/Danaus_plexippus.Dpv3.dna.toplevel.fa filtered.bam | \
bcftools view -O v --threads 24 -v snps - > variants.vcf
look at your vcf file. If we had mapped many individuals, we could calculate many interesting population genetics stats using the
vcftools
package.
less -S variants.vcf


Class AbstractCompiler
- java.lang.Object
-
- net.emustudio.emulib.plugins.compiler.AbstractCompiler
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationApi
applicationApi
emuStudio API.protected long
pluginID
Plugin ID assigned by emuStudioprotected PluginSettings
settings
Compiler custom settings.
-
Constructor Summary
Constructors Constructor Description AbstractCompiler(long pluginID, ApplicationApi applicationApi, PluginSettings settings)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCompilerListener(CompilerListener listener)
Adds a listener onto compilerListeners listvoid
destroy()
Does nothing.java.lang.String
getTitle()
Get plugin titlevoid
initialize()
Does nothing.boolean
isShowSettingsSupported()
Return false.protected void
notifyCompileFinish()
This method notifies all compilerListeners that the compiler finished the compile process right now.protected void
notifyCompileStart()
This method notifies all compilerListeners that the compiler is starting the compile process.void
notifyError(java.lang.String msg)
Notifies the error message.void
notifyInfo(java.lang.String msg)
Notifies information messagevoid
notifyOnMessage(CompilerMessage compilerMessage)
This method notifies all compilerListeners that the compiler wants to print something out (a message).void
notifyWarning(java.lang.String msg)
Fires warning messagevoid
removeCompilerListener(CompilerListener listener)
Removes the listener from compilerListeners listvoid
reset()
Does nothing.void
showSettings(javax.swing.JFrame parent)
Does nothing.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.emustudio.emulib.plugins.compiler.Compiler
compile, compile, getLexer, getProgramLocation, getSourceFileExtensions
-
Methods inherited from interface net.emustudio.emulib.plugins.Plugin
getCopyright, getDescription, getVersion
-
-
-
-
Field Detail
-
pluginID
protected final long pluginID
Plugin ID assigned by emuStudio
-
applicationApi
protected final ApplicationApi applicationApi
emuStudio API.
-
settings
protected final PluginSettings settings
Compiler custom settings.
-
-
Constructor Detail
-
AbstractCompiler
public AbstractCompiler(long pluginID, ApplicationApi applicationApi, PluginSettings settings)
Creates new instance.- Parameters:
pluginID
- plugin IDapplicationApi
- emuStudio APIsettings
- plugin custom settings
-
-
Method Detail
-
initialize
public void initialize() throws PluginInitializationException
Does nothing. Should be overridden.- Specified by:
initialize
in interfacePlugin
- Throws:
PluginInitializationException
- thrown when initialization process was not successful
-
destroy
public void destroy()
Does nothing. Should be overridden.
-
getTitle
public java.lang.String getTitle()
Get plugin title- Specified by:
getTitle
in interfacePlugin
- Returns:
- title from the
PluginRoot
annotation
-
showSettings
public void showSettings(javax.swing.JFrame parent)
Does nothing. Should be overridden.- Specified by:
showSettings
in interfacePlugin
- Parameters:
parent
- emuStudio main window (if plugin wants to show a dialog which has a parent)
-
isShowSettingsSupported
public boolean isShowSettingsSupported()
Return false. Should be overridden.- Specified by:
isShowSettingsSupported
in interfacePlugin
- Returns:
- false
-
addCompilerListener
public void addCompilerListener(CompilerListener listener)
Adds a listener onto compilerListeners list- Specified by:
addCompilerListener
in interfaceCompiler
- Parameters:
listener
- listener object
-
removeCompilerListener
public void removeCompilerListener(CompilerListener listener)
Removes the listener from compilerListeners list- Specified by:
removeCompilerListener
in interfaceCompiler
- Parameters:
listener
- listener object
-
notifyCompileStart
protected void notifyCompileStart()
This method notifies all compilerListeners that the compiler is starting the compile process.This method should be called whenever the compiler begins to run.
-
notifyCompileFinish
protected void notifyCompileFinish()
This method notifies all compilerListeners that the compiler finished the compile process right now.This method should be called whenever the compiler ends the execution.
-
notifyOnMessage
public void notifyOnMessage(CompilerMessage compilerMessage)
This method notifies all compilerListeners that the compiler wants to print something out (a message).This method should be called when the compiler wants to notify the user about some warning or error during compilation; or wants to inform the user of something else (e.g. copyright information).
- Parameters:
compilerMessage
- The message
-
notifyError
public void notifyError(java.lang.String msg)
Notifies the error message.- Parameters:
msg
- text of the message
-
notifyInfo
public void notifyInfo(java.lang.String msg)
Notifies information message- Parameters:
msg
- text of the message
-
notifyWarning
public void notifyWarning(java.lang.String msg)
Fires warning message- Parameters:
msg
- text of the message
-
-


Configuration Wizard
Restart Gateway
Here is a list of configurable properties.
Double click a property value to update.
name
value
description


BMLTiOSLibServerLang
public class BMLTiOSLibServerLang : NSObject
This class will present a functional interface to the server languages.
-
This allows the class to be treated like a standard Dictionary.
Declaration
Swift
public subscript(inString: String) -> String! { get }
Return Value
the Server Info element, as a String.
-
Declaration
Swift
public var langKey: String { get }
Return Value
the language key.
-
Declaration
Swift
public var langName: String { get }
Return Value
the language name.
-
:returns true, if this is the default Server language.
Declaration
Swift
public var isDefault: Bool { get }
-
Simple direct initializer.
Declaration
Swift
public init(_ inLang: [String : String])
Parameters
inLang
This is a Dictionary that contains the info returned from the server.


NOVACRYPT
× Close
Menu
About
About Us
About Our Community
About Our Team
About Out Partners
Research & Projects
Blog
Announcements
Subsidiaries
AuraEdge
COVID-19
Interstellar Initiative
NPOCore
WaveFrnt
W3Hacks
Ortexo
IdeateX
Contact
Support Us
Login
Join Us
NovaCrypt Articles
Read More


|
easyMock
|
abstract fun easyMock(): QuickMockspresso.Builder
Applies the MockerConfig for EasyMock. Requires your project have a dependency on 'org.easymock:easymock' v3.4
|
|
easyMockWithPowerMock
|
abstract fun easyMockWithPowerMock(): QuickMockspresso.Builder
Applies the MockerConfig for Powermock + EasyMock. Requires your project have a dependency on org.easymock:easymock v3.4, org.powermock:powermock-api-mockito2, and org.powermock:powermock-module-junit4 v1.7.0+. Also requires your test be runWith the PowerMockRunner
|
|
easyMockWithPowerMockRule
|
abstract fun easyMockWithPowerMockRule(): QuickMockspresso.Builder
Applies the MockerConfig for Powermock + EasyMock AND applies a PowerMockRule as an outerRule to Mockspresso, so theres no need to use the PowerMockRunner Requires your project have the same dependencies as #easyMockWithPowerMock() PLUS org.powermock:powermock-module-junit4-rule and org.powermock:powermock-classloading-xstream
|
|
mockito
|
abstract fun mockito(): QuickMockspresso.Builder
Applies the MockerConfig for Mockito. Requires your project have a dependency on 'org.mockito:mockito-core' v2.x
|
|
mockitoWithPowerMock
|
abstract fun mockitoWithPowerMock(): QuickMockspresso.Builder
Applies the MockerConfig for Powermock + Mockito. Requires your project have a dependency on org.mockito:mockito-core v2.x, org.powermock:powermock-api-mockito2, and org.powermock:powermock-module-junit4 v1.7.0+. Also requires your test be runWith the PowerMockRunner
|
|
mockitoWithPowerMockRule
|
abstract fun mockitoWithPowerMockRule(): QuickMockspresso.Builder
Applies the MockerConfig for Powermock + Mockito AND applies a PowerMockRule as an outerRule to Mockspresso, so theres no need to use the PowerMockRunner Requires your project have the same dependencies as #mockitoWithPowerMock() PLUS org.powermock:powermock-module-junit4-rule and org.powermock:powermock-classloading-xstream
|


Utilities are single-purpose styles that provide the backbone for layout. Once these are set, they should be considered immutable and never change or be extended. Each utility is designed to do one thing well, while making its usage simple and obvious with short, humanized naming conventions.
Use these utilities to alter default typographic styles.
Use the following layout utilities to alter default HTML layout.
Margin and padding utilities are based on a global white space scale defined with variables. These utilities use a shorthand naming convention.
| Shorthand | Description |
|---|---|
| m | Margin |
| p | Padding |
| t | Top |
| r | Right |
| b | Bottom |
| l | Left |
| x | X-axis (left and right) |
| y | Y-axis (top and bottom) |
| n | Negative (margin only) |
| 1 | --space-1 (default .5rem) |
| 2 | --space-2 (default 1rem) |
| 3 | --space-3 (default 2rem) |
| 4 | --space-4 (default 4rem) |
Use these utilities to reset or alter default margins. Negative x-axis margins are used to offset padding. Margin auto is used to horizontally center block-level elements with a set width.
Padding utilities are only available in symmetrical orientations. This is to normalize the spacing used around elements.
These styles allow for conditionally showing and hiding elements using a mobile-first approach.
| Prefix | Description |
|---|---|
| (no prefix) | Not scoped to a breakpoint |
| sm- | --breakpoint-sm (default: min-width 40em) |
| md- | --breakpoint-md (default: min-width 52em) |
| lg- | --breakpoint-lg (default: min-width 64em) |
To adjust the default breakpoints, declare custom media queries after importing the file via Rework, or manually adjust them in CSS.
Resize the browser window to see the effect.


All Operations
Process ID
Command
Agent
Action
{record.operation}
{record.command}
{record.agent}
finished
Check process


{{subTitle}}
The file you need to import must have a xls extension
It's content should have the following format:
Product: {{item.product.name}} - Code: {{item.code}} - Units: {{item.units}}
Code: {{item.code}} Product not found!


Rights group file Syria torture case in Norway
by The Associated PressBERLIN (AP) — A human rights group says it has asked Norwegian prosecutors to open a criminal investigation against senior Syrian officials over allegations of torture and crimes against humanity.
The Berlin-based European Center for Constitutional and Human Rights said Tuesday it filed the complaint together with four other groups on behalf of five torture survivors.
The plaintiffs want Norwegian prosecutors to investigate and issue arrest warrants against 17 senior members of Syria’s security apparatus allegedly linked to 14 detention facilities in the country.
It is unclear whether the suspects are outside of Syria. The five victims are living in Norway.
Similar preliminary proceedings are ongoing in France, Sweden and Austria. In Germany, the first such case is expected to go to trial next year.
The Associated Press


Time and Habits
Which timebox and habits techniques did you try?
In terms of habits, coming from a professional development background I've always been a big believer in Carol Dweck's work on mindsets, Csikszentmihalyi's concept of 'Flow' and the importance of celebrating success (be it tiny changes or achieving an end-product). Regarding time and organising time, I've timeboxed before albeit with varying degrees of success.
What did you find interesting?
I like the idea that changing actions can lead to forming new habits and attitudes (Charles Duhigg), and there is a lot of research out there that proves the 'fake it till you make it' view (the positive stuff obviously!). It ties in neatly with a growth mindset view and ideas on flow that you can achieve a whole lot by the view you adopt of yourself as a learner, simply doing it, and ideally in a space where you feel challenged yet energised.
After completing the first few tasks of this programme I am also going to tackle my perfectionist mindset and will be reminding myself of mvp and that - accumulated - tiny changes matter. This blog is a pretty good example of this, by far not what I would like it to look like, "yet" (that's Carol Dweck right there).
What worked for you?
I have started applying the pomodoro method, although in a personalised way. Since most tasks are new to me, I am not yet able to predict how much time I should allocate to each one, but the overall concept is still applicable. I schedule in breaks, which already breaks the bigger tasks at hand into smaller chunks (very helpful) and unless I'm in a state of 'flow' I then really do take a break. I make sure I get away from my computer (change my environment) to make it an 'actual' break. There is definitely some mindfulness in here too, as I focus on enjoying this short break as a break and not just 5 minutes in which I could do the dishes, read emails etc.
I am also making sure that study time is really that: study time. I am not checking emails regarding my contract work, news pages or social media during that time.
Which will you experiment further with?
We're early on in this project, so for now I will stick with the above (clearly allocated time for work, study, breaks and spare time) to avoid blurring of boundaries and what then feels like one part dominating my days.
I will try working in a few different environments over the next few weeks to see how that might impact on my ability to focus and get stuff done.
Home


Real life example
Mute/Unmute
Rotational speed can be measured using a small generator producing a voltage which is proportional the rotational speed (as seen in ME2-HMTX Lab4). Due to the characteristics of the generator, there will always be a “ripple” on the voltage signal caused by construction of the coils (stator and rotor rubbing against each other cause a high frequency noise which disrupts the main voltage). This ripple can be removed using a low pass filter. The speed sensor used in the lab generates 15% ripple voltage (peak to peak) at 4 times the frequency of the speed measured. For a signal at 1,000rpm, the output of the sensor is 4V plus ripple (i.e. 4V DC plus ripple voltage).
a. Select a resistor which, in combination with a 36F capacitor, will reduce the ripple by 20dB. What will the peak-to-peak amplitude of the ripple voltage be after filtering?
b. Select a resistor which, in combination with a 36F capacitor, will reduce the ripple by 40dB.
c. Select a resistor which, in combination with a 36F capacitor, will reduce the ripple by 60dB.
d. What impact could this filter have on the control of the motor speed?
Resistor value:
>mΩ
Capacitor value:
mF
Play


HTML hypertext markup language is the main type of document on the web. It serves as a glue of all other documents that can be found on the web photos, videos, texts, links (hyperlinks)...
Main pieces on the web are: me, my computer/browser, the internet, HTTP(the main protocol on the web) and servers.
HTML is made up of:
text content
markup
referernces to other documents
links to other pages
some tools: scratchpad.io, codepen.io, Andy Brown's Notes, github.com
HTML markup (tags)
b tag
em tag
Paragraph - p tag
br tag
strong tag
HTML attributes
a /anchor tag (href-attribute name, ""-value)
Images - img tag
Inline and block elements, container elements
- Block elements are creating invisible boxes
- Container elements symply contain stuff inside themselves. There are span (which are inline) and div (block) elements. We can add them attributes / styles (ex.by using CSS-separate language)