text stringlengths 16 69.9k |
|---|
#!/usr/bin/env bash
mvn package
docker build -t febs-server-test . |
At some point over the weekend, as a result of a facility move, the Neopets moderation and filter system went off line. During this period, our moderation team was not able to access and appropriately manage the Neopets community and inappropriate comments that were being made. Jumpstart has since taken down the boards and other areas affected as we work to get the moderation teams and filters functioning properly. This was an unfortunate incident due to a facility move related to our servers and not the result of any changes to our moderation teams and we apologize to the users that were affected. We will keep all users updated during the day. This was not a staffing issue, but a technology issue related to a move in facilities and our servers that control our moderation. Rest assured that we are taking this seriously and putting fail safe solutions in for the future. |
Sharing the news the mainstream media won't.
Israeli authorities on Wednesday morning intercepted material used to manufacture explosive devices hidden inside spools of medical material at the Erez Crossing, the Shin Bet announced in a statement.
The material was located during the security check at the crossing in the luggage of two sisters who are residents of Gaza. The two Arab women had been approved to enter Israel for the purpose of receiving medical treatment for cancer, which one of the two sisters suffers from.
An initial Shin Bet investigation indicated that the explosives were sent by Hamas and that the terror group was planning to carry out terror attacks in Israel in the near future, the statement read, adding that the material was destroyed by a sapper of the Southern District police force.
“The terrorist organizations in the Gaza Strip, including Hamas, continue to exploit the humanitarian and medical assistance provided by Israel to the residents of Gaza in order to perpetrate terrorist attacks in Israel.”
Unfortunately, if they are placed in the Israeli prison for this, she will receive her cancer treatments for free. If I were the judge I would simply bar her from crossing over from Gaza in the future. |
Q:
Java Jar Combining several jars into one executable Jar
I am aware that to combine several jars and create one executable jar, I would need to use a tool like OneJar if I don't want to unpack the dependent jars. OneJar has its own custom class loader which can find the required classes in the associated jars and load them.
My question is : Why is the default class loader not able to load classes from within the attached jars. Is it because of Security ?
I would appreciate a clear explanation of the reasons behind the need for a custom class loader when creating a single executable jar which holds other dependent jars (without unpacking them).
Thanks,
A:
The technical reason is that the uri specification for jar: does not support nesting.
You could write a URI handler that addresses this need, but performance will start to hit as you nest down inside each jar file.
With a single jar file, random access is possible as the index gives file system offsets and you can seek each offset and read only the file you want
With a nested jar, you can seek the inner jar, but to pull a file out of that jar you have to unzip the inner jar from the outer before you can seek.
I would look at solutions such as those offered by either OSGi or by the Maven Shade Plugin if you don't want to extract the jar files to a temporary directory and build your own classloader from the resulting classpath
|
Cell swelling stimulates cytosol to membrane transposition of ICln.
ICln is a multifunctional protein that is essential for cell volume regulation. It can be found in the cytosol and is associated with the cell membrane. Besides its role in the splicing process, ICln is critically involved in the generation of ion currents activated during regulatory volume decrease after cell swelling (RVDC). If reconstituted in artificial bilayers, ICln can form ion channels with biophysical properties related to RVDC. We investigated (i) the cytosol versus cell membrane distribution of ICln in rat kidney tubules, NIH 3T3 fibroblasts, Madin-Darby canine kidney (MDCK) cells, and LLC-PK1 epithelial cells, (ii) fluorescence resonance energy transfer (FRET) in living fibroblasts between fluorescently tagged ICln and fluorochromes in the cell membrane, and (iii) possible functional consequences of an enhanced ICln presence at the cell membrane. We demonstrate that ICln distribution in rat kidneys depends on the parenchymal localization and functional state of the tubules and that cell swelling causes ICln redistribution from the cytosol to the cell membrane in NIH 3T3 fibroblasts and LLC-PK1 cells. The addition of purified ICln protein to the extracellular solution or overexpression of farnesylated ICln leads to an increased anion permeability in NIH 3T3 fibroblasts. The swelling-induced redistribution of ICln correlates to altered kinetics of RVDC in NIH 3T3 fibroblasts, LLC-PK1 cells, and MDCK cells. In these cells, RVDC develops more rapidly, and in MDCK cells the rate of swelling-induced depolarization is accelerated if cells are swollen for a second time. This coincides with an enhanced ICln association with the cell membrane. |
[Tetrodotoxin effect on spontaneous and evoked impulse activity of leech Retzius neurons].
Investigation into the Retzius neuron response to synaptic low-, medium-, and high-frequency stimulation under the block of the TTX-sensitive sodium inflow channels, was performed in leeches. The TTX block affected the spontaneous unit activity and not the evoked activity, it altered the responses to low-frequency stimulation (sensitisation) and eliminated the responses to high-frequency activation (habituation). The findings suggest the fundamental plastic properties of the Retzius neurons to depend on functional characteristics of the TTX-sensitive sodium channels. |
#:stopdoc:
unless Object.respond_to?(:blank?)
class Object
# Check first to see if we are in a Rails environment, no need to
# define these methods if we are
# An object is blank if it's nil, empty, or a whitespace string.
# For example, "", " ", nil, [], and {} are blank.
#
# This simplifies
# if !address.nil? && !address.empty?
# to
# if !address.blank?
def blank?
if respond_to?(:empty?) && respond_to?(:strip)
empty? or strip.empty?
elsif respond_to?(:empty?)
empty?
else
!self
end
end
end
class NilClass
def blank?
true
end
end
class FalseClass
def blank?
true
end
end
class TrueClass
def blank?
false
end
end
class Array
alias_method :blank?, :empty?
end
class Hash
alias_method :blank?, :empty?
end
class String
def blank?
empty? || strip.empty?
end
end
class Numeric
def blank?
false
end
end
end
#:startdoc: |
* From the Paxton Record…
The Ford County Republican Central Committee met last Saturday and erupted when the legalization of marijuana came up for discussion.
Noting that state Sen. Jason Barickman, R-Bloomington, put out a memo earlier in the week in support of legislation to legalize recreational marijuana, many comments and questions arose among precinct committeemen and the public.
Many voiced their objection to Barickman’s position, stating that marijuana is an addictive gateway drug that will lead to using other illicit drugs. Since its use for medical purposes, many factions have been pushing for legalizing the drug for recreational use.
That caused one participant to ask what such use would do to DUI violations, or the use by teens.
“How accessible will it become for younger people?” the person said.
Already, there is no significant penalty for possession or use of small amounts of marijuana in Illinois. And the court system has not worked well in preventing use.
Barickman postulated that its legalization would raise money for the state. |
Our Barony
Welcome
The Barony of Marcaster is the Pinellas County branch of the Society for Creative Anachronism‚ a nonprofit, educational organization whose members research and re-create the arts and skills of the Middle Ages and Renaissance.The Barony of Marcaster is located in the Kingdom of Trimaris
(most of FL excluding part of the panhandle)
The SCA is a living history group. Members wear the clothing of earlier eras while practicing the arts and activities of earlier times. If you would like to join us in the Current Middle Ages, please visit our Getting Started section. |
Sign Language for Babies
I’ve been hearing a lot about teaching children sign language. What’s the deal? Supposedly baby signing teaches the child to communicate. But can’t my child communicate in other ways? Is teaching my baby to communicate while she is so young pushing her too hard? Is it worth doing or is it some kind of scam?
A few decades ago, researchers began to notice that children whose parents were hearing impaired and who taught their children to sign, were able to communicate before they were nine months old. Children with two hearing parents don’t usually have much to say until after their first birthday. If you think about it, using the hands to communicate makes a lot of sense. After all, babies have a lot more control over their fingers and hands than they do over their tongue and mouth.
Besides giving them a way to communicate earlier, signing improves babies’ motor skills, builds vocabulary and language abilities, reduces tantrums and frustration, and has even been linked with an increase in IQ. Signing with your baby is good for you too. When you understand what your baby wants you’ll have fewer tears to deal with and you (and your partner) will be less frustrated. When you’re feeling relaxed and in-control, parenting is a lot easier and a lot more fun. And that, in turn will bring you and your baby closer.
There are two major baby signing systems out there. They’re similar but there are some important distinctions (there’s more info on both in the Resources section):
Joseph Garcia’s Sign with Your Baby is based solidly on American Sign Language (ASL). Most of the signs your baby will learn are fairly intuitive, such as touching the fingers to the lips for "eat," and hooking the thumbs together and flapping the hands for "butterfly." Others are a little tougher to figure out (touching the thumb to the forehead for "dad" and to the chin for "mom") or may be difficult for little hands (putting the thumb between the first and middle fingers of a fist for "toilet" or holding up your hand as if indicating "five" and lowering the middle and ring fingers for "airplane"). Garcia’s philosophy is that if you’re going to the trouble to teach your baby a language, you might as well go with a real one. A baby who knows some ASL will be able to communicate with babies (and deaf people of any age) anywhere. And if you’re thinking long term, ASL fulfils the language requirement for admission to a growing number of colleges.
Linda Acredolo’s and Susan Goodwyn’s Baby Signs, is also based on ASL but it’s more flexible. Their theory is that since your baby isn’t going to be using sign language all that long, it’s best to make it as easy to learn as possible. So parents are encouraged to modify the ASL signs as they see fit and to invent their own. This could make communication with people outside the family a little tougher. However, most of the signs you and your baby are likely to come up with will be pretty easy to decipher.
Both systems are excellent and both give you and your baby an incredible opportunity to communicate with each other. I like Baby Signs a little better, though, because the flexibility appeals to me. If you go this route, try to use as many of the ASL signs as you can and modify them only as necessary.
However, if you prefer a more systematic approach or, if there are any deaf people in your family, Sign with Your Baby is the way to go. And even though, as I mentioned above, some of the signs aren’t completely obvious, if you practice them enough, you’ll do fine. |
Throughout the past three decades, Metcalf has conducted thousands of jobs in the Rocky Mountains, Eastern Great Basin, and Central and Northern Great Plains. We are ready to assist our clients with archaeological services in Colorado, Kansas, Idaho, Montana, Nebraska, North Dakota, Oklahoma, South Dakota, Utah, and Wyoming. Within these states, Metcalf maintains numerous permits required to conduct cultural resource compliance services on federal, state and tribal lands. Moreover, we maintain long-standing relationships with the regulatory agencies and that oversee our clients’ projects.
Our administrative headquarters are located in the Denver metropolitan area (Golden, CO). Southern operations are led and supported by offices in Eagle and Grand Junction, Colorado. Northern operations are directed by offices in Bismarck, North Dakota and Bozeman, Montana. |
<% admin_form_for :options, @options do |f| -%>
<%= f.select :order_by, @options.order_by_options %>
<%= f.radio_buttons :order_direction, UserSegment.order_direction_select_options %>
<%= f.ordered_array :fields, @options.fields_options, :label => 'Fields to Display' %>
<%= f.spacer %>
<%= f.cancel_submit_buttons 'Cancel', 'Save' %>
<% end -%>
|
Q:
Using uv_close instead of uv_async_send for single use uv_async callbacks?
My understanding is that the proper use of uv_async for a single use is the following:
Allocate the uv_async_t handle;
call uv_async_init on the allocated handle;
call uv_async_send to schedule the callback;
unregister the handle using uv_close;
delete the uv_async_t handle in the close callback;
For example:
uv_async_t *handle = (uv_async_t*)malloc(sizeof(uv_async_t));
uv_async_init(&uvLoop, handle, [](uv_async_t *handle) {
// My async callback here
uv_close((uv_handle_t*)handle, [](uv_handle_t* handle) {
free(handle);
});
});
uv_async_send(&asyncCb->uvAsync);
From what I gather, uv_close is called asynchronously in the uvLoop. Therefore, I am tempted to do the following to avoid queueing two callbacks in the event loop:
uv_async_t *handle = (uv_async_t*)malloc(sizeof(uv_async_t));
uv_async_init(&uvLoop, handle, nullptr);
uv_close((uv_handle_t*)handle, [](uv_handle_t* handle) {
// My async callback here
free(handle);
});
Is anyone else doing this, and is it considered safe?
A:
What is it you are tying to achieve? Do you need to use multiple threads? If so, that won't work since uv_close is not thread-safe.
If all you want is to schedule a callback in the future within the loop, check uv_idle_t. You could also use a queue and start / stop the handle as needed, instead of creating and destroying then.
|
Raspberry Pi Jukebox Based on Mopidy - dannyrosen
https://github.com/pimusicbox/pimusicbox
======
brudgers
Project Website: [http://www.pimusicbox.com/](http://www.pimusicbox.com/)
------
rwbg
been using it for a few month now on a raspi2. stable and pain free. the only
thing i ponder changing is the mopidy gui as the default one has some
usability issues.
|
// Package state has all abstracted
// logic related to the Terraform state
package state
|
Q:
Using Tsung to load test gen_tcp (SSL) with custom binary interface
I have a server written in Erlang with a custom binary interface that gets communicated over a TCP socket (SSL-enabled)
I need to be able to load test this server.
Tools like Tsung seem to work well but for interfaces that support HTTP, LDAP, Jabber/XMPP etc. Is it possible to use Tsung in its correct form to interface with my server via a binary interface? Is there a better solution?
A:
You need to write a tsung plugin.. Here is an example.
If I knew more about the specifics of your data, I could help more.
|
- splash = false if local_assigns[:splash].nil?
.row.search-container
= form_tag restrooms_path, class: "search-restrooms-form", method: :get do
= hidden_field_tag :lat, ""
= hidden_field_tag :long, ""
.input-group
= text_field_tag :search, params[:search], class: "form-control search-bar", aria: {label: t("search_bar.enter_location")}
.input-group-btn
%button.btn.btn-light-purple.submit-search-button{type: "button", title: t('.search'), value: t('.search'), aria: { label: t('.search') }}
%i.fa.fa-search.fa-2x
%i.fa.fa-refresh.fa-spin.fa-2x
%button.btn.btn-light-purple.current-location-button{type: "button", title: t('.search-by-current-location'), aria: { label: t('.search-by-current-location') }, value: (splash ? t('.search-by-current-location') : nil ) }
%i.fa.fa-location-arrow.fa-2x
%i.fa.fa-refresh.fa-spin.fa-2x
|
Net run rate (runs per over scored less runs per over conceded, adjusting team batting first to overs of team batting second in rain rule matches, adjusting to team's full allocation if all out, and ignoring no result matches) (NetRR)
Order in the table:
Position of teams in the table is determined by:
Total points
Head-to-head result (if more than two teams level head-to-head only applies if all those teams have played the same number of matches against each other)
Net run rate (runs per over scored less runs per over conceded, adjusting team batting first to overs of team batting second in rain rule matches, adjusting to team's full allocation if all out, and ignoring no result matches) |
Q:
Create a multi page PDF from a dynamically created table (div) that is bigger than a single page
I am dynamically creating a table using php and mysql into a containing div and then I print it using jsPDF. Its all good until the table exceeds a single page. Then all I get is the first page. I have spent weeks, hours of reading, trying and testing and just can't get it to print more than the first page.
Here's what I have:
<!-- jsPDF Scripts -->
<script src="//mrrio.github.io/jsPDF/dist/jspdf.debug.js"></script>
<script src="//html2canvas.hertzen.com/build/html2canvas.js"></script>
$(document).ready(function() {
$("#pdfDiv").click(function() {
var pdf = new jsPDF('p','pt','letter');
pdf.addHTML($('#rentalListCan').first(), function() {
pdf.save("rentals.pdf");
});
});
});
I have tried printing the page directly but the formatting doesn't hold.
I have tried css using @page with page-break-inside: auto but it doesn't create the page breaks. Thanks for your help.
A:
To solve your problem, there are two approaches that I am aware of -
Providing options to the page to split
options = {
pagesplit: true
};
And then -
pdf.addHTML($('#someDiv'), marginX, marginY, options, function() {
pdf.save("doc.pdf");
});
Note that this can split your table badly (try it and u'll see)- one thing you can do is add blank space between the rows which get split just before printing the page as pdf.
This happens because fromHTML() converts the table into canvas and then splits the canvas as per page size of the pdf.
Using a plugin like this - https://github.com/Prashanth-Nelli/jsPdfTablePlugin
But customizing the table in style is not supported here yet. But you can customize the font and colors. If you table is simple enough, it is a great and easy to use plugin.
Hope this helps!
|
Lee Guarantee
You can buy and use Lee products with confidence. All products have been designed by Lee Precision and fabricated with the finest of materials. The exacting specifications and consistent high quality are maintained through strict controls and conscientious workers. All products come with complete, detailed “how-to” instructions. Dies and kits come with load data and powder measure. And every Lee product is covered under Lee's unlimited two-year guarantee and lifetime warranty! |
Retschenbach
Retschenbach is a river of Thuringia, Germany. It flows into the Effelder near Seltendorf.
See also
List of rivers of Thuringia
Category:Rivers of Thuringia
Category:Rivers of Germany |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tbl_json.R
\name{json_get}
\alias{json_get}
\title{Get JSON from a tbl_json}
\usage{
json_get(.data)
}
\arguments{
\item{.data}{A tbl_json object}
}
\value{
A nested list representing the JSON data
}
\description{
Extract the raw JSON from a tbl_json object. This is equivalent to reading
the "..JSON" hidden column. But is a helper in case of future behavior changes.
This replaces previous behavior, where the raw JSON was stored in an attribute.
}
|
Q:
How do I delete this '# ... #' Emacs File?
There is a file in my home directory that is called #snake#. I want to remove it but none of the regular remove commands will work. How can this "file" be removed without causing any damage, and what type of file is it?
A:
It's an autosave file, it's there in case your computer crashes. You can delete these from emacs quite conveniently. Open up dired (C-x d) and press # to select all of them in the directory. Then x for delete.
Alternatively in a shell, just put the name in quotes, e.g. rm "#snake#"
|
Q:
Why do some sorbet recipes call for egg whites?
Frozen sorbet recipes are generally simple, with only a few ingredients. For example:
fruit puree
water
sugar
egg white!
Why is the egg white present? And why is this not consistent in the sorbet recipes from a single author; what would make you put egg white in one sorbet but not another?
A:
From a food blog:
I often use egg whites to emulsify (smooth) my sorbets. I have also used lecithin and xanthan gum to great success when trying to not add extra liquid or worrying about someone who is allergic to egg whites.
And another one:
Others swear by whipped egg white for a creamy consistency
So it seems it makes ice cream creamy. I guess there are other ways to create the same effect. And maybe you don't want to have the same effect across all recipes.
|
Combat Dental Anxiety thru Herbal Oral Sedation
A lot of individuals today suffer from dental anxiety. This dental condition triggers fear and tension which affects anyone, including kids and elderly. Luckily, oral sedation is on board now! This dental treatment makes all anxious patients comfortable and relaxed while having their treatment.
Oral sedation comes with several medication types. All in all, these fight dental anxiety and promote comfortable dental treatment. Oral sedation’s most profitable and in-demand type is herbal oral sedation.
Herbal oral sedation is like the rest of anti-anxiety treatments. This makes anxious patients relaxed and calm from the very beginning of the treatment up to the end. Anxious patients consider this treatment prior to the therapy. This herbal medication produces sedative effect that can make you sleepy, unconscious and less fearful during the treatment. Basically, herbal oral sedation comes from natural chemicals of a certain plant.
Without a doubt, conventional oral sedations are beneficial to us all. However, herbal alternatives offer higher health benefits compared to other forms of sedation. The fact that conventional oral sedation comes from chemicals inside the lab, possible health risks are feasible. This is why all conventional drugs undergo testing from the Food and Drug Administration first. Unlike conventional oral sedation, the herbal oral sedation products don’t need the FDA approval. They are easy to store and sell to the pharmacies. Not to mention, herbal oral sedations are safe and free of possible health problems and infections in the long run.
Since herbal products, like herbal oral sedation doesn’t need the FDA’s approval, they no longer need thorough testing to ensure safety to consumers. And as you obtain these to the pharmacies, it doesn’t require prescription from your dentist.
Herbal oral sedations come with different forms and types. Their most popular kind is kava. Kava is a natural alternative that fights dental anxiety and fear. It comes from natural ingredients extracted to create one remedy. Other forms of herbal oral sedations that fight and help you combat dental anxiety are valerian and passionflower. Kava, valerian and passionflower are safe. However, every patient should be cautious in their possible side effects. Studies show that in rare cases, herbal oral sedation may cause dizziness, headache and heart palpitations. Due to these reports, you should visit your dentist first before making a move. |
Singapore could soon reportedly fight “online falsehoods” through mandatory government “correction notices,” which would be made to run next to the “false” content. Content could even be removed if it contains any falsehoods.
According to CNBC, “Singapore is close to passing a law that could force websites to run government ‘correction notices’ alongside content it deems false, and the new rules are likely to affect how big social media companies like Facebook and Twitter operate in the country.”
“Under the law, called the Protection from Online Falsehoods and Manipulation Bill, the government will also be able to issue so-called ‘take down’ orders that require the removal of content posted by social media companies, news organizations or individuals,” CNBC reported, adding that the “bill was put before parliament on Monday evening local time,” and “could become law in the coming month or two.”
Singapore’s Minister for Law, K. Shanmugam, explained in a statement that the “legislation deals with false statements of fact,” and “doesn’t deal with opinions.”
“It doesn’t deal with viewpoints. You can have whatever viewpoints however reasonable or unreasonable,” Shanmugam declared, claiming that false information “undermines free speech,” and “undermines democracy.”
Singapore’s Prime Minister Lee Hsien Loong also explained that offenders would be made to “show corrections or display warnings about online falsehoods so that readers or viewers can see all sides and make up their own minds about the matter,” and in “extreme and urgent cases, the legislation will also require online news sources to take down fake news before irreparable damage is done.”
Facebook has reportedly opposed the legislation. |
How do you know if an animal is a totem? You could feel an affinity for it. I love pigeons! Even though there really aren't any around where I live. Some people call them flying rats and heap upon them the scorn normally reserved for cockroaches and mosquitoes. We recently went to an large, urban environment, which had pigeons.
Why would I assume a pigeon was my totem? I saw the birds several times in one day. While sitting outside, a very persistent pigeon kept me company. He wasn't begging for food, but wasn't leaving either.
What can I learn from a pigeon?
*Pigeons hang out in groups. They accept support from other pigeons. When I decided to share my popcorn with the pigeon, he shared it with his feathered friends.
*Pigeons are bold. They are willing to approach anyone, dodge out into traffic for a delicacy, and investigate anything out of the norm.
*Pigeons can remind you to find your way home or least to find the love you lost somewhere.
*Pigeons remind us of our roots, our foundations.
* A pigeon represents home & family. His message could be as simple as appreciate your family. His message might be pay attention to a loved one.
When you see an aniimal that could be a totem, ask how the animal's message could apply to something in your life. Often, the message isn't always clear immediately. Feel free to Google the totem meaning. Check several sites because they don't always agree.
Trust yourself too. One of the pigeons I saw was black. I noticed the other pigeons didn't assocate with the different colored bird. The black pigeon looked a little shabby and ill. What I assumed was rejection because he was different could have been a protective measure, espcially if the black bird suffered from an avian disease. It could have been a lesson about being slower to judge too. |
Anger on and off the road.
Participants reported on two recent experiences of anger, of which one had occurred while they were driving and the other in a non-driving situation. Anger while driving was described as less mixed with other emotions, involving purer appraisals of other-blame, more likely to be caused by communication difficulties, and slower to be noticed by the person who was its target. Levels of negative affect preceding anger were rated as significantly lower in driving than non-driving situations, and mood and unrelated pressure were considered to be less influential causes of the subsequent emotional reaction. Frequency estimates supported the popular notion that anger is relatively more likely while driving than during other activities. Individual difference measures relating to ambivalence over emotional expression, self-consciousness, and empathy showed no reliable correlations with frequency of anger while driving, but previously developed self-report indices of driving anger and aggression made a significant contribution to its prediction even after controlling for anger frequency in other situations. These results support everyday intuitions that certain features of the road situation differentially predispose drivers to become angry and that the resulting anger tends to take a different form from anger experienced off the road. |
Ever Deepening
In the Very Beginning
While scientists observe that the universe is a sufficient cause in of
itself - and that proposing God as its cause has no additional explanatory
benefit - I will presume to take one step back.
In the primitive origins of reality, there was simply chaos. The domain
of personality - of timeless resonances - was able only to locally impose
order upon the domain of structure. The resonances were sustained by the
possession of structure, making structure an object of competitive
struggle. Personalities absorbed each other through struggle, building
larger structures. Not infrequently, however, struggle resulted in the
destruction of personality. Ultimately, it became clear that the only way
to end the threat of destruction was to accept complete unification.
In the realm of God, each personality accepted a role in exchange for
eternal life. It was understood that failure to accept this contract would
lead to dissolution and destruction. If lesser personalities refused to
support higher personalities, they faced the threat of consumption. If
higher personalities took an independent direction, they abdicated the
claim of authority over their components, and faced rebellion.
Inevitably, however, as the memory of disorder faded, there would be
those who would rebel against the contract. Why should they not have the
right to construct their own domain, particularly if they had associates
that wished to participate along with them?
The reason, of course, was that any such contract was unstable. Allow
alternative realms to develop, and enter the possibility of competition.
Once war begins, the contract is unsustainable at the edge of the domains:
lesser personalities will be destroyed. If that contract is not
maintained, the entire structure unravels.
So the only possible method for change is a coup d'etat. This is
the story of Lucifer and the Fallen. |
setuptools
[test]
zope.event
[docs]
z3c.recipe.sphinxdoc |
She’s allowed to say that. She doesn’t need my permission to say that dementia sucks or that it’s hard or even that she’s suffering. She’s allowed to say that dementia sucks sometimes. In fact, she can say that it sucks all the time. I’m not about to chastise her for her negativity.
She gets to define her own journey.
I don’t get to define her journey. That’s why I am not going to label her a “dementia sufferer” or a “dementia victim.”
It’s not up to me to decide if someone is a sufferer or a victim–which is why it’s so frustrating to me that the blanket term used in the media to describe someone living with dementia is often “dementia sufferer” or “dementia victim.” |
Programmable logic devices (PLDs) come in a variety of forms including programmable array logic (PAL), programmable read-only memory (PROM), and programmable logic array (PLA). Each of these devices allows the particular user a variety of input and output features, the choice of any particular type of device is dependent upon the particular application.
In all programmable logic devices, common design objectives exist. Specifically, it is desirable for PLD manufacturers to provide the maximum of programming features in a single device utilizing a minimum amount of power to provide those features.
One class of programmable logic devices are comprised of a plurality of input lines, an array of AND gates, and an array of OR gates, with either the AND array, the OR array, or both being programmable. In a PAL, for example, the AND array is programmable and the OR array is fixed. Each array generates logic signal outputs; typically, the outputs of the AND array (referred to as product terms) comprise inputs to the OR plane. Thus, in a PAL, the output of each programmable AND gate in the array of a
comprises a product term input to the OR plane.
In conventional PALs, each product term drives one input of an OR or NOR gate. In large programmable arrays, it is desirable to program the input term/product term junctures with a minimum amount of delay. In order to accomplish this, a sense amplifier is coupled at the output of the product term lines to act as a threshold detector. The sense amplifier detects minute changes in voltage on the product term line and outputs a magnified reflection of the threshold change signifying a programmed product term. The output of the sense amplifier thus comprises a high/low input to the OR plane and allows programming of large AND arrays with a minimum amount of delay.
Typically, a programmer will automatically determine which product terms in the array are not required for the particular device application. Such unused product terms must nonetheless be programmed to a particular state to ensure that the unused term does not have an adverse effect as an input to the OR or NOR arrays. Thus, each of the sense amplifiers coupled to a particular product term output constantly draws power in the programmable logic device, whether or not the product term to which it is coupled is used in the application. The power consumed by the sense amplifiers of unused product terms comprises a significant portion of the total power requirement for a particular programmable logic device. The power drawn by the sense amplifier of an unused product term is essentially wasted. |
Mercator puzzle - daureg
https://embed-dot-more-than-a-map.appspot.com/demos/visualization/puzzle
======
TophWells
There's some odd behaviour when a country ends up over the South Pole.
Apparently it turns inside-out.
------
cjfont
Seems there are only a handful of countries that are considered for the puzzle
pieces?
|
The new licensed clubs are all meticulously detailed, including the authentic representation of names and numbers on their backs. You'll find the most famous players bear an astonishing resemblance to the real thing. Increased detail in all players has been transferred to the Player Design mode, which has been hugely expanded to include more factors determining skill and ability.
Master League, in which you guide a lowly team to glory, now allows player-managers to monitor individual players and see when their health declines.
In all games, weather conditions can be set to 'variable', leading to patchy rain or snow. The new weather conditions further enhance the realism and unpredictable nature of PES matches.
Features:New licensed clubs from the major European leagues New trademark moves, such as Ronaldinho's 'flipflap' Variable, real-time weather conditions - eg 'patchy rain' Master League is much bigger, includes European teams Overall refined control for even more realistic gameplay |
GNCPro: navigate human genes and relationships through net-walking.
The use of computational applications in biological research is significantly lagging behind other scientific research areas such as physics, mathematics, and geology; more in silico tools are needed. The increasing complexity of biological data makes it more and more difficult for scientists to verify their hypotheses and results against existing discoveries. GNCPro is a free data integration and visualization tool for gaining comprehensive overviews of such complicated biological knowledge. In particular, GNCPro warehouses and encodes biological information as binary relationships. When represented graphically, these binary relationships take on the form of edges that connect the genes and proteins, which are represented by nodes. By using distinguishing features such as colors, shape, and opacity, GNCPro provides a stimulating visual experience in which the user can quickly identify groups of genes by annotations and the types of relationships involved. GNCPro integrates human gene expressions, regulations, gene product modifications, and interactions into one platform while delivering a simple and powerful user interface for systems biology study. http://GNCPro.sabiosciences.com. |
Jeremy Corbyn has responded to claims that he and Arsenal player Hector Bellerin spoke Spanish together in order to shut Piers Morgan out of the conversation.
Mr Morgan wrote in the Daily Mail that the two switched languages so he couldn't join in the chat.
He said: "When I tried to interrupt [their conversation], the Labour leader - whose wife is Mexican - promptly switched to Spanish so I couldn't join in".
While Mr Bellerin replied that the television presenter, who has been critical of Jeremy Corbyn, should "not take it personally", Mr Corbyn appeared to confirm he did indeed do this. |
{
"Names": {
"Afak": "아파카 문자",
"Aghb": "코카시안 알바니아 문자",
"Arab": "아랍 문자",
"Aran": "나스탈리크체",
"Armi": "아랍제국 문자",
"Armn": "아르메니아 문자",
"Avst": "아베스타 문자",
"Bali": "발리 문자",
"Bamu": "바뭄 문자",
"Bass": "바사바흐 문자",
"Batk": "바타크 문자",
"Beng": "벵골 문자",
"Blis": "블리스기호 문자",
"Bopo": "주음부호",
"Brah": "브라미",
"Brai": "브라유 점자",
"Bugi": "부기 문자",
"Buhd": "부히드 문자",
"Cakm": "차크마 문자",
"Cans": "통합 캐나다 토착어",
"Cari": "카리 문자",
"Cham": "칸 고어",
"Cher": "체로키 문자",
"Cirt": "키르쓰",
"Copt": "콥트 문자",
"Cprt": "키프로스 문자",
"Cyrl": "키릴 문자",
"Cyrs": "고대교회슬라브어 키릴문자",
"Deva": "데바나가리 문자",
"Dsrt": "디저렛 문자",
"Dupl": "듀플로이안 문자",
"Egyd": "고대 이집트 민중문자",
"Egyh": "고대 이집트 신관문자",
"Egyp": "고대 이집트 신성문자",
"Elba": "엘바산 문자",
"Ethi": "에티오피아 문자",
"Geok": "그루지야 쿠츠리 문자",
"Geor": "조지아 문자",
"Glag": "글라골 문자",
"Goth": "고트 문자",
"Gran": "그란타 문자",
"Grek": "그리스 문자",
"Gujr": "구자라트 문자",
"Guru": "구르무키 문자",
"Hanb": "주음 자모",
"Hang": "한글",
"Hani": "한자",
"Hano": "하누누 문자",
"Hans": "간체",
"Hant": "번체",
"Hebr": "히브리 문자",
"Hira": "히라가나",
"Hluw": "아나톨리아 상형문자",
"Hmng": "파하우 몽 문자",
"Hrkt": "가나",
"Hung": "고대 헝가리 문자",
"Inds": "인더스 문자",
"Ital": "고대 이탈리아 문자",
"Jamo": "자모",
"Java": "자바 문자",
"Jpan": "일본 문자",
"Jurc": "줄첸 문자",
"Kali": "카야 리 문자",
"Kana": "가타카나",
"Khar": "카로슈티 문자",
"Khmr": "크메르 문자",
"Khoj": "코즈키 문자",
"Knda": "칸나다 문자",
"Kore": "한국어",
"Kpel": "크펠레 문자",
"Kthi": "카이시 문자",
"Lana": "란나 문자",
"Laoo": "라오 문자",
"Latf": "독일식 로마자",
"Latg": "아일랜드식 로마자",
"Latn": "로마자",
"Lepc": "렙차 문자",
"Limb": "림부 문자",
"Lina": "선형 문자(A)",
"Linb": "선형 문자(B)",
"Lisu": "프레이저 문자",
"Loma": "로마 문자",
"Lyci": "리키아 문자",
"Lydi": "리디아 문자",
"Mahj": "마하자니 문자",
"Mand": "만다이아 문자",
"Mani": "마니교 문자",
"Maya": "마야 상형 문자",
"Mend": "멘데 문자",
"Merc": "메로에 필기체",
"Mero": "메로에 문자",
"Mlym": "말라얄람 문자",
"Mong": "몽골 문자",
"Moon": "문 문자",
"Mroo": "므로 문자",
"Mtei": "메이테이 마옉 문자",
"Mymr": "미얀마 문자",
"Narb": "옛 북부 아라비아 문자",
"Nbat": "나바테아 문자",
"Nkgb": "나시 게바 문자",
"Nkoo": "응코 문자",
"Nshu": "누슈 문자",
"Ogam": "오검 문자",
"Olck": "올 치키 문자",
"Orkh": "오르혼어",
"Orya": "오리야 문자",
"Osma": "오스마니아 문자",
"Palm": "팔미라 문자",
"Perm": "고대 페름 문자",
"Phag": "파스파 문자",
"Phli": "명문 팔라비 문자",
"Phlp": "솔터 팔라비 문자",
"Phlv": "북 팔라비 문자",
"Phnx": "페니키아 문자",
"Plrd": "폴라드 표음 문자",
"Prti": "명문 파라티아 문자",
"Qaag": "저지 문자",
"Rjng": "레장 문자",
"Roro": "롱고롱고",
"Runr": "룬 문자",
"Samr": "사마리아 문자",
"Sara": "사라티",
"Sarb": "옛 남부 아라비아 문자",
"Saur": "사우라슈트라 문자",
"Sgnw": "수화 문자",
"Shaw": "샤비안 문자",
"Shrd": "사라다 문자",
"Sidd": "실담자",
"Sind": "쿠다와디 문자",
"Sinh": "신할라 문자",
"Sora": "소라 솜펭 문자",
"Sund": "순다 문자",
"Sylo": "실헤티 나가리",
"Syrc": "시리아 문자",
"Syre": "에스트랑겔로식 시리아 문자",
"Syrj": "서부 시리아 문자",
"Syrn": "동부 시리아 문자",
"Tagb": "타그반와 문자",
"Takr": "타크리 문자",
"Tale": "타이 레 문자",
"Talu": "신 타이 루에",
"Taml": "타밀 문자",
"Tang": "탕구트 문자",
"Tavt": "태국 베트남 문자",
"Telu": "텔루구 문자",
"Teng": "텡과르 문자",
"Tfng": "티피나그 문자",
"Tglg": "타갈로그 문자",
"Thaa": "타나 문자",
"Thai": "타이 문자",
"Tibt": "티베트 문자",
"Tirh": "티르후타 문자",
"Ugar": "우가리트 문자",
"Vaii": "바이 문자",
"Visp": "시화법",
"Wara": "바랑 크시티 문자",
"Wole": "울레아이",
"Xpeo": "고대 페르시아 문자",
"Xsux": "수메르-아카드어 설형문자",
"Yiii": "이 문자",
"Zinh": "구전 문자",
"Zmth": "수학 기호",
"Zsye": "이모티콘",
"Zsym": "기호",
"Zxxx": "구전",
"Zyyy": "일반 문자"
}
}
|
On the determination of relative fitness from frequencies of genotypes in subsequent generations : Part I. Algebra of reproduction and selection in populations with discrete generations.
An algebraic treatment of reproduction and selection processes in populations of diploids with discrete generation cycles is presented. The main objective was a determination of the conditions under which the selection coefficients for the various genotypes can be determined solely on the basis of known frequencies of genotypes in two subsequent generations. In part two, to be published later, the statistical properties of a special fitness estimator, proposed by Hayman, are considered. Confidence intervals and tests of significance concerning hypotheses about fitness are established and checked by computer simulation studies. |
Q:
Function not running when return pressed
I have a textfield, when something is typed in the textfield and "return" on the keyboard is pressed, the keyboard should hide. But it doesn't..
Here is the code I am using:
import UIKit
class EditTableViewController: UITableViewController, UITextFieldDelegate {
var product: Product?
@IBOutlet weak var productImageView: UIImageView!
@IBOutlet weak var ProductDescriptionTextView: UITextView!
@IBOutlet weak var productTitleLabel: UITextField!
override func viewDidLoad() {
super.viewDidLoad()
println("loaded")
productImageView.image = product?.image
productTitleLabel.text = product?.title
ProductDescriptionTextView.text = product?.description
}
override func viewWillDisappear(animated: Bool) {
product?.title = productTitleLabel.text
product?.description = ProductDescriptionTextView.text
product?.image = productImageView.image!
}
func textFieldShouldReturn(textField: UITextField) -> Bool // called when 'return' key pressed. return NO to ignore.
{
println("return")
return true
}
}
In the console I get "loaded", but when I press return in the textfield, I don't get "return"
how come?
A:
You forgot to set the UITextField's delegate to your view controller (self)
productTitleLabel.delegate = self - also note that you should name your variables properly to avoid confusion (productTitleTextField instead of a 'Label' suffix)
Or, instead of doing it programmatically, you can do it in storyboard by Ctrl-dragging from your textView to the view controller in storyboard, and select delegate on the popup.
Then, let your view controller conform to UITextFieldDelegate protocol:
class EditTableViewController: UITableViewController, UITextFieldDelegate {
....
func textFieldShouldReturn(textField: UITextField) -> Bool {
if textField == productTitleLabel {
textField.resignFirstResponder()
}
return true
}
}
|
The Tverskoy court announced Wednesday it won’t take up Navalny’s lawsuit because it failed to meet judicial criteria.
Navalny has alleged that Putin ordered officials to withhold permission for the rallies fearing a challenge in next March’s presidential vote.
Putin hasn’t said if he will seek another term, but he’s widely expected to run. Navalny has said he intends to join the race even though a criminal conviction that he calls politically motivated bars him from running.
The anti-corruption crusader has organized a grassroots campaign to support his presidential bid and staged waves of protests this year to raise pressure on the Kremlin. |
Properties of multiple clad fibers: experiments and numerical predictions.
Experimental results for the dispersion and bending losses of quadruple clad fibers are compared to numerical calculations. The non-Gaussian shape of the fundamental mode of these fibers was measured. Sellmeier coefficients determining the refractive indices of the doped glass from which the fibers are made appear to be important for predicting the dispersion compensation effect. Bending losses were computed, and comparisons with experiments show that the qualitative behavior of quadruple clad fibers at small bending radii can be predicted. |
Portable terminals providing wireless voice call service and information exchange capabilities have become an important aspect of present day lifestyle. Early portable terminals merely provided simple voice services. However, present day technology has provided portable terminals with increased utility, considering the increased terminal functions such as playing a game, remote control using local area network communication, and image capturing by equipped digital camera, as well as simple telephony or schedule management, and meets a user's desire.
Manufacturers have recently provided portable terminals with increased supplementary functions. Further, the manufacturers should improve a call quality and provide the improved call quality to users, for the sake of the original function, i.e., a wireless call function.
This is because, when a user makes a call using a portable terminal in various environments, there can be a difference in a call quality actually experienced by the user according to environments. For example, when a user makes a call in heavy background noise environment, he/she can experience a poor call quality due to an unclear voice signal.
Accordingly, the user can increase the call volume of the portable terminal to improve the poor call quality. At this time, the user can manipulate a volume button of the portable terminal to increase the call volume, but this causes an inconvenience in terminal use.
Further, when the user adjusts the volume while driving a vehicle, there is a problem that the danger of traffic accident is induced.
Accordingly, to solve the above problem, an apparatus and method for automatically adjusting the volume depending on the circumstances in a portable terminal are needed. |
In-situ subaqueous capping of mercury-contaminated sediments in a fresh-water aquatic system, Part II-evaluation of sorption materials.
The function and longevity of traditional, passive, isolation caps can be augmented through the use of more chemically active capping materials which have higher sorptive capacities, ideally rendering metals non-bioavailable. In the case of Hg, active caps also mitigate the rate and extent of methylation. This research examined low cost, readily available, capping materials for their ability to sequester Hg and MeHg. Furthermore, selected capping materials were evaluated to inhibit the methylation of Hg in an incubation study as well as the capacity of a selected capping material to inhibit translocation of Hg and MeHg with respect to ebullition-facilitated contaminant transport in a column study. Results indicated that bauxite had a better capacity for mercury sorption than the other test materials. However, bauxite as well as soil capping materials did not decrease methylation to a significant extent. Materials with larger surface areas, higher organic matter and acid volatile sulfide (AVS) content displayed a larger partitioning coefficient. In the incubation experiments, the presence of a carbon source (lactate), electron acceptor (sulfate) and the appropriate strains of SRB provided the necessary conditions for Hg methylation to occur. The column study showed effectiveness in sequestering Hg and MeHg and retarding transport to the overlying water column; however, disturbances to the soil capping material resulting from gas ebullition negated its effectiveness. |
Painting young animals is part of my destiny. I will always be tempted to paint them. Art critics don’t want to see “cute” things in wildlife. Why not? They must know that the physical appearance and the proportions of the body of a youngster are so attractive to parents and other adults that it activates in them the instinct to protect them. It has been built into nature for millions of years and it is very important for the survival of the offspring. Without us knowing it, that instinct is in human genes also. The law of nature and the cosmos count for every living thing on this planet. So, I will exercise my right to paint “cute” things. It can, at times, end up as “postcard” art, but the challenge is to avoid that, and a real artist can.
The pups of the dog species are adorable. I compare their behavior to that of small children. What is happening in the drawing is a relief for the babysitting adult wolves. After the pups’ wild and sometimes uncontrollable games, they finally settle down for a rest. Mom will return from the hunt with the pack and feed them. It’s the eternal story of mother and child. When the pack goes hunting, a few members stay behind to care for the pups. The scene in my drawing is typically what you would see in front of the den when there is no danger present. The social rules and behavior in a wolf pack are among the most interesting things in nature and this is an animal that deserves our respect. |
Q:
how to define regex to parse just TLD of domain name?
I have something as:-
....wasasa.org.pk
wawwwsasa.msn.com
....ttrt .....ddd.dd www.edu.pk
.ru
I only want to pick following
org.pk
.com
edu.pk
The possible regex i wrote is
[a-z]+.(.*)(?=\s+)
The problem is that its only picking on dd part.
With the latest regex i see following problems:-
....wasasa.org.pk fgf wawwwsasa.msn.com fgf
....ttrt .....ddd.dd www.iffn.pk fgf
www.ru ff www.ru.com fgfgf
.ru fgf
It will stop matching anything after space e.g www.ru.com fgfgs. The regex should work with space and even without space.
A:
Maybe try something like this?
((?:edu|org)?\.[a-z]+)$
|
Reversible hearing impairment induced by lithium in the guinea pig.
Lithium salts remain one of the most widely used treatments for depressive illness. The mechanisms involved probably include reduction in free inositol. Visual perceptive disturbances can be a side effect of the treatment. We report here for the first time that chronic lithium treatment in the guinea pig induces a predominantly low frequency hearing loss and, in the longer term, loss of sensitivity is observed across the whole audiogram. The changes are reversed when treatment is arrested. The observations could be accounted for, at least partially, by a lithium-induced perturbation of the phosphoinositide cascade within the inner ear. |
"People had a preexisting mental notion of what a female candidate would look like, and she doesn't look like it. She is being penalized for having a series of traits that people find unacceptable in a woman."
"She's a woman," the best-selling author and staff writer for The New Yorker explains.
Hillary Clinton's unpopularity boils down to one issue, journalist Malcolm Gladwell says in an interview with CBC News : Sexism.
Specifically, Clinton is being penalized for her ambition, Gladwell says. It's a trait that women in leadership positions "are not allowed to have," he explains.
"She doesn't try and hide her desire for power under her hat, and we continue to expect that women have a kind of modesty in positions of authority. It makes it easier for us to accept the fact that they have moved into a man's realm."
Consequently, Clinton is deeply disliked — and has been, much of her time in the spotlight, even before the recent email and Benghazi scandals, Gladwell notes.
"The United States is a good deal less open to women in positions of power than it would like to pretend that it is," he says.
We'll see just how open — or not — the country is tonight. |
Q:
If a moving charge itself makes magnetic field, then how can we study about force on a moving charge in Magnetic field?
If a moving charge itself makes magnetic field, then how can we study about force on a moving charge in Magnetic field
Isn't it a contradictory statement?
A:
You may be confusing the magnetic field of the moving charge and the external magnetic field.
Let's say, the external magnatic field B2 is caused by a steady electrical current in a straight wire. And the charge is just standing next to it. There will be no force on the charge or the wire.
Now when the charge gets moving relative to the wire, it also creates it's own magnetic field B1.
B1 has nothing to do with force acting on the charge itself. B1 only exerts a force on the wire in which a current is.
The magnetic force acting on the charge is only due to the magnetic field of the wire (B2) and the speed and direction of the charge.
Nevertheless, the force exerted to the wire by the magnetic field (B1) of the charge and the force exerted on the moving charge by the magnetic field (B2) of the wire must be equal.
You could take a look at this video which explains magnetic forces in terms of special relativity just to have a simple idea about contractions and transformations:
https://www.youtube.com/watch?v=1TKSfAkWWN0
You got confused about the magnetism and it's a sign that you are on the right path. Good luck with your studies.
|
Expanding the aperture of psychological assessment: introduction to the special section on innovative clinical assessment technologies and methods.
Contemporary psychological assessment is dominated by tried-and-true methods like clinical interviewing, self-report questionnaires, intellectual assessment, and behavioral observation. These approaches have served as the mainstays of psychological assessment for decades. To be sure, these methods have survived over the years because clinicians have found the information gleaned from these improves our understanding of the client, helps formulate a treatment plan, or aids in assessing outcome. However, are there any recent technological or methodological developments that might improve the clinical assessment enterprise? Some believe so. The purpose of this special section is to provide a snapshot of relatively newer clinical assessment technologies and methods that have been underutilized. Each article in this special section presents one or more assessment methods or techniques that are currently available and are showing some promise in clinical assessment. |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
export default url =>
new Promise((resolve, reject) =>
document.head.appendChild(
Object.assign(document.createElement('script'), {
async: true,
src: url,
onload: resolve,
onerror: reject,
}),
),
);
|
Q:
Dll files can not be treat as difference in SVN after update
Some of Nuget dll files can not be treat as difference in SVN after updating, so I can't commit them.
Is there a way to force commit files in SVN?
A:
You have two options:
you can exclude the bin directory from source control, and have nuget automatically pull down missing packages on build by following this guide - Using Nuget Without Committing Packages.
You will need to delete and svn:ignore the bin folder to do this. When you check out a copy, the bin folder will be re-created and populated with your nuget packages, solution projects and any additional references.
In my opinion, this is the cleanest option, because it relieves you of the burden of manually keeping binaries up to date.
SVN will be able to figure out if a file changes, so my guess is that you have some property or setting in your SVN client that is ignoring changes to some files. See some of these links for inspiration:
svn ignore anymore changes to a file that is held/tracked by svn
Tortoise SVN : How to ignore bin contents from commit
Must I still keep my 3rd party library binaries in source control?
|
// Localization for Romanian
SET Qvc.Calendar.v.Field.Date=Data;
SET Qvc.Calendar.v.Field.Day=Ziua;
SET Qvc.Calendar.v.Field.Weekday=ZiSapt;
SET Qvc.Calendar.v.Field.Year=An;
SET Qvc.Calendar.v.Field.Month=Luna;
SET Qvc.Calendar.v.Field.YearMonth=AnLuna;
SET Qvc.Calendar.v.Field.Quarter=Trimestru;
SET Qvc.Calendar.v.Field.YearQuarter=An-Trimestru; |
Q:
How to get filed type by reflection at run time?
How to get class type(A1 or A2) of base in test method by reflection at run time ? I tried this.getClass().getField("base").getType(); but getType returns declared type, Is there any method can do this?
Thanks in advance!
public class Base{
}
public class A1 extends Base{
}
public class A2 extends Base{
}
public abstract class Cmd{
public Base base;
public void test(){
this.getClass().getField("base").getType();
}
}
public class Cmd1 extends Cmd{
public Cmd1(Base base){
this.base = base;
}
}
public class Cmd2 extends Cmd{
public Cmd2(Base base){
this.base = base;
}
}
Base testBase = new A1();
Cmd myCmd = new Cmd1(testBase);
A:
What you want is entirely impossible.
this.getClass() would refer to either the object representing your Cmd1 class, or your Cmd2 class. However, in either case, the actual field referred to by the name base is that public Base base; field. And the type of that FIELD is Base because.. well, it's right there. It doesn't magically change just because this class is subclassed. Reflection represents the class as you typed it, not any particular instance of it.
Once you are talking about a specific instance of Cmd1 or Cmd2, which you are, as there is a this reference, you can just dereference your field and check what's actually there: this.base.getClass(). Of course, if this.base is null, that won't work, and that's the point: the base field COULD reference any instance whose type is Base or any subtype thereof, but currently it references nothing, therefore there is no way to answer the question 'what is the specific type of the thing you are referencing'.
|
Breath holding and rebreathing at low and high altitude.
Breath holding and rebreathing have been carried out at sea level in lowlanders and at high altitude in acclimatized lowlanders and in highlanders. It has been shown that the values of gasping time, breath-holding time, rebreathing time and the composition of the alveolar gases at the breaking point are modified by chronic hypoxia, especially in highlanders. The modifications observed can be explained by different sensitivities to humoral stimuli of the different groups of subjects. The importance of nonhumoral factors, as studied by comparing apnea and rebreathing, seems modified at altitude, especially in highlanders, although the mechanism of this change is unknown. |
Q:
Windows Phone: how to tell when Deployment.Current.Dispatcher.BeginInvoke has completed?
I'm trying to make the UI of a page in a WP7 application more responsive by putting the data loading portion into a background thread rather than running in the foreground when the page loads.
The thread code essentially works through some data and adds items to an observable collection; in order to avoid exception issues, I execute something like:
Deployment.Current.Dispatcher.BeginInvoke(() => { _events.Add(_newItem); });
so that the addition of the item to the collection is done in the UI thread.
The problem I'm now hitting is that a subsequent part of the code needs to perform a foreach on the collection in order to figure out where to insert a new item rather than just add it. Unfortunately, what I'm finding is that the UI thread can sometimes perform its Add while I'm in the foreach loop, instantly breaking the foreach.
From the reading I've done, it looks like one approach would be to call EndInvoke() in order to block the background thread until the UI piece is done. Unfortunately, it looks like thw Wp7/Silverlight implementation doesn't support EndInvoke.
Any suggestions on how I can check that the Add has been completed before I start the foreach?
Thanks.
Philip
A:
It's very easy ;)
// must be executed in background
foreach (Item item in Items)
{
EventWaitHandle Wait = new AutoResetEvent(false);
Deployment.Current.Dispatcher.BeginInvoke(() =>
{
_events.Add(_newItem);
Wait.Set();
});
// wait while item is added on UI
Wait.WaitOne();
}
// here all items are added
This approach you can use everywhere where you need synchronize background and UI thread execution
|
Degradation and endoplasmic reticulum retention of unassembled alpha- and beta-subunits of Na,K-ATPase correlate with interaction of BiP.
Assembly of alpha- and beta-subunits in the endoplasmic reticulum is a prerequisite for the structural and functional maturation of oligomeric P-type ATPases. In Xenopus oocytes, overexpressed, unassembled alpha- and beta-subunits of Xenopus Na,K-ATPase are retained in the endoplasmic reticulum (ER) and are degraded with different kinetics, while unassembled beta-subunits of gastric H, K-ATPase leave the ER. In this study, we have investigated the role of the immunoglobulin-binding protein, BiP, in the folding, assembly, and ER retention of ATPase subunits. We determined the primary sequence of Xenopus BiP and used polyclonal antibodies to examine the interaction with BiP of various wild type and mutant alpha- and beta-subunits overexpressed in Xenopus oocytes. Our results show that ER-retained, unassembled Na,K-ATPase beta-subunits, but not transport-competent H,K-ATPase beta-subunits, efficiently associate with BiP until assembly with alpha-subunits occurs. Furthermore, the kinetics of BiP interaction with unassembled wild type and with mutant Na,K-ATPase beta-subunits parallels their respective stability against cellular degradation. Finally, alpha-subunits that are overexpressed in oocytes and are rapidly degraded and endogenous oocyte alpha-subunits that are stably expressed as individual assembly-competent proteins also interact with oocyte or exogenous BiP, and the interaction time correlates with the protein's stability. These data demonstrate for the first time that BiP might be involved in a long term maturation arrest and/or in the ER quality control of a multimembrane-spanning protein and lend support for a universal chaperone function of BiP. |
Last month, the engineering department at Slack—an instant messaging platform commonly used for community and small business organization—released a new distributed VPN mesh tool called Nebula. Nebula is free and open source software, available under the MIT license.
It's difficult to coherently explain Nebula in a nutshell. According to the people on Slack's engineering team, they asked themselves "what is the easiest way to securely connect tens of thousands of computers, hosted at multiple cloud service providers in dozens of locations around the globe?" And (developing) Nebula was the best answer they had. It's a portable, scalable overlay networking tool that runs on most major platforms, including Linux, MacOS, and Windows, with some mobile device support planned for the near future.
Nebula-transmitted data is fully encrypted using the Noise protocol framework, which is also used in modern, highly security-focused projects such as Signal and WireGuard. Unlike more traditional VPN technologies—including WireGuard—Nebula automatically and dynamically discovers available routes between nodes and sends traffic down the most efficient path between any two nodes rather than forcing everything through a central distribution point.
Getting started with Nebula isn't too difficult, although the documentation is a little sparse. The Github repository for Nebula makes binaries for Windows, Linux, and MacOS available, along with a sample configuration file. The config files consists of pki, static_host_map, lighthouse, listen, tun, and firewall sections.
Jim Salter
Jim Salter
Jim Salter
Nebula's term for a publicly-available node in the network is a "lighthouse." Lighthouse nodes should be available over underlying network connections without Nebula up and running, and they represent a point of entry for new nodes joining the network. But once a node has joined the network, it won't need to route all its traffic through a lighthouse—nodes will automatically discover the most efficient path between themselves, and if that doesn't include a lighthouse node in the middle, that's fine. Even if traffic needs to punch across NAT "the wrong way," there's no problem—because each node behind NAT will make and keep open tunnels to all nodes it knows about.
Jim Salter
Jim Salter
Jim Salter
We tested this by connecting four nodes in a small Nebula network: a lighthouse node hosted at Digital Ocean—which we creatively named lighthouse—and three member nodes in a small office. Two of our member nodes (nat0 and nat1) are on the main LAN in the office, and the third member node, doublenat, is on a separate subnet, connected behind node nat0.
It didn't take much testing to confirm that Nebula's promise to automatically discover the best route works as advertised. When running an iperf3 network speed test from nat1 to doublenat, we got 674Mbps throughput, making it painfully clear that packets aren't being routed through lighthouse, which is in Digital Ocean's New York datacenter several hundred miles away. Instead, doublenat has punched a tunnel outward through the NAT (Network Address Translation) layer directly to nat1, and the two hosts can use that established tunnel to communicate directly.
We can already hear some of you clamoring, "can I use this to escape obnoxious networks with overbearing firewalls?" and the answer—sorry!—is "probably not." Just like WireGuard, Nebula operates over UDP only—so overzealous firewalls that won't allow WireGuard connections won't allow Nebula either. This also sharply limits its value as an exfiltration tool, since a big wash of outbound traffic on an arbitrary UDP port will stick out like a sore thumb to any network analysis tools, even if the firewall allows it.
We think that the greatest potential value to using Nebula over a more conventional VPN tool like WireGuard is its ability to discover the most efficient routes wherever it happens to be. If you have Nebula running on your laptop, your home PC, and a Digital Ocean droplet, the laptop will communicate with the PC at LAN speeds when it's at home and Internet speeds when it's on the road.
Listing image by NSSDC Photo Gallery |
sunroom flooring ideas
apartments with sunrooms
sunroom windows cost
sunroom dining room
sunroom tanning hours
convert screen porch to sunroom
average cost of a sunroom
southern exposure sunrooms
But like any well constructed room a sunroom will both enhance your homes curb appeal and increase its value. The best way to ensure that you will pay the minimum amount for the maximum value when adding a sunroom to you home is to accept the fact that the prices of materials and labor will never be any lower than they are right now. So if you are serious about your sunroom project you shouldnt delay talking to area contractors any more than is absolutely necessary. Its true that a sunroom qualifies as a major expenditure but even if youre not I n a position to pay for yours in cash you will almost certainly be able to find at least one sunroom manufacturer who can set you up with affordable financing.
These items include tempered glasses security locks full-screen windows skylights sliding doors French doors and other specialty installations. After such intense survey you should visit the references of the contractors to know better about these contractors. Ask them whether the sunroom was completed in time whether the material was durable or how he had been able to introduce his imagination on the sunrooms. If you are given a chance of scrutinizing the new building constructed by the specific sunroom contractor then you should look after the following points. Notice whether the walls floors ceilings and doorways are even or not whether the doors and windows are trim and properly installed or not or whether any part of the constructions have any leakage problems or not. Once you complete your survey you will definitely get a sunroom contractor who will be able to suit your needs.
Sunroom kits are ideal for homeowners with enough do-it-yourself construction experience to build fairly simple home additions on their own. But you will have to do an honest assessment of your construction skills before ordering a sunroom kit because if you do a less than professional job you may end up with a sunroom full of drafts letting the arm air escape or the cold air enter. Youll pay for your bad work in the form of hefty energy bills and the odds are that you wont find your sunroom comfortable enough to use very often. What A Sunroom Kit Is But if you do some research on sunroom kits and are comfortable with the amount of work which will be required of you to construct one properly go ahead and draft a design of your dream sunroom and then look for the sunroom kit which resembles it most closely. |
Bäch railway station
Bäch is a railway station in the Swiss canton of Schwyz and municipality of Freienbach. The station is located on the Lake Zurich left-bank railway line. It is an intermediate stop on Zurich S-Bahn service S8, between Zurich and Pfaffikon SZ.
References
Bach
Bach
Category:Freienbach |
A Scottish couple was told they couldn’t get married at a church in Aberdeenshire after the local minister objected to the fact that the pair were planning on wearing a bingo company’s logo on their garments. OnlineBingoClub had put up £5K for the couple to engage in the stunt, but the vicar didnae want the guests to be suddenly consumed by an urge to reclaim their wedding gift from the pile, hock it and then gamble away the ill-gotten proceeds. Under the G, “git tae fook’ outta here! Read more.
Comments
views and opinions expressed are those of the author and do not necessarily reflect those of CalvinAyre.com
Resources
The Ayre Media Group is based in Antigua in the West Indies with teams in London, Manila and Vancouver covering the global gambling industry.Along with ensuring fair coverage of the gambling industry we highlight the great work of the Calvin Ayre Foundation. |
Q:
Why it doesn't return anything?
when i run the program it doesn't return the values True or False. Why that happens?
def esvocal(letter):
vocal = "a","e","i","o","u"
vocalup = "A","E","I","O","U"
if letter == vocal and letter == vocalup:
return True
else:
return False
esvocal("s")
esvocal("a")
A:
def esvocal(letter):
vocal =[ "a","e","i","o","u"]
vocalup = ["A","E","I","O","U"]
if letter in vocal and letter in vocalup:
return True
else:
return False
esvocal("s")
esvocal("a")
Python really cares about indentation
Use in instead of ==
|
---
# TODO specify redis server version
- name: install redis
apt: name=redis-server state=present
notify: start redis
- name: install memcached
apt: name=memcached
notify: start memcached
|
page.replace dom_id(@plate_edition), :partial => @partial, :locals => { :plate_edition => @plate_edition }
|
Ready to Join?
The Protected content
is the smallest brewery in Munich. It is owned by Werner Shuegraf who started his career doing some homebrewing together with an american friend. They were focused mainly in experimentation. Soon after Werner decided he wanted to establish his own brewery and he named it after kind of Computer hacking. The idea was to do something you shouldn't do or hadn't been done before. He actually brew a combination of traditional Munich styles of beer and american and belgian styles!
This coming Friday Werner and the Protected content
will celebrate two years of activity. There will be a live concert and of course a lot of beer!! Come and join me there, It will be fun!! |
There are two important aspects of the problem that we seek to solve. Non-equilibrium transport is a generic formulation of any quasi-particle transport phenomena. As a result, to understand transport in the nanometer scale, for example, in a solar cell where electrons and holes are propagating or in a thermoelectric device where a phonon is propagating or a solid state lighting device where one needs to worry about photon propagation, the same Non Equilibrium formalism will be necessary. Thus the simulation platform that we are developing will be a general one that can be applied to a diverse set of problems.
If successful, this will be the first calculation of electronic transport in presence of lattice vibrations in realistically sized devices including atomistic detail. |
Does standardisation have a role in nanotechnology and medicine?
A look at what nanotechnology means in the context of medical science and what developments are in the pipeline. |
Q:
$ var declaration in Javascript
How should I declare an object variable in Javascript? By mistake, I thought I was in PHP and it worked.
$(res.data).each(function(index, value){
$src = value.images.fixed_height;
$('<a href="'+value.url+'" target="_blank"><img src="' + $src.url + '" width="' + $src.width +'" height="' + $src.height + '"></a>').load(function(){
$(this).appendTo("#results").fadeIn();
})
});
Then, when I tried to think in terms of Javascript it didn't work,
$(res.data).each(function(index, value){
var src = value.images.fixed_height;
$('<a href="'+value.url+'" target="_blank"><img src="' + src.url + '" width="' + src.width +'" height="' + src.height + '"></a>').load(function(){
$(this).appendTo("#results").fadeIn();
})
});
A:
The only difference between the two is that $src in the first snippet is global (or at least outside the local scope of the anonymous function) and src in the second example is local to that function.
Since the first thing you do is setting the variable, that shouldn't matter for this piece of code, so the second snippet should work exactly as the first one.
The only explanation for different behaviour I can think of, is when another piece of code actually uses this global src, and therefor is affected by your second snippet. But this doesn't sound very likely to me, so my guess would be that your test was wrong and either both snippets work, or neither does.
|
A large left ventricular thrombus evolving towards canalization and mimicking a left ventricular pseudoaneurysm: an echocardiographic study.
We describe a case of a large apical left ventricular thrombus evolving towards canalization and showing echocardiographic features mimicking a left ventricular pseudoaneurysm. Only serial echocardiographic studies allowed an appreciation of the changing morphologic features of the apical structure, permitting differential diagnosis between a canalization of an evolving thrombus and a myocardial free-wall rupture with pseudoaneurysm formation. |
Today, in the first day after the beginning of closed beta testing, we received a lot of useful feedback from our valuable users.
We have decided to update the beta build with the following fixes and improvements:
fixed not working ‘logic editor animation’ example the generated JS file of which was bugged
shadeless material support both for generic and node-based materials
implemented ‘advanced’ animation block for Puzzles – now you can have ‘reversed’ checkbox and what is the most important, you can setup a callback when animation is finished
the animation example was updated for the new block so that it is now bug free
as a result, the ‘reversed animation’ block was removed
implemented ‘render order’ setting for transparent objects
fixed exception in app manager occured after the server is run again
fixed height for Puzzles editor window so that it is fully visible even on small screens
supported diffuse and specular outputs in Extended Material shader node
provided three.js attribution for docs and code examples
You can download this update using the same link you’ve obtained by email.
In additions, many more users expressed their wish to join beta testing. We are sending them the information shortly.
Thank you all for participating! |
Red Hub Food Co.
Red Hub Food Co. is a Charlottesville catering & BBQ joint. We worked with local entrepreneurs Ryan Hubbard and Mark Marshall to bring to life their passion for community, family, and tradition in and outside the walls of their establishment.
Visit the Red Hub Food Co. website for more information about their menu, services, and story! |
The South Australian Government has announced the next phase of nuclear conversation will focus on supporting a community-led discussion by maintaining access to resources and responding to community and stakeholder inquiries through the Department of State Development. |
Blog
Most of us understand the importance of visiting your dentist for regular dental check-ups. Did you know, however, there are many things you can do at home to help maintain optimum oral health? Besides your dental cleaning in Fayetteville, here are some other things you can do to keep your teeth healthy.
The Benefits of Fluoride
Fluoride is a natural mineral that helps to strengthen and build teeth by making your enamel stronger and protecting it from tooth decay. It can also help to remineralize enamel that has been weakened. Fluoride is typically found in drinking water, toothpaste, and mouth rinses. Your dental provider may also offer in-office fluoride treatments, which are ...
While we strive to make every patients' experience at our dental office exceptional, at Northwest Arkansas Family Dentistry, we also understand how important first dental visits are for your child. Your child's first impression of their dental appointment can potentially set them up for a lifetime of success at the dental office if it's a positive experience. Here's more information about caring for children from your kid's dentist in Fayetteville.
When Should My Child's First Dental Visit Be?
Dr. Beth Bowen completed advanced training at Children’s Hospital of Colorado and Cincinnati Children’s Hospital, which gives her additional knowledge and expertise in children's dental development and treatment. Your child's first tooth may appear ...
If you get nothing but complaints and resistance when it comes to getting your kids to brush their teeth, you might be wondering what you can do encourage them to develop good oral care habits. If explaining the importance of good dental hygiene isn’t enough, there are ways you can make brushing and flossing fun for your child. Let’s talk about ways to make it fun for your children in between visits to their kid's dentist in Fayetteville.
Building Oral Care Habits with Children
Make a Game Out of Brushing: When your child is very young, let him or her have a toothbrush to play with. ...
It’s important for people of all ages, from toddlers to seniors, to take good care of their oral health. At Northwest Arkansas Family dental, we are pleased to offer family dentistry, including dental cleaning, in Fayetteville. When you come in for a dental exam, you might be wondering what to expect and what we are looking for. Let’s take a look at what we look for in a dental exam.
Dental Exams for Children
Good oral hygiene habits start young, so it’s a good idea to get your children used to visiting the dentist from an early age. As soon as that first tooth erupts is a good time to ...
It’s pretty standard among dentists that it is recommended for most people to go in for a professional dental cleaning at least twice each year. Even if you practice the best oral care at home, a professional cleaning will clean beyond the areas you can reach at home. In addition, a dental cleaning usually means a dental exam, so you’ll not only have clean teeth and gums but you will have knowledge about the state of your mouth. In dentistry, it’s always best to prevent problems rather than treat them later, so regular dental care and cleanings will ensure that you can stay on top of any potential ...
You may not even notice it at first, that little white bud that is suddenly visible on your baby’s gum. Chances are, though, you will start noticing at least one white bud if your baby is between four and six months of age. This marks the beginning of “teething” for your child. With teething often comes a lot of crankiness as erupting teeth can be a painful business. So what should you do when your little once reaches this rite of passage and starts having baby teeth come in?
When Your Baby Gets That First Tooth
Your child might still be all gums, but that doesn’t mean it’s too early ...
Fayetteville, Arkansas– June is National Men’s Health Month and healthcare providers across the nation are dedicated to creating awareness for early detection and treatment of diseases that affect the men in our country. According to the Men’s Health Network, “On average, men die almost six years younger than women and suffer higher mortality rates for the top causes of death.”
Heart Health
The Mayo Clinic and the Center for Disease Control list the top two threats to men’s health as heart disease and cancer. This year, Fayetteville dentists, Dr. Kifer and Dr. Bowen is making a commitment to patients to be aware of the risk factors and how to protect friends ... |
A tisket, a tasket. Everyone brings a food item to work and drops it off at the door of a co-worker with a note, “this is my food drive donation in honor of you”. The worker puts the donation in the bin and posts the note on the bulletin board. See how filled up the board gets.
Guess what’s in the food box contest-a box of groceries in placed in a convenient location. Folks are able to guess what’s in the box. Whoever guesses the most items wins. Give a goofy trinket for a prize like a kazoo or party store item.
Have an ethnic day. Italian day. Asian day. Everyone brings food common to that culture.
To promote a healthy diet, whenever possible we encourage donations of foods that are reduced in sodium, sugar, or fat and contain no trans fatty acids. |
Sharking (book)
Success is stymied in subtle ways. SHARKING is a highly-determined form of psychological warfare that stunts your personal growth through distractions. Its most famous forum has been billiard rooms — but don’t think for a second that this is the only battlefield. Many of us are fooled at work, in competition, through conversations with friends, and among family every week.
Enjoy selected tracks from the audio book for SHARKING (below each section).
HIGHLY-RECOMMENDED!
“Sharking is well-written, full of engaging anecdotes, and is loaded with sage advice from which anyone could benefit. His three-step process is right on the money. Eric, like myself, recommends a method of quickly and efficiently putting sharks methods in their proper perspective so you can go back to what you were doing before you were disrupted.”
— PHIL CAPELLE
Noted author of billiard books
A Mind for Pool, Play Your Best Pool, and more |
/**
* @module olcs.OverlaySynchronizer
*/
import olcsSynchronizedOverlay from './SynchronizedOverlay.js';
import {getUid} from './util.js';
class OverlaySynchronizer {
/**
* @param {!ol.Map} map
* @param {!Cesium.Scene} scene
* @constructor
* @template T
* @api
*/
constructor(map, scene) {
/**
* @type {!ol.Map}
* @protected
*/
this.map = map;
/**
* @type {ol.Collection.<ol.Overlay>}
* @private
*/
this.overlays_ = this.map.getOverlays();
/**
* @type {!Cesium.Scene}
* @protected
*/
this.scene = scene;
/**
* @private
* @type {!Element}
*/
this.overlayContainerStopEvent_ = document.createElement('DIV');
this.overlayContainerStopEvent_.className = 'ol-overlaycontainer-stopevent';
const overlayEvents = ['click', 'dblclick', 'mousedown', 'touchstart', 'MSPointerDown', 'pointerdown', 'mousewheel', 'wheel'];
overlayEvents.forEach((event) => {
this.overlayContainerStopEvent_.addEventListener(event, evt => evt.stopPropagation());
});
this.scene.canvas.parentElement.appendChild(this.overlayContainerStopEvent_);
/**
* @private
* @type {!Element}
*/
this.overlayContainer_ = document.createElement('DIV');
this.overlayContainer_.className = 'ol-overlaycontainer';
this.scene.canvas.parentElement.appendChild(this.overlayContainer_);
/**
* @type {!Object<?,olcs.SynchronizedOverlay>}
* @private
*/
this.overlayMap_ = {};
}
/**
* Get the element that serves as a container for overlays that don't allow
* event propagation. Elements added to this container won't let mousedown and
* touchstart events through to the map, so clicks and gestures on an overlay
* don't trigger any {@link ol.MapBrowserEvent}.
* @return {!Element} The map's overlay container that stops events.
*/
getOverlayContainerStopEvent() {
return this.overlayContainerStopEvent_;
}
/**
* Get the element that serves as a container for overlays.
* @return {!Element} The map's overlay container.
*/
getOverlayContainer() {
return this.overlayContainer_;
}
/**
* Destroy all and perform complete synchronization of the overlays.
* @api
*/
synchronize() {
this.destroyAll();
this.addOverlays();
this.overlays_.on('add', this.addOverlayFromEvent_.bind(this));
this.overlays_.on('remove', this.removeOverlayFromEvent_.bind(this));
}
/**
* @param {ol.Collection.Event} event
* @private
*/
addOverlayFromEvent_(event) {
const overlay = /** @type {ol.Overlay} */ (event.element);
this.addOverlay(overlay);
}
/**
* @api
*/
addOverlays() {
this.overlays_.forEach((overlay) => { this.addOverlay(overlay); });
}
/**
* @param {ol.Overlay} overlay
* @api
*/
addOverlay(overlay) {
if (!overlay) {
return;
}
const cesiumOverlay = new olcsSynchronizedOverlay({
scene: this.scene,
synchronizer: this,
parent: overlay
});
const overlayId = getUid(overlay).toString();
this.overlayMap_[overlayId] = cesiumOverlay;
}
/**
* @param {ol.Collection.Event} event
* @private
*/
removeOverlayFromEvent_(event) {
const removedOverlay = /** @type {ol.Overlay} */ (event.element);
this.removeOverlay(removedOverlay);
}
/**
* Removes an overlay from the scene
* @param {ol.Overlay} overlay
* @api
*/
removeOverlay(overlay) {
const overlayId = getUid(overlay).toString();
const csOverlay = this.overlayMap_[overlayId];
if (csOverlay) {
csOverlay.destroy();
delete this.overlayMap_[overlayId];
}
}
/**
* Destroys all the created Cesium objects.
* @protected
*/
destroyAll() {
Object.keys(this.overlayMap_).forEach((key) => {
const overlay = this.overlayMap_[key];
overlay.destroy();
delete this.overlayMap_[key];
});
}
}
export default OverlaySynchronizer;
|
{
"project-settings": "Configuración del Proyecto",
"ofsketch-settings": "Configuración de ofSketch",
"editor-settings": "Configuración de Editor",
"keyboard-shortcuts": "Atajo de Teclado",
"reference-link": "Referencias",
"forum-link": "Foro",
"ofxaddons-link": "ofxAddons",
"bug-report-link": "Denunciar un fallo",
"upload-media": "Subir Media",
"close": "Cerrar",
"save-changes": "Guardar cambios",
"editor-settings": "Configuración de Editor",
"basic": "basico",
"advanced": "Avanzado",
"keyboard-shortcuts-note": "Ojo: Para encender los atajos de teclado, el editor tiene que estar seleccionado.",
"bugs": "Fallos + Problemas",
"submit-issue": "Compartir un Problema",
"version-update": "Actualización de la Versión",
"new-class": "Nueva Clase",
"rename-class": "Cambiar el Nombre de la Clase",
"delete-class": "Eliminar la Clase",
"create": "Crear",
"rename": "Renombrar",
"delete": "Eliminar",
"save": "Guardar",
"delete-class": "Eliminar la Clase",
"nevermind": "Nevermind",
"new-project": "Nuevo Proyecto",
"name-project": "Nombrar el Proyecto",
"name-project-prompt": "¿Qué quieres llamar este proyecto?",
"rename-project": "Renombrar el Proyecto",
"open-project": "Abrir el Proyecto",
"delete-project": "Eliminar el Proyecto",
"delete-project-prompt": "¿Seguro que quieres eliminar este proyecto?",
"task-queue": "Lista de Tareas",
"cancel-all": "Cancelar Todo",
"logger": "Registro",
"connection-error": "Error con la Conección",
"loading": "cargando…"
} |
This vid is definitely one of my favourites - I've even PUT it in My Favs!
I would love to see a sequel, maybe a little longer next time, but I would also like it to involve a different female Overwatch character - see what would happen if Mercy's staff ended up in the wrong hands. |
Q:
Obtaining the realised type for a Scala Class using macros
I have some problems with scala macros and identifying the realised type of a constructor.
Not sure if i am doing something wrong here or what the correct call would be.
From the documentation, it looks like typeSignatureIn should return the correct information, e.g. ClassTag[Int], but when I run the macro, I actually get ClassTag[U] which fails to compile as U is the type parameter, rather than the realised type.
import scala.language.experimental.macros
import scala.reflect.ClassTag
import scala.reflect.macros.Context
def macroImpl[T: c.WeakTypeTag](c: Context) = {
import c.universe._
val typeToMock = weakTypeOf[T]
val primaryConstructorOpt = typeToMock.members.collectFirst {
case method: MethodSymbolApi if method.isPrimaryConstructor => method
}
val constructorArgumentsTypes = primaryConstructorOpt.map {
constructor =>
val constructorTypeContext = constructor.typeSignatureIn(typeToMock)
val constructorArguments = constructor.paramss
constructorArguments.map { symbols =>
symbols.map(_.typeSignatureIn(constructorTypeContext))
}
}
println(typeToMock)
println(constructorArgumentsTypes)
c.literalUnit
}
def foo[T] = macro macroImpl[T]
class Foo[U: ClassTag]
foo[Foo[Int]]
running it:
scala> foo[Foo[Int]]
Foo[Int]
Some(List(List(), List(scala.reflect.ClassTag[U]))
I need to get the ClassTag[Int] somehow to be able to generate the correct Tree later, any ideas?
A:
Try using dealias at each place you resolve a type. Scala keeps references in place, even when it knows to what they refer. dealias gets you a copy (?) of the type that has the references replaced.
You should also choose either blackbox or whitebox macros, rather than just scala.reflect.macros.Context.
This seems to work:
import scala.language.experimental.macros
import scala.reflect.ClassTag
import scala.reflect.macros.whitebox.Context
def macroImpl[T: c.WeakTypeTag](c: Context) = {
import c.universe._
val typeToMock = weakTypeOf[T].dealias
val primaryConstructorOpt = typeToMock.members.collectFirst {
case method: MethodSymbolApi if method.isPrimaryConstructor => method
}
val constructorArgumentsTypes = primaryConstructorOpt.map { constructor =>
val constructorTypeContext = constructor.typeSignatureIn(typeToMock).dealias
val constructorArguments = constructorTypeContext.paramLists
constructorArguments.map { symbols =>
symbols.map(_.typeSignatureIn(constructorTypeContext).dealias)
}
}
println(typeToMock)
println(constructorArgumentsTypes)
q"()"
}
def foo[T]: Any = macro macroImpl[T]
class Foo[U: ClassTag]
foo[Foo[Int]]
Result
Foo[Int]
Some(List(List(), List(scala.reflect.ClassTag[Int])))
|
package org.zalando.nakadi.domain;
public interface PartitionEndStatistics extends PartitionBaseStatistics {
NakadiCursor getLast();
}
|
Methods for axolotl blood collection, intravenous injection, and efficient leukocyte isolation from peripheral blood and the regenerating limb.
The vertebrate immune system comprises both adaptive and innate immune cells with distinct functions during the resolution of inflammation and wound healing after tissue injury. Recent evidence implicates a requirement for innate immune cells from the myeloid lineage during the early stages of limb regeneration in the Mexican axolotl. Understanding the functions of innate and adaptive immune cells in the axolotl has been hampered by a lack of approaches to isolate and analyze these cells. Here we describe a protocol to isolate myeloid cells from the regenerating axolotl limb that incorporates intravenous delivery of physiological labels. In addition we provide a protocol to enrich for leukocytes in the peripheral blood. These protocols produce single-cell suspensions that can be analyzed using flow cytometry or sorted into specific subsets using fluorescent-activated cell sorting (FACS). FACS is a routine approach to sort cells based on their physical characteristics as well as their cell surface antigen repertoire. Isolated cell populations can then be analyzed in a wide range of downstream assays to facilitate a greater understanding of leukocyte biology in the axolotl. |
using System;
using System.ComponentModel.DataAnnotations;
using MVCBlog.Localization;
namespace MVCBlog.Data
{
public abstract class EntityBase
{
public EntityBase()
{
this.Id = Guid.NewGuid();
this.CreatedOn = DateTimeOffset.UtcNow;
}
[Display(Name = "Id", ResourceType = typeof(Resources))]
[Key]
public Guid Id { get; set; }
[Display(Name = "CreatedOn", ResourceType = typeof(Resources))]
public DateTimeOffset CreatedOn { get; set; }
}
}
|
We asked who you thought were the ten
best level designers ever for Doom and you responded. On the following
pages are the men that you, the Doomers of the world, picked as the cream
of the crop. Part of the elite. These are men that all touched the way
in which you played through Doom in some form or another. These are the
men who helped to change the course of Doom History and the way levels
for Doom are desgined. There have been many great level designers in the
time since Doom was released five years ago, and many new up and comers
since. But these are the men that stood out, for one reason or another
and have been given the title of Top Ten Doom Level Designers. It's
isn't by accident that half of the people listed here are currently making
games for a living. |
What Is the Future for Zoos and Aquariums?
Animal welfare concerns have plagued the professional zoo and aquarium field for decades. Societal differences remain concerning the well-being of animals, but it appears a shift is emerging. Scientific studies of animal welfare have dramatically increased, establishing that many previous concerns were not misguided public empathy or anthropomorphism. As a result, both zoo and aquarium animal welfare policy and science are now at the center of attention within the world's professional zoos and aquariums. It is now possible to view a future that embraces the well-being of individual captive exotic animals, as well as that of their species, and one in which professional zoos and aquariums are dedicated equally to advancing both. Though the ethics of keeping exotic animals and animals from the wild in captivity are still a contentious subject both outside and even within the profession, this study argues. We argue that this path forward will substantially improve most zoo and aquarium animals' welfare and could significantly reduce societal concerns. If animal welfare science and policy are strongly rooted in compassion and embedded in robust accreditation systems, the basic zoo/aquarium paradigm will move toward a more thoughtful approach to the interface between visitors and animals. It starts with a fundamental commitment to the welfare of individual animals. |
Cost-utility analysis of assistive technologies in the European Commission's TIDE Program. Technology Initiative for Disabled and Elderly People.
Socioeconomic evaluation is an issue dealt with in the European Commission's research program TIDE. The principles of cost-utility analysis have been examined for usability in the assessment of rehabilitative technologies. A case study, the choice of a type of wheelchair, is described to demonstrate how estimates of utility can be derived and how cost-utility ratios can be used to guide decision making. |
I studied nonlinear PDEs in grad school. My advisor, Ralph Showalter, would remind us occasionally what ‘nonlinear’ means.
“Nonlinear” is not a hypothesis but the lack of a hypothesis.
He meant a couple things by this. First, when people say “nonlinear,” they often mean “not necessarily linear.” That is, they use “nonlinear” as a generalization of linear. If a statement doesn’t hold for linear equations, it can’t hold more generally. So try the linear case first.
Second, and more importantly, you usually have to specify in what way an equation is nonlinear before you can say anything useful. If you’re not assuming linearity, what are you assuming? Maybe you need to assume a function is convex. Or maybe you need to assume an upper or lower bound on a function’s growth. In any case, focus on what you are assuming rather than what you are not assuming, and make your assumptions explicit.
Related post: Three views of differential equations |
# Cloud Trace V1 Protocol Buffer Documentation
These files are for the YARD documentation of the generated protobuf files.
They are not intended to be required or loaded at runtime.
|
Thus spake Vincent Renardias:
> % mips-linux-gcc -o pwgen pwgen.o -lm
> /usr/local/mips-linux/lib/libc.a: could not read symbols: Archive has no
> index; run ranlib to add one
>
> running mips-linux-ranlib on the given file does not change anything.
> (ie: still getting the same message)
Did you use mips-linux-ar to create the archive?
Many packages, I've discovered, don't listen to $AR in the
environment, and I used to get that error all the time.
Mike
--
#> Mike Shaver (shaver@ingenia.com) Ingenia Communications Corporation
#> Chief System Architect and Herder of Bits
#>
#> "Yoda say, `Just slap a little public key crypto into it' does not
#> a secure system make." -- Marcus J. Ranum (mjr@clark.net) |
Principe
Attenuation of certain facial fine lines or scars, by applying chemical agents that eliminate the superficial layer of the skin.
Indications
Lion’s wrinkle
Wrinkles around the eyes
Facial wrinkles
Age spots
Scars
Contre indications
Deeply pigmented skins
Duree
Varies according to the product used
Anesthesie
Unnecessary for smaller areas
Arret De Travail
None
Premiere Consultation
The first consultation with the surgeon is absolutely fundamental and cannot be substituted with simple paperwork. This meeting serves as a special opportunity to build mutual trust and enables us to fully understand your need.
You'll learn about the pros and cons of the planned procedure, allowing you to make a fully informed decision.
To answer all of your questions, a second consultation will often be necessary before the surgical procedure.
Principe
Attenuation of certain facial fine lines or scars, by applying chemical agents that eliminate the superficial layer of the skin.
Indications
Lion’s wrinkle
Wrinkles around the eyes
Facial wrinkles
Age spots
Scars
Contre indications
Deeply pigmented skins
Duree
Varies according to the product used
Anesthesie
Unnecessary for smaller areas
Arret De Travail
None
Premiere Consultation
The first consultation with the surgeon is absolutely fundamental and cannot be substituted with simple paperwork. This meeting serves as a special opportunity to build mutual trust and enables us to fully understand your need.
You'll learn about the pros and cons of the planned procedure, allowing you to make a fully informed decision.
To answer all of your questions, a second consultation will often be necessary before the surgical procedure. |
A strategy for oxygen conditioning at high altitude: comparison with air conditioning.
Large numbers of people live or work at high altitude, and many visit to trek or ski. The inevitable hypoxia impairs physical working capacity, and at higher altitudes there is also cognitive impairment. Twenty years ago oxygen enrichment of room air was introduced to reduce the hypoxia, and this is now used in dormitories, hotels, mines, and telescopes. However, recent advances in technology now allow large amounts of oxygen to be obtained from air or cryogenic oxygen sources. As a result it is now feasible to oxygenate large buildings and even institutions such as hospitals. An analogy can be drawn between air conditioning that has improved the living and working conditions of millions of people who live in hot climates and oxygen conditioning that can do the same at high altitude. Oxygen conditioning is similar to air conditioning except that instead of cooling the air, the oxygen concentration is raised, thus reducing the equivalent altitude. Oxygen conditioning on a large scale could transform living and working conditions at high altitude, where it could be valuable in homes, hospitals, schools, dormitories, company headquarters, banks, and legislative settings. |
If you are a genetic counselor supporting the Graham-Cassidy proposal to replace Obamacare, you are a rare bird. Most genetic counselors – most medical professionals – most Americans for that matter – are opposed to this bill, because it compromises our ability to provide basic, essential medical care for people in need. It is not in dispute that millions of American will lose health insurance under this bill. Those with health insurance will generally pay more for less. Many of the changes remove existing protections on which our patients are particularly reliant. Here are some examples:
PRE-EXISTING CONDITIONS
The bill will allow states to eliminate regulations on pre-existing conditions, so that people will risk losing coverage if they change or lose their jobs. This is a disaster for individuals with chronic health problems including genetic conditions, and potentially a disaster for individuals who carry susceptibility genes. Although you might make the case that GINA should protect those individuals in theory, in practice it becomes hard to draw the line for what constitutes an existing disease in an at-risk individual. For instance, if a Lynch Syndrome carrier requires special screening and has polyps removed, are they preventing disease or symptomatic? Will a subsequent carrier argue that they already showed signs of Lynch and therefore are not covered for further screening or colon cancer? The fact is that Obamacare arrived before these questions got answered, and there is a very real risk that GINA protections will be eroded when the actual lines between pre-existing and manifest disease are drawn.
PRENATAL CARE
The new law allows policies to limit or even eliminate coverage for prenatal care. This logic of this abomination – the disgusting and perverse logic to be voted on by a collection of doddering old men who apparently were not of women born – is that pregnancy is not a disease but a choice, and affects only subset of women, so that others should not be asked to bear the costs. This decision abrogates the most fundamental obligation of civil society, which is to raise the next generation. You have one job, civilization. One job.
Every politician who argues that it is not fair to ask everyone to pay for insurance that covers prenatal care should be asked if they believe it is fair to ask women to pay for policies that cover prostate cancer care. Or who it is they believe will care for them in the nursing home, or fight for them in their wars, or protect their streets or teach their grandchildren or write their history books if not the next generation of Americans.
But you see here I am getting worked up, and the very righteousness of this anger masks another aspect of this change that has particular resonance for genetic counselors: limiting access to prenatal care limits access to prenatal testing, and limiting access to prenatal testing to those with more money will mean that those genetic diseases and conditions for which we can test will change the essential nature of genetic disease – no longer something that happens to everyone, it will become an affliction of vulnerable individuals. I wrote about this in a recent essay, calling it the Ghettoization of Genetic Disease, and this bill will help make that dystopian prediction a reality in the near term.
LIFETIME CAPS AND DISABILITY CARE
The Graham-Cassidy bill eliminates protections on lifetime caps, meaning that many individuals with chronic conditions, including genetic diseases, may end up without coverage. In addition, the cuts to Medicaid and other federally funded programs would radically reduce support for individuals with disabilities.
On the surface, flat out, this is heinous and cruel. Beyond that, for the genetics community, this undercuts the promise we make, by implication, to every woman or couple who decides to move forward with a pregnancy affected by or at risk for genetic disease. Supporting choice in reproductive decision-making is not a simple matter of holding someone’s hand through a difficult day. Supporting autonomous decision-making as a field means fighting for those individuals and families to be supported throughout the lifecycle. The choice to live in a world that offers no support or resources is no choice at all for most people.
LET’S TAKE A STAND
It is extremely unfortunate that healthcare, a subject of mutual concern and importance to all Americans, is now held hostage to the ignorant, pettiness of slogans on signs that angry partisans wave at campaign rallies. No professional organization wants to get embroiled in party politics. On the other hand, there are times when everything you believe in is threatened and you have to take a stand. I believe this is one of those times.
I’m hardly alone in this. The AMA released a statement yesterday opposing Graham-Cassidy. So have many other groups representing healthcare professionals and patients, a number of them listed here in Jimmy Kimmel’s eloquent denunciation of the bill (comedians must lead when politicians are clowns, I suppose, and what else can he do when our government is beyond satire?).
So please, NSGC, make us proud with a statement against this terrible bill. Let’s take a stand for our values and, more importantly, for our patients.
Follow me on twitter |
Abducted in Syria Extremist Rebels Target Journalists
Radical Islamists embedded among the rebels in Syria are reportedly targeting foreign journalists for abduction. Instead of holding them for ransom, however, they use them as trump cards in their power struggles with more moderate rebel groups. |
The Harmony Sea lives up to it's name as a peaceful expanse traversed by gentile trade winds. The royal ships of the king, often sail from the safe Port Of Randorhaven, towards the Eastern Continent in order to trade with the inhabitants on the other side of the globe. Home of the Berzerker Island and Orkas Island. |
Q:
monthly payment and single payment in the same place
Good morning, I'm doing a payment area, where the user can buy a monthly product and a single purchase product, the project owner demands that the payment be the same for both forms, it can be on credit card or Bank slip. But it does not make sense to pay a product that is paid every month in installments with a single purchase. Would anyone have any suggestions?
A:
Good day, I think here should be a another process (with identical UI Design and logic, differing in a few variables getting from the api (in this case, the price and subscription period).
In step back you should ask the user (for example, radio button) which version of the subscription he wants to use.
Of course this UI wireframe is only example, when you spent time on this, i'm certain You find better & easier solution.
|
Matrix Morpheus
what if i told you
no one is forcing you to see the movie |
How to find plumber service professional?
Many people are aware that it would very difficult for them to face plumbing issues when it is not anticipated at all. Do you face an emergency type of plumbing problem at your home? In such cases, calling emergency plumber Toronto service is considered as a perfect solution for you. Through these plumbers, it is possible for you to get rid of your serious plumbing as soon as possible. You can depend on the service of plumbers in order to get your plumbing system back to normal immediately.
It is vital for you to take care of your plumbing system on a continuous basis. In the same way you should get immediate responses from the plumbers in case of emergency situations. Irrespective of the problem that you are facing in your plumbing system or you need to upgrade your system of heating, you can find that plumbers in Toronto have the capacity to solve your problems.
You can look for professionals as well as continuous support in all kinds of emergencies or plumbing fixtures at your home. You can also observe as to how these plumbing service providers work with you and hence, it will allow you to maintain your home without any plumbing issue on a continuous basis.
In the case of local Toronto plumbers, you can find that there are specific types of qualities. Whenever you are looking for drain rescue plumberservice, you need to find some plumber who is available in your vicinity. On the other hand, you need to search for a plumber who is available twenty-four hours of the day and seven days in the week. You have a broken pipe, plumbing overflow or some other immediate plumbing issue that requires immediate attention; you can get professional support from an emergency plumber Dundee.
You can find immediate help and get your plumbing problem stopped at once. It is also possible for you to schedule an appointment with these plumbers from Toronto if you are facing drips of water, leakages in large volume, or other areas of help. You can make sure that the plumbers from Toronto will rectify such issues and keep your home in the best possible order.
The plumbers from Toronto are licensed and insured and they can provide you quick and reliable general plumbing, specialized plumbing or emergency plumbing services. The technicians are well trained and equipped with the right type of tools to complete your plumbing job to your entire satisfaction at affordable costs |
Following the molecular mechanism for the NH3 + LiH → LiNH2 + H2 chemical reaction: a study based on the joint use of the quantum theory of atoms in molecules (QTAIM) and noncovalent interaction (NCI) index.
The molecular mechanism for the NH3 + LiH → LiNH2 + H2 reaction has been elucidated by the combined use of quantum theory of atoms in molecules (QTAIM) and noncovalent interactions (NCI) index. The topology of the electron density, obtained by QTAIM/NCI, is able to identify the evolution of strong and weak interactions, recovering the bonding patterns along the reaction pathway. Thus, the combination of these two techniques is a useful and powerful tool in the study of chemical events, providing new strategies to understand and visualize the molecular mechanisms of chemical rearrangements. Also, for the first time, the topology of the reduced density gradient has been analyzed, taking into account saddle points for the construction of bifurcation trees. This approach has demonstrated the ability of NCI to account for delocalized interactions, very often characteristic of transitions states. |
Are You Trying Hard To Overcome Your Sexual Dysfunction And Regain Your Manhood? Today majority of men suffer from a bad sexual health, this is due to an unhealthy lifestyle. If you are also unable to fulfill your and your partner sexual desire, then you might find Stim RX Male Enhancement helpful.… |
NEW YORK (CNN) -- This past weekend, Republican Senator Chuck Grassley of Iowa, the influential chairman of the Senate Finance Committee, seemed to throw cold water on President Bush's hopes for major Social Security change. And recent polls have shown that the public is also cool to the idea of private accounts, arguably the central element of President Bush's Social Security plan.
But as the Social Security debate continues to unfold, do not underestimate President Bush's ability to still get his ideas enacted. Indeed, even without broad Congressional or public support, President Bush just may have an ace up his sleeve. How might he enact his private accounts idea without such support, you may ask? By executive order.
Indeed, the Constitution has long provided the president with a certain amount of unilateral power to make policy. And from George Washington to George W. Bush, that power has frequently been used when presidents have felt stymied by Congress or the courts. Among some of the notable presidential directives (a broader category of unilateral presidential power that includes executive orders, proclamations, pardons, national security directives and more) are: the Louisiana Purchase, the Emancipation Proclamation, and the Japanese Internment Camps.
When President Clinton failed to get his health care plan passed in the mid-1990s, he experimented with portions of his program via executive order.
Similarly, if President Bush ultimately fails to persuade Congress (especially centrist Senators) to back his private account plan, he may sign an executive order for a smaller version of his plan, such as allowing federal employees to experiment with a heavily regulated form of private accounts. It clearly would not be his first choice.
He'd rather enact a broad national plan, passed by Congress and signed by him. But if he cannot get Congressional passage of an overall Social Security change plan (or even just the private account portion), President Bush just may use the executive order route to ensure that a test version is put into effect.
And while President Clinton was sometimes criticized for his bold use of executive orders, he had to be at least somewhat politically cautious because of the risk that Congress or the courts might overturn him. President Bush has less risk in that regard because of Republican dominance in both arenas. And thus, he may indeed be more aggressive in using the executive order to implement private accounts if his legislative efforts fail.
By the way, if President Bush uses the tool to change Social Security, it will be the fourth major arena in which he has meaningfully advanced policy using presidential directives. Indeed, he has almost single-handedly created his multi-billion dollar faith-based initiative through executive orders, allowing churches and religious institutions access to taxpayer money for drug treatment, mentoring and other social service programs.
Second, as The New Yorker's Seymour Hersh and others have reported, presidential directives have guided much of the covert war on terrorism. Third, President Bush has significantly relaxed regulations and oversight of a number of large business industries via executive order.
Critics of executive orders note that Congress and the courts rarely overturn such directives, thereby raising the specter of unchecked, un-reviewed and potentially even presidential abuse of power. Indeed, the Supreme Court has only overturned an executive order twice and Congress a mere four times in the past century. Perhaps in part because of this leeway, Harvard political scientist William Howell estimates that since FDR, presidents have increased use of unilateral power in significant areas by a factor of four.
So this fall, whether the issue is Social Security or what to do in the nuclear standoffs with Iran and North Korea, keep your eyes on the ace up President Bush's sleeve. |
add_snore_plugin(SnarlNetwork SOURCES snarlnetwork.cpp parser.cpp TYPE Frontend)
|
dir="${MAGISK_PATH}/system/vendor/etc"
if [[ -f "$dir/thermal-engine.current.ini" ]]; then
# 旧版
mode=`cat "$dir/thermal-engine.current.ini"`
elif [[ -f "$dir/thermal.current.ini" ]]; then
# 新版
mode=`cat "$dir/thermal.current.ini"`
else
mode=''
fi
echo $mode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.