PRIORITIES
Ensuring affordable, quality healthcare for all
Linda believes that healthcare is a right and not a privilege. Every Pennsylvanian has a right to be able to access affordable, quality healthcare. She supports protecting the Affordable Care Act and the pre-existing conditions mandate. Linda supports legislation that guarantees access to healthcare for all Pennsylvanians. She also supports expanding supplemental programs that provide crucial healthcare to children --like CHIP, and to seniors and veterans. Our people are our greatest resource and we must have a healthcare system that provides appropriate medical care without bankrupting them. Pennsylvanians should not have to make the difficult choice between providing healthcare for their families or paying for food and shelter. Access to healthcare for all Pennsylvanians will help close income disparity across our state.
Linda was previously endorsed by Service Employees International Union, National Union of Hospital and Healthcare Employees District 1199C, Pennsylvania Association of Nurses & Allied Professionals, Working Families Party and Our Revolution.
Improving public education
Linda believes education is the bedrock of opportunity for our children. A student’s social or economic background or zip code should not be the determining factor for a quality education in Pennsylvania. She will work to ensure all students and teachers receive adequate funding for Pre-K thru 12th grade, college, and vocational training. She supports Fair Funding PA, which is a coalition working to ensure all school funding across Pennsylvania is fair, adequate and sustainable. She supports initiatives for more affordable college tuition and free college tuition for qualifying Pennsylvanians at state colleges and universities. She also supports increased focus on early education programs and vocational programs.
Linda was previously endorsed by American Federation of Teachers and Philadelphia Federation of Teachers.
Preserving our environment for future generations
Linda supports protecting our environment and expanding green spaces. This includes enforcement of strategic preservation of woods and farmland, and more public trails, parks, and wildlife sanctuaries and not uncontrolled development. She believes access to clean air and clean drinking water is a right and not a privilege. The Commonwealth must prevent fracking and gas pipelines from polluting our surface and groundwater. Our district has many rivers, streams and waterways that need to be protected from pollution. It’s our collective responsibility to “Keep Pennsylvania Beautiful.” Linda supports initiatives that will keep our air and drinking water clean and free from harmful pollutants. She opposes the exploitation of our natural resources to the detriment of Pennsylvanians.
Linda was previously endorsed by Conservation Voters of PA, Sierra Club, Clean Water Action and PENNenvironment.
Advancing women’s rights
Linda remains committed to protecting women’s rights in Pennsylvania. She supports women’s access to safe, quality reproductive healthcare for women as a fundamental right. As a career labor union organizer, she staunchly supports equal pay for equal work and raising the minimum wage in Pennsylvania; she will also fight against workplace discrimination based on gender and work to close the gender pay gap. She supports tougher laws to combat sexual harassment and sexual assault as well as more resources to make it easier for women to report these criminal acts in the workplace or at home. She will ensure that students in our schools and colleges are protected from sexual harassment and have a safe and effective way to report incidents.
Linda was previously endorsed by Planned Parenthood, Emily’s List, National Organization of Women, Represent PA, Gang of 100, Montgomery County Women's Leadership Initiative, and Black Democratic Women of Montgomery County and Pennsylvania Association of Nurses & Allied Professionals.
Combating the opioid epidemic
Linda believes we must combat the opioid epidemic with compassion and adequate resources. Our family members and neighbors are dying from these highly dangerous, addictive drugs: we must act now. In 2018, nearly 5,000 Pennsylvanians overdosed from opioids, including heroin, fentanyl and oxycontin. The opioid crisis has affected every county and every community across Pennsylvania. This deadly disease does not discriminate and should not be a partisan issue. Linda believes we must fight together against the opioid crisis with increased funding for treatment and education programs. We need tougher punishment for criminals and industries that profit from the sale and exploitation of opioids. Linda also supports increased funding for understaffed state and local police departments that are tasked with patrolling our counties to keep communities safe from crimes connected to the opioid crisis.
Fixing our ailing Infrastructure
Linda supports fixing our region’s ailing infrastructure. Our many ailing narrow roads, historic bridges and dated transportation systems need to be fixed, updated and modernized for the safety of our travelers. Infrastructure problems have existed for decades and we must act now with urgency to prevent potential future tragedies. Such large infrastructure projects including funding for extending regional rail service to King of Prussia and beyond to boost our local economy and organized labor force. Safe and modern infrastructure will help fuel our local economy.
Linda was previously endorsed by the Pennsylvania AFL-CIO, Laborers District Council, Transportation Workers Union 234, AFSCME and International Longshoremen Association District Council of Philadelphia/Wilmington.
Protecting LGBTQIA rights
Linda supports protecting and advancing the rights of the LGBTQIA community including creating statewide legal protections against discrimination and hate crimes based on sexual orientation or gender identity in Pennsylvania.  Pennsylvania must also work to ensure the LGBTQIA community has access to housing protections against discrimination.
Linda was previously endorsed by Equality PA.
Pushing for common sense reforms for gun laws
Linda supports common sense reforms that would help decrease the threat of mass shootings such as requiring universal background checks for all gun purchases at the state and federal level; banning the sale of bump stocks, assault rifles, and high capacity magazines; preventing known terrorists and abusers from buying guns; preserving instant background checks on guns through the Pennsylvania Instant Check System (PICS); and closing the gun show loophole as well as imposing a statewide lost or stolen reporting requirement. She also supports focusing on school safety and ensuring that schools are places of learning so our teachers and children will not have to live in fear in the classroom.
Linda was previously endorsed by CeaseFire PA, Moms Demand Action Gun Sense and Orange Wave - Vote for Gun Safety.
Capitalizing on medical marijuana and adult use marijuana
Linda’s position on capitalizing on medical marijuana and adult recreational use marijuana will be reflective of the 17th District. The education of the benefits of legalizing recreational use is imperative. To date, 9 states plus Washington DC have legalized recreational marijuana. New Jersey could legalize as early as Fall 2019.
Pennsylvania could benefit greatly from the revenue generated from recreational marijuana. In a recent report from the Pennsylvania Auditor General, he stated that the state could generate $581 million annually from recreational marijuana to fund critical initiatives in Pennsylvania.
Pennsylvania is also uniquely positioned to distribute through our established supply chains through our Fine Wine and Spirits stores as one potential option. Legalization for recreational marijuana will also curb the very negative effects that criminalization has placed on minority communities as well as help combat the opioid crisis. Marijuana is an economic opportunity for Pennsylvania with an emerging industry that could create many jobs in Pennsylvania.
Safeguarding fair elections through voting rights and redistricting
Linda supports Fair Districts PA, the coalition calling for redistricting at the state level to stop partisan gerrymandering. She supports early voting, same day registration, extending absentee voting, lowering the voting age to 16 other reforms that make it easier for all Pennsylvanians to vote. She also supports campaign finance reform for increased transparency and accountability for our elected officials.
Fighting for workers’ rights
As a union organizer, Linda has spent her career fighting for worker’s rights. She has also personally negotiated hundreds of employee contracts. She has successfully obtained higher and fairer wages, employee benefits and workers’ rights for hospital workers for some of the largest hospital chains in Pennsylvania. She will continue to fight to raise the minimum wage in the fight for fifteen and protect unions’ rights to organize and collectively bargain.


Douglas Beal
<EMAIL_ADDRESS>Freelance Developer. IndieWeb Meetup Seattle Organizer. Fountain Pen Enthusiast. Foolscap First Officer.


DStv to broadcast Federer vs Nadal match
by Bradley PriorDStv has confirmed that it will broadcast the upcoming exhibition tennis match between Roger Federer and Rafael Nadal on SuperSport.
The event, which has been dubbed “The Match in Africa”, will take place on 7 February 2020 in Cape Town.
The match will be broadcast by SuperSport to both a local and an international audience.
The event will also include a celebrity-professional doubles match pitting Federer and Microsoft founder Bill Gates against Nadal and comedian Trevor Noah.
“This is a dream come true,” said Federer.
“I will play in my mother’s home country against my toughest rival and friend Rafa Nadal. It will be a once-in-a-lifetime moment for my family and me.”
“Roger and I have shared so many magical moments on and off the court,” said Nadal.
“Travelling with him to Cape Town and playing for the benefit of children is something I am very excited about. It will be my first time in the region with Roger as a tour guide – that will be fun.”
The professional-celebrity doubles match will be broadcast at 19:30, while the main event will take place at 20:30.


