By instantiating fabric.Text
instances, we can work with text just like we would work with any other Fabric object —
move it, scale it, change its properties, and so on.
fabric.Text
provides a much richer functionality than what canvas gives us. Some of the Fabric additions include:
Displaying text on canvas is as simple as adding fabric.Text
instance at a desired location.
As you can see, the only required first parameter is actual text string.
Second argument is the usual options
object, which can have any of the usual left, top, fill, opacity, etc. properties.
But of course text objects also have their own, unique, text-related properties. Let's look at some of them:
Set as "Times New Roman" by default, this property allow us to change font family used to render a text object. Changing it will immediately make text rendered in a new font.
Font size controls the size of rendered text.
Note that unlike with other objects in Fabric, you can't change text's width/height properties directly.
Instead, you'll need to change fontSize
value in order to make text objects larger or smaller.
Either that, or you can always use scaleX/scaleY
properties.
Font weight allows to make text thicker or thinner -looking. Just like in CSS, you can use either keywords ("normal", "bold") or numbers (100, 200, 400, 600, 800). Note that whether you can use certain weight depends on availability of that weight for a chosen font. If you're using remote font, you'll need to make sure you provide both normal and bold (as well as any other required weight) font definitions.
Text decoration allows to add undeline, overline, or strike-through to a text. This is similar to CSS, but Fabric goes a little further and allows to use any combination of the above together. So you can have a text that's both underline and overline, or underline and strike-through, and so on.
Font style can be one of 2 values: normal
or italic
. This is similar to same-named CSS property.
By combining stroke
(color of the stroke) and strokeWidth
(its width), you can achieve some interesting effects on your text. Here's a couple of examples:
Text align comes useful when working with multiline text. With one-line text, the width of bounding box is always exactly matching that line's width, so there's nothing to align.
Allowed values are "left", "center", and "right".
Another property that might be familiar from CSS-land is lineHeight
.
It allows us to change vertical spacing between text lines in multiline text.
In the following example, first chunk of text has lineHeight of 3, and second one — 1.
Finally, textBackgroundColor
is what allows to give text a background.
Note that background fills only space occupied by text characters, not the entire bounding box.
It means that text alignment changes the way text background is rendered.
So does line height, since background respects this vertical space between lines, created by lineHeight.


You touch a creature and bestow upon it a magical enhancement. Choose one of the following effects; the target gains that effect until the spell ends.
Bear's Endurance. The target has advantage on Constitution checks. It also gains 2d6 temporary hit points, which are lost when the spell ends.
Bull's Strength. The target has advantage on Strength checks, and his or her carrying capacity doubles.
Cat's Grace. The target has advantage on Dexterity checks. It also doesn't take damage from falling 20 feet or less if it isn't incapacitated.
Eagle's Splendor. The target has advantage on Charisma checks.
Fox's Cunning. The target has advantage on Intelligence checks.
Owl's Wisdom. The target has advantage on Wisdom checks.
At Higher Levels. When you cast this spell using a spell slot of 3rd level or higher, you can target one additional creature for each slot level above 2nd.


AF 9.6
Aerofit Upright Bikes are built to perform to the scrutinizing standards of commercial health club equipment. Compare the features of the Aerofit upright bikes and you will find how quality components, precision engineering, state-of-the-art electronics and the best quality in the industry combine to make Aerofit the premier name in home cardio fitness.
- Dimension: 42” (L) X 24”(W) X 58”(H)
- Maximum Watt: 300 Watts.
- Resistance Level: 16 Levels.
- Resistance System: Electro-Magnetic resistance.
- Power: 6 Volts DC adapter for self powered convenience.
- Programs: 16 Programs - manual, polling, valley, fat burn, ramp, mountain, random, body fat, target HR,60% HRC, 75% HRC,85% HRC and user setting – 04 Nos.
- Drive System: Centre design drive, super silent poly-V belt driven.
- ..........
- Machine design features proven biomechanics and advanced structural engineering.
- Quick start key allows commencing exercise with a touch of button.
- Challenging resistance levels to help you meet your fitness goals.
- Constant heart rate display keeps in the desired training for progressive cardio improving and weight loss.
- Heavy gauge welded steel construction with a beautiful metallic coat finish on the frame makes equipment durable.
- Rotating parts with high quality bearing for smooth & silent functioning.
- Benifits
- Machine design features proven biomechanics and advanced structural engineering.
- Quick start key allows commencing exercise with a touch of button.
- Challenging resistance levels to help you meet your fitness goals.
- Constant heart rate display keeps in the desired training for progressive cardio improving and weight loss.
- Heavy gauge welded steel construction with a beautiful metallic coat finish on the frame makes equipment durable.
- Rotating parts with high quality bearing for smooth & silent functioning.


---
layout: post
title: How to survive the emotional pressure of working at home
tags:
- LinkedIn
- Personal Opinion
- Work Practices
status: publish
type: post
published: true
meta:
_edit_last: '451289'
---
When you work from home there are various things you need to do to look after yourself:
- Identify what you need to stay sane and make sure work out how to find or do it
- Set up networks of friends on services such as twitter or facebook. Spend a limited of time each catching up with them -- but be careful not to let it affect productivity too much.
- Make sure you get out off the 'office' for coffee breakfast or lunch. I like to go to a local coffee shop
- Join various groups relevant to your professional or personal interests and consider attending group meetings. IT people based in Melbourne can find a list at Perl Net
- Set boundaries to help you switch off from work and do something else. Having an private office and defined office hours can help
- Make sure that the people you live with understand when you are work and can't be usually expected to join in other activities
- Be flexible and break the schedule and work practices sometimes. After all flexibility is the main reason to telecommute
He also helps to create a decent working environment (space, light, furniture, storage, IT systems). I made some notes on this


Resources
Practice Tips
There are three areas that you should aim to improve when you practice competition mathematics. They are listed below along with some helpful pointers.
Knowledge — Read the entire problem. Think about possible approaches to solving it. Then try to solve the problem and check your answer. Do another similar problem and try to reinforce the concept. If you get stuck, use the internet, a teacher, or a friend to help you work through the problem. Memorize any necessary formulas or steps. Find a problem-solving method that makes sense to you.
Accuracy — Once you understand the related math concept, find a series of problems that are similar to the one you learned (or make them up if possible). Then, do a short number of problems and check your answers. Go over those problems and see what you did wrong. Finally, finish the rest of the problems and focus on being as accurate as possible. Avoid rushing at this point.
Speed — Now that you are confident that you can solve the problem, find or have a friend construct a practice test. Set a fast-paced, but reasonable time limit, create an answer grid, and go! On scratch paper, write as much as you need to as you work, but try not to write so much that it slows you down. Once the time is up, review each problem and how you solved it, and search for faster methods. Take the test again, and see if you can complete the same problems at a faster rate. Over time, you will start to recognize similar problems on related tests and you will begin to develop faster solution methods.
Problem Sets
Below you will find links to past papers for various competitions.
American Mathematics Competition Series (AMC, AIME, USAMO)
Washington State Mathematics Council Mathematics Contest
Other Links
WSMA
Washington Student Math Association (WSMA), a student-led non-profit organization designed to expand and support math club programs in Washington. Their website has lots of great resources, including information about competitions, past tests, and summer programs.
Bellevue School District
Bellevue School District webpage
Newport High School
Newport High School webpage
Art of Problem Solving
Problem-solving mathematics for strong math students, with forums and lots of excellent resources.


Using Conda as a build environment for Linux
10 Oct 2020When it comes to installing software programs and libraries on Linux, compiling from source code is a first-class citizen. I mean it’s the most preferred way and has been there to save lots of time from software developers to meet the different requirements of different hardware/software configurations on a wide variety of Linux distributions. This process has its own challenges, especially in case of installing and satisfying the required dependencies, a task that can be quite nightmarish (of course not as bad as as the nostalgic DLL hell in Windows). It can get even worse when you don’t have root access to install the dependencies, which happens every now and then in daily life of a computational researcher when he/she wants to do this on a remote cluster or a university supercomputer.
A potential solution to this issue is taking advantage of container technologies like Docker or Singularity, but what if we don’t have access to these packages as well? True, the most trivial solution would be compiling all the dependencies also from source code, but you should go for it only if you have super “enough time” as it can be an endless task. This is something I did once to build FreeFEM on an old cluster, and to be honest, it was something I will never go for that again because it required me to compile not only all the dependencies but the compilers as well (a process called “Bootstrapping”). By the way, that was fun enough to be told later, and yes, I should write about it at some point.
So, is there any other option? Yes, there is. Although people know it as a virtual environment manager for Python, Conda can be used in a more generalized manner, and it can be a lifesaver for the aforementioned issue as it provides a fully isolated environment (like containers but without living directly on the kernel) to install the required libraries and compilers. Above this all, it’s very easy to install Conda on a Linux system without the root privilege and any previous software dependency. Yes, what can be better than that?
Technically speaking, compiling things on a Conda environment can be considered as “pseudo-cross-compiling”, a sub-category of “cross-compiling” (a common term you may frequently hear about in the field of embedded systems in which you compile a program on a system but run it somewhere else on a different architecture). But, I cannot describe pseudo-cross-compiling better than how the Anaconda team has documented it in Anaconda compiler tools, so I just quote the relevant part here:
Anaconda’s compilers for Linux are built with something called crosstool-ng. They include not only GCC but also a “sysroot” with glibc, as well as the rest of the toolchain (binutils). Ordinarily, the sysroot is something that your system provides, and it is what establishes the libc compatibility bound for your compiled code. Any compilation that uses a sysroot other than the system sysroot is said to be “cross-compiling.” When the target OS and the build OS are the same, it is called a “pseudo-cross-compiler”. This is the case for normal builds with Anaconda’s compilers on Linux.
It’s very cool, isn’t it?
A couple of weeks ago, a colleague of mine asked me for a solution to install OpenFOAM on a cluster on which he didn’t have root privilege. OpenFOAM has a straightforward installation procedure from the source code but the thing is it requires root privileges to install required dependencies, which is obviously not possible in this case. So, I tried Conda for the first time for this purpose, and indeed, it worked like a charm for us. Yes, it was a bit challenging to make it work (which I should write about in a separate post), but it helped us to compile a complex software from scratch totally independent from the underlying OS and its configurations. In the next post, I will document the procedure in detail as an example of this approach.