Shakespearean acting for a modern filmgoing (read: non-Olde-English-speaking) audience presents its own set of difficulties. When you're sitting in high school English class taking turns reading Hamlet out loud, the kid three rows down from you doesn't know whether to inject bitter sarcastic irony or sincere quiet remorse into Polonius' next rhyming couplet. In that kind of setting, it's pretty easy for the words to lose their meaning entirely, turning the pages upon pages of iambic pentameter into a tired, monotonous exercise in outdated grammar.
Since I don't have any other criteria to judge such an unfamiliar acting style, all I can really do is ask myself if I understood what a character was saying even if I didn't fully grasp all the words. If there's one thing I've learned from reading Shakespeare's stuff, it's that the delivery is as much a part of the meaning as the words themselves. So using the Uncertified Sean Scale of Shakespearean Performance: the acting in Titus rates as truly exceptional all across the board. Veteran Anthony Hopkins leads the pack as the title character; Jessica Lange plays Tamora, Queen of the Goths, with vicious cunning, while Alan Cumming struts and frets upon the stage as the whiny, manipulative newly-crowned Emperor Saturninus as if he's loving every minute of it. And, to be fair, Taymor's pacing and visual decisions are equally responsible for Titus' success in the clarity-for-us-common-folk department.
So what, then, holds Titus back from greatness? With so much in place that's so wonderfully right, what exactly went wrong? Well, here's something you don't hear a lot when it comes to a Shakespeare adaptation: all of Titus' problems come straight from the source.
Before I get into this, let me tell you that I feel woefully under-qualified to criticize Shakespeare... my experience boils down to reading a couple plays in high school and watching a couple movie adaptations in college. After leaving this particular film, I figured that anything that didn't quite jive in my head was just a result of my untrained ear missing the Bard's point. But poking around a bit afterward, I soon discovered that Titus' flaws are almost universally agreed upon by Shakespeare's critics - some go so far as to say that the play is so bad, it's probably not even Shakespeare's to begin with. So armed with that knowledge, I feel confident enough to point out what I myself found wrong with Titus Andronicus...
The biggest issue lies mainly with the principal villain, Aaron - an orchestrator of evil for evil's sake. The point of the play seems to be that a single act of violence can beget a chain reaction, until everyone involved lives only to exact vengeance before someone in the other party can do it first... a point that could have been more effective without Aaron's unmotivated designs. Don't get me wrong, he's exquisitely played (here by Harry Lennix), it's the way he's written that's the problem.
Even Titus himself is an uneven character - at one turn he is a duty-bound soldier, loyal to Rome despite all the wrong that the City does to him. He backs an Emperor that he couldn't possibly like time and time again, even when it hurts his family and friends, and his early motivations are difficult to sympathize with. He does something horrible early on to one of his sons that dulls the edge of what sorrow and hatred he's supposed to feel later. Sometimes Titus seems absolutely crazy (shooting arrows into the sky bearing messages to the gods), and the next he seems extraordinarily clever (the revenge he stages in the end), but all his plans and inspirations are pretty much random in the end... A credit to Hopkins that he seems to understand Titus as much as he could possibly be understood. Some critics argue that Titus Andronicus is supposed to be a black comedy (like I was hoping to find) rather than a tragedy (it isn't quite that either), but if that's the case, I didn't find a whole lot to laugh at.
Could Taymor have "fixed" some of these problems? Certainly. A better question is should she have? Perhaps an even better question is did she even want to? What adjustments she tries to make are purely theatrical ones, and while they mostly hit the mark, sometimes they don't quite seem to work... the film opens with a scene showing a modern child playing violently with a pile of action figures and war toys in his kitchen. The kid sticks around for the remainder of the film, first as a silent witness; but then he gradually (and seamlessly) becomes an active participant in the horrid affair as one of Titus' grandsons. Is Taymor just pointing out that violence has always been around?  I'm not sure... maybe it's a little of both.
Julie Taymor has done her beautiful best, and she's taken a great risk (especially for a first-timer) to attempt to breathe life into a lifeless play. And the end result is something alive and original and refreshing; so much so that it's honestly frustrating that Titus Andronicus isn't a better tale. The film never drags or has a moment that feels like dead weight, even though Titus clocks in at nearly three hours. Taymor and her devoted crew have left Shakespeare's words untouched, and built upon them a lavish vision deserving of a better foundation. Like Titus himself, they're loyal to a cause that simply doesn't deserve their devotion.
_____________________________ Sean Molloy // Media Junkies http://www.mediajunkies.com E-mail<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


High-level functions for managing content. Publish an object on a member node
publish_object(mn, path, format_id = NULL, pid = NULL, sid = NULL, clone_pid = NULL, public = TRUE)
| mn | (MNode) The Member Node to publish the object to. |
|---|---|
| path | the path to the file to be published |
| format_id | (character) Optional. The format ID to set for the object. When not set, |
| pid | (character) Optional. The PID to use with the object. |
| sid | (character) Optional. The SID to use with the new object. |
| clone_pid | (character) PID of objet to clone System Metadata from |
Use sensible defaults to publish an object on a member node. If identifier is provided, use it, otherwise generate a UUID. If clone_id is provided, then retrieve the system metadata for that identifier and use it to provide rightsHolder, accessPolicy, and replicationPolicy metadata. Note that this function only uploads the object to the Member Node, and does not add it to a data package, which can be done separately.


Scenario
A patient approaches a doctor and explains about his illness by telling the symptoms he has been observing. The application through which the doctor updates the symptoms gets all the symptoms one by one as patient explains and once all symptoms are mentioned by the patient, the doctor does a final submission to the application. When the symptoms are explained one by one it should be stored temporarily rather than submitting to the system each time.
Operation
Transaction to actual tables can be reduced by inserting into a global temporary table. The scenario requires that there should be some intermediate place where all the symptoms are stored temporarily before they are finally submitted. DB2 has the ability to store data temporarily by creating global temporary table. DB2 9.7 has the ability to create temporary tables with XML column.
The below code explains the section which stores symptom information in the PMD
<symptoms>
<text>
The patient has shown signs of relif in the lower back.
the swelling has also reduced to acceptable level.
</text>
</symptoms>
The above node will repeat for each symptom in the PMD XML document.
CREATE USER TEMPORARY TABLESPACE
--> creates a temporary table space in which the temporary table will be created.DECLARE GLOBAL TEMPORARY TABLE
--> creates a temporary table with XML column. It stores intermediate data before moving it to actual tables.Solution
The PMD XML document is updated with symptoms of the patient only once after the patient mentions all his symptoms to the doctor.


#include <ck_cdt.h>
Public Member Functions | |
| Box () | |
| Constructs a box collision. | |
| const AABB & | getAABB () const |
| Returns the aabb of this box collision. | |
| const ckMat & | getWorld () const |
| Returns the world of this box collision. | |
| void | setWorld (const ckMat &world) |
| Sets the world of this box collision. | |
| r32 | getWidth () const |
| Returns the width of this box collision. | |
| r32 | getHeight () const |
| Returns the height of this box collision. | |
| r32 | getDepth () const |
| Returns the depth of this box collision. | |
| const ckVec & | getHalfSize () const |
| Returns the half size of this box collision. | |
| void | setSize (r32 width, r32 height, r32 depth) |
| Sets the size of this box collision. | |
Friends | |
| class | ckCdt |
| const AABB& ckCdt::Box::getAABB | ( | ) | const |
Returns the aabb of this box collision.
| const ckMat& ckCdt::Box::getWorld | ( | ) | const |
Returns the world of this box collision.
| void ckCdt::Box::setWorld | ( | const ckMat & | world | ) |
Sets the world of this box collision.
| [in] | world | The world of this box collision. |
| r32 ckCdt::Box::getWidth | ( | ) | const |
Returns the width of this box collision.
| r32 ckCdt::Box::getHeight | ( | ) | const |
Returns the height of this box collision.
| r32 ckCdt::Box::getDepth | ( | ) | const |
Returns the depth of this box collision.
| const ckVec& ckCdt::Box::getHalfSize | ( | ) | const |
Returns the half size of this box collision.
| void ckCdt::Box::setSize | ( | r32 | width, | |
| r32 | height, | |||
| r32 | depth | |||
| ) |
Sets the size of this box collision.
| [in] | width | The width of a box collision. |
| [in] | height | The height of a box collision. |
| [in] | depth | The depth of a box collision. |


The proposer will send you a gift, which will be multiplied by {{ Constants.multiplication_factor }}.
Please choose below how you would respond to each of the possible offers.
{% for field in form %} {% formfield field %} {% endfor %} {% next_button %} {% endblock %}


--- layout: post title: "Machine learning tips" date: 2018-01-08 comments: true archive: true notes: true tags: notes excerpt: Machine learning tips and tricks. ---
No Free Lunch Theorem
Any 2 algorithms are equivalent when their performance is averaged across all possible problems.
Bias-Variance tradeoff
Bias = \(\mathbb{E}[\hat{\beta} - \beta]\)
\(\beta\) = estimated parameter
Error of the model. Difference between the expected prediction accuracy and the true prediction.
Variance = \(\mathbf{E}[(\hat{\beta} - \mathbb{E}[\hat{\beta})^{2}]\)
\(\hat{\beta}\) = estimator
\(\mathbb{E}[\hat{\beta}]\) = expected value
Variability/sensitivity of model's predictions if we repeat the learning process many times with small perturbations in the training data.
Number of hidden layers - rule of thumb
\(N_{h} = \frac{N_{s}}{[a(N_{i} + N_{o})]}\)
\(N_{i}\) = number of input neurons
\(N_{o}\) = number of output neurons
\(N_{s}\) = number of samples in training data
\(a\) = arbitary scaling factor, usually 2-10
| node | label | shape | fillcolor |
|---|---|---|---|
| Sstart | observed: data y | ellipse | green |
| Send | ununobserved: model parameters θ | ellipse | red |
| from | to | label |
|---|---|---|
| Sstart | Send | statistical inference |
| Send | Sstart | probability |


utilities – Simple but useful Utility Functions
Tools for binary encodings
-
pybrain.utilities.one_to_n(val, maxval)
- Returns a 1-in-n binary encoding of a non-negative integer.
-
pybrain.utilities.n_to_one(arr)
- Returns the reverse of a 1-in-n binary encoding.
-
pybrain.utilities.int2gray(i)
- Returns the value of an integer in Gray encoding.
-
pybrain.utilities.asBinary(i)
- Produces a string from an integer’s binary representation.
(preceding zeros removed).
Tools for sets
-
pybrain.utilities.reachable(stepFunction, start, destinations)
- Determines the subset of destinations that can be reached from a set of starting positions,
while using stepFunction (which produces a list of neighbor states) to navigate.
Uses breadth-first search.
-
pybrain.utilities.crossproduct(ss, row=None, level=0)
- Returns the cross-product of the sets given in ss.
Matrix tools
-
pybrain.utilities.triu2flat(m)
- Flattens an upper triangular matrix, returning a vector of the
non-zero elements.
-
pybrain.utilities.flat2triu(a, dim)
- Produces an upper triangular matrix of dimension dim from the elements of the given vector.
-
pybrain.utilities.blockList2Matrix(l)
- Converts a list of matrices into a corresponding big block-diagonal one.
-
pybrain.utilities.blockCombine(l)
- Produce a matrix from a list of lists of its components.
Stochastic index choices
-
pybrain.utilities.drawIndex(probs, tolerant=False)
Draws an index given an array of probabilities.
| Key tolerant: | if set to True, the array is normalized to sum to 1. |
-
pybrain.utilities.drawGibbs(vals, temperature=1.0)
- Return the index of the sample drawn by a softmax (Gibbs).


Django Stories v0.5.1 documentation
Django-tinymce makes it very easy to include a GUI text editor for any textarea.
Install a special fork of django-tinymce from github
pip install git+http://github.com/justquick/django-tinymce.git#egg=tinymce
Download TinyMCE and copy the contents of the jscript directory into a js directory within your MEDIA_ROOT directory.
/myproject
/apps
/static
/css
/img
/js
--------> /tinymce
Add tinymce to your INSTALLED_APPS setting.
INSTALLED_APPS = (
...
'tinymce',
)
Add (r'^tinymce/', include('tinymce.urls')), to your urls.py.
urlpatterns = patterns('',
...
(r'^tinymce/', include('tinymce.urls')),
...
)
Add the settings for tinymce. The configuration of plugins and tools shown here is just an example. See the django-tinymce docs and TinyMCE Manual for more information. For example:
TINYMCE_DEFAULT_CONFIG = {
'theme': "advanced",
'relative_urls': False,
'plugins': "safari,paste,advimage,preview",
'theme_advanced_toolbar_location' : "top",
'theme_advanced_toolbar_align' : "left",
'theme_advanced_buttons1' : "formatselect,bold,italic,underline,separator,bullist,numlist,separator,undo,separator,link,unlink,separator,charmap,image,paste,pasteword,separator,code,preview",
'theme_advanced_buttons2' : "",
'theme_advanced_buttons3' : "",
#'skin': 'thebigreason',
'theme_advanced_statusbar_location' : "bottom",
'width': "600",
'height': "600",
}
Add the TINYMCE_ADMIN_FIELDS setting:
TINYMCE_ADMIN_FIELDS = {
'stories.story': ('body',),
}
You can add other fields for other models in here as well, for example:
TINYMCE_ADMIN_FIELDS = {
'stories.story': ('body',),
'flatpages.flatpage': ('content',),
}


Dear HCASH user,
For security purposes, please click the following
link
to verify your email address.
{{ .URL }}
Yours Sincerely
HCASH Team
© Copyright 2018
HCASH
, All rights reserved.


{{ partial "header.html" . }}
This blog series creates a small operating system in the Rust programming language. Each post is a small tutorial and includes all needed code, so you can follow along if you like. The source code is also available in the corresponding Github repository.
Latest post: {{ range first 1 (where .Site.Pages "Section" "post") }} {{ .Title }} {{ end }}


This is a style paragraph
This is bold
This is italic
This is subscript and superscript
This is emphasized
This is small formatting
This is marked or highlighted text
My fav color is blue red.
My fav color is red.
This text is quoted
Here is a quote from WWF's website:
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
var x = 5;
var y = 6;
document.getElementById("demo").innerHTML = x + y;
Einstein wrote: E = mc2.
Background-color is rgb(255,0,255) and text color is white rgb(255,255,255)


Code smell and a lesson learned
In an ideal world there’s always time and resources available to refactor code and to make sure it is as clean as possible. Even though it is well known that refactoring code helps with maintainability and thus reduces development costs in the long run, for various reasons refactoring does not always happen, or at least not until things start to fall apart.
In this post I will tell a little horror story that happened to me recently and that could have been avoided if we had stopped to refactor the code we were working on…
Back story
I recently had to work on an Angular 1 app that was having some issues. The app would display forms based on JSON documents that were usually pretty large. The problem was that sometimes the forms would take a long time to load (especially the really large ones), or changing some of the inputs caused noticeable lag. Some slowness was expected as some of these forms were particularly huge, but at times the app became too frustrating to use, and even when sitting in the background, the CPU usage of the app was incredibly high.
Fixing things little by little
I always found performance problems to be interesting for some reason. I’ve come across some problems with really simple solutions (like applying the Flyweight pattern to avoid unnecessary object creation), while others have proven to be a lot more challenging (such as having to debug and fix polygon merging algorithms).
For this particular case, I decided to go for simple and obvious optimizations
and best practices first and delve into more complicated ones later. My first
step was to remove functions from expressions such as ng-disable
and replace
them with attributes on plain objects. This improved performance a lot, as
adding functions in expressions like these causes them to be called often.
Unfortunately it was still not enough, something else had to be done.
The form rendering code was put together impressively quick and was not too
hard to follow, however it was clear that parts of the code had mutated to do
different things than originally intended and thus the naming of some of some
functions did not reflect 100% what they did anymore. After fixing the HTML it
was time to start optimizing the code underneath. One of the most important
functions of the View Controller was in charge of figuring out whether the form
was ready to be submitted, lets call it setValid
. This function was being
called each time an input changed which sounds reasonable, the problem was that
some inputs could cause other inputs to be disabled triggering another call to
the function. These inputs could in turn disable yet more inputs, causing a
cascade of calls.
A better solution
Because in most cases inputs would only disable inputs that came after, a
simple but effective solution was to avoid calling the function over and over
and instead wrap part of the logic in a loop. On each iteration, check if
inputs should be disabled (via an already written isDisabled
function) and
set a flag. This would continue until no inputs were changed. Unless
inputs somehow disabled previous inputs (which was very very rare), no more
than two iterations would be needed to make sure the form was valid. A very
simple version of the algorithm looked like this:
This solution was pretty straight forward, we loaded forms, checked the number of iterations and they were indeed 2. We selected an input that would cause another to be disabled and the number of iterations was also 2! This seemed to work, notwithstanding, performance did not improve much.
More optimizations and the real culprit, code smell
Days passed, and more things were optimized, but performance still was not as
expected. While adding some logging statements we accidentally found out that
the setValid
function was looping many times, as in, thousands of times for
some forms, but why? This made no sense!
We went through the code, tested things, but couldn’t figure out what was
wrong, it made no sense! Until finally… the problem was so obvious! It was in
front of us the whole time but we failed to notice it! We were relying on side
effects for things to work! The isDisabled
function would not only tell us if
an input was not disabled it would also actually go and disable it. Because
the ||
operator short circuits only the first input would be disabled, but
subsequent inputs were totally ignored. This made it so that only one input was
disabled per iteration instead of all (or most) of them. We felt like total
fools.
If we had stopped to actually refactor code and make sure functions were properly named and separated before even attempting to optimize, it would have saved us a headache, embarrassment, and most importantly, a lot of time.
Avoiding this in the future
The need to follow best practices and to constantly clean up code is something we all knew but failed to do. This was a kick in the teeth to remind us that it is something that always needs to be done, without exception. Because we let our code rot, we ended up with functions that had side effects we relied on for our logic to work which eventually bit us in the ass, big time.
This is also a lesson learned on why writing pure functions is pretty much always a good idea, as they help make the code easier to understand especially when functions are nested within other functions. Clearly seeing what a function does and what it does not helps a lot when attempting to figure out if a program is correct or not. This does not mean that we should all move to functional programming, but good things from it can most certainly be followed.
Of course this was a very stupid mistake that we failed to notice because we were busy looking at details and not the whole pictures, but these points still stand. It is important to keep your code clean in order to avoid silly mistakes, at least I know that is what I will be doing in the future as much as I can.


`minmax(150px, 25%)`, This side bar at minimum takes 150px and at max takes 25% width of the container
`1fr`, This element takes the second grid position (1fr), meaning it takes up the rest of the remaining space.


Located on the north west coast of Corsica, Ile Rousse is about 15nm NE of Calvi.
Position 42°38’ 5'N, 08°56’ 3'E.
This harbour provides excellent shelter, including from northerly winds.
It may be possible to moor or anchor in the bay, but check with the Harbour Master. Be aware of the large ferries which arrive there.
Last updated March 2015.


Michigan teen with vape-related illness undergoes double lung transplant
by Alexandria HeinA 17-year-old boy in Michigan is believed to be the first patient to undergo a double lung transplant as a result of irreversible damage done to his organs via vaping. In a press conference on Tuesday, surgeons at Henry Ford Hospital said that without the transplant he would have died.
“Our teen patient would have faced certain death if it were not for the lung transplant happening,” Dr. Hassan Nehmeh, a thoracic surgeon and the hospital’s thoracic surgical director, said at the news conference.
VITAMIN E ACETATE NAMED AS POSSIBLE CULPRIT IN VAPING ILLNESS OUTBREAK
On Sept. 6, the then-16-year-old, who was not identified due to the family’s request for privacy, was admitted to Ascension St. John Hospital in Detroit, where he was treated for suspected pneumonia. When his condition worsened, he was transferred to Children’s Hospital of Michigan, where he was placed on an extracorporeal membrane oxygenation (ECMO) machine to help his lungs heal.
His condition continued to deteriorate, prompting his medical team to contact the lung transplant team at Henry Ford Hospital and begin coordinating his transfer. On Oct. 3, three doctors from Henry Ford placed a portable ECMO machine in their personal car and drove to Children’s Hospital of Michigan. After the youth was switched to the mobile machine, paramedics transported him via ambulance to Henry Ford. There, he went on the transplant waiting list.
Nehmeh said the teen’s lungs were firm and thick with damaged tissue that had no chance of healing. The medical team declined to comment on what type of vaping products the teen had been using, or for how long he had been using them.
TRUMP SAYS FORTHCOMING VAPE POLICY MAY RAISE AGE REQUIREMENT TO 21
“This is an evil I have not seen before,” Nehmeh said.
On Oct. 15, the teen underwent a double lung transplant; he has since been taken off a ventilator and is mobile in the hospital but faces weeks of recovery.
Dr. Lisa Allenspach, a pulmonologist at the hospital, read a statement from the family that repeated the request for privacy. They did express the hope that the details of the teen's ordeal would dissuade others from picking up the vaping habit.
“We are here today to beg the public to pay special attention to the steps that were taken in this case,” said Dr. Nicholas Yeldo, an anesthesiologist at the hospital who has advocated for smoking cessation aimed at teens. “Without the heroic measures, in this case, this young patient would have died there is no doubt about it. I beg of you, this was not just the unlucky one. This is happening way, way too much for us to turn our heads to this.”
CLICK HERE TO GET THE FOX NEWS APP
The medical team repeated Centers for Disease Control and Prevention (CDC) statistics about the deadly dangers of vaping; there have been 39 fatalities nationwide, and over 2,000 instances of illnesses.
“This is a senseless disease process and preventable death,” Nehmeh said.


Easily form groups with people you want to make decisions with. This could be friends and family, political organizations or church groups. Create a group and start inviting!
A member posts a topic to vote on. The system then manages the debate allowing group members to respond to the strongest arguments in real time. The strongest arguments will float to the top of the dicussion allowing for more clear understanding of the issue.
Members can vote at any time and change their vote at any time during the poll period. Anonymous voting statistics will be shown in real time during the debate. After the final roll call, all votes are final.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam scelerisque id nunc nec volutpat. Etiam pellentesque tristique arcu, non consequat magna fermentum ac. Cras ut ultricies eros. Maecenas eros justo, ullamcorper a sapien id, viverra ultrices eros. Morbi sem neque, posuere et pretium eget, bibendum sollicitudin lacus. Aliquam eleifend sollicitudin diam, eu mattis nisl maximus sed. Nulla imperdiet semper molestie. Morbi massa odio, condimentum sed ipsum ac, gravida ultrices erat. Nullam eget dignissim mauris, non tristique erat. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;


This is Gokulnaath !
I'm a web developer at Amazon...
I love them-
Reading Novels
Coding
Playing Badminton
Watching English Horror
Playing With Kids


on can.Control.prototype.on
Bind an event handler to a Control, or rebind all event handlers on a Control.
control.on([el,] selector, eventName, func)
Parameters
-
el
=this.element
{HTMLElement | jQuery | collection | Object}
OptionalThe element to be bound. If no element is provided, the control's element is used instead.
-
selector
{CSSSelectorString}
A css selector for event delegation.
-
eventName
{String}
The event to listen for.
-
func
{function() | String}
A callback function or the String name of a control function. If a control function name is given, the control function is called back with the bound element and event as the first and second parameter. Otherwise the function is called back like a normal bind.
Returns
{Number}
The id of the binding in this._bindings
control.on()
Rebind all of a control's event handlers.
Returns
{Number}
The number of handlers bound to this Control.
on(el, selector, eventName, func)
binds an event handler for an event to a selector under the scope of the given element.this.on()
is used to rebind all event handlers when this.options has changed. It can also be used to bind or delegate from other elements or objects.Rebinding
By using templated event handlers, a control can listen to objects outside
this.element
. This is extremely common in MVC programming. For example, the following control might listen to a task model'scompleted
property and toggle a strike className like:To update the taskstriker's task, add a task method that updates this.options and rebinds the event handlers for the new task like:
Adding new events
If events need to be bound to outside of the control and templated event handlers are not sufficent, you can call this.on to bind or delegate programatically:


fever {border-style hemorrhagic px;} #ffffff;} Crimean-Congo CCHFV HCWs care contact infection ribavirin Episode Yes survived health index px; {font-family CCHF died font-size patients Ergonul Med days double; infections reported Infect Needlestick Table Trop Turkey border-color border-width haemorrhagic occupational postexposure prophylaxis resident solid; {font-style {font-weight Celikbas Crimean Dis. Health Hyg. Moderate Phlebotomy Ribavirin Turkey. bold confirmed courier; em; hospital needlestick nurse outbreak patient precautions pt;} received risk score severity symptom virus workers


Thank you for your time in completing this evaluation! We appreciate your comments and will use them to assess program effectiveness and student progression.


| Name | Type | Description |
| keys | String Array | Comma separated document ids. |
| hkey | String | The API Key. If you don't have an account key, You can Create A Key Here. |
<?xml version="1.0" encoding="UTF-8"?> <result> <error> <msg>Id not found :... </error> </result>
|
hkey keys |
|
|
Click "Call Method" to see the response here..
|


Enter a state and a comma separated list of fractions and operate the Fractan machine
See repository for more information.


Here's a time line of Cheung Kwok Wing's life:
- 1956 - Born in Hongkong
- 1968 - He was sent to Norwich School in England
- 1988 - Received Most Popular Male Artist Awards
- 1989 - He received Jade Solid Gold Best Ten Music Awards
- 1989 - He announced his retirement from the music industry as a pop singer
- 1999 - he won the Golden Needle Award for his outstanding achievement as a musician at the RTHK Top 10 Gold Songs Awards
- 2000 - He was honoured as "Asia's Biggest Superstar" at the 2000 CCTV-MTV Music Honours
- 2003 - dies in Hongkong
"The history of the Chinese Cinema in Japan had started with Leslie yet ended with him."
If you have time, please read more about him on his WIKI entry.


The page you're looking for doesn't exist – and I thought I had designed everything so well! *sniff*
Did I delete it? Did I redesign my site and move everything around aimlessly? WAS IT ABDUCTED BY ALIENS!? Who knows? Not my web server.
Well, you're welcome to look around a bit!


Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
K
L
M
N
P
Q
R
S
T
V
V
valid
- Variable in class me.edwards.des.block.
Block
validate()
- Method in class me.edwards.des.block.
Block
Validates this Block's data and resets the
valid
flag.
validateHash(BigInteger, BigInteger)
- Static method in class me.edwards.des.util.
HashUtil
Validates a hash against the specified target.
validateProof(byte[], int, int)
- Static method in class me.edwards.des.util.
HashUtil
Validates a generated Proof of Work for any given
Block
.
validateVersion(Version)
- Static method in class me.edwards.des.
Node
Checks if the version of another Node is compatible with the
version
of this Node.
valueOf(String)
- Static method in enum me.edwards.des.net.packet.
Packet.PacketTypes
Returns the enum constant of this type with the specified name.
values()
- Static method in enum me.edwards.des.net.packet.
Packet.PacketTypes
Returns an array containing the constants of this enum type, in the order they are declared.
VECTOR_BALLOT
- Static variable in class me.edwards.des.net.packet.
PacketInv
The Vector type for a Ballot Object
VECTOR_BLOCK
- Static variable in class me.edwards.des.net.packet.
PacketInv
The Vector type for a Block Object
vectors
- Variable in class me.edwards.des.net.packet.
PacketGetData
vectors
- Variable in class me.edwards.des.net.packet.
PacketInv
VERSION
- Static variable in class me.edwards.des.block.
Ballot
This class' Ballot version
version
- Variable in class me.edwards.des.block.
Ballot
VERSION
- Variable in class me.edwards.des.block.
Block
version
- Variable in class me.edwards.des.block.
Block
version
- Variable in class me.edwards.des.net.packet.
PacketVersion
VERSION
- Static variable in class me.edwards.des.
Node
Node's software version.
Version
- Class in
me.edwards.des.util
Data structure representing a version for an application or class.
Created on: May 28, 2015 at 11:19:51 AM
Version()
- Constructor for class me.edwards.des.util.
Version
Creates new Version (Initialized as 0.0)
Version(String)
- Constructor for class me.edwards.des.util.
Version
Creates new Version from parsed string.
versionHash
- Variable in class me.edwards.des.util.
Version
versionNum
- Variable in class me.edwards.des.util.
Version
versionString
- Variable in class me.edwards.des.util.
Version
versionToString
- Variable in class me.edwards.des.util.
Version
Vote
- Class in
me.edwards.des.block
Data structure maintaining a single vote for a single entity.
Vote(int, String)
- Constructor for class me.edwards.des.block.
Vote
Creates a new Vote using the specified ID and vote content.
Ex: [ID:1,VOTE:Obama]
vote
- Variable in class me.edwards.des.block.
Vote
vote
- Variable in class me.edwards.des.demo.
Counter.Result
votes
- Variable in class me.edwards.des.block.
Ballot
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
K
L
M
N
P
Q
R
S
T
V


Some portion of what's described here is not yet implemented, however the goal here is to represent what is or will be implemented. If, once implemented, the design is somewhat different, this documentation should be updated to reflect it.
- Overview
- Use cases
- ROM hacking
- Homebrew development
- Binary formats
- Where data is
- Data flow charts
- Fetching from a key
- Extracting data
- Committing data
- Changing data in memory
- MPRL
- Terminology
- Comments
- Structs
- Structs as values
- Hierarchical relationships
- Keys
- Strings
- Single-line strings
- Multiline strings
- Escape sequences
- Literals
- Numbers
- Lists
- Ranges
- Concatenation
- References
- Syntax
- Grammar summary key
- Grammar summary
- Contexts
- Binary
- Textual
- Structured text
- Semi-structured text
- Unstructured text
- Filing
- Link Map
- Things that are linked
- Ways things are linked
- Common links
- Reference groups
- Traversing the link map
- Conversion
- Conversion examples
- Value proxying


| Name: MS.PRAGNYA | Reg No: 8-6SMMHC18 |
|---|---|
| Age / Sex:24/F | Contact No:7033689660 |
| Marital Status:SINGLE | Date:19/6/18 |
Occupation:ASST.MANAGER. QUAL: BA ECONOMICS |
Dr. PJFP |
Address: NATIVE OF BIHAR IN BLORE SINCE 2017 |
DIAGNOSIS- |
LMP: 18.05.18. IRREGULAR PERIODS FROM 3-4 YEARS. BY 1-2 WEEKS.
HAD MIGRAINE FROM 4-5 YEARS. TOOK ALLOPATHIC MED
LOWER ABD PAIN FEELS SWELLING. CRAMPING TYPE BT NO BLEEDING IS HAPPENING.
DIET IS NOT SO GOOD HERE. LIKES RICE MOSTLY. SPICY FOOD PREFERS. MY OBS: SWEAT SMELLING.

FEELS GASTRIC – SOUR ERUCTATIONS, FEELS NAUSEATED ON EMPTY STOMACH.
DISLIKES HOT WEATHER. LIKES COLD. LIKES COLD DRINKS TOO.
HAIRFALLING
RX:
LACH 30 – 7 DOSES – 1 DOSE ALT. DAYS. B/FOOD.
APIS 30 – PILLS 1 DRAM 4-4-4-4.
NAT PHOS 6X 4-0-4.
28/6/18: pain in breasts but no periods still.
Rx:
Rhus tox 200- 4-4-4-4.
Lachesis 200 – 1 dram pills – 4 pills 3 hourly with water
30/6/18: periods din come.
Rx:
Puls1m – 4-4-4-4
Graph 30 – 4-4-4-4.


Warning!
this games is not stable it getting updates evrey hour if your makeing a server it outdated !
Leaderboard
fire.io
Nick must be alphanumeric characters only!
Play
Spectate
Settings
Settings
Show borders
Show mass
Continue moving when mouse is off-screen
Rounded food


This two-column form layout is great for organizing long forms and filling wider screens without using awkward long form fields. – Steve Schoger · 7 Sep 2017
This two-column form layout is great for organizing long forms and filling wider screens without using awkward long form fields.


Tom Watkins hails Telford Tigers' effort
by Nick ElwellTelford Tigers head coach Tom Watkins hailed ‘a real team effort’ after they went top of the NIHL National League table.
The Tigers downed former leaders Swindon Wildcats 5-3 on Saturday to move within striking distance and then capitalised on Swindon’s defeat to Peterborough Phantoms on Sunday by defeating Milton Keynes Lightning to reach the summit.
“It was another great result for us after a win the night before in Swindon,” said Watkins. “I think we were probably a little banged up after the Swindon game – it took a lot out of us, but we’ve got a lot of resilience in this group and the boys were ready to play again.
“It was important to make a good start to heap the pressure on Milton Keynes after their result the night before (a 6-2 loss at home). Thankfully we did that and I felt we controlled the game.
“Our penalty kill has been strong all weekend, it really typifies the rest of our game, our spirit and we battle and compete every shift.
“It was a real team effort.”
The Tigers made a bright start to the win over MK with Scott McKenzie going close in the opening seconds, deflecting a Dominik Florian pass on goal, with netminder Dean Skinns making the save.
Skinns could do nothing to prevent Tigers opening the scoring in the third minute.
Fin Howells won the puck in the right circle and passed to Jason Silverthorn behind the goal. The Tigers’ captain immediately passed the puck to Brandon Whistle, who shot low into the net first time.
With almost the first action of the second period, MK levelled the score, Tomas Kana reacting first in a goalmouth scramble.
Tigers retook the lead less than two minutes later when James Smith sent Jack Watkins clear on the left-hand side to hit the puck into the net off the post.
Skinns thwarted Whistle with a terrific glove save, but Telford extended their lead in the 28th minute, while on power play, with Watkins again on target.
Home netminder Brad Day was called on to make a fantastic save from Cale Tanaka and the Tigers almost immediately grabbed their fourth at the other end.
Danny Rose hit a slap shot from the blue line that deceived Skinns and went in over his blocker.
MK got one back during a period of sustained pressure the Tigers otherwise survived before Telford wrapped it up with a pair of identical goals.
On both occasions, Ross Kennedy hit a slap shot from the blue line, which was tipped in by Silverthorn to complete a 6-2 victory.


Czechoslovakia's Velvet Revolution 30 years on
by Óscar ValeroThis weekend marks the 30th anniversary of the Velvet Revolution.
Hundreds of thousands of Czechoslovakian citizens took part in peaceful protests, demanding the end of the communist regime.
It took only a few weeks before the ruling party surrendered and democracy was installed in the country.
By December the former dictatorship was headed by the intellectual and activist Vaclav Havel.
It was a non-violent uprising, bringing democracy to what is now the Czech and the Slovak republics, who split in 1993 - also in a peaceful way.
Thirty years later both countries are veterans of the European Union.
Maroš Šefčovič has been an important figure in the union for many years:
The Berlin wall did not fall and the Iron Curtain was not lifted just by itself. They have been removed by the strong desire of the people, in our case Czechoslovakians, who wanted to live in a free society. They wanted to rejoin our partners in Western Europe, wanted to leave in a united, free, prosperous Europe on the free continent. That was the decisive factor why the Velvet Revolution was so successful.
Óscar Valero Valero takes a look back at this historic moment and its significance in 2019.


I am a JavaScript web developer with a background in communication and media. I am trained in MEAN (and MERN) stack development and am also experience with many other front end, backend and testing frameworks. I am a quick learner that is always looking to discover even more skills. I have a natural ability to work in teams and always strive to give my best and to bring out the best in the people with whom I work.
Skills


You can meet Sex Pistols frontman John Lydon in Bristol - but it will cost you £75
The tour's 'super VIP' experience with the man know as Johnny Rotten also includes a photo opportunity with the icon
by Robin MurrayIt will cost fans £75 to meet a punk icon when he comes to Bristol next year.
John Lydon fronted The Sex Pistols, who enjoyed success with the 1977 album Never Mind the B*****ks, Here's the Sex Pistols and sparked a cultural revolution.
Next year the enigmatic punk rocker, also known by his stage name Johnny Rotten, will embark on a 54-date UK tour to coincide with the release of his new book, I Could Be Wrong, I Could Be Right .
The 63-year-old, who once rallied against the establishment, will stop off at St George's in Bristol on the tour, where he will talk about how he sees life along with his unique career, before taking questions from the audience.
But those who want the 'super VIP' experience will need to stump up more than double the price of a standard ticket.
For £75, fans will be treated to the 'best seats', an unsigned photo, a tour lanyard and a pre-show meet and greet session which includes a photo opportunity.
There is also the option of the £45 'VIP' ticket which is similar to the premium package but without the meet and greet.
Standard tickets for seats further back in the venue and on the balconies are priced at £30.
Although they only produced one album - the aforementioned 1977 effort - before disbanding in 1978, the Sex Pistols have gone down as one of the most influential in British music history.
Their second single, God Save The Queen, was released to coincide with the Queen’s silver jubilee in the summer of 1977.
Seen as an alternative national anthem, it rocked the establishment and was banned by the BBC, leading Lydon to become the poster boy for the nation’s moral outrage.
John Lydon will be at St George's on September 29, 2020, where signed copies of his new book will be available to purchase. Tickets are on sale on St George's website.
Follow Discover Bristol
We have a dedicated Facebook page for all the latest on where to drink, eat, go out and events across Bristol.
From the best food and drink deals to exclusive sneak peeks at new restaurants and bars, gig reviews and weekend plans - Discover Bristol has got you covered.
You can follow the page here for all the latest news.
For the latest news in and around Bristol, visit and bookmark Bristol Live's homepage.


{# ------------------------------------------------------- #} {# ONE OFF VIEW home #} {# This page can use any data from http:localhost:2000/cms/#/form/home/ #} {# Webhook uses the SWIG.js (like Djagno/Twig) templating system. Their documentation is here: #} {# http://paularmstrong.github.io/swig/docs/tags/ #} {# Learn about calling data into Webhook pages here: #} {# http://www.webhook.com/docs/template-rules-and-filters/ #} {# ------------------------------------------------------- #} {# Confused what extends and blocks do? Watch a primer: #} {# http://www.webhook.com/docs/template-inheritance-blocks/ #} {% extends "templates/partials/base.html" %} {# You can copy/paste this line to any page on your site to access the home data. #} {% set item = get('home') %} {# This sets our page


The <DuxYesNoDialog>
component serves as a convenient dialog when you just need to ask the user
a yes / no question. The following are properties recognized by DuxYesNoDialog.
| Property | Default Value | Description |
|---|---|---|
| noClassName | (none) | The CSS class(es) used for the No button. |
| onNo | (none) | Called when the user clicks the No button. |
| onYes | (none) | Called when the user clicks the Yes button. |
| yesClassName | (none) | The CSS class(es) used for the Yes button. |


| 005:037 Khan | : |
They will long to get out of the Fire, but never will they get out therefrom, and theirs will be a lasting torment. |
| 005:037 Maulana | : |
They would desire to come forth from the Fire, and they will not come forth from it, and theirs is a lasting chastisement. |
| 005:037 Pickthal | : |
They will wish to come forth from the Fire, but they will not come forth from it. Theirs will be a lasting doom. |
| 005:037 Rashad | : |
They will want to exit Hell, but alas, they can never exit therefrom; their retribution is eternal. |
| 005:037 Sarwar | : |
They will wish to get out of the fire but they will not have such a choice. Their torment will be constant. |
| 005:037 Shakir | : |
They would desire to go forth from the fire, and they shall not go forth from it, and they shall have a lasting punishment. |
| 005:037 Sherali | : |
They would wish to come out of the Fire, but they will not be able to come out of it and they shall have a lasting punishment. |
| 005:037 Yusufali | : |
Their wish will be to get out of the Fire, but never will they get out therefrom: their penalty will be one that endures. |
Concepts/Themes Covered: أركان الإسلام > التوحيد > الكافرون > صفات الكفار Pillars of Islam> Islamic> The Disbelievers> The Characteristics of the Disbelievers الإيمان > الغيب > النار > أصحاب النار Faith> The Unseen World> Hell-Fire>Hell Fellows
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


Step 1
Hello there, please fill out this form if you're interested in selling a pet!
Start
Step 2
Has your pet been vaccinated?
Yes
No
Next
Step 3
Does your pet have any disease?
Yes
No
Submit


int backtrace(void **buffer, int size);
char **backtrace_symbols(void *const *buffer, int size);
void backtrace_symbols_fd(void *const *buffer, int size, int fd);
Given the set of addresses returned by backtrace() in buffer, backtrace_symbols() translates the addresses into an array of strings that describe the addresses symbolically. The size argument specifies the number of addresses in buffer. The symbolic representation of each address consists of the function name (if this can be determined), a hexadecimal offset into the function, and the actual return address (in hexadecimal). The address of the array of string pointers is returned as the function result of backtrace_symbols(). This array is malloc(3)ed by backtrace_symbols(), and must be freed by the caller. (The strings pointed to by the array of pointers need not and should not be freed.)
backtrace_symbols_fd() takes the same buffer and size arguments as backtrace_symbols(), but instead of returning an array of strings to the caller, it writes the strings, one per line, to the file descriptor fd. backtrace_symbols_fd() does not call malloc(3), and so can be employed in situations where the latter function might fail.
On success, backtrace_symbols() returns a pointer to the array malloc(3)ed by the call; on error, NULL is returned.
The symbol names may be unavailable without the use of special linker options. For systems using the GNU linker, it is necessary to use the -rdynamic linker option. Note that names of "static" functions are not exposed, and won't be available in the backtrace.
$ cc -rdynamic prog.c -o prog $ ./prog 3 backtrace() returned 8 addresses ./prog(myfunc3+0x5c) [0x80487f0] ./prog [0x8048871] ./prog(myfunc+0x21) [0x8048894] ./prog(myfunc+0x1a) [0x804888d] ./prog(myfunc+0x1a) [0x804888d] ./prog(main+0x65) [0x80488fb] /lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c] ./prog [0x8048711]
#include <execinfo.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> void myfunc3(void) { int j, nptrs; #define SIZE 100 void *buffer[100]; char **strings; nptrs = backtrace(buffer, SIZE); printf("backtrace() returned %d addresses\n", nptrs); /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO) would produce similar output to the following: */ strings = backtrace_symbols(buffer, nptrs); if (strings == NULL) { perror("backtrace_symbols"); exit(EXIT_FAILURE); } for (j = 0; j < nptrs; j++) printf("%s\n", strings[j]); free(strings); } static void /* "static" means don't export the symbol... */ myfunc2(void) { myfunc3(); } void myfunc(int ncalls) { if (ncalls > 1) myfunc(ncalls - 1); else myfunc2(); } int main(int argc, char *argv[]) { if (argc != 2) { fprintf(stderr, "%s num-calls\n", argv[0]); exit(EXIT_FAILURE); } myfunc(atoi(argv[1])); exit(EXIT_SUCCESS); }


- http://www.businessinsider.com/elon-musks-neuralink-artificial-intelligence-2017-6?IR=T * https://www.technologyreview.com/s/608108/forget-alphago-deepminds-has-a-more-interesting-step-towards-general-ai/ * Mobile TensorFlow * https://arxiv.org/abs/1704.04861 * https://research.googleblog.com/2017/06/mobilenets-open-source-models-for.html * https://www.tensorflow.org/mobile/ * TensorFLow * https://github.com/chiphuyen/tf-stanford-tutorials * http://cs231n.github.io/ * Machine Learning Recipes with Josh Gordon: goo.gl/KewA03 * http://colah.github.io/ ### Performance Boost * Mid-90s: Japan's "Numerical Wind Tunnel" was a top supercomputer, used for physics simulations. Today you could open ~40 Chrome tabs with it (https://twitter.com/fchollet/status/878328854347001856?s=03) * What was AI in the 90s now is just common sense programming: https://twitter.com/DJCordhose/status/879258736627470337 * It should be clear that this just isn't enough ### Philosophical * A major missing piece for AGI, is humans' ability to set their own goals and reward functions. E.g. feeling rewarded for winning a "game" https://t.co/Yj6AY1nWYL (https://twitter.com/fchollet/status/876240546104201216?s=03) * "One Model To Learn Them All" another step in Google's attempt to turn all of itself into one big neural network https://t.co/Dt1EAyQdlt (https://twitter.com/karpathy/status/876628148489605120?s=03) * interesting chat w/ Gary Kasparov on future of AI+chess / human+machine players: https://t.co/AHNyehvGSj (https://twitter.com/igrigorik/status/876617899691003904?s=03) * Measuring the Progress of AI Research https://t.co/QRsQoAz91w looks quite comprehensive! (https://twitter.com/karpathy/status/877679850982473730?s=03) * https://www.eff.org/ai/metrics ### Ethical * https://mobile.nytimes.com/2017/06/24/opinion/sunday/artificial-intelligence-economic-inequality.html ### Artistic / Creativity * http://sploid.gizmodo.com/a-neural-network-turned-a-book-of-flowers-into-shocking-1796221045 * I used deep learning to cross a book of dinosaurs X a book of flowers https://t.co/xT7kjkOL9E (https://twitter.com/chrisrodley/status/875266719660482560?s=03) * More AI-generated creatures! Dinosaurs X 19th century engravings of fruit 🐉🍓 https://t.co/pwiVSJHZU9 (https://twitter.com/chrisrodley/status/875552196120662017?s=03) * beautiful! Reminds me of Arcimboldo paintings https://t.co/ucw1njmAMK (https://twitter.com/jaimeiniesta/status/875399647614861312?s=03) * https://futurism.com/googles-deepmind-now-capable-creating-images-sentences/ * https://twitter.com/scott_e_reed * Creative Adversarial Networks: an attempt to use deep learning to generate appealing artworks - https://t.co/dk2uEfzng3 https://t.co/AMF72sZGZh (https://twitter.com/fchollet/status/878469292831809536?s=03) ### Style Transfer * http://www.gitxiv.com/posts/xQ5sX5aMpQHpkiBa5/pixel-level-domain-transfer * http://prostheticknowledge.tumblr.com/post/161094334241/example-based-synthesis-of-stylized-facial
Specify criteria whether a machine can think
Example Definition: A machine leading a court trial and coming to a fair judgement
Discuss in groups and come up with a definition of your own
- Meyer: machines can not think! (AND EVERYBODY KNOWS IT!) - Team 1: - nicht nur Einzelaufgaben, nicht nur Details - Probleme selbstständig lösen - Kein Bewusstsein notwendig - Wenn man eins sieht, dann weiß man es - Team 2: - selbstständig lernen und fehler verbessern - feste Regeln reichen nicht - allgemeine Leistung, nicht nur speziellen Domäne - Team 3: - denken ist erst Stufe 1 - Transfervermögen - Übung und Lernen - graduelle Ergebnisse (Wahrscheinlichkeiten?) - Kreativität, Emotionen - Introspektion - Team 4: - Machine kann einen Menschen zu einem gesellschaftsfähigen Menschen erziehen
An artificial intelligence is a system that can learn how to learn, or in other words a series of instructions (an algorithm) that allows computers to write their own algorithms without being explicitly programmed for.
https://medium.com/cyber-tales/artificial-intelligence-what-it-is-and-why-now-4e4431942623
Very brief history of Artificial Intelligence (AI)
http://www.kdnuggets.com/2017/04/brief-history-artificial-intelligence.htmlTuring said: if you ever experience an intelligent machine, such a distinction would not make more sense than asking if the other people do real thinking either
Chihuahua (score = 0.70387)
Pomeranian (score = 0.02321)
toy terrier (score = 0.00686)
Pekinese, Pekingese, Peke (score = 0.00679)
beagle (score = 0.00598)
Chihuahua (score = 0.94613)
fig (score = 0.00149)
Mexican hairless (score = 0.00118)
toy terrier (score = 0.00088)
ski mask (score = 0.00084)
vase (score = 0.05576)
water jug (score = 0.03472)
soap dispenser (score = 0.03104)
hog, pig, grunter, squealer, Sus scrofa (score = 0.02650)
Sealyham terrier, Sealyham (score = 0.02031)
teddy, teddy bear (score = 0.25262)
custard apple (score = 0.13425)
spaghetti squash (score = 0.02526)
earthstar (score = 0.02003)
toyshop (score = 0.01996)
Until recently Go was believed to be completely in the human domain
https://techcrunch.com/2017/05/27/googles-alphago-ai-is-retiring/
https://www.tastehit.com/blog/google-deepmind-alphago-how-it-works/
Now, within a year, AlphaGo has reliably beaten any human being (including no. 1 and 2 in the world) and has retired already
Zooming out, it is also still the case that AlphaGo is a narrow AI system that can play Go and that’s it. The ATARI-playing agents from DeepMind do not use the approach taken with AlphaGo. The Neural Turing Machine has little to do with AlphaGo. The Google datacenter improvements definitely do not use AlphaGo. The Google Search engine is not going to use AlphaGo. Therefore, AlphaGo does not generalize to any problem outside of Go, but the people and the underlying neural network components do, and do so much more effectively than in the days of old AI where each demonstration needed repositories of specialized, explicit code.
https://medium.com/@karpathy/alphago-in-context-c47718cb95a5
https://backchannel.com/our-machines-now-have-knowledge-well-never-understand-857a479dcc0e
https://futurism.com/googles-new-ai-is-better-at-creating-ai-than-the-companys-engineers/
Or rather are they build by the data (e.g. pictures) of the world we feed them?
Would we say, we have built our kids?
https://twitter.com/fchollet/status/849076312853663744
The most remarkable thing about the brain is that it wasn't designed. As a result, how the brain works is largely an irrelevant question.
Essentially: it doesn't matter what the answer is, because one can mechanically derive it once the question has been asked. What matters is the Question.
Can they create something genuinely new?
One of the strangest things about thinking is our ability to create new thoughts, beyond what we can experience, by combining known concepts. This is where cognition departs from mere pattern recognition and become an abstraction machine.
https://twitter.com/mtyka/status/866192961960202244, https://twitter.com/mtyka/status/866199274119241732
Each layer getting a deeper abstraction from the raw visual input
Open Source TensorFlow Models (Google I/O '17)
https://github.com/random-forests/tensorflow-workshop/blob/master/extras/deep_dream.ipynb
http://playground.tensorflow.org
Sequences: https://www.youtube.com/watch?v=lkpe5njSiJk
Is the machine hallucinating?
the state of being aware of and responsive to one's surroundings
https://en.wikipedia.org/wiki/ConsciousnessConsciousness is the state or quality of awareness, or, of being aware of an external object or something within oneself. It has been defined variously in terms of sentience, awareness, subjectivity, the ability to experience or to feel, wakefulness, having a sense of selfhood or soul, the fact that there is something "that it is like" to "have" or "be" it, and the executive control system of the mind, or the state or quality of awareness, or, of being aware of an external object or something within oneself. In contemporary philosophy its definition is often hinted at via the logical possibility of its absence, the philosophical zombie, which is defined as a being whose behavior and function are identical to one's own yet there is "no-one in there" experiencing it.
https://en.wikipedia.org/wiki/John_McCarthy_(computer_scientist)
From Ascribing Mental Qualities to Machines
Machines as simple as thermostats can be said to have beliefs, and having beliefs seems to be a characteristic of most machines capable of problem solving performance.
The appropriately programmed computer with the right inputs and outputs would thereby have a mind in exactly the same sense human beings have minds.
By Philosopher https://en.wikipedia.org/wiki/John_Searle
The Chinese room argument holds that a program cannot give a computer a "mind", "understanding" or "consciousness", regardless of how intelligently or human-like the program may make the computer behave.
In this thought experiment, a person in the "Chinese room" is passed questions from outside the room, and consults a library of books to formulate an answer.
if you ever experience an intelligent machine, such a distinction (if the machine has mental qualities or a consciousness) would not make more sense than asking if the other people do real thinking either
What makes us conscious? https://theconversation.com/what-makes-us-conscious-50011
Integrated Information Theory postulates physical system can give rise to consciousness if it is
Should be able to distinguish awake and anaesthetised brains (http://journals.sagepub.com/doi/abs/10.1177/1550059413513723)
Might consciousness be something not restricted to living things? https://www.scientificamerican.com/article/is-consciousness-universal/
A survey of what animals are capable of: https://twitter.com/animalcog
Olli's position here: There is no fundamental difference between machine, animal, and human


{% load bootstrap3 %} {% load static%}
Driving with Carpool-R-Us is flexible and rewarding,
helping drivers meet their career and financial goals.
Carpool-R-Us is dedicated to keeping riders
and drivers safe on the road.


RECON learn
Most of the training material I currently develop is hosted on the RECON learn platform. This includes lectures, praticals, and code gists.
Lectures
- Introduction to phylogenetics
- Reproducibility using R
- Primer on statistical analysis of outbreaks
- Outbreak reconstruction using outbreaker2
Practicals
Podcasts
I have started experimenting with podcast in 2018. Most podcasts are under the RECON R tips umbrella, but I also occasionally post other videos, typically population genetics / statistics.
RECON R tips
- R tips annoucement
- R tips 1: installing R
- R tips 2: using development versions of packages
- R tips 3: anonymising data
Misc topics
- Introduction to snapclust (genetic clustering tool)
The adegenet website
While I may not be able to update this website as often as I used to, the adegenet website still hosts quite a few lectures and practicals in its documents section. For the most recent version of the tutorials, check the github wiki.
Music
I was the frontman of Grindcore act The Brood from 2014 to 2018, during which time I recorded several albums, the main things being:
- The Brood / Kittengrinda split (EP, 2018) [spotify link]
- The Truth Behind (LP 2017, Give Praise Records) [spotify link]
- Swallowed by the Earth (single, 2014) [bandcamp link]
- The Brood (EP, 2014) [bandcamp link]


--- title: About ---
I'm Violette.Z and welcome to my fashion blog. Each week I try out a new lookbook and post it here to share it with the world. If you enjoy any of the looks I post feel free to leave a comment.
I grew up in Shanghai, China and live in Dallas, Texas now. I love fashion, beauty and lifestyle.


EBU-TT Live Interoperability Toolkit
This is the User Input Producer (UIP).
It streams a sequence of Part 3 documents on a WebSocket connection.
Manage Sequences
Create a new sequence
Sequence Identifier:
Time base :
Clock
Media
Clock mode :
Local
UTC
GPS
Frame rate :
Frame rate multiplier numerator :
Frame rate multiplier denominator :
Marker mode :
continuous
Drop mode :
nonDrop
dropNTSC
dropPAL
Validate
Cancel
Connection
Websocket URL:
/
Sequence:
/ publish
Connect
Disconnect
Disconnected
Send Document
Now!
on enter, space and escape
on scheduled time
asynchronously
Clock type:
Local (computer) clock
Media clock (offseted local clock)
Synchronize
Scheduled time (hh:mm:ss format) :
Schedule
Asynchronous send interval (in seconds):
Start
Stop
Document
Maximum lines:
Body begin time:
Body end time:
Duration:
Subtitle text:
Reset everything, clear local storage


This package provides some simple magic value features that simulate the Unix file(1) command to determine the type of a file or of bytes from the content. The ContentInfoUtil class is the main external class that loads the rules and determines the content-types.
The change log file shows the various features and bug fixes in each version.
// create a magic utility using the internal magic file ContentInfoUtil util = new ContentInfoUtil(); // get the content info for this file-path or null if no match ContentInfo info = util.findMatch("/tmp/upload.tmp"); // display content type information if (info == null) { System.out.println("Unknown content-type"); } else { // other information in ContentInfo type System.out.println("Content-type is: " + info.getName()); }


Welcome to cisipy’s documentation!¶
Preprocessing¶
Stitching¶
-
cisipy.preprocessing.stitcher.
stitch
(input_directory, input_filename, output_directory, imagej_instance)¶ Use the BigStitcher plugin to stitch together the series at input_filepath.
See Fuse.ijm for the ImageJ macro code.
- Parameters
input_directory (Union[str, pathlib.Path]) – Directory in which input microscopy file is located.
input_filename (str) – Name of microscopy file (excluding file extension).
output_directory (Union[str, pathlib.Path]) – Directory in which to output stitched images,
imagej_instance (imagej.ImageJ) – An ImageJ instance.
- Returns
A handle on the Java process that is completing the stitching job. This is useful for keeping track of concurrent stitching jobs.
-
cisipy.preprocessing.stitcher.
stitch_all_samples
(config, parallelize=0)¶


Selected :
All Assets
Damaged Asset
Warranty Expired Asset
Show only cold storage item
Show assets maintained by me
Substore :
All Store
{{store.Name}}
Print Barcode Window
X
{{selectedAsset.ItemName}}
{{selectedAsset.AssetCode}}


<canvas>
Multi-Layer Perceptron Demonstration
[0,0] [0,1] [1,0] [1,1]
[0] [1] [1] [0]
Loop Count:
Network Visualizer Input Case:
Error: 0.0
Output for Fed Case: 0.0
Delta Time CPU: 0.0
Delta Time GPU: 0.0


{% if title %}
{{ title }} - linzhi
{% else %}
cartooning - linzhi
{% endif %}
coum
Image Cartooning
Drop or upload image to cartooning
Display image cartooning result
1


Monoface is a really cool interactive website that takes facial features from a ton of people and composts them together to make a new and in many cases weird faces. There are 759,375 possible faces. I really like the playfulness of this site and how you instinctively want to play with it. The way they have their layout is nice too with the navigation bar on the side. The way they transition between pages is also nice and clean. I also like how they have all of their faces displayed along the bottom of one of the pages for the viewer to scroll through.. I think the white background works well in this case because the faces bring so much to the page. Any kind of a busy background would be overwhelming.


Search {{.Site.Title}}
Type your search query below.
{{ markdownify "(search powered by [Fuse.js](http://fusejs.io/) and [Eddie Web's gist](https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae))" }}
Type your search query below.
{{ markdownify "(search powered by [Fuse.js](http://fusejs.io/) and [Eddie Web's gist](https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae))" }}


|
LaraCraft
|
Go to the source code of this file.
Namespaces | |
| glm | |
Functions | |
| template<typename T , precision P, template< typename, precision > class vecType> | |
| GLM_FUNC_DECL vecType< bool, P > | glm::epsilonEqual (vecType< T, P > const &x, vecType< T, P > const &y, T const &epsilon) |
| template<typename genType > | |
| GLM_FUNC_DECL bool | glm::epsilonEqual (genType const &x, genType const &y, genType const &epsilon) |
| template<typename genType > | |
| GLM_FUNC_DECL genType::boolType | glm::epsilonNotEqual (genType const &x, genType const &y, typename genType::value_type const &epsilon) |
| template<typename genType > | |
| GLM_FUNC_DECL bool | glm::epsilonNotEqual (genType const &x, genType const &y, genType const &epsilon) |
OpenGL Mathematics (glm.g-truc.net)
Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file epsilon.hpp.


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 1
Preheat the oven to 200C/400F/Gas 6.
For the sea bass, rub the sea bass fillet with olive oil and season with salt and freshly ground black pepper. Heat a griddle pan until very hot, place the sea bass fillet skin-side down into the pan and fry for three minutes. Turn over and fry for a further three minutes on the other side. Remove from the heat and keep warm.
For the risotto, heat the olive oil in a small saucepan, add the onion and fry over a gentle heat until softened but not coloured. Add the garlic and fry for one minute. Add the chorizo and fry for two minutes.
Add the blanched rice, turmeric and tomato purée to the pan and stir well. Add the wine and salt and freshly ground black pepper, to taste, and simmer, stirring frequently, until the rice is al dente. Add Tabasco sauce, to taste.
For the roasted cherry tomatoes, place the cherry tomatoes into a small roasting tin. Drizzle with olive oil and salt and freshly ground black pepper, to taste, and roast in the oven for 6-8 minutes.
To serve, pile the risotto onto a serving plate. Top with the pan-fried sea bass and garnish with the roasted cherry tomatoes.


Bat for Lashes shares stripped-down piano version of “Desert Man”
by Bill PearisBat for Lashes has just offered up an alternate version of “Desert Man” from her recent album Lost Girls. Stripped back almost entirely to just Natasha Khan and her piano, the song may be be all the more powerful for it. Listen to this new version and the lush album version below.
You can catch Bat for Lashes on tour in North America starting in early February and including a NYC stop at Town Hall on 2/19 (tickets).


Creator
Hello! I'm Bumblebee and this is my website.
I'm a tech enthusiast, linux lover, gamer... and overall great guy. (Website design by pcnerd19)
Here's a list of websites you can find me on.


Pass a URL as a parameter to /new -> Receive a shortened URL in the JSON response
Visit that shortened URL on / -> Redirect to original link


Experienced Finance professional looking to transition to Software Development.
Sr. Auditor
Financial Reporting Sr. Mgr.


| GTK+ 2.0 Tutorial using Ocaml | ||
|---|---|---|
| <<< Previous | Container Widgets | Next >>> |
The Fixed container allows you to place widgets at a fixed position within it's window, relative to it's upper left hand corner. The position of the widgets can be changed dynamically.
GPack.fixed is the function associated with the fixed widget:
val GPack.fixed : ?has_window:bool -> ?border_width:int -> ?width:int -> ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> fixed method put : GObj.widget -> x:int -> y:int -> unit method move : GObj.widget -> x:int -> y:int -> unit |
The function GPack.fixed allows you to create a new Fixed container.
put method places widget in the container fixed at the position specified by x and y.
move method allows the specified widget to be moved to a new position.
method set_has_window : bool -> unit method has_window : bool |
Normally, Fixed widgets don't have their own X window. Since this is different from the behaviour of Fixed widgets in earlier releases of GTK, the set_has_window method allows the creation of Fixed widgets with their own window. It has to be called before realizing the widget.
The following example illustrates how to use the Fixed Container.
(* file: fixed.ml *) (* Global variables to store the position of the widget * within the fixed container *) let rx = ref 50 let ry = ref 50 (* This callback function moves the button to a new position * in the Fixed container. *) let move_button but fixed () = rx := (!rx + 30) mod 300; ry := (!ry + 50) mod 300; fixed#move but#coerce ~x:!rx ~y:!ry let main () = (* Create a new window; set title and border width *) let window = GWindow.window ~title:"Fixed Container" ~border_width:10 () in (* Here we connect the "destroy" event to a signal handler *) window#connect#destroy ~callback:GMain.Main.quit; (* Create a Fixed Container *) let fixed = GPack.fixed ~packing:window#add () in for i = 1 to 3 do (* Creates a new button with the label "Press me" * and packs the button into the fixed containers window. *) let button = GButton.button ~label:"Press me" ~packing:(fixed#put ~x:(i*50) ~y:(i*50)) () in (* When the button receives the "clicked" signal, it will call the * function move_button passing it the Fixed Container as its * argument. *) button#connect#clicked ~callback:(move_button button fixed) done; (* Display the window and enter the event loop *) window#show (); GMain.Main.main () let _ = Printexc.print main () |
| <<< Previous | Home | Next >>> |
| The Alignment widget | Up | Layout Container |


I'm an East-Bay Native and recent graduate from The University of California, San Diego with a Bachelor's in Cognitive Science with a Specialization in Human-Computer Interaction and a minor in Design.
I'm actively seeking UX roles where I can grow as a designer. In the meantime, I love reading Medium articles about UX, taking online design tutorials, and participating in UserTesting studies.
Outside of Design, my passions are in music, gaming, and sports. I love going to concerts and playing games with my friends, but I love cheering on the Golden State Warriors the most.
If you'd like to get in touch with any design opportunities or just talk about the Warriors, feel free to shoot me an email at alexmleeux@gmail.com.


The Voyages of Doctor Dolittle
by Hugh Lofting
Part 1, Chapter 6: The Wounded Squirrel
Additional Information
- Year Published: 1922
- Language: English
- Country of Origin: England
- Source: Lofting, H. (1922). The Voyages of Doctor Dolittle. London, England: Lippincott Publishing.
-
Readability:
- Flesch–Kincaid Level: 4.2
- Word Count: 851
- Genre: Fantasy
- Keywords: 20th century literature, british literature, children's literature
- ✎ Cite This
Downloads
Inside we found my father busy practising on the flute beside the fire. This he always did, every evening, after his work was over.
The Doctor immediately began talking to him about flutes and piccolos and bassoons; and presently my father said,
"Perhaps you perform upon the flute yourself, Sir. Won't you play us a tune?"
"Well," said the Doctor, "it is a long time since I touched the instrument. But I would like to try. May I?"
Then the Doctor took the flute from my father and played and played and played. It was wonderful. My mother and father sat as still as statues, staring up at the ceiling as though they were in church; and even I, who didn't bother much about music except on the mouth-organ—even I felt all sad and cold and creepy and wished I had been a better boy.
"Oh I think that was just beautiful!" sighed my mother when at length the Doctor stopped.
"You are a great musician, Sir," said my father, "a very great musician. Won't you please play us something else?"
"Why certainly," said the Doctor—"Oh, but look here, I've forgotten all about the squirrel."
"I'll show him to you," I said. "He is upstairs in my room."
So I led the Doctor to my bedroom at the top of the house and showed him the squirrel in the packing-case filled with straw.
The animal, who had always seemed very much afraid of me—though I had tried hard to make him feel at home, sat up at once when the Doctor came into the room and started to chatter. The Doctor chattered back in the same way and the squirrel when he was lifted up to have his leg examined, appeared to be rather pleased than frightened.
I held a candle while the Doctor tied the leg up in what he called "splints," which he made out of match-sticks with his pen-knife.
"I think you will find that his leg will get better now in a very short time," said the Doctor closing up his bag. "Don't let him run about for at least two weeks yet, but keep him in the open air and cover him up with dry leaves if the nights get cool. He tells me he is rather lonely here, all by himself, and is wondering how his wife and children are getting on.  He must be kept cheerful at all costs. Squirrels are naturally a very cheerful, active race. It is very hard for them to lie still doing nothing. But you needn't worry about him. He will be all right."
Then we went back again to the parlor and my mother and father kept him playing the flute till after ten o'clock.
Although my parents both liked the Doctor tremendously from the first moment that they saw him, and were very proud to have him come and play to us (for we were really terribly poor) they did not realize then what a truly great man he was one day to become. Of course now, when almost everybody in the whole world has heard about Doctor Dolittle and his books, if you were to go to that little house in Puddleby where my father had his cobbler's shop you would see, set in the wall over the old-fashioned door, a stone with writing on it which says: "JOHN DOLITTLE, THE FAMOUS NATURALIST, PLAYED THE FLUTE IN THIS HOUSE IN THE YEAR 1839."
I often look back upon that night long, long ago. And if I close my eyes and think hard I can see that parlor just as it was then: a funny little man in coat-tails, with a round kind face, playing away on the flute in front of the fire; my mother on one side of him and my father on the other, holding their breath and listening with their eyes shut; myself, with Jip, squatting on the carpet at his feet, staring into the coals; and Polynesia perched on the mantlepiece beside his shabby high hat, gravely swinging her head from side to side in time to the music. I see it all, just as though it were before me now.
And then I remember how, after we had seen the Doctor out at the front door, we all came back into the parlor and talked about him till it was still later; and even after I did go to bed (I had never stayed up so late in my life before) I dreamed about him and a band of strange clever animals that played flutes and fiddles and drums the whole night through.


apply(): Promise
Loads and configures the plugins registered with this instance.
Returns
Returns a promise which resolves when all plugins are loaded and configured.
apply(): Promise
Loads and configures the plugins registered with this instance.


ARIA Menu Variation Standard Edits With Right Click Menu
Code Editor
The context menu is keyboard accessible:
- Press Shift+F10 or the Applications key to open the context menu.
- Press the Up and Down Arrow keys to move focus between the menu options.
- Press the Left and Right Arrow keys to open or close submenus.
- Press any letter or number to jump to a menu item starting with that character or digit.
- Press Enter to activate a menu option.
- Press Escape to close the currently open menu.
- Press Tab to close the menu and all submenus.
- Mouse users can right click on any static region of the page to open the menu as usual.
- Mouse users can cancel and close the menu by clicking anywhere else on the page.
- On a touch screen, touch a static region on the page and hold for about 2.5 seconds then release to open the menu, tap a menu item to activate it, or tap anywhere else on the page to cancel and close the menu.


Extract selected loci¶
Synopsis¶
Pangenome graphs model the full set of genomic elements in a gives species or clade. Nevertheless, downstream analyses
may require focusing on specific pangenomic regions. odgi
allows to extract loci of interest from the pangenome graph,
resulting in sub-graphs of the full pangenome graph. It is demonstrated that one can work with such sub-graphs as easily as
handling the full ones.
Steps¶
Build the Lipoprotein A graph¶
Assuming that your current working directory is the root of the odgi
project, to construct an odgi
file from the
LPA
dataset in GFA
format, execute:
odgi build -g test/LPA.gfa -o LPA.og
The command creates a file called LPA.og
, which contains the input graph in odgi
format. This graph contains
13 contigs from 7 haploid human genome assemblies from 6 individuals plus the chm13 cell line. The contigs cover the
Lipoprotein A (LPA) locus, which encodes the
Apo(a) protein.
Display path names¶
The path’s names are:
odgi paths -i LPA.og -L
chm13__LPA__tig00000001
HG002__LPA__tig00000001
HG002__LPA__tig00000005
HG00733__LPA__tig00000001
HG00733__LPA__tig00000008
HG01358__LPA__tig00000002
HG01358__LPA__tig00000010
HG02572__LPA__tig00000005
HG02572__LPA__tig00000001
NA19239__LPA__tig00000002
NA19239__LPA__tig00000006
NA19240__LPA__tig00000001
NA19240__LPA__tig00000012
Obtain the Lipoprotein A variants¶
To see the variants for the two contigs of the HG02572
sample, execute:
zgrep -v '^##' test/LPA.chm13__LPA__tig00000001.vcf.gz | head -n 9 | cut -f 1-9,16,17 | column -t
The pangenome graphs embed the full mutual relationships between the embedded genomes and their variation. In the following example,
the variants were called with respect to the chm13__LPA__tig00000001
contig, which was used as the reference path.
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT HG02572__LPA__tig00000001 HG02572__LPA__tig00000005
chm13__LPA__tig00000001 6 >3>6 T A 60 . AC=1;AF=0.5;AN=2;LV=0;NS=2 GT 1 0
chm13__LPA__tig00000001 134 >6>8 G GT 60 . AC=1;AF=0.5;AN=2;LV=0;NS=2 GT 1 0
chm13__LPA__tig00000001 156 >8>11 A G 60 . AC=1;AF=0.5;AN=2;LV=0;NS=2 GT 0 1
chm13__LPA__tig00000001 252 >11>13 GT G 60 . AC=2;AF=1;AN=2;LV=0;NS=2 GT 1 1
chm13__LPA__tig00000001 265 >13>16 T A 60 . AC=2;AF=1;AN=2;LV=0;NS=2 GT 1 1
chm13__LPA__tig00000001 371 >16>18 AT A 60 . AC=2;AF=1;AN=2;LV=0;NS=2 GT 1 1
chm13__LPA__tig00000001 996 >18>21 AG ATT 60 . AC=2;AF=1;AN=2;LV=0;NS=2 GT 1 1
chm13__LPA__tig00000001 1050 >21>23 G GT 60 . AC=1;AF=0.5;AN=2;LV=0;NS=2 GT 1 0
The ID
field in the VCF lists the nodes involved in the variant. A >
means that the node is visited in forward
orientation, a <
means that the node is visited in reverse orientation.
Extract a sub-graph with a variant inside¶
The insertion at position 1050 (G > GT, the last line in the VCF snippet above) is present only in one of the HG02572
’s contig (HG02572__LPA__tig00000001
).
To extract the sub-graph where this insertion falls, execute:
odgi extract -i LPA.og -n 23 -c 1 -o LPA.21_23_G_GT.og
The instruction extracts:
The node with ID 23 (
-n 23
),the nodes reachable from this node following a single edge (
-c 1
) in the graph topology,the edges connecting all the extracted nodes, and
the paths traversing all the extracted nodes.
To have basic information on the sub-graph, execute:
odgi stats -i LPA.21_23_G_GT.og -S
#length nodes edges paths
644 5 6 3
The extracted path’s names are:
odgi paths -i LPA.21_23_G_GT.og -L
chm13__LPA__tig00000001:997-1640
HG02572__LPA__tig00000005:999-1641
HG02572__LPA__tig00000001:1035-1678
The sub-graph contains the contig used as a reference in the VCF
file, and the two HG02572
’s contigs.
Visualize the sub-graph¶
To visualize the sub-graph, we can also use external tools as Bandage, which
supports grpahs in GFA
format. To covert the graph in odgi
format in a graph in GFA
format, execute:
odgi view -i LPA.21_23_G_GT.og -g > LPA.21_23_G_GT.gfa
Then, open the LPA.21_23_G_GT.gfa
file with Bandage
.
The image shows the graph topology, where each colored rectangle represents a node. In particular, three paths support
nodes with ID 21 and 23, and only one path supports the node with ID 22. The node with ID 22 represents in the graph the
additional nucleotide T
presents in the HG02572__LPA__tig00000001
contig as an insertion.
Get the Human chr6 dataset¶
Download the pangenome graph of the Human chromosome 6
in GFA
format, decompress it, and convert it to a graph in odgi
format:
wget -c https://s3-us-west-2.amazonaws.com/human-pangenomics/pangenomes/scratch/2021_05_06_pggb/gfas/chr6.pan.gfa.gz
gunzip chr6.pan.gfa.gz
odgi build -g chr6.pan.gfa -o chr6.pan.og --threads 2 -P
The last command creates a file called chr6.pan.og
, which contains the input graph in odgi
format. This graph contains contigs of
88 haploid, phased human genome assemblies from 44 individuals, plus the chm13 and GRCh38 reference genomes.
Extract the MHC locus¶
The major histocompatibility complex (MHC) is a large locus in vertebrate DNA containing a set of closely linked polymorphic genes that code for cell surface proteins essential for the adaptive immune system. In humans, the MHC region occurs on chromosome 6. The human MHC is also called the HLA (human leukocyte antigen) complex (often just the HLA).
Assuming that your current working directory is the root of the odgi
project, to see the coordinates of some HLA genes,
execute:
head test/chr6.HLA_genes.bed -n 5
grch38#chr6 29722775 29738528 HLA-F
grch38#chr6 29826967 29831125 HLA-G
grch38#chr6 29941260 29945884 HLA-A
grch38#chr6 30489509 30494194 HLA-E
grch38#chr6 31268749 31272130 HLA-C
The coordinates are expressed with respect to the GRCh38 reference genome.
Extract a sub-graph with the HLA genes¶
To extract the sub-graph containing all the HLA genes annotated in the chr6.HLA_genes.bed
file, execute:
odgi extract -i chr6.pan.og -o chr6.pan.MHC.og -b chr6.HLA_genes.bed -E --threads 2 -P
The instruction extracts:
The nodes belonging to the
grch38#chr6
path ranges specified in the thechr6.HLA_genes.bed
file via-b
,all nodes between the min and max positions touched by the given path ranges, also if they belong to other paths (
-E
),the edges connecting all the extracted nodes, and
the paths traversing all the extracted nodes.
To have basic information on the sub-graph, execute:
odgi stats -i chr6.pan.MHC.og -S
#length nodes edges paths
3896981<PHONE_NUMBER>90 97
There are 97 paths in the sub-graph. This means that for few individuals, more than one contig covers the MHC locus.
Visualize the sub-graph¶
To visualize the sub-graph with odgi
, execute:
odgi sort -i chr6.pan.MHC.og -o - -O | \
odgi viz -i - -o chr6.pan.MHC.png -s '#' -P 20
To obtain the following PNG image:
In this 1-Dimensional visualization all contigs of the same haplotype are represented with the same color (-s '#'
).
The majority of the haplotypes has one contig covering the whole locus, meanwhile in few of them, the locus is split
in several contigs. We had to apply odgi sort here in order to optimize (-O
) our sub-graph. This ensures that
the node identifier space is compacted from one to the number of nodes in the sub-graph.
To see the haplotypes sorted by the number of contigs covering the MHC locus, execute:
odgi paths -i chr6.pan.MHC.og -L | cut -f 1,2 -d '#' | uniq -c | sort -k 1nr | head
3 HG00733#2
2 HG00673#2
2 HG01071#1
2 HG02630#2
2 HG02818#2
2 HG03516#2
1 chm13#chr6:29595119-32911317
1 grch38#chr6:29722774-33089734
1 HG00438#1
1 HG00438#2


Learn the alphabet (with images)
Practice a letter of your choice (no images)
Random letter game (no images)


Get Analysis Maximal Dimensions Use-Case.Description:Gets the maximal dimension for the analysis.This value could allow to indicate the limitations imposed by some legacy codes.Assumptions:None.Exceptions:None.