Keep music evil.
I don't dance I headbang.
My heart is just too dark to care.
| M. Shadows | |
| Zacky Vengeance | |
| Synyster Gates | |
| Johnny Christ | |
| Brooks Wackerman | |
| The Rev | † 28.12.2009 R.I.P. |
Avenged Sevenfold (sometimes abbreviated as A7X) is an American heavy metal band from Huntington Beach, California, formed in 1999. The band's current lineup consists of lead vocalist M. Shadows, rhythm guitarist and backing vocalist Zacky Vengeance, lead guitarist and backing vocalist Synyster Gates, bassist and backing vocalist Johnny Christ, and drummer Brooks Wackerman.
| Benjamin Kowalewicz |
| Ian D'Sa |
| Jonathan Gallant |
| Aaron Solowoniuk |
| Jordan Hastings |
Billy Talent is a Canadian rock band from Mississauga, Ontario. They formed in 1993 with lead vocalist Benjamin Kowalewicz, guitarist Ian D'Sa, bassist Jon Gallant, and drummer Aaron Solowoniuk. There have been no lineup changes, although Solowoniuk is currently taking a hiatus from the band due to an MS relapse, and Jordan Hastings from Alexisonfire is currently filling in for him. In the 25 years since their inception, Billy Talent has sold over 900,000 physical albums in Canada alone and nearly 3 million albums internationally.
| David Draiman |
| Dan Donegan |
| Mike Wengren |
| John Moyer |
Disturbed is an American heavy metal band from Chicago, formed in 1994. The band includes vocalist David Draiman, guitarist/keyboardist Dan Donegan, bassist John Moyer and drummer Mike Wengren. They have had very few lineup changes, with Donegan and Wengren being the only two remaining original members. Disturbed went into hiatus in October 2011, during which the band's members focused on various side projects, and returned in June 2015, releasing their first album in four years, Immortalized, on August 21, 2015.
| Jonathan Davis | |
| James Shaffer | "Munky" |
| Reginald Arvizu | "Fieldy" |
| Brian Welch | "Head" |
| Ray Luzier |
Korn (stylized as KoЯn) is an American nu metal band from Bakersfield, California, formed in 1993. The band is notable for pioneering the nu metal genre and bringing it into the mainstream Originally formed in 1993 by three members of the band L.A.P.D., Korn's current lineup features founding members James "Munky" Shaffer (rhythm guitar), Reginald "Fieldy" Arvizu (bass), Brian "Head" Welch (lead guitar, backing vocals), and Jonathan Davis (lead vocals, bagpipes), with the addition of Ray Luzier (drums) in 2007, replacing the band's first drummer, David Silveria.
| Corey Taylor | |
| Shawn Crahan | "Clown" |
| Craig Jones | "133" |
| Mick Thomson | |
| Sid Wilson | |
| Jim Root | |
| Alessandro Venturella | "V-man" |
| Jay Weinberg | |
| Michael Pfaff | "Tortilla man" |
| Paul Gray | † 24.5.2010 R.I.P. |
Slipknot is an American heavy metal band from Des Moines, Iowa. The band was founded in 1995 by percussionist Shawn Crahan, drummer Joey Jordison and bassist Paul Gray. Slipknot is well known for its attention-grabbing image, aggressive style of music, and energetic and chaotic live shows.
| Serj Tankian |
| Daron Malakian |
| Shavo Odadjian |
| John Dolmayan |
System of a Down is an Armenian-American heavy metal band formed in Glendale, California in 1994. The band currently consists of Serj Tankian (lead vocals, keyboards), Daron Malakian (vocals, guitar), Shavo Odadjian (bass, backing vocals) and John Dolmayan (drums). The band went on hiatus in 2006 and reunited in 2010; since then, they have performed live occasionally despite having not released any new material since the Mezmerize and Hypnotize albums in 2005.


Some forms to let you play NetInf games in a browser. The list of things named with hashes on this site can be seen here.
This will search Wikipedia for the terms entered, get the first 10 hits, retrieve those and generate ni URIs for them and store meta-data for that ni URI with the wikipedia and local .well-known locators.


- update() - Method in class project.ece301.mantracker.CareProviderHome.CareProviderHomeActivity
-
- update() - Method in interface project.ece301.mantracker.CareProviderHome.CareProviderHomeView
-
- UploadFromCamera(Activity) - Static method in class project.ece301.mantracker.MedicalProblem.UploadPhoto
-
Allows the user to upload a photo from camera by starting a new activity for result
- UploadFromGallery(Activity) - Static method in class project.ece301.mantracker.MedicalProblem.UploadPhoto
-
Allows the user to upload a photo from gallery by starting a new activity for result
- UploadPhoto - Class in project.ece301.mantracker.MedicalProblem
-
Static Class that contains functions for uploading photos from camera and gallery
- UploadPhoto() - Constructor for class project.ece301.mantracker.MedicalProblem.UploadPhoto
-
- UploadPhotos(View) - Method in class project.ece301.mantracker.Activity.AddRecordActivity
-
Displays a dialog asking the user if they want to upload existing photos or take a photo
with the camera.
- useAppContext() - Method in class project.ece301.mantracker.ExampleInstrumentedTest
-
- Username - Class in project.ece301.mantracker.Account
-
Represents a Username.
- Username(String) - Constructor for class project.ece301.mantracker.Account.Username
-
Constructs a Username Object
- Username.InvalidUsernameException - Exception in project.ece301.mantracker.Account
-
Exception Name: InvalidUsernameException
Thrown when a username is invalid.
- Username.TakenUsernameException - Exception in project.ece301.mantracker.Account
-
Exception Name: TakenUsernameException
Thrown when a username has already been taken.
- USERNAME_EXTRA - Static variable in class project.ece301.mantracker.CreateAccount.CreateAccountActivity
-
- UsernameTest - Class in project.ece301.mantracker
-
The type Username test.
- UsernameTest() - Constructor for class project.ece301.mantracker.UsernameTest
-
- UserQuery() - Constructor for class project.ece301.mantracker.MedicalProblem.ElasticSearchProblemController.UserQuery
-
- UserQuery() - Constructor for class project.ece301.mantracker.MedicalProblem.ElasticSearchRecordController.UserQuery
-


I'm relatively experienced with drugs, Iíve taken weed, MDMA, Ketamine, Coke and Shrooms. I decided I needed to try something new out. I found yopo.
They arrived in the post (44 in all) and I instantly put 10 in the microwave, ground them up and stored them for after university (where I bought some baking soda).
I set out my room in my usual trip arrangement (bed ready to get in, bin empty and close to chair just in case I wanted to vomit (never used), some nice chilled out music and dim lights.
So I took my powder, put it onto the CD case and pre-cut it into 10 roughly equal lines (not all for today, but for future use). I did 2 lines and decided to wait for 10 minutes then decide what to do. I felt the intense burning but it wasn't too bad as I was a) prepared for it and b) used to putting foreign pain inducing chemicals up my nose. I did get the headache which I've read about but it subsided after a while. I was quite disappointed that it wasn't accompanied by any effects, hallucinogenic or otherwise.
So after 10 minutes I took some more again I got the burning nose and headache. And after 5 minutes (T +15 of original seeds) I felt extremely sick. I've NEVER felt the slightest bit ill with any other drug but I was feeling pretty damn nauseous. I felt like I could chuck for England. It was so bad that I had to open msn and speak to one of my mates so that he could re-assure me. After maybe 10 minutes (an hour in my head), this subsided and I forced myself to concentrate on the minor hallucinations that I was getting, although I was still feeling very rough. My bones were aching, I had a headache and I had a major case of the hick-ups. The hallucinations weren't all that amazing really, minor fractals if I closed my eyes and colours were mildly intensified if I looked at things with open eyes. I felt so ill however that I wasn't able to go to sleep and I just laid there for an eternity. I did get that 'afterglow' the next morning that was good.
 I think that if the high came without that, I would be a lot happier. I said I wasn't really too impressed with the visuals. Maybe I just had a bad batch, who knows. I certainly won't as I'm not buying anymore! But as it was only £10, I'm also certainly not going to complain.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


ONLINE BUS APPLICATION
Home
Bus Schedule
Bus Junctions
About us
Available Seats:
Location:
Next
slide to page
More Information
You will need to purchase a seat
Bus Junctions
I'm the expanded content.


--- layout: post title: "An Update on Our Sprint Plans" authors: ["Greg Wilson"] date: 2014-06-15 time: "22:00:00" tags: ["Sprint 2014"] ---
Plans for our two-day sprint in July are coming together: full details are being compiled on our Etherpad, but we hope the summary below will give you a taste of what we're hoping to do.
Overview
The goals of our global two-day sprint are to write and build useful things, and to strengthen ties within the open science community by giving people a chance to work together. Work will begin on the morning of Tuesday, July 22 in New Zealand and Australia. As they are starting to wind up for the day, their colleagues in Europe will come online; they'll hand off to people in North and South America, who will in turn hand off to the Western Pacific, and around we'll go again. Groups will keep normal hours—no all-nighters, please—but by the time we wrap up, we'll have been working for 30 hours straight.
What We'll Be Doing
Anything related to teaching and doing open science is welcome to join the sprint—the only requirements are that there be something concrete to start with (because experience shows that starting with a blank screen is a good way to spend two days going in circles), and that someone volunteer to coordinate the work. Projects currently on our roster include adding domain-specific capstone examples to Software Carpentry, introducing scientists to testing and code review, building some administrative infrastructure to help coordinate workshops, and more. If you'd like to propose a project, please add it to the Etherpad, and mail us so that we can help advertise it.
How to Take Part
Mozilla is providing space for the sprint at its offices in Paris, London, New York, Toronto, Vancouver, and San Francisco; other groups are arranging space in Auckland, Melbourne, Edinburgh, Tallahassee (Florida), East Lansing (Michigan), Norman (Oklahoma), and Austin (Texas), and we hope to add more to the Etherpad. Each site will connect to the others via video conferencing so that teams can see and hear one another; groups working on specific projects may be co-located, spread across several sites, or some mix of both. Local organizers will arrange network access and coffee, and point people who don't know the area in the right direction for lunch and after-hours meet-ups.
If you would like to take part, please sign up under one of the site headings below, and mail us<EMAIL_ADDRESS>or<EMAIL_ADDRESS>so that we can send you details. And if you would like to be a host, please let us know—there are almost certainly other people in your area who'd like to take part as well, and we'd be happy to connect you.
Project Ideas
If you would like to suggest a project and coordinate work on it, please add it to the Etherpad.
Projects still looking for leaders
Sites
| Auckland | Melbourne | Tallahassee, Florida |
| Paris | London | East Lansing, Michigan |
| Edinburgh | New York City | Austin, Texas |
| Toronto | Vancouver | Norman, Oklahoma |
| San Francisco |


I have experience working in cutting edge R&D, familiarity with various sensors and next-gen technologies, and passion for leveraging these technologies to solve problems.
Cloud-connected sensors, and automated cloud interfaces.
Mobile Apps and AI Algorithms for Food-Donation Logistics
It is estimated that 40% of food made in the US is thrown away, and is due to lack of infrastructure for food-donations. We are creating this infrastructure, and are creating native IOS and Android apps, advanced AI-planners, and iterating our software on the ground -- our volunteers have delivered 10's of thousands of meals in the past year.
Hack any headphone jack credit card reader into a voltmeter
At a seminar, one professor challenged their audience of teachers to think of ways to incorporate student smartphones in curriculums. Hearing this, in the weekends that followed that seminar, I created a simple circuit and design an Android App that uses the headphone jack as a means of obtaining input.
I used an LM231 voltage-to-frequency converter, that created a square wave proportional to the input voltage. This squarewave was that is sampled and frequency determined and converted back to a voltage.
At first the algorithm used an FFT, but the strategy of measuring the square-wave's zero-crossing proved faster and more reliable.
To gain an intuition about plants before embarking on delicate aquaponics systems, I built a setup
which logged light levels, soil moisture level, and temperature so that I could start running experiments.
I started with varying the light level, and taking pictures once a week during watering (which I used an
erlenmeyer flask to measure to a precise amount each week).
I pushed the data to the cloud for remote monitoring, using an Electric Imp to stream the raw analog data.
On the server, a moving average was performed on soil-moisture-data (since this was particularly noisy).
Illuminance data, and pH data, revealing interesting interplays -- most notably that some plants appeared to "drink" more just when the lights turned off, namely: data consistenly has shown a sharp decline in soil moisture level for the Sanseveria independent of temperature and time of day that I program the LEDs to shutdown.
FoodRev
ML and Mobile Apps for Food Distribution
The foodRev (previously UrBonFood) App is a project rapidly iterating mobile-app/AI-forward-planner/node.js-server that does heavy lifting and answers critical questions (where food is needed, where food is in excess, and a means to connect them) assisting our teams of volunteers to deliver nutritious meals to shelters, food-pantries, and community centers.
Realizing that this had the potential to make a huge impact if polished, I did the responsible thing and reached out to SWE, and Data Science and ML experts in an appeal to create an App and logistics planner with impact as far as mobile.
We're going to be seeing a major overhaul in our web-design, IOS and Android Apps thanks to volunteers from GoogleServe as well as SF Startups, utilizing an AI-based Forward Planner hand-crafted by Principle Data Scientist of the AT&T Big Data Group and Udacity's Data Science Instructor Don Dini.
Project Name
Lorem ipsum dolor sit amet consectetur.
Start Bootstrap's Agency theme is based on Golden, a free PSD website template built by Mathavan Jaya. Golden is a modern and clean one page web template that was made exclusively for Best PSD Freebies. This template has a great portfolio, timeline, and meet your team sections that can be easily modified to fit your needs.
You can download the PSD template in this portfolio sample item at FreebiesXpress.com.
Project Name
Lorem ipsum dolor sit amet consectetur.
Escape is a free PSD web template built by Mathavan Jaya. Escape is a one page web template that was designed with agencies in mind. This template is ideal for those looking for a simple one page solution to describe your business and offer your services.
You can download the PSD template in this portfolio sample item at FreebiesXpress.com.
Project Name
Lorem ipsum dolor sit amet consectetur.
Dreams is a free PSD web template built by Mathavan Jaya. Dreams is a modern one page web template designed for almost any purpose. It’s a beautiful template that’s designed with the Bootstrap framework in mind.
You can download the PSD template in this portfolio sample item at FreebiesXpress.com.


var localStorage;
// This check must be made in a try/catch. If cookies are disabled for a
// browser then window.localStorage will throw an undefined exception.
try {
localStorage = window.localStorage;
} catch (error) {
localStorage = null;
}
export class LocalStorageUtils<T> {
constructor(public id: string) {}
public save(data: T) {
try {
Eif (localStorage != null) {
localStorage.setItem(this.getLocalStorageKey(), JSON.stringify(data));
}
} catch (error) {}
}
public load(): T {
try {
Iif (localStorage == null) {
return null;
}
var value = localStorage.getItem(this.getLocalStorageKey());
return value && JSON.parse(value);
} catch (error) {
return null;
}
}
public remove(key?: string) {
try {
if (localStorage != null) {
if (key == undefined) {
localStorage.removeItem(this.getLocalStorageKey());
} else {
var oldObj = this.load();
delete oldObj[key];
this.save(oldObj);
}
}
} catch (error) {}
}
private getLocalStorageKey() {
return 'coveo-' + this.id;
}
}
|


TABLE OF INTERACTIONS WITH
IDELALISIB
From the French ANSM drug interactions document of
September 2016, pp. 110-111
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
CALCIUM CHANNEL BLOCKERS CLASS CODE: CO8CA-001 |
Increase of the undesirable effects of the calcium channel blocker, of the orthostatic hypotension sort, especially with older patients |
Precaution for use Clinical monitoring and adjustment of the dosage of the calcium channel blocker during the treatment with idelalisib and after it is stopped. |
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
ANTICONVULSANT ENZYMATIC INDUCERS CLASS CODE: N03A-001 |
Decrease of the plasma concentrations of idelalisib due to increase of its hepatic metabolism by the anticonvulsant enzymatic inducer |
Not recommended |
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
STRONG INHIBITORS OF CYP3A4 CLASS CODE: J02-J05 |
Increase of the plasma concentrations of idelalisib due to decrease of its hepatic metabolism by the inhibitor |
Take into account |
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
ST JOHNS WORT Hypericum perforatum RxNorm: 258326 ATC: not found |
Risk of large decrease of the plasma concentrations of idelalisib due to increase of its hepatic metabolism by the St Johns wort |
Not recommended |
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
RIFAMPICIN RxNorm: 9384 ATC: J04AB02 |
Decease of the plasma concentrations of idelalisib due to increase of its hepatic metabolism by the inducer. |
Not recommended |
IDELALISIB RxNorm: 1544460 ATC: L01XX47 |
SUBSTRATES AT RISK OF CYP3A4 CLASS CODE: L01N01 |
Increase of the plasma concentrations of the substrate due to decrease of its hepatic metabolism by the idelalisib. |
Not recommended |


<glossgroup>
The <glossgroup> is a specialized topic that can contain multiple <glossentry> topics within a single document.
<glossentry>
Category: Glossary related elements


TABLE OF CONTENTS
A. GS1 Related B. GS2 Related POLITY 1. SC ruling on age of consent today 2. Law officers can take up private practice: Prasad 3. Passive euthanasia already a law, says govt. 4. East, NE States score high in curbing infant mortality INTERNATIONAL AFFAIRS/BILATERAL RELATIONS 1. Post-Doklam, the healing touch of yoga C. GS3 Related ECONOMICS 1. IMF lowers India’s growth projection, attributes it to demonetisation, GST 2. No respite for Indian banks as bad loans hit record $146 billion 3. Stressed companies to delay investment recovery by 2-3 yrs: India Ratings 4. Is ‘deep sea fishing’ the silver bullet? 5. Petroleum ministry to seek Cabinet approval for domestic gas trading hub 6. A new industrial policy for Bharat SCIENCE AND TECHNOLOGY/HEALTH ISSUES 1. WHO releases new guidelines to manage obesity in children D. GS4 Related E. Prelims Fact F. UPSC Prelims Practice Questions G. UPSC Mains Practice Questions
Nothing here for Today!!!
1. SC ruling on age of consent today
In news:
- The Supreme Court will on Wednesday pronounce its verdict on whether or not an exception to rape, sanctioned by the Indian Penal Code that allows a man to have sexual intercourse with his wife aged above 15 is valid.

- Definition of ‘child’ in recent laws such as the Protection of Children from Sexual Offences Act, 2012, which includes any person below the age of 18.
- The court has repeatedly questioned the continued existence of this exception to rape when the other parliamentary laws have uniformly said that the age of consent of a girl is 18.
Government’s response: doing away with this exception clause in the IPC would open a Pandora’s box on marital rape, which does not exist in India.
NGO, Independent Thought’s contention: the exception clause was “violative of Articles 14, 15 and 21 of the Constitution to the extent that it permits intrusive sexual intercourse with a girl child aged between 15 and 18 years, only on the ground that she has been married.
Basic Information:
Section 375 in The Indian Penal Code
375. Rape.—A man is said to commit “rape” who, except in the case hereinafter excepted, has sexual intercourse with a woman under circumstances falling under any of the six following descriptions:—
(First) — against her will.
(Secondly) —Without her consent.
(Thirdly) — With her consent, when her consent has been obtained by putting her or any person in whom she is interested in fear of death or of hurt.

(Fifthly) — With her consent, when, at the time of giving such consent, by reason of unsoundness of mind or intoxication or the administration by him personally or through another of any stupefying or unwholesome substance, she is unable to understand the nature and consequences of that to which she gives consent.
(Sixthly) — With or without her consent, when she is under sixteen years of age. Explanation.—Penetration is sufficient to constitute the sexual intercourse necessary to the offence of rape.
(Exception) —Sexual intercourse by a man with his own wife, the wife not being under fifteen years of age, is not rape.] STATE AMENDMENT
(Manipur) —(a) in clause sixthly, for the word “sixteen” substitute the word “fourteen”;
The Protection of Children from Sexual Offences Act, 2012: The Act is gender-neutral and defines a child as any person below the age of eighteen years.
It provides:
- Precise definitions for different types of Child abuse crimes
- Stringent punishments
- Mandatory reporting
- Child-friendly procedures
- Under Section 45 of the Act, the power to make rules rests with the Central Government
- Qualifications and experience of interpreters
- Arrangements for care and protection
- Criteria for award of compensation by the Special Court
The National Commission for the Protection of Child Rights (NCPCR) and State Commissions for the Protection of Child Rights (SCPCRs) have been made the designated authority to monitor the implementation of the Act
2. Law officers can take up private practice: Prasad
In news:
Union Law and Justice Minister Ravi Shankar Prasad said that government law officers were allowed to take up private suits depending on the nature of the case. But they are disallowed from suits in which the state is party.
3. Passive euthanasia already a law, says govt.
Government response to the Supreme Court Constitution Bench:
- Passive euthanasia, the act of withdrawing life support to a terminally-ill patient, is already the law of the land.
- Aruna Shanbaug case: The government pointed out that the Supreme Court itself, in 2011, had issued comprehensive guidelines allowing passive euthanasia in the tragic case of the bed-ridden former Mumbai nurse Aruna Shanbaug.
- The government said it was finalising a draft law on passive euthanasia called ‘The Management of Patients With Terminal Illness – Withdrawal of Medical Life Support Bill’, which was drawn up in line with the recommendations of the Law Commission of India that life support can be withdrawn for patients in persistent vegetative state (PVS) or suffering an irreversible medical condition.
- Centre’s objection: The Centre, however, objected to legalising the concept
of ‘Living Will’ — an advance written directive to physicians for end-of-life medical care.
Reason: this may lead to the abuse and neglect of the elderly, especially if they were financially well-off. The government pointed out that the living will was a concept which contradicts a person’s instinctive urge to survive.
Social and philosophical aspects
Forcing a person to take medical treatment against their will is also a social issue
- On one hand, country is short of medical facilities etc, and on other hand, we force those who are in a hopeless situation to take treatment
- This also raises a “philosophical question” on whether a person can refuse treatment
- An individual who refuses to undergo treatment may become a burden on the resources of the state
Way forward
- As laid down in the Shanbaug case, the way ahead was to allow medical boards to decide whether to allow passive euthanasia or not
Basic Information:
Passive euthanasia:
- Passive euthanasia is the acts of hastening the death of a terminally-ill patient by altering some form of support and letting nature take its course.
- Passive euthanasia can involve turning off respirators, halting medications, discontinuing food and water so the patient dies because of dehydration or starvation.
- Passive euthanasia can include giving the patient large doses of morphine to control pain in spite of the likelihood that the painkiller can cause fatal respiratory problems.
Active euthanasia: Active euthanasia involves helping the patient to die on the basis of a request by either the patient of those close to him or her, usually direct family members.
Living Will:
- A Living Will is a document that allows a person to explain in writing which medical treatment he or she does or does not want during a terminal illness.
- A terminal illness is a fatal illness that leads ultimately to death.
- A Living Will takes effect only when the patient is incapacitated and can no longer express his or her wishes. The will states which medical treatments may be used and which may not be used to die naturally and without the patient’s life being artificially prolonged by various medical procedures.
4. East, NE States score high in curbing infant mortality
In news:
- IMR: Infant Mortality Rate(IMR) is counted as the number of deaths per 1,000 live births
- Data released by the Sample Registration Survey (SRS) bulletin:
- According to the SRS’ data, states from the east and northeastern part of the country have registered a significant drop in IMR
- The all-India IMR has also decreased from 37 in 2015 to 34 in 2016
- The SRS bulletin, published by the office of Registrar General of India
State wise performance:
- Bihar, which has the highest density of population in the country, has recorded a drop of four points in IMR from 42 in 2015 to 38 in 2016
- In Assam, the IMR has dropped from 47 to 43 and in Jharkhand, it has dropped from 32 to 29
- In Odisha, the IMR have dropped from 46 to 44
- West Bengal, which has been showing a steady decline over the past few years, has recorded a drop of one point from 26 in 2015 to 25 in 2016
Category: INTERNATIONAL AFFAIRS/BILATERAL RELATIONS
1. Post-Doklam, the healing touch of yoga
Key Points:
- China’s Minzu University is offering the country’s first master’s degree in Yoga.
- Significance: It appears to be a clear signal that soft power is being deployed to reactivate China-India ties in the aftermath of the tense Doklam standoff.
- The programme is being sponsored by the China-India Yoga College at the University, and India’s Swami Vivekananda Yoga Anusandhana Samsthana.
- The three-year course includes two years in China and a final year in India.
- Classes will cover lessons on yoga asanas, yoga physiology, yoga anatomy, yoga therapy as well as meridian theory.
- The curriculum includes courses in Hindi and Sanskrit.
1. IMF lowers India’s growth projection, attributes it to demonetisation, GST
International Monitory Fund (IMF) predictions:
- In the latest World Economic Outlook released on October 10, IMF has projected India to grow at 6.7% in 2017 and 7.4% in 2018.
- Reasons: The report cited “lingering impact” of demonetisation and the Goods and Services Tax for the expected slow down during the current and the next year.
World economy is picking up steam:
- The IMF has revised upwards “global growth projections to 3.6% for this year and 3.7% for next.
- Pickups in investment, trade, and industrial production, coupled with strengthening business and consumer confidence, are supporting the recovery
2. No respite for Indian banks as bad loans hit record $146 billion
Context:
- Indian banks’ sour loans hit a record 5 trillion rupees ($145.56 billion) at the end of June.
- Key Fact: Asia’s third-largest economy is no nearer to bringing its bad debt problems under control.
In news:
- A review of Reserve Bank of India (RBI) data obtained through right-to-information requests shows banks’ total stressed loans – including non-performing and restructured or rolled over loans – rose 4.5 percent in the six months to end-June. In the previous six months they had risen 5.8 percent.
- The bulk of India’s sour loans are in the state banks and stem from lending to large conglomerates, especially in steel and infrastructure.
- Key Fact: Stressed loans as a percentage of total loans reached 12.6 percent at end-June, according to the RBI data, the highest level in at least 15 years.
- According to RBI data, new loans grew at just about 5 percent in the year to March, the lowest growth rate in more than six decades. Several banks have already cut back their loan books to conserve capital.
- Negative impact:
- The stubborn bad debt problem has eaten up bank profits and choked off new lending, especially to smaller firms.
- Banks are having to take higher provisions to account for more defaulters being pushed into bankruptcy. And margins are likely to be squeezed further by proposed new rules to encourage commercial banks to pass on central bank interest rate cuts.
Bank Recapitalization:
- Fitch Ratings estimates Indian banks will need $65 billion of additional capital by March 2019 to meet Basel III global banking rules.
- Moody’s expects the top 11 state lenders alone will need nearly $15 billion. The government has just $3 billion left in its budget for bank recapitalization.
3. Stressed companies to delay investment recovery by 2-3 yrs: India Ratings
Context:
- Report by India Ratings limited on the stressed assets scenario in the Indian industry.
- Main theme: Stressed corporates could derail the overall investment recovery for another two-to-three years in the wake of moderate consumption demand, global overcapacity and working capital disruptions due to the goods and services tax.
- The main concern expressed by the report is decline in capital expenditure in the Indian industry.
Key Findings:
- There are 75 stressed corporates who constitute 20 per cent of the total capital expenditure spending over FY12-17.
- These corporates are from key investment-linked sectors, such as metals and mining, infrastructure, and power.
- The majority of stressed corporates would require another 4-5 years to deleverage (the process of reducing the level of one’s debt by rapidly selling one’s assets) to a sustainable level of 4-5 times from their current leverage of 9-10 times
Reasons:
- Key Areas of Stresses: There are pockets of stress within sectors, especially infrastructure, metals and power (particularly thermal) owing to high leverage and weak cash flow.
- These sectors witnessed a significant decline in capacity utilisation.
- Corporates are likely to show an unwillingness to invest in long-term projects due to muted demand and significant leverage, despite a low interest rate environment.
Way forward: The core sectors need to focus on selling stressed assets and equity infusion in order to make efforts in incurring capital expenditure.
Basic Information:
- Capital Expenditure: Money spent by a business or organization on acquiring or maintaining fixed assets, such as land, buildings, and equipment.
- EBITDA: Earnings before interest, tax, depreciation and amortization (EBITDA) is a measure of a company’s operating performance. Essentially, it’s a way to evaluate a company’s performance without having to factor in financing decisions, accounting decisions or tax environments.
4. Is ‘deep sea fishing’ the silver bullet?
Context:
- Steps taken by the government of India and the state of Tamilnadu to promote deep sea fishing.
Issue:
- The main issue is to do with the oversized fleet of Tamil Nadu trawlers that fish regularly in Sri Lankan waters, often damaging the boats and gear of small-scale Tamil fishers from the Northern Province of Sri Lanka.
- The Sri Lankan government has not only passed a legislation banning trawling but its navy has also been vigilantly patrolling the International Maritime Boundary Line.
A new strategy:
- The plan is to remove as many trawl vessels from the Palk Bay as possible. And replace them with deep sea vessels that fish in the Bay of Bengal and Gulf of Mannar, in 2017-2020.
- The plan in the Palk Bay is to extract 2,000 trawlers from the bay. Each vessel will cost Rs 80 lakhs of which only 30 per cent (10% upfront+ 20% loan) is to be paid by the trawl owners, while rest will be paid by state and central government as subsidy.
- The Central and Tamil Nadu governments are jointly providing finance for the project.
- The new replacement tuna long liner boats cannot trawl or operate in the Palk Bay.
- The government is now creating a new deep-sea fishing harbour at Mookaiyur, located just south of the Palk Bay in the Gulf of Mannar, where many of these vessels are likely to be berthed.
- Priority is to be given to owners who have had their boats apprehended or damaged in Sri Lanka
Challenges:
- There is a question whether there are sufficient stocks of fish in the adjacent waters of the Bay of Bengal and Gulf of Mannar to make deep sea fishing economically viable for a large and new fleet of vessels.
- Are the trawl owners interested: do Palk Bay trawl fishers, who are used to one-day fishing, have sufficient skills and an interest for deep sea fishing.
- The question of what will become of trawl crews (who might not have the required skills for deep sea fishing) remains largely unaddressed, potentially jeopardising the local economy of the region.
- The main concern for the trawl owners is whether deep sea fishing is a sound investment or not.
- Some fishermen have doubts about the high operational costs of deep sea fishing and the loan repayment schedule.
- Equally of concern is the Tamil Nadu Fisheries Department’s capacity to monitor, control and carry out surveillance (MCS) of the process of decommissioning.
Way forward:
- Whether deep sea fishing will reduce the Palk Bay fishing conflict depends entirely on the downsizing of the existing trawl fleet. This means actual implementation of rules on the ground is the most important thing to look into.
- Various other solutions such as buy-backs, alternative livelihoods and skill development need to be rolled out with a simultaneous focus on a strong MCS system. Only then can this intransigent fishing conflict be finally resolved.
Basic Information:
- Trawling: Trawling is a method of fishing that involves actively dragging or pulling a trawl through the water behind one or more trawlers. Trawls are fishing nets that are pulled along the bottom of the sea or in midwater at a specified depth.
- Deep Sea Fishing: Deep sea fishing is a form of angling that requires deep waters and usually takes place further away from land. The water depth should be at least 30 meters to be considered deep sea fishing territory.
5. Petroleum ministry to seek Cabinet approval for domestic gas trading hub
In news:
- Petroleum ministry is seeking approval from the Union Cabinet’s for a domestic gas trading hub
- It help India adopt a better mechanism for price discovery of both domestic as well as imported gas
- Ministry is in the process of creating an internal think-tank to assist in priority areas
like
(1) Foreign investment
(2) Moving towards gas-based economy
(3) Financing models
(4) Using technology and curbing hydrocarbon imports - Current Scenario:
Currently, the price of natural gas in the country is determined through a government-mandated formula that links the local price to rates prevailing in gas-surplus nations - Plans ahead:
Currently, India imports almost 60 per cent of its petroleum requirements
India also plans to double its network of pipelines to transport natural gas to 30,000 km within the next three-four years which will help in shifting to a gas-based economy, reduce greenhouse emissions and cut oil import.
6. A new industrial policy for Bharat
Context:
- A recent report by Deloitte LLP pointed out that India’s young population will drive its economic growth to overtake China and other Asian tigers in the next few decades.
- The potential workforce in India is set to increase to 1.08 billion in the next 20 years and hold above the billion mark for 50 years.
- This requires enabling conditions for growth are created and sustained.
About Industrial Policy, 2017:
- The Department of Industrial Policy and Promotion (DIPP), released the discussion paper on Industrial Policy 2017.
- It highlights the progress made in the last 25 years and facilitates discussions for the formulation of new industrial policy aimed at building a globally competitive Indian industry equipped with skill, scale and technology.
- It recognizes the need to gainfully employ a growing workforce and lists long-term and medium-term measures and related challenges.
Economic Survey 2017 opinion about rising workforce:
- It points out that the richer peninsular states in India will initially witness a sharp increase in working age populations, followed by a sharp decline.
- In contrast, the poorer hinterland states will remain young and dynamic, characterized by a rising working age population for some time, plateauing towards the middle of the century.
What needs to be done to cash upon demographic dividend?
- The poorer states in the hinterland are characterized by a substantial rural, informal economy where agriculture and allied non-farm activities are the principal sources of livelihood.
- For India to realize its economic potential, it is this population which needs to be tapped and provided opportunities.
- Significant migration in search of better sources of livelihood is also being witnessed from such areas towards urban centres, which needs to be carefully managed.
Issues:
- The policy does not discuss ideas for creating jobs for and in Bharat.
- It follows conventional approach that confines the scope of industrial policy to “manufacturing enterprises”, unrelated to agriculture and the services sectors.
- This myopic industrial policy can have adverse consequences in the longer term.
- It recognizes the importance of competition and strengthening global linkages and value chains. But incentives to select sunrise sector will potentially disincentivize competition and innovation, and curb the growth of other sectors
- This sector specific approach might result in policies soon becoming out of sync with dynamic economic developments and with our World Trade Organization (WTO) obligations.
- An effective industrial policy cannot be merely a collection of sectoral policies.
Way Forward:
- It must appreciate its linkages with agriculture, services policies and with trade, competition and sector-specific policies at a broader level.
- A systems’ view informed by a whole-of-government approach is needed.
- It will treat the economy like a complex human body, composed of many sub-systems, each of which performs a function to enable the entire system to remain healthy and grow.
- The Indian economy has suffered from several ill-advised medications in the past, and more recently as well. Such experiments need to be prevented.
- It requires different actors and government departments engaged in specific sub-systems to work with each other.
- Stakeholders involved in the design of specific policies must interact with each other and optimize the functioning of crucial sub-systems.
- A powerful nodal department in the prime minister’s office should be authorized to ensure coherence through coordination with different departments and related stakeholders, and enable swift decision making within predetermined time frames.
- A new forward-looking industrial policy for India must have Bharat as its soul.
- A long-term view needs to be taken on competition and trade-related issues, and the industrial policy should avoid the temptation of short-term benefits of over-protectionism.
Category: SCIENCE AND TECHNOLOGY/HEALTH ISSUES
1. WHO releases new guidelines to manage obesity in children
Context:
- Childhood obesity a “Global epidemic”.
- The World Health Organization (WHO) has released new guidelines on how trained professionals can better identify youngsters in need of help.
In news:
- India has the second highest number of obese children in the world after China, according to a study published in The New England Journal of Medicine in June this year.
- Key Point: Doctors say identification of obesity in children is the main issue as often parents think a chubby child is a healthy child.
Integrated Management of Childhood Illness (IMCI):
- The WHO guidelines titled “Assessing and managing children at primary healthcare facilities to prevent overweight and obesity in the context of the double burden of malnutrition” provides updates for the Integrated Management of Childhood Illness (IMCI).
- The guideline includes counselling, dieting and assessment of eating habits along with the usual weight and height measurements.
Double-burden of malnutrition:
- In 2016, one half of all children overweight or obese lived in Asia and one quarter lived in Africa.
- Paradoxically, overweight and obesity is found in populations where under-nutrition remains common — this phenomenon is sometimes termed as ‘double-burden of malnutrition’.
Key Fact:
- A study published in Paediatric Obesity says India will have over 17 million children with excess weight by 2025.
- Reasons for the increasing trend of Obesity among children: urbanisation, increased income, availability of fast foods, educational demands, television viewing and gaming have led to a rise in the consumption of foods high in fats, sugar and salt and low physical activity.
What needs to be done?
Diagnose at early stage: Early prevention is the need of the hour to avoid an entire generation from falling prey to heart ailments, hypertension and diabetic complications.
Nothing here for Today!!!
F. Practice Questions for UPSC Prelims Exam
Question 1. Shaphee Lanphee, a traditional textile fabric, is a GI product from which of
the following states?
- Assam
- Manipur
- Jammu & Kashmir
- Andhra Pradesh
See
Question 2. The states in India which require Inner Line permit are:
- Arunachal Pradesh, Mizoram and Nagaland
- Arunachal Pradesh, Mizoram and J & K
- Arunachal Pradesh, Mizoram and Tripura
- Arunachal Pradesh, Mizoram and Assam
See
Question 3. The Indra Exercise is a join military exercise between India and
- Japan
- Sri Lanka
- Mauritius
- Russia
Question 4. India’s first micro forest will be built in which state?
- Madhya Pradesh
- West Bengal
- Uttar Pradesh
- Chattisgarh
Question 5. Which fish has been officially declared as one of the rarest species of fish in the
world by the Marine Living Resources Department of Andhra University?
- Rohu
- Rayichapalu
- Catla
- Tengra
G. UPSC Mains Practice Questions
GS Paper II
- What is Conference of Governors? What is its importance?
GS Paper IV
- Critically analyze the various ethical issues associated with euthanasia?
Also, check previous Daily News Analysis
“Proper Current Affairs preparation is the key to success in the UPSC- Civil Services Examination. We have now launched a comprehensive ‘Current Affairs Webinar’. Limited seats available. Click here to Know More.”
Enroll for India’s Largest All-India Test Series


So often when hackers get in it is through social engineering, not holes in security. 🔗 I Got Hacked and All I Got Was This New SIM Card — carpeaqua.com/2017/07/0…
A beautiful morning in Sydney. Quite excited that after a month I have my camera back from repairs
Website still down. Hopefully will be able to fix it over the weekend
Listening to Derrick Story’s latest The Digitala story podcast. Excited to hear that TWiP (This Week In Photography) podcast is coming back
I’ve managed to break my blog. Will probably be able to fix it tomorrow sometime!
🔗 Privacy Mythbusting #3: Anonymized data is safe, right? (Er, no.) — spreadprivacy.com/dataanony…
🔗 Apple’s Cryptocurrency Announced at WWDC — medium.com/the-missi…
🔗 MarsEdit 4 and microblogs — www.manton.org/2017/06/m…
🔗 One Week with the New iPad Pro — apple.news/A_TkC5KXA…
🔗 Privacy Mythbusting #1: Nobody else cares about privacy! (Umm, yes they do.) — spreadprivacy.com/who-cares…
🔗 Openness, rivers, the IndieWeb community — richardmacmanus.com/2017/06/2…
Awesome on 2 fronts: iOS app going universal and micro.blog public launch approaching…
| 🔗 Micro.blog iOS going universal | Manton Reece — www.manton.org/2017/06/m… |
🔗 Thinking out loud about the Apple Watch — www.practicallyefficient.com/2017/06/2…
🔗 Step away from knee jerk fantasies — johntitchen.wordpress.com/2017/06/1…
🔗 What to post to a microblog — www.manton.org/2017/06/w…
🔗 5 Reasons Landscape Photographers Have A Screw Loose — www.scottdavenportphoto.com/blog/5-re…
🔗 The 10.5” iPad Pro: Future-Proof — www.macstories.net/stories/t…
🔗 8 types of annoying ads — marketoonist.com/2017/06/a…
🔗 How a TV Sitcom Triggered the Downfall of Western Civilization — medium.com/@thatdavi…
🔗 The Physics of Productivity: Newton’s Laws of Getting Stuff Done — jamesclear.com/physics-p…


Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to<EMAIL_ADDRESS>so we can send you a copy immediately.
Zend_Http_Client is an implementation of an HTTP client in PHP. The client supports basic features like sending different HTTP requests and handling redirections, as well as more advanced features like proxy settings, HTTP authentication and cookie persistence (using a Zend_Http_CookieJar object)
GET = 'GET'
HTTP request methods
POST = 'POST'
PUT = 'PUT'
HEAD = 'HEAD'
DELETE = 'DELETE'
TRACE = 'TRACE'
OPTIONS = 'OPTIONS'
CONNECT = 'CONNECT'
MERGE = 'MERGE'
AUTH_BASIC = 'basic'
Supported HTTP Authentication methods
HTTP_1 = '1.1'
HTTP protocol versions
HTTP_0 = '1.0'
CONTENT_TYPE = 'Content-Type'
Content attributes
CONTENT_LENGTH = 'Content-Length'
ENC_URLENCODED = 'application/x-www-form-urlencoded'
POST data encoding methods
ENC_FORMDATA = 'multipart/form-data'
resource $_fileInfoDb = 'null'
Fileinfo magic database resource
This variable is populated the first time _detectFileMimeType is called and is then reused on every call to this method
Zend_Http_Client_Adapter_Interface $adapter = 'null'
The adapter used to perform the actual connection to the server
array|null $auth = ''
HTTP Authentication settings
Expected to be an associative array with this structure: $this->auth = array('user' => 'username', 'password' => 'password', 'type' => 'basic') Where 'type' should be one of the supported authentication types (see the AUTH_* constants), for example 'basic' or 'digest'.
If null, no authentication will be used.
array $config = 'array'
Configuration array, set using the constructor or using ::setConfig()
Zend_Http_CookieJar $cookiejar = 'null'
The client's cookie jar
string $enctype = 'null'
Request body content type (for POST requests)
array $files = 'array'
File upload arrays (used in POST requests)
An associative array, where each element is of the format: 'name' => array('filename.txt', 'text/plain', 'This is the actual file contents')
array $headers = 'array'
Associative array of request headers
string $last_request = 'null'
The last HTTP request sent by the client, as string
Zend_Http_Response $last_response = 'null'
The last HTTP response received by the client
string $method = 'self'
HTTP request method
array $paramsGet = 'array'
Associative array of GET parameters
array $paramsPost = 'array'
Associative array of POST parameters
string $raw_post_data = 'null'
The raw post data to send. Could be set by setRawData($data, $enctype).
int $redirectCounter = '0'
Redirection counter
Zend_Uri_Http $uri = 'null'
Request URI
__construct(
Zend_Uri_Http|string $uri
=
null, array $config
=
null
)
:
Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
_detectFileMimeType(
string $file
)
:
string
Attempt to detect the MIME type of a file using available extensions
This method will try to detect the MIME type of a file. If the fileinfo extension is available, it will be used. If not, the mime_magic extension which is deprected but is still available in many PHP setups will be tried.
If neither extension is available, the default application/octet-stream MIME type will be returned
_flattenParametersArray(
array $parray, string $prefix
=
null
)
:
array
Convert an array of parameters into a flat array of (key, value) pairs
Will flatten a potentially multi-dimentional array of parameters (such as POST parameters) into a flat array of (key, value) paris. In case of multi-dimentional arrays, square brackets ([]) will be added to the key to indicate an array.
_getParametersRecursive(
array $parray, bool $urlencode
=
false
)
:
array
Helper method that gets a possibly multi-level parameters array (get or post) and flattens it.
The method returns an array of (key, value) pairs (because keys are not necessarily unique. If one of the parameters in as array, it will also add a [] suffix to the key.
This method is deprecated since Zend Framework 1.9 in favour of self::_flattenParametersArray() and will be dropped in 2.0
_openTempStream(
)
:
resource
Create temporary stream
_prepareBody(
)
:
string
Prepare the request body (for POST and PUT requests)
_prepareHeaders(
)
:
array
Prepare the request headers
_setParameter(
string $type, string $name, string $value
)
:
null
Set a GET or POST parameter - used by SetParameterGet and SetParameterPost
encodeAuthHeader(
string $user, string $password, string $type
=
self
)
:
string
Create a HTTP authentication "Authorization:" header according to the specified user, password and authentication method.
encodeFormData(
string $boundary, string $name, mixed $value, string $filename
=
null, array $headers
=
array
)
:
string
Encode data to a multipart/form-data part suitable for a POST request.
getAdapter(
)
:
Zend_Http_Client_Adapter_Interface
Load the connection adapter
getCookieJar(
)
:
Zend_Http_CookieJar|null
Return the current cookie jar or null if none.
getHeader(
string $key
)
:
string|array|null
Get the value of a specific header
Note that if the header has more than one value, an array will be returned.
getLastRequest(
)
:
string
Get the last HTTP request as string
getLastResponse(
)
:
Zend_Http_Response
Get the last HTTP response received by this client
If $config['storeresponse'] is set to false, or no response was stored yet, will return null
getRedirectionsCount(
)
:
int
Get the number of redirections done on the last request
getStream(
)
:
boolean|string
Get status of streaming for received data
getUri(
boolean $as_string
=
false
)
:
Zend_Uri_Http|string
Get the URI for the next request
request(
string $method
=
null
)
:
Zend_Http_Response
Send the HTTP request and return an HTTP response object
resetParameters(
bool $clearAll
=
false
)
:
Zend_Http_Client
Clear all GET and POST parameters
Should be used to reset the request parameters if the client is used for several concurrent requests.
clearAll parameter controls if we clean just parameters or also headers and last_*
setAdapter(
Zend_Http_Client_Adapter_Interface|string $adapter
)
:
null
Load the connection adapter
While this method is not called more than one for a client, it is seperated from ->request() to preserve logic and readability
setAuth(
string|false $user, string $password, string $type
=
self
)
:
Zend_Http_Client
Set HTTP authentication parameters
$type should be one of the supported types - see the self::AUTH_* constants.
To enable authentication:
$this->setAuth('shahar', 'secret', Zend_Http_Client::AUTH_BASIC);
To disable authentication:
$this->setAuth(false);
setConfig(
Zend_Config $config
=
array
)
:
Zend_Http_Client
Set configuration parameters for this HTTP client
setCookie(
Zend_Http_Cookie|string $cookie, string|null $value
=
null
)
:
Zend_Http_Client
Add a cookie to the request. If the client has no Cookie Jar, the cookies will be added directly to the headers array as "Cookie" headers.
setCookieJar(
Zend_Http_CookieJar|boolean $cookiejar
=
true
)
:
Zend_Http_Client
Set the HTTP client's cookie jar.
A cookie jar is an object that holds and maintains cookies across HTTP requests and responses.
setEncType(
string $enctype
=
self
)
:
Zend_Http_Client
Set the encoding type for POST data
setFileUpload(
string $filename, string $formname, string $data
=
null, string $ctype
=
null
)
:
Zend_Http_Client
Set a file to upload (using a POST request)
Can be used in two ways:
setHeaders(
string|array $name, mixed $value
=
null
)
:
Zend_Http_Client
Set one or more request headers
This function can be used in several ways to set the client's request headers: 1. By providing two parameters: $name as the header to set (e.g. 'Host') and $value as it's value (e.g. 'www.example.com'). 2. By providing a single header string as the only parameter e.g. 'Host: www.example.com' 3. By providing an array of headers as the first parameter e.g. array('host' => 'www.example.com', 'x-foo: bar'). In This case the function will call itself recursively for each array item.
setMethod(
string $method
=
self
)
:
Zend_Http_Client
Set the next request's method
Validated the passed method and sets it. If we have files set for POST requests, and the new method is not POST, the files are silently dropped.
setParameterGet(
string|array $name, string $value
=
null
)
:
Zend_Http_Client
Set a GET parameter for the request. Wrapper around _setParameter
setParameterPost(
string|array $name, string $value
=
null
)
:
Zend_Http_Client
Set a POST parameter for the request. Wrapper around _setParameter
setRawData(
string|resource $data, string $enctype
=
null
)
:
Zend_Http_Client
Set the raw (already encoded) POST data.
This function is here for two reasons: 1. For advanced user who would like to set their own data, already encoded 2. For backwards compatibilty: If someone uses the old post($data) method. this method will be used to set the encoded data.
$data can also be stream (such as file) from which the data will be read.
setStream(
string|boolean $streamfile
=
true
)
:
Zend_Http_Client
Set streaming for received data
setUri(
Zend_Uri_Http|string $uri
)
:
Zend_Http_Client
Set the URI for the next request


Reading MP candidate Craig Morley criticised over photo of ruins
A man running to be an MP in Reading has been criticised after his website mistook part of Scotland for the town.
Craig Morley, Conservative prospective parliamentary candidate (PPC) for Reading East, had a picture of Melrose Abbey in Scotland rather than Reading Abbey ruins on his homepage.
Labour councillor Richard Davies, who spotted the error, said he was amazed by the mistake.
Mr Morley said the mistake was made by his web designer.
Reading borough councillor Mr Davies said: "It's amazing that he wasn't able to identify our most important heritage asset and one that the council worked hard with local people to restore and re-open to the public.
"It would be obvious to anyone who had visited Reading Abbey ruins that that picture was of a totally different place."
Mr Morley has now corrected the error, according to the Local Democracy Reporting Service.
The Reading-born PPC, who said he lived in the constituency, said: "The abbey is an important landmark of the town - I grew up with its imprint on the Reading landscape.
"My website designer added the wrong image in my website banner header.
"It was an easy mistake for an external agency to make."
He added he had been too busy meeting residents to check his website header.


The p3dc_XFRM data structure represents a 3-D transformation in the P3DC environment. The contents are a 4 x 4 matrix (data) and an identifier member called id. Normally, the identifier represents a unique number so that the transform's identity can be ascertained, however there are two special IDs. An identifier value of 0 indicates that the transform has no data in it at all, thus it requires initialization before use. Any use of a transform with a zero identifier can be trapped by the code and rejected using asserts. The second special identifier is the value one (1). This identifier indicates that the matrix has been initialized to be the identity matrix. The identity matrix is zero except for the matrix diagonal which is initialized to the value one (1).
Functions that are described in this document:
The following functions operate on transforms in the library, they are written in C prototype form for clarity.
p3dc_XFRM *p3dc_identity_xfrm( p3dc_XFRM *A )
This function either initializes the transform referenced by the pointer A to be the identity transform, or, if A is null, it allocates a new transform, initializes that and returns a pointer to it. In all cases the returned pointer points to the initialized transform and the transform's identity is set to 1. (If a pointer was passed it is simply returned.) If this function returns null then it could not allocate a new transform.
void p3dc_free_xfrm( p3dc_XFRM **A )
This function discards a transform structure that is no longer needed. The memory used is not actually given back to the operating system, rather the transform is placed on a list of available structures and will be re-allocated when a transform is needed again. See the description in "Project: 3D Craft -- Memory Management" for more details on how this is done.
p3dc_XFRM *p3dc_mult_xfrm( p3dc_XFRM *R, p3dc_XFRM *A, p3dc_XFRM *B )
This function multiplies two transforms and returns the result. In matrix notation it returns AB which it is important to note is different than BA. (Matrix multiplication isn't commutative). If the pointer R is null, a new transform is allocated to hold the result, otherwise the result is stored in R and any previous contents of R are lost. The function is written so that the pointer R can be the same as either A or B and still behave correctly (that is you can implement A = AB with one call.) This function will return null if the result pointer was null and the library was unable to allocate a new transform structure. The identifier in the result transform will be unique.
void p3dc_dump_xfrm( p3dc_XFRM *T, char *title, char *head, char *fmt, char *tail )
This function is a diagnostic function for dumping a transform's contents into the log file. (see p3dc_log for more details on logging.) The pointer T points to the transform to dump. Next there are four optional strings, if they are all NULL then the library defaults them to a generic set, otherwise they are used as follows:
- title - This string is printed before the transform is printed. the default is to print the string "P3DC matrix (XID = nnn):" where nnn is the identifier in the transform.
- head - This string is printed before each row of the matrix, if null it defaults to " " but you can set it to "| " to get vertical bars on your matrix.
- tail - This string is printed after each row of the matrix and should include a new line \n character.
- fmt - This string is used to format each element of the matrix, it defaults to "%#8.4f ".
An example of printing a matrix with using the defaults is:
P3DC matrix (XID = 1): 1.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 1.0000 0.0000 0.0000 0.0000 0.0000 1.0000And with tile="*TITLE*TITLE*\n", head = "*HEAD* ", tail = "*TAIL*\n", and fmt = "%g", you get this print out in the log:
*TITLE*TITLE* *HEAD* 1000 *TAIL* *HEAD* 0100 *TAIL* *HEAD* 0010 *TAIL* *HEAD* 0001 *TAIL*
p3dc_XFRM *p3dc_locate_xfrm( p3dc_XFRM *A, p3dc_FLOAT x, y, z )
This function has two modes of operation. The simplest occurs when the passed in value for A is null. In that case, the function allocates a new identity transform and sets its last column to be the translation specified. The constructed transform is then returned. It will return null if a transform could not be allocated.
When A is not null, this function performs the matrix operation: A = ATxyz where the transform Txyz represents a translation transformation and A is the original transformation. The original transform A is changed by this operation.
This function is used when constructing more complicated compound transformations. For example, when computing a transform to rotate a model about its local origin, the required mathematical construction is, A - T-x-y-zRqTxyz which consists of a translation from the local origin at (x, y, z) to zero, followed by the application of a rotation transformation, followed by the application of another translation transformation to return the origin to (x, y, z).
p3dc_XFRM *p3dc_move_xfrm( p3dc_XFRM *A, p3dc_PNT3 *V, p3dc_FLOAT dt )
This function is similar to the locate function except that it takes as its parameters a vector V and a distance dt. Again if A is null a new transform is allocated, if A is not null then it is modifed by a translation in the direction of V for a distance of dt units. This is useful when you want to move an object along a path during animation.
p3dc_XFRM *p3dc_scaleXYZ_xfrm( p3dc_XFRM *A, p3dc_FLOAT x, y, z )
This function will apply a scaling factor (possibly non-uniform) to the three axes. The effect is the points transformed by the resulting transform will have their x, y, and z components re-sized by possibly different amounts. As with all of the transformation functions if A is null a new transform is allocated, otherwise the transformation is applied to A and A is returned updated.
WARNING: a transform has been scaled non-uniformly it is no longer affine. Objects transformed by this transform may have angles between their components changed and the relative lengths of the components will definitely be changed. Those types of changes will invalidate any precomputed plane normals.
p3dc_XFRM *p3dc_scale_xfrm( p3dc_XFRM *A, p3dc_FLOAT s )
This function applys a uniform scaling transformation to the passed transform. As with other functions if the pointer A is null a new transform is allocated, if that allocation fails then null is returned. Unlike p3dc_scaleXYZ_xfrm the resulting transform remains affine and so plane normals and and angles are not changed when transformed by the resulting transform.
p3dc_XFRM *p3dc_zrot_xfrm( p3dc_XFRM *A, p3dc_FLOAT angle )
This function computes a rotation transformation of angle degrees about the Z axis and then applys that rotation to the the transform A. If A is null then a new transform is allocated that holds the Z rotation. If the allocation fails, null is returned. Postive angles represent clockwise rotation when looking along the Z axis into positive infinity. (Left hand co-ordinate system)
Transform rotations are specified using degrees rather than radians. I chose degrees because, for me, they are a more "natural" unit. The #define macros D2R and R2D are provided in p3dc.h to convert from degrees to radians and from radians to degrees respectively.
p3dc_XFRM *p3dc_yrot_xfrm( p3dc_XFRM *A, p3dc_FLOAT degree )
This function computes a rotation transformation of angle degrees about the Y axis and then applys that rotation to the the transform A. If A is null then a new transform is allocated that holds the Y rotation. If the allocation fails, null is returned. Postive angles represent clockwise rotation when looking up the Y axis into positive infinity. (Left hand co-ordinate system)
Transform rotations are specified using degrees rather than radians. I chose degrees because, for me, they are a more "natural" unit. The #define macros D2R and R2D are provided in p3dc.h to convert from degrees to radians and from radians to degrees respectively.
p3dc_XFRM *p3dc_xrot_xfrm( p3dc_XFRM *A, p3dc_FLOAT degree )
This function computes a rotation transformation of angle degrees about the X axis and then applys that rotation to the the transform A. If A is null then a new transform is allocated that holds the X rotation. If the allocation fails, null is returned. Postive angles represent clockwise rotation when looking along the X axis into positive infinity. (Left hand co-ordinate system)
Transform rotations are specified using degrees rather than radians. I chose degrees because, for me, they are a more "natural" unit. The #define macros D2R and R2D are provided in p3dc.h to convert from degrees to radians and from radians to degrees respectively.
p3dc_XFRM *p3dc_orientation_xfrm( p3dc_XFRM *A, p3dc_PNT3 *dir, *origin, p3dc_FLOAT roll )
This is a pretty neat function, it creates a transform that will transform from a local co-ordinate system into another co-ordinate system at a given location and orientation. The inputs to this function are A a transform to re-use, if A is null a new transform is allocated. Note that this function differs from the others in that it does not apply the computed transformation to A instead it replaces the transformation in A with the one it computes. The vector dir is a unit vector pointing along the direction where the positive Z axis in local space should be headed in the transformation space. The point origin is represents the location in transformation space to which the local space origin should be translated. The value roll represents a rotation about the local space's Z axis that should be applied in order to position the local notion of up. In summary, this function computes a transformation given a vector and an angle to translate from one co-ordinate space into another.
This function is used to position models into world co-ordinates.
p3dc_XFRM *p3dc_camera_xfrm( p3dc_XFRM *V, p3dc_PNT3 *dir, *origin, p3dc_FLOAT roll )
This function is the inverse of the p3dc_orientation_xfrm function. When applied it transforms the world into the co-ordinate system of a camera sitting at the position in origin in world co-ordinates, looking in the direction of dir and tilted by roll degrees.
This function is used extensively by the camera code to provide the basic world to view transformation.


|
AAX SDK
2.3.1
Avid Audio Extensions Development Kit
|
Go to the source code of this file.
Declarations for cross-platform AAX_ASSERT, AAX_TRACE and related facilities.
false
triggers some manner of warning, e.g. a dialog in a developer build or a DigiTrace log in a shipping build. May be used on host or TI.DTF_AAXPLUGINS
DigiTrace facility.iStackTracePriority
. Otherwise, if logging is enabled at iTracePriority
then emits a log.For all trace macros:
inPriority
is one of
These correspond to how the trace messages are filtered using DigiTrace.
DTF_AAXPLUGINS
facility will slightly reduce the overhead of trace statements and chip communication on HDX systems.==============================================================================
Macros | |
| #define | kAAX_Trace_Priority_None AAX_eTracePriorityHost_None |
| #define | kAAX_Trace_Priority_High AAX_eTracePriorityHost_High |
| #define | kAAX_Trace_Priority_Normal AAX_eTracePriorityHost_Normal |
| #define | kAAX_Trace_Priority_Low AAX_eTracePriorityHost_Low |
| #define | kAAX_Trace_Priority_Lowest AAX_eTracePriorityHost_Lowest |
| #define | AAX_TRACE_RELEASE(iPriority, ...) |
| Print a trace statement to the log. More... | |
| #define | AAX_STACKTRACE_RELEASE(iPriority, ...) |
| Print a stack trace statement to the log. More... | |
| #define | AAX_TRACEORSTACKTRACE_RELEASE(iTracePriority, iStackTracePriority, ...) |
| Print a trace statement with an optional stack trace to the log. More... | |
| #define | AAX_ASSERT(condition) |
| Asserts that a condition is true and logs an error if the condition is false. More... | |
| #define | AAX_DEBUGASSERT(condition) do { ; } while (0) |
| Asserts that a condition is true and logs an error if the condition is false (debug plug-in builds only) More... | |
| #define | AAX_TRACE(iPriority, ...) do { ; } while (0) |
| Print a trace statement to the log (debug plug-in builds only) More... | |
| #define | AAX_STACKTRACE(iPriority, ...) do { ; } while (0) |
| Print a stack trace statement to the log (debug builds only) More... | |
| #define | AAX_TRACEORSTACKTRACE(iTracePriority, iStackTracePriority, ...) do { ; } while (0) |
| Print a trace statement with an optional stack trace to the log (debug builds only) More... | |
Typedefs | |
| typedef AAX_ETracePriorityHost | AAX_ETracePriority |
| #define kAAX_Trace_Priority_None AAX_eTracePriorityHost_None |
| #define kAAX_Trace_Priority_High AAX_eTracePriorityHost_High |
| #define kAAX_Trace_Priority_Normal AAX_eTracePriorityHost_Normal |
| #define kAAX_Trace_Priority_Low AAX_eTracePriorityHost_Low |
| #define kAAX_Trace_Priority_Lowest AAX_eTracePriorityHost_Lowest |
| #define AAX_TRACE_RELEASE | ( | iPriority, | |
| ... | |||
| ) |
Print a trace statement to the log.
Use this macro to print a trace statement to the log file. This macro will be included in all builds of the plug-in.
Notes
Usage Each invocation of this macro takes a trace priority and a printf
-style logging string.
Because output from this macro will be enabled on end users' systems under certain tracing configurations, logs should always be formatted with some standard information to avoid confusion between logs from different plug-ins. This is the recommended formatting for AAX_TRACE_RELEASE logs:
[Manufacturer name] [Plug-in name] [Plug-in version][logging text (indented)]
For example:
| #define AAX_STACKTRACE_RELEASE | ( | iPriority, | |
| ... | |||
| ) |
Print a stack trace statement to the log.
| #define AAX_TRACEORSTACKTRACE_RELEASE | ( | iTracePriority, | |
| iStackTracePriority, | |||
| ... | |||
| ) |
Print a trace statement with an optional stack trace to the log.
| [in] | iTracePriority | The log priority at which the trace statement will be printed |
| [in] | iStackTracePriority | The log priority at which the stack trace will be printed |
| #define AAX_ASSERT | ( | condition | ) |
Asserts that a condition is true and logs an error if the condition is false.
Notes
Usage Each invocation of this macro takes a single argument, which is interpreted as a bool
.
Referenced by AAX_CMonolithicParameters::AddSynchronizedParameter(), AAX_CMonolithicParameters::GenerateCoefficients(), AAX::GetCStringOfLength(), AAX_CMonolithicParameters::ResetFieldData(), AAX_CParameter< T >::SetNumberOfSteps(), AAX_CMonolithicParameters::StaticDescribe(), AAX_CMonolithicParameters::StaticRenderAudio(), and AAX::String2Binary().
| #define AAX_DEBUGASSERT | ( | condition | ) | do { ; } while (0) |
Asserts that a condition is true and logs an error if the condition is false (debug plug-in builds only)
| #define AAX_TRACE | ( | iPriority, | |
| ... | |||
| ) | do { ; } while (0) |
Print a trace statement to the log (debug plug-in builds only)
Use this macro to print a trace statement to the log file from debug builds of a plug-in.
Notes
Usage Each invocation of this macro takes a trace priority and a printf
-style logging string. For example:
| #define AAX_STACKTRACE | ( | iPriority, | |
| ... | |||
| ) | do { ; } while (0) |
Print a stack trace statement to the log (debug builds only)
| #define AAX_TRACEORSTACKTRACE | ( | iTracePriority, | |
| iStackTracePriority, | |||
| ... | |||
| ) | do { ; } while (0) |
Print a trace statement with an optional stack trace to the log (debug builds only)
| [in] | iTracePriority | The log priority at which the trace statement will be printed |
| [in] | iStackTracePriority | The log priority at which the stack trace will be printed |


Christian Mayer & Marc Jansen
FOSSGIS 2018, Bonn, 22.03.2018
„View source“ embodies the very essence of the web I learned to love so much. The magic of writing something into a text file, opening it in a browser and being able to see and learn from the source of every single site: https://t.co/wxzHwWK8hm
— Bastian Allgeier (@bastianallgeier) 21. Februar 2018
Can we agree that, in 2018, human-readable "View Source" is a constraint the web can discard? I benefitted from "View Source" too, but today we have an embarrassment of resources and open source examples I would have killed for as a kid.
— Tom Dale (@tomdale) 19. Februar 2018
npm i vec2-copy
module.exports = function vec2Copy(out, a) {
out[0] = a[0]
out[1] = a[1]
return out
}
<noscript>
?Ultimately, the problem is that by choosing React (and inherently JSX), you’ve unwittingly opted into a confusing nest of build tools, boilerplate, linters, & time-sinks to deal with before you ever get to create anything.Hervorhebung von uns, https://medium.com/@ericclemmons/javascript-fatigue-48d4011b6fc4
Findet Euren Favoriten
“I don’t need macros, they’re too complicated and not useful,” says the programmer as they use Flow with JSX with Babel with two dozen plugins and maintain two hundred line webpack configs for code with machine-checked comments that parses CSS in template strings at runtime and—
— Alexis King (@lexi_lambda) 3. Januar 2018
Diese Folien sind unter CC BY-SA veröffentlicht.


Play “blitz chess” like a real hacker, with our modern-retro Arduino-compatible Game Clock!
If you play any game that requires accurate timekeeping, you will love the Game Clock. Designed with high quality snap action switches and a high-precision real-time clock, the Game Clock will react to your touch within milliseconds.  It is primarily designed for chess games that are played in contrained times, but offers plenty of configurability. The device can be powered by 2 AA batteries or a USB cable, so you can take it anywhere.
The Game Clock also comes a truly hackable device. Open source and open hardware, it can be fully reprogrammed in the Arduino environement to suit the most exotic needs. The Game Clock features an XBee compatible socket for optional low power networking: imagine keeping track of all games in a chess tournament in real time!
The Game Clock features:
Most of all, it looks cool!
We should add a brief user manual here for the default firmware, the setup, modes, etc or a link to a PDF/DOC
Power: The Game Clock can be powered with:
An boost regulator assures constant voltage to the device regardless of the power source used. USB power always takes priority over battery power.

Microcontroller: At the heart of the Game Clock is an ATmega328PB microcontroller running at 8MHz and 4.9 volts. It features 32K flash, 2K SRAM and 1K EEPROM. This is the new and updated version of the classic microcontroller that you may find on the Arduino UNO boards. It comes proprogrammed with a serial bootloader that uses 8K of flash.
Buttons: The Game Clock features two high quality snap action micro switches rated for 10 million cycles! In addition a traditional tact switch is seated in the center top of the board, notably to access various configuration options.
Display: The device can display information to the user through 8 red LED digits, physically split in two two 4-digit red LED displays, typically used during game play to show the time available to each player. The LED display is controlled by a MAX7219CWG IC through SPI, with software controlled brightness.
Sound: The Game Clock is fitted with a passive buzzer capable of playing tones of varying frequencies, providing audio feedback to users.
Real time clock: The circuit features a DS3231M IC, a very accurate RTC with an integrated callibrated and temperature compensated oscillator. It communicates with the MCU using the I2C bus.
XBee headers: The gameclock has a 20-pin header that allows it to be optionally connected to an XBee wireless communication module. An onboard 3.3 LDO and voltage shifting circuit assures compatibility between the MCU and the XBee logic levels. In order to conserve energy, the 3.3V LDO is disabled by default and can be enabled by software on the MCU when necessary.
The Game Clock is built around an Atmel ATmega328PB, and can be programmed like a classic Arduino UNO R3, using the Arduino IDE without any additional software installation.
A USB to serial board is required (not included) to upload software from the Arduino IDE to the Game Clock using the 6-pin connector located at the back of the device. We use and recommend the SparkFun FTDI Basic Breakout. It’s hassle free and easy to plug into the Game Clock.
The built-in board definition for the “Arduino Pro or Pro Mini” in the Arduino 1.8 IDE is all you need to start programming the Game Clock with your own software.
Select “Tools” in the menu and select “Board” :
Choose the “Arduino Pro or Pro Mini” board:
Select “Tools” from the menu and then “Processor”:
Choose “ATmega328P (3.3V, 8MHz)”:
Your Arduino IDE is now correctly configured to write software for the Game Clock. To upload a sketch, please check out the following isntructions.
Plug your USB to Serial adapter into the Game Clock’s 6-pin serial connector. If needed, the serial pin are identified on the silkscreen at the back of the Game Clock PCB, so that you can check your connection.
In the Arduino IDE, select “Tools” and then “Port”:
Select your serial port (yours will have a different identifier):
You can now upload a sketch to your device!
The following table summarizes the wiring of the Game Clock MCU:
| Arduino Pin | ATmega328pb pin | Input/Output | Description |
|---|---|---|---|
| 0 | PD0 | Input | Serial RX for Arduino programming and optional XBee communication. |
| 1 | PD1 | Output | Serial TX for Arduino programming and optional XBee communication. |
| 2 | PD2 | Input | Left snap action switch (active low) |
| 3 | PD3 | Input | Right snap action switch (active low) |
| 4 | PD4 | Input | Center tact switch (active low) |
| 5 | PD5 | N.C. | Unused |
| 6 | PD6 | Output | Buzzer |
| 7 | PD7 | Output | Enables the 3.3V LDO |
| 8 | PB0 | Input | Connected to the SQW pin of the DS3231 RTC |
| 9 | PB1 | Input | Optional XBee RSSI |
| 10, 11, 12, 13 | PB2, PB3, PB4, PB5 | Input/Output | SS, MOSI, MISO and CLK for SPI connection to ICSP port and MAX7219 LED driver. |
| 14 (A0) | PC0 | Output | Optional XBee RTS |
| 15 (A1) | PC1 | Input | Optional XBee CTS |
| 16 (A2) | PC2 | Input | Optional XBee ASSOC |
| 17 (A3) | PC3 | Input | Input voltage level sensing, either (1) battery voltage or (2) USB voltage - 0.6V |
| 18, 19 (A4, A5) | PC4, PC5 | Input/Output | SDA and SCL for I2C connection to the DS3231 RTC |
| N/A | PB6 | Input | Connected to the CLK32K pin of the DS3231 RTC |
Link to schematics
Link to ino file
Link to hex file
Link to PDF instructions


Provides a dual-view display for Layer information.
More...
#include <AdvancedDisplay.h>
|
|
void | centerView () |
| | internal function which moves the view according to the hero coordinates
|
| |
| void | changeZoom (bool make_closer) |
| | make view closer or postpone it More...
|
| |
|
|
sf::View | viewUI |
| | view for UI elements at the level
|
| |
|
sf::Vector2f | max_size |
| | contains maximum size of the base(main) view in x & y coordinates
|
| |
|
sf::Vector2f | min_size |
| | contains minimum size of the base(main) view in x & y coordinates
|
| |
|
double | l_heigth |
| | heigth of the layer
|
| |
|
double | l_width |
| | width of the layer
|
| |
|
| sf::Sprite | setSprite (Object it) |
| | internal function which fill sfml sprite with information from Object class More...
|
| |
| sf::Sprite | setDynamicSprite (Object it) |
| | internal function which fill sfml sprite with information from Object class More...
|
| |
|
void | loadDisplay () |
| | prepare class for work
|
| |
|
void | updateWithoutText () |
| | special update without text information (which doesn't display)
|
| |
|
Layer * | layer |
| | pointer to the Layer with model information to display
|
| |
|
sf::RenderWindow * | window |
| | pointer to the singletone application window
|
| |
|
sf::View | view |
| | base view for elements at the level
|
| |
|
sf::Font | font |
| | text font
|
| |
|
sf::Text | text |
| | sfml text container
|
| |
|
std::vector< sf::Sprite > | constant_sprite |
| | vector containing sfml sprites for non-changeable elements
|
| |
|
std::vector< sf::Texture > | texture |
| | vector containing sfml textures for all Layer's images
|
| |
Provides a dual-view display for Layer information.
- Author
- Vasily
- Version
- 1.0
- Date
- June 2017
◆ AdvancedDisplay()
| AdvancedDisplay::AdvancedDisplay |
( |
Layer * |
_layer | ) |
|
Defined constructor for this class.
- Parameters
-
| _layer | container which contain model information for display |
◆ changeZoom()
| void AdvancedDisplay::changeZoom |
( |
bool |
make_closer | ) |
|
|
private |
make view closer or postpone it
- Parameters
-
| make_closer | define what need to do: 'true' - make closer; 'false' - postpone |
The documentation for this class was generated from the following files:


What?
- New module that implements common routing functionality
- Integrated in Position domain
Why?
- Different implementations in all domains
- Complex: implements framework level functionality on application level
- Sends updates on inbound channels
How?
- Using message queue
- Still provides guarantees that routing updates are received before responding
TODO?
- Implement in Risk and Market Data gateways
- Out of scope: define ids for message queues in one place
- Out of scope: define error code ranges in one place
- Out of scope: extend functionality to distribute other data?


| Fullname | Username | Created | Last login | E-mails | Actions |
|---|---|---|---|---|---|
| Tony Stark | Ironman | 12.10.2016 | 11.11.2016 |<EMAIL_ADDRESS>| mode_edit delete |
| Tony Stark | Ironman | 12.10.2016 | 11.11.2016 |<EMAIL_ADDRESS>| mode_edit delete |
| Tony Stark | Ironman | 12.10.2016 | 11.11.2016 |<EMAIL_ADDRESS>| mode_edit delete |
| Tony Stark | Ironman | 12.10.2016 | 11.11.2016 |<EMAIL_ADDRESS>| mode_edit delete |


Trauma surgeon offers advice for deer hunters
by Riley FannonKirksville, Mo. — November 16 was the start of Missouri’s firearms deer season and one health care provider wants you to stay safe this season.
Speaking with Dr. Jacob Quick, trauma surgeon for MU Health Care, he’s seen an average of 30 major hunting accidents happen every year.
But some key precautions can limit a hunter’s risk of injury.
Quick is a hunter and says gunshot injuries are rare. We wanted to know what the injuries he sees the most.
“We see everything from orthopedic injuries like broken legs and arms to intra-abdominal injuries – injuries to the bowel, liver, spleen, kidneys, those kinds of things - to chest injuries. You name it, it can happen," said Quick.
Most of the injuries occur after a hunter falls from a tree stand and according to Quick, 30% of all hunters will fall and suffer a serious injury at some point.
That can be easily avoided, as 80% of those falls come from hunters who don’t wear a harness.
Other than wearing a full body harness, Quick says hunters should keep 3 limbs in contact with the ladder at all times, make sure someone knows your location and always carry your cellphone.
Missouri firearms deer season runs through November 26. For more tips, click here.


{% include head.html %}
{% include navbar.html %} {% include top.html %} {% include research.html %} {% include teaching.html %} {% include contacts.html %} {% include copyright.html %} {% include tracking.html %}


"ARPHAXAD "son of Shem, born the year after the Deluge. He died at the age of 438 years (Genesis 11:10-13; 1 Chronicles 1:17, 18; Luke 3:36). He dwelt in Mesopotamia, and became, according to the Jewish historian Josephus, the progenitor of the Chaldeans. The tendency is to recognize in the word the name of the country nearest the ancient domain of the Chaldeans. Some regard the word as an Egypticized form of the territorial name of Ur Kasdim, or Ur of the Chaldees.
"ARPHAXAD "son of Shem, born the year after the Deluge. He died at the age of 438 years (Genesis 11:10-13; 1 Chronicles 1:17, 18; Luke 3:36). He dwelt in Mesopotamia, and became, according to the Jewish historian Josephus, the progenitor of the Chaldeans. The tendency is to recognize in the word the name of the country nearest the ancient domain of the Chaldeans. Some regard the word as an Egypticized form of the territorial name of Ur Kasdim, or Ur of the Chaldees.