text stringlengths 16 69.9k |
|---|
name your price
lyrics
What is property, what is capital in their present form? For the capitalist and the property owner they mean the power and the right, guaranteed by the State, to live without working. And since neither property nor capital produces anything when not fertilized by labor — that means the power and the right to live by exploiting the work of someone else, the right to exploit the work of those who possess neither property nor capital and who thus are forced to sell their productive power to the lucky owners of both. |
Intimate partner violence (IPV) is a widespread problem in the United States and among the vulnerable populations served by Administration for Children and Families programs. However, little is known about IPV experienced and perpetrated by the population of fathers served by the Office of Family Assistance?s Responsible Fatherhood (RF) grantees or about how RF programs address IPV in practice. The purpose of the Preventing and Addressing Intimate Violence by Engaging Dads (PAIVED) project is to outline approaches that RF programs could take to address and contribute to the prevention of IPV among fathers. The project will synthesize information about the prevalence of IPV among fathers and consult with practitioner and research experts in the fatherhood and related fields to identify unique challenges and considerations around addressing IPV in RF programs. It will then examine approaches that RF programs are currently taking to address fathers? experiences with or perpetration of IPV and examine existing curricula and other materials that RF programs use or could use to understand what information is include related to IPV. Finally, the project will identify gaps in currently used approaches and materials, discuss implications for RF programs, and outline approaches that RF programs could take to address and contribute to the prevention of IPV among fathers. The research methods include a literature review, review of existing curricula and resources, semi-structured interviews and focus groups, and site visits to RF programs. |
cmiVFX Launches New Video: Houdini Introduction To Particle Animation
cmiVFX | cmiStudios launches another Houdini Software Training Video for its customer base. Particle animation training has always been limited by selection. cmiVFX is proud to offer the most robust particle training for a large majority of animation packages. The INTRODUCTION TO PARTICLE ANIMATION VIDEO is geared towards training entry level individuals or those migrating from other animation packages. Video is about four hours in length.
Creating ParticlesEverything has a beginning, and a particle network in Houdini always begins with the creation of the particles. You will learn in this chapter the first steps for creating particles. We will be using a location emitter to demonstrate how and where to create those particles.
Location Node ParametersIn order to manipulate particles, the first parameters to change are in the the location node. Since it always begins with the creation, learning the parameters in this phase is a crucial achievement towards getting the most out of your project. During the explanation of the Location Node Parameters we also show the details view, an important place to visualize many of our particles parameters.
Emitting Particles From GeometryUsers are not limited to emitting particles from a location. You can also use custom geometry to emit particles from. Continuing in the particles creation phase, we will be discussing how to use geometry to emit particles using the source node. We will talk about its parameters and we will see how it can inherit velocity from the source geometry. Then we will end up creating a very simple basic rain example.
POP Network ParametersParticle placement can't really exist without a simulation. In the POP Network Node, we can control some of the simulation parameters. In this chapter of the video, you will learn about the parameters of the POP Network, which will prove very useful in several situations.
Initial StateSometimes users may just need particles to begin from a certain point in time, after the begining of the simulation. One simple and efficient way of achieving this is by using Initial State. In this section of the video, we will show how to create and import an initial state file, applying that to an example in which we will blow up a fruit bat into a number of smaller fruit bats.
Gravity And Force AttributesForces and dynamics are mandatory in order to drive simulations because they reproduce real life situations in a fast and easy way. Here we will begin with the gravity node and explain the basic force parameters. We will also show the property node, a very useful node that we will be using often later.
Fan-Wind-NoiseFan and wind are two important force nodes that can help you achieve many cool effects. Randomizing things with noise creates a more organic style of movement then with velocity or force used alone. This part will explain in detail those three nodes and how to use them in order to continue the bat example. (ending it by blowing up the bat to small bats.)
Planetary SystemsBeside smoke, fire and other widely used visual effects, particles can serve to a different type of effect simulation. We combine and explain a bunch of nodes such as the orbit, torque, group, drag and more in order to create a not so common effect with particles: a planetary system.
Commercial Soda Bubbles EffectThis chapter is all about making the bubbles in a glass of soda with complete detail. We will make them appear on the inner surfaces of the glass, change size with age, and float to the surface where they will burst when colliding with the liquid surface. We then talk about the collision node which is used for the collision of the bubbles with the surface. Continuing, will also show how we can make our particles interact with rigid bodies and collide with them without using the collision node.
Shading And RenderingWhat's life without color? Just an old black and white tv with bad reception. In this section, we will be using some of what we have learned in the previous sections to make an electric saw cut into a cube. Then we will learn how to give colors and alpha to the sparks emitting from the saw and change them with time. We show how we can use the render pop to change some of our particles attributes such as shape, and we will end up giving our particles some motion blur.
Sprites And RenderingSprites are a very important aspect of particle networks. They are fast, efficient, and allow you to create very interesting effects such as smoke, dust and more. This part will be dedicated to sprites, showing how to create them, color them, control alpha, and how you can attach textures or custom shaders to them all while setting them up for Mantra to render. |
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="%NAME">
<param name="browser-package" value="%NAME" />
</feature>
</config-file>
<js-module src="browser/src/%NAME.js" name="%NAMEProxy">
<runs />
</js-module>
</platform>
|
Different particulate systems--bypass the biological barriers?
The human body has adapted to defend against the aggressive biological or chemical agents. As a result, the defence mechanisms of the human body became barriers for the drug delivery. Theoretically, any problem that prevents a drug from reaching its site of action is considered to be a barrier to drug delivery. The aim of this article is to discuss the possibility of three types of nanocarriers (nanoparticles, liposomes, and solid lipid nanoparticles) to help the drugs to pass some important biological barriers (blood-brain barriers, skin, eye, and tumors) using different strategies/designs of drug delivery systems. |
It has been suggested that the visual system of cats reared without patterned-light visual experience (i.e. binocular deprivation) resembles that of the neonatal kitten. The object of the proposed research is to test this hypothesis by studying the functional properties of single units in the striate cortices of binocularly deprived cats and neonatal kittens. We aim to collect quantitative data on the orientation and direction selectivity and velocity selectivity of single units of such cats. We plan, as well, to study the receptive field structure (including inhibitory portions of receptive field) of striate neurons in binocularly deprived cats and neonatal kittens. |
Telluride Film Festival
Each Labor Day weekend, the tiny mountain village of Telluride, Colorado triples in size. Swells of passionate film enthusiasts flood the town for four days of total cinematic immersion, embarking on a viewing odyssey, blissfully spending entire days in flickering dark rooms. With only an appreciation of celluloid to guide them, these devotees flock to the show, year after year. Why? Blind faith. They don’t reveal the program until everyone lands in town. Yet the Telluride family trusts that a unique experience will unfold.
The Telluride Film Festival is not just a picture show. It is Tributes to luminaries who've propelled the medium forward; it is candid discussions with a film’s creator or the historian who champions it; it is discovering that the person in line behind you made the film you just enjoyed; it is engaging in lively debate with every manner of film lover in the summer sun of a Colorado afternoon, always minutes away from a new exhibition. Telluride Film Festival audiences were the first in the world to laugh with JUNO, to observe THE LIVES OF OTHERS, to visit BROKEBACK MOUNTAIN, to learn the secret of THE CRYING GAME, to experience BLUE VELVET, and to witness THE CIVIL WAR. They resurrected the silent epic NAPOLEON, and highlighted the genius of animator Chuck Jones.
The Telluride Film Festival take great pains to remain not a competition, but a celebration of the best in film—past, present and future—from all around the world. This is one weekend immersed in an unabashed carnival of film: viewing, breathing, eating, and talking cinema. This is The SHOW. |
Q:
Inverse relationship on Child's child
I'm trying to use core data relationships to make an an inverse relationship work between a child's child object.
Here is an example of what I'm trying to achieve:
I have a number of filing cabinets, each filing cabinet has number of drawers, each drawer has a number of files.
Filing cabinet has a to-many to Drawer
Drawer has an inverse to Filing cabinet
Drawer has a to-many to File
File has an inverse to Drawer
When I add a file to a drawer the drawer sets itself as the inverse on
the file however, I want an automagic cabinet inverse on a a file too. So i can do something like [file cabinet] as well as the standard [file drawer] Right now,
I can't create this particular inverse.
I know I could use [[file drawer] cabinet] but this is a simple example for my use case.
A:
Why not just add a method to your NSManagedObject subclass?
- (Cabinet *)cabinet;
{
return self.drawer.cabinet;
}
|
Q:
cakephp passing data to view after redirect
Is it possible to display data that I pass with $this->set() when there is a redirect to another page after the data setting?
Thanks,
EL
A:
Probably the easiest way is to store the data in the session with:
$this->Session->write('key', 'value');
and to read it later with:
$this->Session->read('key');
A:
You can use the session as mentioned above but if you don't want to save the data in a session you could use the dispatcher object, here is an example. I find it useful..
$login['Login']['username'] = $username;
$login['Login']['password'] = $password;
$this->autoRender = false;
$d = new Dispatcher();
$d->dispatch(
array("controller" => "users", "action" => "login"),
array("data" => $login)
);
|
Mercury, as a kind of toxic heavy metal, may injure nervous system, brain tissue and liver tissue after entering into the human body, and can accumulate in living creature and transfer around the world along with the food chain, thus having great harms. About one third of mercury discharged into the atmosphere comes from the mixed combustion process of coal or coal and wastes and the environmental protection pressure in China is tremendous because of the huge consumption of coal.
Considering that most power plants are now equipped with selective catalytic reduction (SCR) denitration devices and wet desulfurization systems, there is no need to add independent mercury removal equipment by oxidizing zero-valent mercury into bivalent mercury and then removing mercury in desulfurization system, which will help power plants to save pollutant control cost and have greater application prospect. However, low-chlorine coal is mainly used in power plants in China with lower HCl concentration in flue gas, while the current commercial SCR catalyst has a low mercury oxidation efficiency, which restricts the control of mercury in coal-fired power plants especially under the condition of low chlorine.
A Chinese patent CN102764655A discloses a new mercury removal catalyst which is prepared via pillared montmorillonite by mixing TOx (T refers to Cu, Fe, V) and ROy (R refers to La, Ce) with titanium dioxide. Such catalyst has high mercury removal efficiency, a certain anti-poisoning ability, no denitration capability and a complicated preparation process, and thus is not applicable for industrial application. |
Aldolase and actin protect rabbit muscle lactate dehydrogenase from ascorbate inhibition.
Muscle-type LDH (LDH-m4) activity is critical for efficient anaerobic glycolysis. The results here show that rabbit LDH-M4 is inhibited by concentrations of ascorbate normally found in tissues. Aldolase and muscle G-actin were found to protect and to reverse inhibitions of LDH-m4 by ascorbate. G-actins showed some species specificity. Myosin, tropomyosin and troponin from rabbit muscle and muscle proteins from other animal sources had no affect on the inhibitions by ascorbate. The substrate inhibition of LDH-m4 by pyruvate is partially relieved by the presence of aldolase and lowers the Km without affecting the Vm. G-actin under similar conditions has no affect. It is believed that these studies reflect some of the resting properties of glycolytic enzymes that bind and unbind to contractile elements. It is proposed that ascorbate facilitates the storage of glycogen in muscle at rest by inhibiting glycolysis. |
Categories
Information
Testimonials
Clair Ines - BALLINA NSW
Just wanted to say thank you again. As you can see, I have been using your ear candles for almost a year now. I really look forward to switching off and taking a break, to listen to the warm cracking crackling of the ear candles. I'm a firm believer that the body can and will heal itself when one focuses their intentions properly. Namaste.
Helen Mangas - MELBOURNE VIC
I have tried so many types of ear candles and your slim line type sit perfectly in my ears. They really are comfortable. They have a long burn time and my favourite part is always cutting the bottom opened to see the debris and wax that have removed from my ear canal.
Brad Simminson - TOWNSVILLE QLD
I am in my late forties and have accumulated my fair share of toxins over the years. The Detox Foot Patches have performed admirably in helping me to remove my toxic accumulation. I feel more refreshed in the morning and notice fluid retention has reduced. Its great to see when they have changed color to a blackish, toxic slime. Drinking lots of lemon water during the week helps too.
Mel Hunter - TUGAN QLD
I have tried many natural detox programs in the past but could never maintain them. Since I incorporated your detox foot patches over night, I have been able to easily see this latest detox programs through. The biggest upside is my increase in energy and clarity of mind. I feel I always get a better night's sleep when I am using the detox foot patches - thank you.
Pam Kawitz - TORQUEY VIC
Have been using pain patches for years. Eco PainEize are great for my low back pain and stiff neck pain. I put one on my lower back before bed time and next morning don't have the extreme stiffness. For the price, you can't beat them. Doesn't have that strong hospital smel and I love the natural Eucalyptus smell. I have already recommended to friends. Thank you!
Ed Chennard - CHATSWOOD NSW
These patches are perfect for me. I love my social sports, but also have arthritis in my knees and wrists. They work quickly for my knees. They take a bit longer for my wrists and work best when you cut them into the specific shapes to cover problem areas. |
Your Expat
Community in Zaragoza
Jacques Paillard
"At the InterNations Events, I didn't only enjoy dancing the night away at some great venues, but I also got to know some great friends. "
Katharina Berbner
"Thanks to InterNations, I found a good language school for expats to take intensive classes in Spanish and socialize a bit more. "
Get to Know Zaragoza's Community of Expatriates!
Hola y bienvenido a Zaragoza! The chances are that if you're reading this, you're either considering relocating to Zaragoza or have already done so and are settling into your new home. Either way, you probably have dozens of questions and concerns. You might be wondering whether you need a work permit — a Resedencia — or have queries about healthcare or the banking system. Perhaps you need to find out which are the best schools. What better place to ask than our private expat community at InterNations, where our members have all been where you are now and are only too happy to offer support and advice?
Join Our Exciting Events in Zaragoza
Find More Information in Our Zaragoza Expat Guides
Zaragoza is the capital city of the Zaragoza province and of the autonomous community of Aragon, Spain and is famous for its folklore, local gastronomy and landmarks. This article on moving to Zaragoza briefs you on the most important aspects of preparing your relocation, from housing to neighborhoods.
Zaragoza is growing in size and prominence, becoming more and more popular among expats. This article provides you with plenty of information on living in Zaragoza, including advice on culture and leisure, transportation, education and more.
Working in Zaragoza is becoming more and more popular for many expats-to-be. To learn more about the local economy, as well as business life in Zaragoza, from the job hunt to local taxation, read our InterNations Expat Guide.
Exchange Tips about living in Zaragoza
Get trustworthy advice and local insights from fellow members in our Zaragoza expat forums.
What Can You Expect from Expat Life in Zaragoza?
Zaragoza is the capital of the Aragón region in northeast Spain, on the banks of the Ebro River. It is home to the highly regarded University of Zaragoza and boasts numerous architectural gems while enjoying a lively and varied nightlife scene. Buying a home in the city is somewhat cheaper than in other major Spanish cities, while there is a good choice of rented accommodation to suit all budgets. Many head to Zaragoza to teach, while the plethora of bars and restaurants means there is no shortage of evening work. Away from the bustling bars of the old town, Zaragoza has many fascinating attractions such as the Centro de Historia, a free, contemporary art museum in the Magdalena district, and the basilica El Pilar, which is at the heart of the week-long fiesta in October.
InterNations: The Fastest Way to Build Your Expat Network in Zaragoza
InterNations is a unique community where you can meet fellow expats from various nationalities in a safe and secure environment. We organize regular social events in Zaragoza, including popular tapas evenings where members can get together for a chat — and of course to check out the fantastic tapas bars! Due to its excellent location, members can arrange trips to Madrid or Barcelona, or even to see the beautiful beaches of the Costa Del Sol.
Jacques Paillard
"At the InterNations Events, I didn't only enjoy dancing the night away at some great venues, but I also got to know some great friends. "
Katharina Berbner
"Thanks to InterNations, I found a good language school for expats to take intensive classes in Spanish and socialize a bit more. " |
Q:
jQuery ajax in js file
I am using ASP.Net-MVC3 and I use this query in
Layout.cshtml:
$(function() {
$.ajax({
url: '@Url.Action("EtiketGetir", "Etiket")',
type: "POST",
data: {
data: data
},
success: function(msg) {},
error: function(msg) {}
});
That works in layout.cshtml, but I copied that code and pasted to test.js file and it stopped working.
A:
That is because only razor handle the@ sign, but it doesn't do it with js files.
url: '@Url.Action("EtiketGetir", "Etiket")',
For solutions read this post:
asp.net-mvc: razor '@' symbol in js file
A:
i solved my problem to use this code
$(function() {
$.ajax({
url: '/ControllerName/IndexName/',
type: "POST",
data: {
data: data
},
success: function(msg) {},
error: function(msg) {}
});
|
Q:
How to modify word hyperlink with OpenXML
How can i modify the hypelink in Microsoft Word url from "http://www.google.com" to "MyDoc.docx" using OpenXml and .Net ?
I can obtain all hyperlinks in the document but can't find the url properties to change. I have something like this:
using (WordprocessingDocument wordDoc = WordprocessingDocument.Open(@"C:\Users\Costa\Desktop\AAA.docx", true))
{
MainDocumentPart mainPart = wordDoc.MainDocumentPart;
Hyperlink hLink = mainPart.Document.Body.Descendants<Hyperlink>().FirstOrDefault();
}
Thanks
A:
Unfortunately u could not directly change hyperlink path using OpenXml. The only way is to find HyperlinkRelation object for current hyperlink and replace it with hew object with same relation Id, but new hyperlink path:
using DocumentFormat.OpenXml.Wordprocessing;
MainDocumentPart mainPart = doc.MainDocumentPart;
Hyperlink hLink = mainPart.Document.Body.Descendants<Hyperlink>().FirstOrDefault();
if (hLink != null)
{
// get hyperlink's relation Id (where path stores)
string relationId = hLink.Id;
if (relationId != string.Empty)
{
// get current relation
HyperlinkRelationship hr = mainPart.HyperlinkRelationships.Where(a => a.Id == relationId).FirstOrDefault();
if (hr != null)
// remove current relation
{ mainPart.DeleteReferenceRelationship(hr); }
//add new relation with same Id , but new path
mainPart.AddHyperlinkRelationship(new System.Uri(@"D:\work\DOCS\new\My.docx", System.UriKind.Absolute), true, relationId);
}
}
// apply changes
doc.Close();
|
After a quick three day introduction to Europe by Star Tours, through a Paris tour, we were ready to embark on our exploration of Europe in Switzerland and Italy. After careful consideration of different options within RCI resorts, we had…
Having a background of farming I was always curious about farming in England. I still remember going to “Wadi” (Tiny farms in Vasai) and watering the plants using the “Vaaphe” (square shaped sections of fields), “Daand” (open earthen aqueducts) and… |
You might've heard the talk around town, that the Aylesbury's undergoing a bit of a facelift. All the talk is true. That being said, don't think that means you're unable to enjoy the delights of what was always arguably the Aylesbury's crowning glory - the rooftop.
Whatta rooftop. Is it one of Melbourne's best rooftops? Maybs. Maybe. In a town increasingly overflowing with sophisticated rooftop bars, the Aylesbury's remains endlessly popular, and the go-to for much of the city's weekend and after-work crowd.
The Aylesbury rooftop is found atop the corner of Lonsdale and Exhibition Streets, with views of all the attractive buildings that surround it. Parliament train station is a quick stumble away, and there are plenty of trams running along Bourke and Collins Streets. |
SPSS/Clementine
Currently SPSS/Clementine is installed to operate against our Teradata system, and when I check the DBQL logs to review who is doing what, I see that the user Clementine is running SQL. This user "Clementine" is a generic userid and password set up in Teradata.
Is it possible to configure SPSS/Clementine or Teradata so that the ACTUAL user id (person submitting the query) is captured in the DBQL logs instead of the generic Clementine id? Right now, I am unable to tell WHO is actually running jobs. All I can tell is someone is running a job and using Clementine to do it.
I am not familiar with Clementine enough to know where to even look for this option. |
American Sign Language (ASL) is the primary means of communication for members of the Deaf community in the United States and parts of Canada. ASL is a natural language with its own syntax, phonology, and morphological structure. Not being a spoken language, ASL uses movements of the hands, and body and facial expressions to convey linguistic information. The study of prosody in American Sign Language provides an opportunity to gain an understanding of intonation, rhythmic phrasing, and linguistic timing as they translate into the manual modality. The proposed work aims to contribute to the structural understanding of ASL prosody by: (a) describing its intonation and rhythmic structure, (b) comparing it with signed English, which is not a natural language, to determine which characteristics of rhythm and timing are language- or modality- dependent, (c) evaluating the applicability of the task-dynamic model to ASL in an attempt to describe underlying control mechanisms of its production, and (d) investigating entrainment in simultaneous speaking and signing as a contributor to production difficulties. The proposed experiments will utilize an on-line recording technique (WATSMART) to record the location of small infrared light emitting diodes (IREDs) placed on the index finger, web of the hand, and thumb of each hand and on each wrist and elbow. Signing will also be videorecorded with and without IREDs. Linguistic and kinematic analysis over a range of stimulus complexity will provide a description of production characteristics, which will be confirmed perceptually through studies using a tapping paradigm. |
Q:
syntax error, unexpected keyword_or scope
I'm running Feed.history but It's raising the error above at the title because of the scope line I use in Feed model:
scope :history, -> { or({:end.ne => nil}, {:end.lt => Time.current}) }
what and why?!!
A:
Try this
scope :history, where('$or' => [{:end.ne => nil}, {:end.lt => Time.current}])
|
Aminoacids and oscillatory electrocortical activity.
The effects of the local application of glutamate, aspartate, glycine, GABA and dl-alanine were studied upon the intact and isolated cortices of barbiturate anesthetized cats and upon the intact cortex of similarly anesthetized terrapin turtles. Repetitive responses following the DCR's, and the strychnine spikes, were observed, and sometimes a long duration oscillatory regular activity appeared after the treatment with those aminoacids. The oscillations had a frequency similar to that of the waves in a sleep spindle. They also occurred in the isolated cortex. The negativity of the DCR's may show different susceptibility from that of the negative component of the strychnine spikes, to the depressant action of the aminoacids. The conclusion is that the oscillatory electrocortical activity occurs in the cortex out from some subcortical influence. As a possible mechanism, it is suggested the establishment of a circus-movement type of activity involving the neurons and their dendritic apical and basilar branches. The aminoacids could act by favoring the opening of the low-resistance junctions present between dendrites, thus facilitating its synchronized activity. |
Q:
how can I achieve dynamic namespace imports in pylons / mako?
I am using pylons with mako as templating engine and I have a template which uses
<%namespace name="foo" file="../bar.html"/>
and
${foo.someFunction()}
to call someFunction(). This way it is working correctly, but now I need the file "../bar.html" to be changeable dynamically like:
<%namespace name="foo" file="${c.filename}"/>
where c.filename is set in the controller. This way it isn't working and I get the following exception:
NameError: global name 'c' is not defined
Everywhere else in the template ${c.filename} is working correctly.
Does anybody know how I can achieve this import dynamically?
Thanks in advance,
ashiaka
A:
It's working when I use:
<%namespace name="foo" file="${context['tmpl_context'].filename}"/>
respectively
<%namespace name="foo" file="${context['c'].filename}"/>
|
Need Money?
Thanks for Visiting
Welcome to Cary19 Online Bazaar!
This online store is powered by
Shop-Script FREE shopping cart software.
Shop-Script FREE is lite PHP shopping cart solution that allows you to create your own online store. Shop-Script FREE comes with fully open source code, and is free to use and modify.
This text is editable.
To edit open file languages/english.php in your text editor (e.g. Notepad). |
I am currently working in Beaconhouse School System, Clifton Campus, Karachi, Pakistan as a computer teacher of class IV and V.
What languages do you speak?
English and Urdu
What do you like to document about your world? or city?
*Video shoot center of town
* Video traffic at a busy intersection
* Video children playing in a playground, park, or yard
* Video outdoor workers, working
* Video lunchtime with schoolmates or family
* Video customers and merchants at a busy market |
CINCINNATI – Coming off a night in which the club set a USL single-season attendance record this past Saturday, FC Cincinnati has announced it will collaborate with Procter & Gamble and the Cincinnati Recreation Foundation as Community Partners to provide free co-ed soccer programs for children.
Designed for youth who would otherwise not have an opportunity to participate in organized soccer programs, the outreach effort will include instruction from FC Cincinnati’s professional players.
“The Cincinnati Recreation Commission is excited to be part of this community partnership as a means to leverage our commitment of providing health and wellness activities to our citizens,” said Daniel Betts, CRC director.
The Cincinnati Recreation Foundation is the non-profit arm of the Cincinnati Recreation Commission and advocates to promote CRC’s efforts to provide quality recreation opportunities throughout Cincinnati.
The clubs players will be “coaches” to the youth through the summer program, with CRC employees taking part as support staff.
The days include various “stations” at which FCC and CRC staff work together to educate children on health and soccer. Age-divided scrimmages end each day and give the children opportunity to implement their newly-learned skills. Each day also includes a guest speaker focusing on healthy living.
The club also announced the addition to its group of sponsors with the additions of Dr. David Beck, the Official Team Dentist of the team; Ignition Athletic Performance Group, the Official Performance Partner of FC Cincinnati; Sperry Van Ness, Uncle Bob’s Storage and Dunkin’ Donuts. |
Religious freedom is being killed in Mississippi. It has been for a few years now. And Christian fundamentalism is the murderer.
Mississippi is ground zero for religious anti-abortion fanatics. They’ve literally nearly outlawed abortion in the state in an effort to strip women of their reproductive rights. Mississippi is also the state where Republicans passed a law forcing public schools to give students an open forum to push their religious views onto others, something that mostly favors Christian students. And now, Mississippi is home to a school that has attacked religious liberty in the worst way.
Northwest Rankin High School in Flowood, Mississippi is under fire for allegedly forcing its students to attend and listen to Christian lectures during three assemblies held in April alone. Worse yet, students were barred from leaving and teachers blocked the exits to prevent any of them from doing so. One student was able to film one of the assemblies. As a result, a lawsuit has been filed on behalf of the students by the American Humanist Association. The organization filed the suit on Wednesday.
According to Raw Story,
“The assemblies showed a video laced with Christian messages about overcoming personal hardships through Jesus Christ and were allegedly led by local church officials.”
These church officials spoke about Jesus Christ dying “for our sins” and that the only way “to atone” for those sins is to accept Jesus. In other words, Christian officials were trying to indoctrinate students into the Christian religion whether they liked it or not.
Under the Establishment Clause of the First Amendment, such assemblies are unconstitutional because they violate the religious freedom of those who do not want to be in attendance. And since the school forced all of the students to be there and physically blocked them from leaving, these students were held against their will. That action is known as unlawful restraint and it is a felony. So this high school basically committed a crime in the effort to convert non-Christians to Christianity.
Whenever the Christian Right claims that religious freedom is under attack by the government, that’s simply a way to hide the fact that they themselves are attacking religious freedom. What is happening in Mississippi isn’t new. Similar instances are occurring in states around the country, where religious zealots have positioned themselves within state governments in an effort to shape the states with their sick and twisted version of Christianity. To date, North Dakota, Arkansas, Kansas, Virginia, Florida, Nebraska, Indiana, Tennessee, Kentucky, North Carolina, Alabama, Oklahoma, Texas, and Louisiana have all passed or seriously considered laws written based on an extreme religious view. These bills and laws are specifically designed to target reproductive rights, science, history, and other religions in an effort to declare America a Christian nation, even though the Constitution forbids laws that place one religion over another. But that is exactly what all these bills attempt to do. By introducing and passing such measures, states are favoring a specific yet misguided Christian viewpoint despite the fact that not every citizen is a Christian. Some practice Islam, some practice Judaism, some practice Buddhism, and some are even agnostics and atheists. And not even all Christians have the same views. But nevertheless, Republicans are endorsing one specific religious view, and that view is extreme fundamentalism, and extreme fundamentalism in any religion is dangerous. And when you have to stoop to the low level of holding kids captive in an effort to convert them, your religion is a bad one. |
Q:
Using .NET, how and why to use the memcached?
I hear much talk about memcached, but when briefly studied on it, I couldn't understand what advantages I can take instead of using the good old Dictionary<string, object> to cache my data in my applications.
Can someone explain it to me?
A:
As I understood after reading wikipedia and memcached.org it has at least following features
memcached acts like a service to your program, so if your program crash, memcached doesn't
it can be distributed amount servers (scalability!)
it is cache not just dictionary, so it can delete data if it likes to (no overflow)
similiar concept is not Dictionary<string, object> but HttpContext.Current.Cache, but still it is different
|
# -*- python -*-
load(
"@drake//tools/skylark:drake_cc.bzl",
"drake_cc_googletest",
"drake_cc_library",
"drake_cc_package_library",
)
load("//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
drake_cc_package_library(
name = "trajectory_optimization",
visibility = ["//visibility:public"],
deps = [
":direct_collocation",
":direct_transcription",
":integration_constraint",
":multiple_shooting",
":sequential_expression_manager",
],
)
drake_cc_library(
name = "sequential_expression_manager",
srcs = ["sequential_expression_manager.cc"],
hdrs = [
"sequential_expression_manager.h",
],
deps = [
"//common:essential",
"//common:symbolic",
],
)
drake_cc_library(
name = "multiple_shooting",
srcs = ["multiple_shooting.cc"],
hdrs = ["multiple_shooting.h"],
deps = [
":sequential_expression_manager",
"//common:essential",
"//common/trajectories:piecewise_polynomial",
"//solvers:ipopt_solver",
"//solvers:mathematical_program",
],
)
drake_cc_library(
name = "direct_collocation",
srcs = [
"direct_collocation.cc",
],
hdrs = [
"direct_collocation.h",
],
deps = [
":multiple_shooting",
"//math:autodiff",
"//math:gradient",
"//systems/framework",
],
)
drake_cc_library(
name = "direct_transcription",
srcs = [
"direct_transcription.cc",
],
hdrs = [
"direct_transcription.h",
],
deps = [
":multiple_shooting",
"//common/trajectories:piecewise_polynomial",
"//math:autodiff",
"//math:gradient",
"//systems/analysis:explicit_euler_integrator",
"//systems/analysis:integrator_base",
"//systems/framework",
"//systems/primitives:linear_system",
],
)
drake_cc_library(
name = "integration_constraint",
srcs = ["integration_constraint.cc"],
hdrs = ["integration_constraint.h"],
deps = [
"//solvers:constraint",
],
)
# === test/ ===
drake_cc_googletest(
name = "multiple_shooting_test",
deps = [
":multiple_shooting",
"//common/test_utilities:eigen_matrix_compare",
"//solvers:solve",
],
)
drake_cc_googletest(
name = "direct_collocation_test",
deps = [
":direct_collocation",
"//common/test_utilities:eigen_matrix_compare",
"//examples/rimless_wheel",
"//multibody/benchmarks/pendulum",
"//solvers:solve",
"//systems/primitives:linear_system",
],
)
drake_cc_googletest(
name = "direct_transcription_test",
data = ["//examples/pendulum:prod_models"],
deps = [
":direct_transcription",
"//common/test_utilities:eigen_matrix_compare",
"//multibody/parsing",
"//multibody/plant",
"//solvers:solve",
"//systems/primitives:symbolic_vector_system",
"//systems/primitives:trajectory_linear_system",
],
)
drake_cc_googletest(
name = "sequential_expression_manager_test",
deps = [
":sequential_expression_manager",
"@fmt",
],
)
drake_cc_googletest(
name = "integration_constraint_test",
deps = [
":integration_constraint",
"//common/test_utilities:eigen_matrix_compare",
"//math:gradient",
],
)
add_lint_tests()
|
Enhanced radical-scavenging activity of naturally-oriented artepillin C derivatives.
More than two-fold augmentation in the radical-scavenging activity of artepillin C could be achieved via altering the O-H bond dissociation enthalpy of artepillin C by means of structural modifications. |
“I have decided today to temporarily suspend the search for a new FAMU President. This is neither a commentary on the quality of candidates, nor a questioning of the search process. This is just a stark acknowledgment of the fact that FAMU’s accreditation is at risk, as it was placed on probation by SACS (Southern Association of Colleges and Schools-Commission on Colleges) in December.
We currently face a very tight timetable to prepare our detailed response to SACS, with key deadlines fast approaching. We have a highly-skilled team, led by Interim President Robinson, that is diligently working to prepare the report to SACS, due in August, and to ready FAMU for SACS' on-site visit in September. It would be irresponsible to disrupt their work at this critical juncture.
It would also be eminently unfair to bring in a new President as FAMU’s accreditation hangs in the balance. I have full faith that Interim President Robinson and his team will succeed in their effort and want to make sure they face no distractions or disruptions.
I also want to thank the members of the search committee for their work so far and our many esteemed candidates for their interest. I hope they understand my decision and remain ready to resume the search process after the university has addressed these critical issues,” said Badger.
All presidential search committee meetings for next week have been canceled. |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'use strict';
/**
* The error details.
*
*/
class ErrorModel {
/**
* Create a ErrorModel.
* @member {string} [code] The error code.
* @member {string} [message] The error message.
*/
constructor() {
}
/**
* Defines the metadata of ErrorModel
*
* @returns {object} metadata of ErrorModel
*
*/
mapper() {
return {
required: false,
serializedName: 'ErrorModel',
type: {
name: 'Composite',
className: 'ErrorModel',
modelProperties: {
code: {
required: false,
serializedName: 'code',
type: {
name: 'String'
}
},
message: {
required: false,
serializedName: 'message',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = ErrorModel;
|
It’s been just a little over a month since the release of Metal Gear Solid V: The Phantom Pain, but Konami’s pachinko company KPE recently filed a trademark for “Big Boss.” [Thanks, Hachima.]
Konami haven’t said anything regarding the trademark, which will cover games, trading card games, medal games, slot machines, pachinko, and board games.
While a service rep for the company recently said that Konami will continue making high-end console games, and while that remains to be seen for now, it looks like we’ll more than likely see a Metal Gear Solid: The Pachinko Pain before getting a new game for the main series. |
PS4 just KO'd the Xbox One by exclusively landing Street Fighter V
Also coming to PC
Hadouken! Capcom's just confirmed it's working on Street Fighter V, and the game's first teaser has revealed something pretty interesting: it's coming exclusively to PS4 and PC.
It seems someone at Capcom pressed the button too early as the trailer has now been taken down, but there were no other details to share beyond the fact that it's happening, and that it's not coming to Xbox One - at least for the time being.
There's always the chance this could turn out to be another finite exclusivity deal like Xbox's Rise of the Tomb Raider. Even if it is, it's a good retalliation move from Sony.
We've contacted Capcom to ask about the nature of this exclusivity deal and we'll update the moment we hear more. |
Add downstream RPC client/server classes that are the same as the
upstream ones.
This is part of a series of changes to downstream to allow for more
reliable communications between the daemon and applications. At this
time, the daemon never replies, so the RPC_REQ is basically used as a
way to publish events to the daemon. |
It is a very different God, and a very different power, that we have discovered in the story of divine self-emptying, God’s capacity for weakness, the ability – without loss of Godness – to suffer and perhaps to die. This is the triune God of Jesus, fulfilled, majestic, glorified through self-expenditure in the lowly ignominy of our farthest country. There is power here, resurrecting, death-destroying, Devil-defeating; but it is the power of love, defying human expectation, which flowers in contradiction and negation, allowing sin its increase and giving death its day of victory, but only the more abundantly to outstrip both in the fecundity of grace and life. To live in the face of death an Easter Saturday existence, trusting in the weak but powerful love of the crucified and buried God, is itself to be objective, turned outward, away from self-reliance and self-preoccupation, away from our own determination to conquer death, which is in fact self-defeating and destructive. Instead, we are invited bravely and with frankness to admit or own defenselessness against the foe and entrust our self and destiny to the love of God which in its defenselessness proves creative and victorious. |
Qarabagh - Neftci
Azerbaijan Premier League (Premyer Liqasi) video highlights of the match Qarabagh - Neftci. Watch highlights of Qarabagh - Neftci for free on Football Highlight. Enjoy highlights and all goals of every Azerbaijan Premier League (Premyer Liqasi) match.
*This form collects your name, email and content so that we can keep track of the comments placed on the website. For more info check our privacy policy where you'll get more info on where, how and why we store your data. |
Q:
How to run command within a prompt set by shell script
This is the process we perform manually.
$ sudo su - gvr
[gvr/DB:DEV3FXCU]/home/gvr>
$ ai_dev.env
Gateway DEV3 $
$ gw_report integrations long
report is ******
Now i am attempting to automate this process using a shell script:
#!/bin/ksh
sudo su - gvr
. ai_dev3.env
gw_report integrations long
but this is not working. Getting stuck after entering the env.
Stuck at this place (Gateway DEV3 $)
A:
You're not running the same commands in the two examples - gw_report long != gw_report integrations long. Maybe the latter takes much longer (or hangs).
Also, in the original code you run ai_dev.env and in the second you source it. Any variables set when running a script are gone when returning from that script, so I suspect this accounts for the different behavior.
|
First of all, there are no comrades detained. We clarified this already when yesterday’s information alerted everyone, but we now have definite confirmation that no comrades were arrested.
We are using this message to inform everybody that the raids and seizures continue in Porto Alegre and in its metropolitan area. The fact that these raids are not publicized as the previous ones were has meant we have not been as well informed this time. There are comrades who have better access to information which makes it easier for them to share the news, which helps a lot. Even so, it is important, and this is some self-criticism, not to get caught up in the instantaneous tempo of social media, as this can sometimes cause a wave of panic. Especially in times where there are compas who haven’t yet faced raids / repressions and when we still don’t know the magnitude of the State’s counterattack.
We also want to point out that this latest raid has its own peculiarities, but, as anarchists, we do not have to have (and hopefully will not have) arrested / detained comrades to continue to manifest our expressions of solidarity. |
Q:
Does visualization form intuitions, or do intuitions lead to visualization?
When I get an idea from something, it feels like sometimes an abstract, inexplicable intuition leads to a concrete visualization (and a chain of logic), and sometimes it's the visualization and the logic that leads to the intuition.
So, does visualization form intuitions, or do intuitions lead to visualization, and which is better?
It seems to me this is related to "tenor and vehicle." I'm thinking here of poetry, but not only of poetry.
Tenor and vehicle [are] the components of a metaphor, with the tenor referring to the concept, object, or person meant, and the vehicle being the image that carries the weight of the comparison.
https://www.britannica.com/art/tenor-literature
A:
So, does visualization form intuitions, or do intuitions lead to visualization, and which is better?
Yes!
From my study of biologically informed AI and neurology, I actually think the answer is both. Obviously what follows is my opinion on unsettled science of the brain; I will skip the IMO and state how I see it.
Clusters of neurons "model" or simulate something; meaning given some inputs, they process those and send signals to other clusters (their output is input to another cluster). They "recognize" a pattern in their inputs, and signal that recognition elsewhere; either higher or lower. A high level cluster can recognize that some object is a dog, or car, or tree. A very low level cluster can recognize a "line" and a slightly higher one can recognize it is horizontal, or vertical, or diagonal (btw those are real proven neural mechanisms in the visual cortex).
Even higher level clusters recognize words, physics, facial expressions (some people are damaged in this area), and predict "the future" in the sense of what is about to happen in the next few seconds.
We do not think in either words or images; we "think" in neural impulses traveling to neural clusters. When words appear in your mind, that is in the wake of a thought, the thought was a signal, the neural clusters in your head that recognize such a signal as being associated with a word will fire, and you feel exactly the same sensation as what happens when that word has been spoken. That's why it sounds in your head like speech, but the thought that triggered that speech is long gone.
The same thing is true for "seeing" things in your imagination. Actual sights (say a mountain) trigger corresponding neural clusters that model that object (hey I see a mountain), and then that cluster has links it is going to send to ten thousand other clusters informing them of a mountain in the field of vision. They too will fire, and some of them are linked to feelings about mountains (idiosyncratic to the person). But that same cluster, because it links all things about "Mountain", also links to the word (in your language) "mountain", so hearing that word (or reading it then the cluster that recognizes it triggers the internal "hearing" of "mountain") will trigger your "everything about mountains" cluster, and can evoke the same feelings as if you saw a generic mountain. It is just a general model, of course, if you see Mount Fuji or Everest, there are more specific memories or facts involved. If the mountain is described, even if it is fictional, you can build up a more specific model of it: It is high, steep, and the west side has great ski slopes; the peak is often shrouded in cloud, it is craggy and the east slope is a favorite of expert rock climbers.
Now if I tell you this mountain has wheels, your brain will cast around for things that have wheels that could work with a mountain. Aha! (inspiration) It is a large prop in a school play, and it gets wheeled out on stage for certain scenes.
So both things can be true. Both intuitions and images are "models" of how things work. New intuitions can suggest images of things that "work" very similarly. The benzene molecule is a ring, August Kekulé's (a chemist) had a dream that led to proving this was the structure of benzene; about a snake swallowing it's tail.
So one model (a snake forming a circle) can trigger a realization (intuition) that something else is similar. Or the subconscious realization (intuition) that benzene can only form a ring can trigger a model with a "ring" component; he might have thought of a wedding ring, a bicycle tire, a gear with six teeth, etc. For whatever reason in his brain, this snake image arose and helped to bring his subconscious realization into conscious thought. There is nothing about the benzene molecule that is a metaphorical "eating", but whatever works for you, Kekulé!
When trying to solve a problem, coming across an image (or anything) that has a component useful for solving the problem might trigger an intuition; Aha, I know how this works! Similarly, working through a problem and realizing a new model of how it most likely works can bring forth an image of something that shares many other characteristics.
That is how the mind works, this vast free for all of billions of neurons sending signals to each other all the time; not in words or images but signals. The words/sounds and images follow in the wake of thoughts, and can trigger other thoughts, but they are NOT "thoughts".
Which is better?
Probably intuition leads to an image, but either way has its drawbacks. Images are often metaphorical, and metaphors break down quickly; they don't go far in explaining something new. But if the explanation (insight) is what leads to the image, then you aren't relying on the image to tell you how it works. You know how it works, and the image is an aid in explanation, it doesn't bear the burden of being the explanation.
|
Q:
Windows Forms Application doesn't start properly when set up in Program Files
I intend to share a Visual C# application using a setup project in Visual Studio Community, however after several configuration fixes (application not finding a DLL, for instance), it has a strange behavior:
When opened using the generated shortcut or when it is located in Program Files (x86), it won't start, even though it is running in the task manager.
When opened using administrative rights, it opens flawlessly.
When copied in another folder than Program Files (x86), it opens flawlessly also.
I use the Visual Studio Installer to create the setup project. The problem is not that the application doesn't start, obviously, it is that it needs special manipulations after setup to be run by the user, which is of course something I try to avoid when sharing a program with a community.
So, is there some special configuration to use when creating a project so that an application can be run by any user without any "tuning" after the installation process?
Thank you for your answers! :)
~Stéphane
A:
Following @Steve indications, I investigated the way my program was working: it was trying to open its SQLite database in the same folder... with Read/Write access!! As it was not allowed to do so in Program Files (x86), it would freeze at initialization without any warning of any sort. When adding flags, it then ran with no issues:
SQLiteConnection db = new SQLiteConnection(Data.path, SQLiteOpenFlags.ReadOnly);
Hope this given solution will help others!
|
Q:
Div turns blue if clicked to much
I have a simple div that if clicked to much turns blue: JsFiddle
In Chrome its worse, the whole div(30x30px + some other surounding elements) turns blue. Is there anything I can do about this (other than using img)?
A:
Sorry for asking, but isn't this just you marking it by double-clicking it? The "blue" highlight effect would be the normal behaviour in all browsers...
If you do not want this behavior, you should make sure it is not selectable by applying styles:
-moz-user-select: none;
-webkit-user-select: none;
Updated:
For Internet Explorer, use the unselectable tag on your div:
<div class="right" unselectable="on">»</div>
|
Q:
send console error message if I forget to import a element
When putting together lots of elements I tend to forget imports. It takes me a long time to find out why my app is not working and when I suspect I forgot a import, to find in which element I forgot it.
Can polymer trow a console error message if it encounters a <-> element that has no polymer definition or uses a attribute that is not available?
example if I forget
<link rel="import" href="components/core-animated-pages/transitions/slide-from-right.html">
or just a custom element
<link rel="import" href="new-element.html">
Chrome will not complain at any point in the app running.
And if that would be possible could the other way around also be possible to scan for imports that are not needed?
A:
There are a couple of problems with building this sort of error checking directly into Polymer:
It's not actually an error to create a <foo-element squid="tentacles"></foo-element> that has no custom element definition. There are legitimate use cases for such things.
Testing for some of these problems can negatively impact performance.
However, it's clear that there is a large class of problems where some simple static analysis or run-time checking could save developers a lot of time.
The plan of record is to construct a dev-tool extension, at least on Chrome at first, that can take the time to do these analyses, and report a series of warning conditions, statistics, and other debugging info.
Stay tuned to the Polymer website for more information.
|
Using MF-NF-RO train to produce low salt and high nutrient value recycled water for agricultural irrigation.
The project investigated and demonstrated that using a selective nanofiltration (NF) membrane and a reverse osmosis (RO) membrane in sequence can produce recycled water with useful levels of nutrient ions, and lower the sodium absorption ratio (SAR) to minimise soil salinity. The recovery of nutrient and useful ions from the wastewater makes NF-RO treated recycled water an attractive option for agricultural irrigation. It was found that the addition of polyacrylic acid (PAA) significantly increased the rejection of divalent ions by SR2 NF element, and kept the sodium rejection largely unchanged. This effect enhanced the enrichment of divalent ions in the NF rejects, and allowed sodium ions to pass to the RO stage. The product water included NF reject and the RO permeate. Overall, the MF-NF-RO train with a PAA aided NF pre-treatment can produce a product water fit for agriculture irrigation purpose, and reduce the scaling on the RO membrane due to calcium ions which are removed by NF, leading to the higher RO recovery. This approach achieved overall higher water production with less waste for disposal. |
Learnist is a new site that is still in beta but looks promising. The site allows you to create "Learn Boards" on any topic you want to and then add "learnings" by linking to websites, online videos, blogs, images, documents, etc. It is similar to Pinterest in some ways. You can also collaborate with others on the same board.
You can search for existing Learn Boards by topic and search term. Here are some from "Education": |
Q:
Ruby code inside Javascript
I have a Ruby form that saves a city id value:
= select_tag 'building[city_id]',
options_for_select(cities.map{|c| [c.name, c.id]})
I'm saving that id using Javascript:
var city_id = $('#building_city_id').val();
My issue is that I also need a Javascript variable for a city name, which I can get using Ruby like this: City.find(@building.city.id).name.
I tried this code, but it doesn't wotk:
var city_name = #{City.find(city_id).name};
Where is my mistake? (I'm very new to Ruby)
A:
It doesn't work because the Rails server parses the html.erb view before city_id is defined.
city_id is a Javascript variable defined by the client browser after receiving the view which contains var city_name = #{City.find(city_id).name};.
You could do an Ajax call that would execute City.find(city_id).name on the server and fill var city_name with the response. Once you know the user has filled an input with some text you can use (i.e. city_id), you can make a call like so (put this either in the view or in a separate js file):
$.ajax({
type: "GET",
url: "/your_ajax_endpoint",
dataType: 'json',
data: {'city_id': city_id},
success: function(data) {
var city_name = data;
},
error: function(data) {
// Error handling
}
});
The endpoint in your controller would look like this:
def my_ajax_endpoint
city_name = City.find(city_id).name
respond_to do |format|
format.json { render json: city_name.to_json }
end
end
|
Subcellular localization of cyclic nucleotide phosphodiesterase type 10A variants, and alteration of the localization by cAMP-dependent protein kinase-dependent phosphorylation.
Our previous studies have suggested that two phosphodiesterase type 10A (PDE10A) variants, PDE10A1 and PDE10A2 transcripts, are mainly expressed in humans and that PDE10A2 and PDE10A3 transcripts are major variants in rats. In the present study, immunoblot analysis demonstrated that PDE10A proteins, especially PDE10A2, are more abundant in membrane fractions than in cytosolic fractions of rat striatum. Recombinant PDE10A1 and PDE10A3 were produced only in cytosolic fractions of transfected PC12h cells. By contrast, recombinant PDE10A2 was present mainly in membrane fractions. This finding agreed well with the result of subcellular fractionation of PDE10A in rat striatum. Immunocytochemical analysis showed that PDE10A2 was localized in the Golgi apparatus of transfected PC12h cells. PDE10A2 was phosphorylated by cAMP-dependent protein kinase (PKA) at Thr16. Interestingly, recombinant protein of wild-type PDE10A2, but not PDE10A2 mutant with an Ala replacement at Thr16, was distributed to cytosolic fractions by co-transfection with a plasmid encoding the catalytic subunit of PKA. A PDE10A2 mutant with Glu substitution at Thr16, which can be a mimic of phosphorylation, was localized in the cytosolic fractions of transfected PC12h cells. These observations implied that phosphorylation of PDE10A2 at Thr16 by PKA caused alteration of subcellular localization of PDE10A2 from the Golgi apparatus to cytosol. It is hypothesized that cAMP signaling in the Golgi area and the cytosol in neurons is controlled through alteration of subcellular localization of PDE10A brought by activation of PKA in response to intracellular elevations of cAMP. |
Chloe Dykstra Says She "Chose Not to Participate" in Chris Hardwick Investigation
It was announced on Wednesday that Hardwick will return to 'Talking Dead' after an investigation by AMC had concluded.
In a new statement, Chloe Dykstra says that she "chose not to participate" in the investigation of an ex-boyfriend she alleged had emotionally abused and sexually assaulted her in a June essay. The boyfriend is widely believed to be Talking Dead host Chris Hardwick.
Like Dykstra's original essay about the relationship on Medium, the new statement, published Thursday on Twitter, never names the ex by name but refers to a recent investigation. On Wednesday The Hollywood Reporterreported that Hardwick would return to Talking Dead after an investigation by AMC had concluded.
"I have been adamant since I came forward with my essay that I never set out to ruin the career of the person I spoke about," Dykstra wrote. "I could have provided more details on the matter but chose not to. I have said what I wanted to say on the matter and I wish to move on with my life."
Following Dykstra's allegations, AMC pulled Hardwick's talk show Talking With Chris Hardwick and replaced Hardwick on Comic-Con panels he was set to moderate. Hardwick has denied Dykstra's claims of sexual assault.
"I chose not to participate in the investigation against the person I spoke of. I do not believe in an eye for an eye, and therefore I have only shared my evidence with those who I felt should see it," Dykstra continued. She wrote that she shared her story so that people who have suffered emotional abuse "might not feel so alone."
The actress then referred to a TMZ story that alleged to present texts Dykstra and Hardwick had exchanged after their breakup. "Regarding closure, I wish I had been able to have a private conversation with the person I spoke about in my essay," she wrote. "Reaching out to him over texts made me vulnerable, and ultimately ended up in a tabloid article where said texts were chopped up and spun to discredit me."
Dykstra concludes by saying that she hopes her story will shed light on emotional abuse, and that she will be working with RAINN and other organizations going forward on the issue.
Read Dykstra's statements in full below.
I originally wrote my essay so I could move on with my life, and now I intend to do so. Thank you, again, to those who have supported me during this. pic.twitter.com/sjBEKGpY7v |
Highly regulated drugs or products may carry significant risks to patients. Risk Evaluation & Mitigation Strategies (REMS) may be utilized to minimize the risks of the highly regulated drugs or products. However, periodic assessments of a particular REMS may be needed to determine strategy effectiveness relative to the identified goals.
A survey can be used to assess the effectiveness of a particular REMS. Current survey solutions include telephone surveys or mailed surveys. However, telephone surveys are disruptive, impersonal, and expensive. Likewise, mailed surveys are impersonal, not timely, and have a less than optimal response rate.
Pharmaceutical manufacturers supporting a REMS need a cost-effective, statistically sound method to identify and survey patients or healthcare providers about their knowledge, understanding, and healthcare practices relative to the identified goals of a REMS. |
Q:
Newbie, not sure how to save the location of a draggable item in HTML within a Rails app using jQuery
First, I've googled and searched and read questions here on SO for hours, and am at my wits end...
I'm a Rails newbie (and pretty much new at all this), working on a task manager site as a project. I am trying to make a list of projects, in the projects/index.html.erb view, be able to be dragged around to a different position, and then be saved in that spot. So far I have figured out, using jQuery, how to make the project items draggable, and thats's great. But upon refreshing the page, it's back to the original list order. I made a gist of the files in question, which I will post below. Also, I found an answer to a similar question on here, but I don't have any familiarity with AJAX...I have this code in my project.js now, but I do not know what to do for the "put your AJAX call here" part (you can see it in my gist)...or if that is even the right thing to do. Any help on this, I would greatly appreciate it!!
https://gist.github.com/vtboyarc/a4d59c4dabce958f3788
A:
In your projects.js file:
$("#myList").sortable({
stop: function(event, ui){
$.ajax({
type: 'post', // this is your HTTP request type (typically POST if you want to write something)
url: 'url_for_your_controller_action_to_receive_ajax_request',
data: { 'data_key_you_want_to_pass_to_controller' : the_data_value },
success: function(msg) {
// msg is the value of the response from your controller action
}
});
}
});
I would read up on the Rails guides on AJAX for more info.
|
Q:
How to remove blur from UITextField keyboard
I have a UIPickerView that shows a list of countries, and I want the PickerView to have no background at all, also no blur effect, I managed to remove the color using this line of code:
picker.backgroundColor = UIColor.clear
yet, I could not remove the blur effect. Is it possible to remove it?
UPDATE:
I have just realized that the blur effect comes from the UITextField and not from UIPickerView, but still can not find a way around it.
A:
I found a trick that works, instead of trying to remove the blur from the keyboard I changed the background color of the UIPickerView to match the UIView background color using this line inside the numberOfRowsInComponent function:
picker.backgroundColor = UIColor.black
And if you are using a gradient color for your UIView background you can use this line:
picker.addGradientBackground(firstColor: UIColor.black, secondColor: UIColor.white)
But you have to manage the colors correctly to get the best results.
Also if you only have the hex values of the colors you can convert them to UIColor easily using this site
Additional note:
In my case, I was using a gradient color for my UIView background, and a function that moves UITextField when keyboard is presented which you can find here, thankfully this made it much easier, since I only needed to use only one color for the UIPickerView background which is the color at the bottom-most of the UIView background.
HTH
|
Subject to change.
Main menu
Post navigation
The measure of our government
These days, whenever there is criticism raised against one of their policies, the Conservative government, *most ignorant of what [it’s] most assur’d, asks that we mitigate any pesky details as “part of a package”. They want us to see them as having the full grasp of the big picture and to believe that they have a coherent and comprehensive plan to suit. The package always involves conjured projection and results in false economy, the effect of which is misery, division and fear-filled chaos. Just how much is down to carelessness and ineptitude or callous and deliberate disregard can be hard to discern.
Whatever the mix, they skim over most things with their blinkers on. Every promise is backed by revisionism or some impossible prediction, manipulated to complement an ideological agenda. They patronise with “look: these are difficult decisions” but they don’t have any difficulty, at all, in making their decisions. Rather, any difficulty the Government has is in the expanding audience that finds its words and deeds unpalatable. Every successful challenge to their preposterous machinations is to be congratulated but it behoves us to keep in mind that each occasion marks a tawdry default philosophy, yearning to dominate and manifest. It is not a philosophy divined through integrity, wisdom or justice. It does not contain respect or compassion for people and it makes little allowance for dignity.
The cheapest media salivates over each meme and event as though it were a turn in a Roman amphitheatre and the quality of coverage and scrutiny at the serious end is an intellectual hit-and-miss and, too often, occurring too long after the fact to be an effective holding to democratic account.
What kind of Society does this prevailing political machinery believe it is keeping secure? Not one within which to find stability and contentment. Which silly, self-absorbed playground values do its proponents believe they are upholding while they undermine or dismiss the universal values over which they love to claim mastery? We are quickening on the cusps of monumental shifts at every level and whether this heralds an age of enlightenment or darkness is being determined by how we respond to the present. Those that lead and inform and shape public discourse are dabbling with nuance and detail at their whim and at our peril. We are wasting time.
Domestic and foreign policies are mirrors to each other and together, they reflect the measure of our government and project the potential of our country.
It is perfectly reasonable and understandable to be worried about the motivation, competency and integrity of the people in control and their processional devotees. Why on earth should we believe that they truly care about people, the planet or peace? Look at how easily they treat disadvantaged and vulnerable people as burdens and threats. Look at how they causally disregard the environment. They are not in power for the love of Humanity, not at home or abroad.
Having serious reservations about, for example, Cameron’s Syria ‘plan’ does not mean that you are unpatriotic, a lefty pacifist, a coward or an appeaser of fascists. And railing against their cruel, socio-economic nonsense that threatens nearly every good thing about us does not mean that you are anti-business, envious of the rich, a ‘Corbynista’, a scrounger/shirker, or an extremist.
I am afraid. Not of the things our leaders tell us to be afraid of but because I fear that our leaders really do not have a clue what they are doing. And I am quite terrified that, actually, they do.
*’Merciful heaven,
Thou rather with thy sharp and sulphurous bolt
Splits the unwedgeable and gnarlèd oak
Than the soft myrtle; but man, proud man,
Dress’d in a little brief authority,
Most ignorant of what he’s most assur’d—
His glassy essence—like an angry ape
Plays such fantastic tricks before high heaven
As makes the angels weep; who, with our spleens,
Would all themselves laugh mortal.’
[Measure for Measure, II.ii] |
Localized cutaneous scleroderma.
Localized scleroderma in children includes morphea mainly on the trunk and linear scleroderma on the limbs, scalp, and face. Progressive systemic sclerosis is very rare in children and change from localized to progressive disease is extremely rare. Laboratory abnormalities occur with localized scleroderma, including eosinophilia, positive antinuclear factor (ANF), and increased immunoglobulin (Ig)G. The diseases are usually self limited, but involvement over bones may lead to marked functional impairment. Those on the face may be associated with underlying abnormalities and, occasionally, seizures. Treatment regimens are difficult to assess as there is no chemical marker, but penicillamine has gained wide use. It has numerous side effects and patients should be carefully monitored, particularly with regard to renal function. Other modalities have been used with variable success, but series of patients are small. Many medications produce skin softening in patients with progressive systemic sclerosis. The pathogenesis of skin sclerosis involves complicated interactions between vascular responses, lymphokines, and connective tissue proliferation. The etiology is completely unknown, despite a few cases associated with increased Borrelia titers. |
Safety and immunogenicity of adenovirus-vectored nasal and epicutaneous influenza vaccines in humans.
The increasing number and density of the human population, the emergence of lethal influenza strains, and the potential use of designer influenza virus as a bioweapon, collectively highlight a critical need for more rapid production of influenza vaccines and less invasive means of delivery. We have developed a nonreplicative adenovirus-vectored influenza vaccine that can be produced without the prerequisite of growing influenza virus. This new class of vaccines can be administered as a nasal spray or skin patch by personnel without medical training. We report here that adenovirus-vectored nasal and epicutaneous influenza vaccines were well tolerated by human volunteers. The nasal vaccine was more potent than its epicutaneous counterpart under the adjuvant-free experimental condition. These results provide the foundation for further human testing of needleless vectored vaccines as promising alternatives to current vaccines. |
EXCLUSIVE: The CW pilot Kung Fu has found its star in Legacies‘ Olivia Liang. She will headline the reimagining with a female lead of the 1970s David Carradine-starring TV series, which comes from Christina M. Kim, Martin Gero, Greg Berlanti, Sarah Schechter and Warner Bros TV, where Kim, Gero and Berlanti Prods. are under deals.
Primetime-Panic Your Complete Guide to Pilots and Straight-to-Series orders See All
WBTV
Written by Kim and inspired by the original series created by Ed Spielman, in the new Kung Fu, a quarter-life crisis causes a young Chinese-American woman, Nicky Chen (Liang), to drop out of college and go on a life-changing journey to an isolated monastery in China. But when she returns to find her hometown overrun with crime and corruption, she uses her martial arts skills and Shaolin values to protect her community and bring criminals to justice — all while searching for the assassin who killed her Shaolin mentor and is now targeting her.
Liang joins previously cast Tzi Ma and Kheng Hua Tan, who play her parents, as well as Jon Prasida, Shannon Dang and Eddie Liu.
Kim and Gero executive produce via Gero’s Quinn’s House Production Company, which produces in association with Berlanti Prods. and Warner Bros TV. Berlanti and Schechter executive produce for Berlanti Prods.
Chang’s casting in the CW/WBTV pilot Kung Fu pilot comes on the heels of her joining the network and studio’s drama series Legacies as a recurring earlier this season. She plays Alyssa Chang on The Vampire Diaries offshoot.
Liang’s previous credits include Dating After College and guest shots on Grey’s Anatomy and One Day at a Time. She guest stars on the current second season of Hulu’s Into the Dark. Liang is repped by Abrams Artists Agency. |
Worldwide hernia repair: variations in the treatment of primary unilateral inguinal hernias in adults in the United Kingdom and in low- and middle-income countries.
In this invited commentary, we aim to quantify and explain the variation between, and also within, developed healthcare systems (using the UK as an example) and low- to middle-income countries (LMICs). Rather than including complex cases, we have looked only at 'uncomplicated' primary unilateral inguinal hernias, an area where limited variation may be identified. Data were obtained from Hospital Episode Statistics and structured surveys in the United Kingdom and in low- and middle-income countries. There is widespread variation in the repair of 'uncomplicated' primary inguinal hernias worldwide and within developed healthcare systems. |
Be open with patients about life after cancer.
It is vital to tell patients about potential long-term side effects after cancer diagnosis. Thousands of people who have already had the devastation of a cancer diagnosis might be completely unaware they are at increased risk of developing serious illnesses such as heart disease, lymphoedema or fertility issues. |
I almost totally forgot to actually upload this today, haha. Whoops!The mermaid shrimp, so named because of its iridescent mermaid fin-like appendages which, if preserved correctly, make for fantastic jewelry. The rest of it's just delicious in a seafood dish.Patreon: www.patreon.com/CuttlefishDrea… Facebook design page: Cuttlefish Dreamer Designs |
Q:
Is vector photography possible?
Of course any bitmap image can be vectorized, but might we ever reach a point where a camera can make an outline image that looks exactly like a photograph? Could the resulting image even be considered a photograph, and if not, what defines a photograph?
A:
I think the problem here is one of level of detail. While vectorization works great for making an image that can scale infinitely, it relies on firm patterns that can be mathematically described.
Unfortunately, real life is full of imperfections and variations that make it impossible to describe in a pure vector format, at-least with any meaningful gain. We could theoretically make a vector format that maps every single pixel, but then we'd have a raster image that couldn't scale any better than a normal raster image.
Image and video compression are already the applications of the kind of thinking you are talking about. They look for the patterns that can be identified to reduce the storage required and when using lossy compression, they bend the rules further to get a match so that they can reduce the amount of information necessary to represent the image.
Vectorizing the image is another level of extreme for this, but you will notice that the image quality always drops significantly when such vectorization is applied (due to the loss of the random information that makes a photo look like real life.)
As for whether a vector image of a scene is a photo or not. I think that's a really hard question to answer. Personally, I'd say yes, if it is a rendering of real life based on sampling the light (regardless of how lifelike it may be), I think that it probably could be considered a photograph, but I could also see how someone might see it as more akin to a painting at that point as well. I don't think there is a strong line answer there.
A:
Such cameras exist today such as those used to survey road accident sites.
Those cameras create a 'point cloud' of vector distance measurements based on reflected laser light and there is no need to be evenly spaced or co-located pixels although they normally are (as it's easier to do it that way). There are ways which that captured image can then be displayed using interpolated projections (including on vector displays as used to be used by CAD operators in days gone by) or by printing using either material removal (like CNC) or an additive process (such as Selective Laser Sintering.) There's no reason why such a camera couldn't record colour information and they may even do that anyway.
The word Photograph is a compound of Photo (light) and Graph (record) as such, yes it would be photography as it would be recorded light.
|
Review: Drug-induced neutropenia--pathophysiology, clinical features, and management.
Drug therapy plays a significant role in causing neutropenia. The neutropenia may be immune mediated or due to direct inhibition of the bone marrow precursors. Recently, due to wide use of chemotherapy, febrile neutropenia has become a common and devastating problem. Neutropenia predisposes to many bacterial and fungal infections with organisms including gram negative bacilli such as E. coli, Klebsiella, and Pseudomonas; gram positive organisms such as Staphylococcus, Streptococcus viridans, and Enterococcus species; and fungi, like Candida and Aspergillus. In addition to the customary supportive care for neutropenic patients, therapy with recombinant human granulocyte colony-stimulating factor (rG-CSF) (filgrastim) has been shown to be beneficial. Filgrastim was a significant advance in the management of drug induced neutropenia in the past decade, but therapy with pegfilgrastim (a pegylated, long-acting form of filgrastim) ushers in the current decade. Pegfilgrastim (Neulasta) is administered as a single s.c. injection once per chemotherapy cycle. This results in fewer injections, fewer patient visits to the physician's office, and better patient compliance with therapy. |
# frozen_string_literal: true
require "open-uri"
require "time"
require "rexml/document"
class Admin::ThemesController < Admin::BaseController
def index
@themes = Theme.find_all
@themes.each do |theme|
# TODO: Move to Theme
theme.description_html = TextFilter.filter_text(theme.description,
[:markdown, :smartypants])
end
@active = this_blog.current_theme
end
def preview
theme = Theme.find(params[:theme])
send_file File.join(theme.path, "preview.png"),
type: "image/png", disposition: "inline", stream: false
end
def switchto
this_blog.theme = params[:theme]
this_blog.save
this_blog.current_theme(:reload)
flash[:success] = I18n.t("admin.themes.switchto.success")
redirect_to admin_themes_url
end
end
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{extract_key_from_url}
\alias{extract_key_from_url}
\title{Extract sheet key from a URL}
\usage{
extract_key_from_url(url)
}
\arguments{
\item{url}{character; a URL associated with a Google Sheet}
}
\description{
Extract a sheet's unique key from a wide variety of URLs, i.e. a browser URL
for both old and new Sheets, the "worksheets feed", and other links returned
by the Sheets API.
}
\examples{
\dontrun{
GAP_URL <- gs_gap_url()
GAP_KEY <- extract_key_from_url(GAP_URL)
gap_ss <- gs_key(GAP_KEY)
gap_ss
}
}
|
Oakland High students report having witnessed bullying at the school but aren’t exactly sure why it happens.
Junior Josue Cruz said that bullying affects students “mentally and educational wise may lower their self esteem”.
Bullying has always affected students all around the world in every school and in social media. Kids get attacked in social media for their appearance and things they post.
Our students that are getting bullied don’t want to deal with school and they don’t feel safe coming to school, said junior Jessica Dam. `
Students had some ideas about how we as a school could help students who are being bullied.
“We could try to be positive around them and let them know that they can depend on you,” said Dam.
The scholars at our school that are getting bullied feel alone, unsafe and have a low self esteem coming to school, said Cruz.
Dam said we can all come together to stop the bullying and make our students feel safe. If we see something, she said, we should speak up save a life. The Wellness Center has administrators who can talk to the students about how they feel and what’s going on. |
Marine Mammals
Dr Steve Van Dyck
Senior Curator - Mammals and Birds
Biodiversity Program
Transcript
Hi, my name’s Steve Van Dyck and I’m the senior curator of mammals and birds here at the Queensland Museum and today I’m just going to talk about some feeding adaptations in marine animals; talking about the way that they deal with a very common animal that lives in the southern oceans, lives all over the world, in cool waters. This is the little animal we call the krill. Most people think it’s quite small, but in fact they’re really quite large prawn-looking animals.
And how do you deal with something so small when you’ve got to take huge quantities into your mouth? Well, there’s a couple of ways you can approach this problem. I’m going to talk about whales – how whales do this – and also some seals. Now, in the whales, the cetacean, the order Cetacea, there are two sub-orders: those whales that have got teeth, often as big as this, as in a sperm whale. They’re called odontocetes. ‘Donto’, is of course, anything to do with dentists, anything to do with teeth; orthodontist. So, a lot of the whales have got teeth but a lot of them haven’t.
A lot of them have this bristly stuff, which if it hangs from your upper lip, looks a bit like a moustache, I guess; and those animals belong to the suborder Mysticeti. This material is the material that is used to help sift out millions and millions of these krill from the cold waters where they occur. And how do they do this? Well, these bits of baleen – they’re made of keratin, a bit like our fingernails - and they’re stacked side by side into a curtain, if you like. Now imagine all of those, stacked domino-like and laid in the top of the upper jaw.
Now here’s a big part of this baleen from a blue whale. We can tell it’s a blue whale because the baleen is always jet black. One side is un-frayed; the other side is very, very furry. You can see this from the single plate that I’ve taken off this – very, very furry and frayed on one side, and un-frayed on the other. Now, a blue whale will take into its mouth a huge amount of water, forty tonnes of water at a time, because the lower part of the skin of the jaw is pleated. So it takes a huge gulp of water and because this is hanging like this, from the upper part of the jaw, and the fraying part is inside, the animal pushes its tongue up like that, and all the water is forced out, squirts out, through that side, and of course, the little tiny krill, these things here, are left inside. So the animal can swallow that down in a huge lump and a blue whale will eat forty tonnes of krill in a single day. It’s extraordinary.
Now, on the other side of the coin, we’ve got seals that have amazing adaptations for dealing with these same creatures. This seal here is an Australian fur seal, which eats mostly fish and squid and you can see the dentition is what you would expect from a carnivore, just a bit like a dog. But in this animal here, the Crabeater seal, there are spectacular adaptations in the teeth. This is half the jaw, the other half isn’t here, but if you have a look at this jaw here, you’d wonder what are these amazing little furrows in the cusps of the teeth, making those teeth multi-cusped, if you like. Let me just tell you that a Crabeater seal does not eat crabs. A Crabeater seal eats krill and the way it does this is to take again, a large mouthful of water and krill, these little shrimps, close the mouth, pull the gums up, and force the water out through these tiny little furrows, these little cut marks in the teeth. The water shoots out as if in a sieve and then, of course, the krill can be eaten. So just a couple of adaptations but amazing adaptations for animals to deal with a small and slippery customer like the krill. |
Show HN: Database of top domains on Reddit - qwerty2020
http://www.find-me.co/domains
======
tqkxzugoaupvwqr
I sorted domains by upvotes descending and got pages only consisting of
i.redd.it and i.imgur.com entries. Don’t understand why results are not
grouped by domain.
~~~
qwerty2020
thought people would find it interesting to view subreddit-level detail.
swapped it to shown domain grain for now
|
People always ask me, “What’s a Netduino and how do I use one?” The Netduino is an open source microcontroller similar to an Arduino, except it is programmed using the common Visual C# .NET programming language developed by Microsoft. This makes it perfect for people that are already familiar with .NET environment and don’t want the hassle of learning another variation of code.
Thanks to the Maker Shed’sGetting Started with Netduino Kit, learning to use it is easy! This full featured package includes the Getting Started with Netduino book by Chris Walker, the creator of the Netduino platform. By following along in the book and using the included components you’ll learn how to:
I am the Evangelist for the Maker Shed. It seems that there is no limit to my making interests. I’m a tinkerer at heart and have a passion for solving problems and figuring out how things work. When not working for Make I can be found falling off my unicycle, running in adverse weather conditions, skiing down the nearest hill, restoring vintage motorcycles, or working on my car. |
Showcase
With the Fairy Queen poisoned and the Dark Prince set to take over the fairy kingdom for his own evil ends, a brave fairy sets off to get help.
With a pinch of fairy dust and a magic spell, Al is transported to our world, where she lands in Teddy’s garden shed, in the middle of Greenwich.
An electronic wizard who likes building robots, Teddy agrees to help Al. Her mission is simple: she must use her robots in a decisive battle against the dark forces.
Can Teddy and Al work together to save the day before they run out of time, or will The Dark Prince and his henchmen plunge the fairy kingdom into chaos?
Find out in Teddy and the Dark Prince. |
Mountain View Real Estate
Mountain View real estate is very well located right between the peninsula and the south bay area. Its location in the heart on Silicon Valley gives has kept its home prices relatively high. Mountain View real estate played an important role during the tech boom with many tech related companies having headquarters or buildings with in the town. Mountain View homes for sale come in many varieties. There is everything from New Town home communities to older more established neighborhoods.
Mountain Vew real estate is known for its fantastic schools. It has many of the higher rated schools in the area. Mountain View has a variety of homes for sale. You can find established neighborhoods with older homes, you can find new developments. A very popular area is Mountain Views downtown area real estate. There are many upscale restaurants, places to shop, all within just a few city blocks. The homes for sale in downtown mountain view also have direct access to the cal-train and the light rail system. Many of the town’s residents use these public transportation methods to get to work on the peninsula, in the city, or in the south bay.
The prices of homes for sale in Mountain View California have survived the real estate crash better than most of the state due to its very desirable location. |
Jacki Gordon
Jacki and Looka
Jacki resigned from the Scottish Government to be at home and satisfy her yearning for a dog, and – six years on – still marvels at the positive impact that her scruffy Lurcher, Looka, has had on her life.
Trading her long career within the public sector for that of a self-employed consultant, she has continued to specialise in deepening the understanding of mental health and wellbeing, including how people can be helped to flourish, and feel more positive and happier in themselves.
Jacki’s book successfully and delightfully combines her passion for dogs and her long-standing interest and expertise in mental health. |
In "Terminal Miami", Choire Sicha chronicles his first impressions of his new, reptile-infested town. -- image by Patrick Leger
Choire Sicha, co-editor of The Awl (tagline: “Be Less Stupid”), has contributed an essay called “Terminal Miami” to the New York Times “Townies” series about his move from the Big Apple to the Magic City. Preciously, the reason given for the series’ Miami vacation — “Townies” pieces are usually about life in New York — is that it is spring break. Backhanded raisons d’être notwithstanding, Sicha’s piece is excellent, a well-written, funny, outsider’s account of our strange city, with its car-horn soundtrack and reptiles and “Jello-y air”, that rings true to this native. Here’s an excerpt:
Immediately Miami seemed to be about things crashing into things. The woman who, head down, drove round the corner of the parking garage and slammed into the front of my car without so much as braking. The pelican that splat-bounced off the windshield. (There is, it turns out, no amenable city or county hot line to call about a struck pelican.) The star cracks left in the glass by some millionaire’s dazed gardener on a green street in Miami Beach, leaf-blowing pebbles traffic-ward. Beyond the front seat, there was also the news spectacle of the police officer who, trying to impress a woman, drove an all-terrain vehicle over people waiting at the shore for sunrise. On the sides of the roads, there were always fresh wrecks; fenders and hoods and bits everywhere, girls’ faces in their hands. Everyone coming to a near-stop to watch.
In fairness, I do a lot of that kind of thinking, and I love it here. Maybe it’s something about being at the southern tip of a long peninsula jutting out of a big country that makes one stare at airplanes with extra longing. Anyone? |
The present invention relates to orifice assemblies for fluid flow conduits and more particularly to orifice assemblies for increasing the resistance to fluid flowing through such conduits. The present invention has particular application in forced circulation steam generating units. In steam generating units constructed to operate with forced circulation, a multiplicity of steam generating tubes are connected to a common header from which they receive their supply of water thereby forming a multiplicity of parallel tube circuits in which steam is generated. The common header is connected to the discharge of a pump which receives its water from a steam and water separating drum. The tube circuits discharge the steam and water mixture into the steam and water separating drum.
In the past, orifices or other flow restricting means have been employed at the entrance of each of the multiplicity of tubes for controlling the distribution of water from the common header to the individual tube circuits. A high flow resistance is required to assure uniform flow distribution and prevention of flow reversals in shaded water wall panels and flow starvation of adjacent tubes in the event of a single tube rupture. In connection with the latter aspect of flow starvation, the orifices serve to throttle or choke the flow to the ruptured steam generating tube. This then insures that the remaining mass flow from the common header will be distributed to the remaining, nonruptured steam generating tubes.
Present day means of securing the orifices into the tubes are as follows: First a ring is welded into the inner surface of each tube. Then a plate having a suitably sized orifice therein is mechanically clamped to the ring. This type of fastening has the advantage of being able to replace the orifice plate at a later date if it is determined that the wrong sized orifice has been placed in some of the tubes, or in the event the orifice plate becomes corroded to the point of being inoperative. This type of securing orifices in tubes also has some disadvantages. Because of the requirement of welding in the ring, it is an expensive procedure. Also because the ring and its associated orifice plate is located in a horizontal component of the tubes in many instances, it is not possible to completely drain the tubes during a shutdown period, or when the tubes are given an acid-wash. Also in high pressure steam generators, such as one operating at supercritical pressure, there can be considerable leakage of fluid between the orifice plate and the welded-in ring, making the orifice ineffective in accurately throttling the flow a desired amount. |
cAMP directly facilitates Ca-induced exocytosis in bovine lactotrophs.
We have used the whole cell patch clamp technique on single prolactin-secreting bovine lactotrophs to measure plasma membrane capacitance (Cm), an index of membrane surface area, under voltage-clamp during cytosol dialysis with Ca and cAMP. cAMP increased the magnitude and rate of Ca-induced exocytosis (Cm increase) without affecting membrane conductance; however, cAMP had no detectable effect on Cm when intracellular Ca was low. We thus report new evidence that cAMP can facilitate Ca-induced secretion in a synergistic fashion, by acting directly on the secretory apparatus, independently of membrane conductance activation. |
Cube: Free HTML5 Bootstrap Website Template
Cube is a free html5 bootstrap template perfect for agency, freelancer or any type of websites. It comes with google map, owl carousel, smooth animation upon scrolling and many more. Built with the latest web development tools such as HTML5, CSS3 and jQuery. Download and share! |
So we have started installing the electronics into the shell. We drilled out a hole in the shell, this was done with a normal drill but just done under running water. Then all the components were feed through and soldered up. We still need to glue the motor in place and light sensor.
We also picked up a pillow from Spotlight to present it on. We think this works quite well as it matches the color of the inside of the shell.
A Bit About
This blog is an online workbook for an interactive Arduino project created by Nick Graham, Bayden Filleul and Antony Snodgrass, all 3rd year industrial design students at Massey University. Check back for regular updates on our work. |
The Rise of Kolkata WalaWalaWala by
In the city of Death & Light, few men DEMAND to rule the night! |
Register-based study among employees showed small nonparticipation bias in health surveys and check-ups.
To examine nonparticipation to a questionnaire survey and occupational health check-ups by sociodemographic variables and health status, measured by medically confirmed sickness absence, and whether the associations between other study variables and participation were affected by health status. Questionnaire surveys and health check-ups were conducted among the City of Helsinki employees. Sample information was derived from the employer's personnel register and analyzed by participation and giving consent to link the data to external administrative registers. Participation to the questionnaire survey was more common among the older, higher occupational classes, those with higher income, permanent employment, and those with no absence due to medically confirmed sickness. Among women in particular, the differences were small. Consent giving followed generally similar patterns than survey response. Nonparticipation to health check-ups was related to low income and temporary employment contract. In both questionnaire survey and health check-ups, associations between other study variables and participation were not affected by health status. Questionnaire surveys and health check-ups were broadly representative of the target population. Associations between other study variables and participation did not differ by health status. This suggests that even when the data are not fully representative associations between the study variables need not to be biased. |
Catatan Sampah si Digit
Drupal Security Best Practice
This is just a quick post from me. I made a summary notes for Dupal Security Best Practice and Drupal Hardening Guide. Yesterday, i found some interesting link from /r/netsec about Drupal Security Best Practice. You can download the PDF from here : |
Q:
Control Panel : Hide/show channel fields in channel with custom JS
Is it possible to control if fields could be shown or hidden in the control panel channel publish/edit form depending on whether an options was selected or a value inputted?
For example if I had an input for 'first name' and a user types in that input the 'last name' input would show.
I am thinking this would be be controlled by some JS I have been able to add somewhere. Each channel would have its own JS script.
My thinking behind this is so user don't complete fields they don't need to and then it requires less conditionals in the templates.
A:
Use CP CSS & JS to inject some JQuery.
Then target form#publishForm, something like this
if ($("form#publishForm #hold_field_19").val() == "") {
$("form#publishForm #hold_field_19").hide();
}
$("form#publishForm #field_18").on('input', function() {
if ($(this).val() != "") {
$("form#publishForm #hold_field_19").fadeIn();
}
}
Assumes field_18 is first name and field_19 is last name.
One problem you may need to add conditionals for in the JQuery is if the first name is empty, but last name is not - you don't want to hide the last name field. Also need to check if the first name is deleted during the editing, should the last name disappear at that point?
"then it requires less conditionals in the templates."
Not quite sure how that's going to change as you're still going to want to know if a field has a value to display it or not...?
Remember for different channels you can change the layout and what fields are shown hidden (albeit permanently and not relevant to other fields having a value).
|
CPEO associated with a single nucleotide deletion in the mitochondrial tRNA(Tyr) gene.
In the muscle biopsy of a female patient with chronic progressive external ophthalmoplegia (CPEO), myopathy, and exercise intolerance, the heteroplasmic deletion of a single nucleotide (DeltaT5885) in the mitochondrial tRNA tyrosine gene (tRNA(Tyr)) was found. The mutation was associated with the mitochondrial phenotype of individual muscle fibers, suggesting a causal association of DeltaT5885 with the mitochondrial disease phenotype. The microdeletion was absent from the patient's and her relatives' blood, indicating a spontaneous somatic origin. |
Co-existence of enkephalin and adrenalin in the frog adrenal gland.
By means of immunohistochemistry combined with formaldehyde-induced fluorescence microscopy, met-enkephalin-like immunoreactivity was found to occur in the adrenalin -cells of frog adrenal glands. Immunoelectron microscopy demonstrated that the immunoreactive material is confined to the secretory granules. These findings suggest the concomitant release of enkephalin and adrenalin by exocytosis. |
Chhan Sokhom
Chhan Sokhom is the former minister of justice for Cambodia.
References
Category:Year of birth missing (living people)
Category:Cambodian politicians
Category:Possibly living people
Category:Government ministers of Cambodia |
var helper = require('pageObjects/helper');
var entManager = require('./entityManager/entityManager');
var Editor = function(){
var entityManager = entManager;
var derivedEntityManager = null;
var queryManager = null;
this.getEntityManager = function(){
return entityManager;
}
}
module.exports = new Editor(); |
White House Urges Moscow to Expel Snowden to U.S.
President Barack Obama says the United States is following legal channels on how to bring National Security Agency leaker Edward Snowden back to the U.S. He says the administration is working with other countries to make sure “the rule of law is observed.”
Edward Snowden (Getty Images)
Obama made his remark at the White House.
He was asked by a reporter if he had discussed Snowden’s situation with Russian President Vladimir Putin. Obama did not respond directly to that question.
Earlier, White House spokesman Jay Carney said the United States assumes Snowden is in Russia, where he fled after leaving Hong Kong. Carney said Snowden’s departure from Hong Kong after the United States requested his extradition damaged U.S.-China relations.
Welcome back to New Jersey Insiders
It appears that you already have an account created within our VIP network of sites on .
To keep your personal information safe, we need to verify that it's really you.
To activate your account, please confirm your password.
When you have confirmed your password, you will be able to log in through Facebook on both sites.
*Please note that your prizes and activities will not be shared between programs within our VIP network.
Welcome back to New Jersey Insiders
It appears that you already have an account on this site associated with . To connect your existing account just click on the account activation button below. You will maintain your existing VIP profile. After you do this, you will be able to always log in to http://nj1015.com using your original account information. |
Two of the more controversial issues in the New York public eye at the moment, hydrofracking for natural gas and expanding Las Vegas-style casinos beyond those run by native tribes, share something fundamental: Both rely on exploitation as a business model.
Hydrofracking exploits the environment to offer huge profits for a few at the expense of the many. More casinos would prey on human frailities, especially those of our more economically vulnerable citizens, also offering huge profits for a few at the expense of the many.
In neither case is it clear who will make the big money, whether they are even New Yorkers, while in both instances the inevitable consequences will rain all over grassroots New York. While great technicolor riches and jobs, jobs, jobs are promised, the experiences of adjoining states that have gone down these roads show us a far more tempered reality. Pennsylvania, for example, has demonstrated the high cost of fracking on the environment.
As for gambling, "More casinos is no economic silver bullet for us," asserts state Sen. Roy McDonald, who sits on one of the legislative committees that oversees gaming in New York.
The connection between these exploitive industries came to mind when I read what Governor Cuomo said during his first online chat with New Yorkers. He noted that "we have made much progress here in just the last nine months (the tenure of his administration). New York is open for business in more ways than one."
"Open for business" is one of those catchy political slogans that doesn't mean squat, but that we're all in favor of. Of course we want more business in the state, and creating a better climate will come with costs; we know that. But how much is too much in our zeal to grease the skids of industry? When we begin courting exploitation, which is really not much more than self abuse, haven't we gone too far?
Let's talk here about casino gambling.
A couple of polls show a majority of New Yorkers favor a constitutional amendment to allow non-native casinos in the state.
That is to say, the majority favors such an amendment as an abstract idea, because to my knowledge, there is no language yet for what an amendment would include. Not surprisingly, an army of devils would be at work in those details.
I'm looking at the Siena College poll, the more recent of two, which shows some public contradiction and apprehension on the subject of more casinos, even as the amendment concept is endorsed. A majority also found we have enough outlets for gambling in the state and don't need more, and a majority was convinced there would be an increase in crime and social problems.
Overwhelmingly, the public's motivation to create more casinos comes from the belief, right or wrong, that they will bring more jobs and significant income to the state.
Not surprisingly, those pushing for casinos are heartened by the poll. "We're just beginning the process of letting people know the economic advantages of enhanced gaming. We believe that once New Yorkers know all of the facts, this significant level of support will become an overwhelming level of support," predicted James Featherstonhaugh, who heads the New York Gaming Association.
I would humbly disagree.
I believe that it is easy for affable New Yorkers to see nothing wrong with gambling in the abstract, but more and more doubts will creep in once we get constitutional amendment language and the so-far quiet opponents begin hammering away on the many weaknesses of the pro-casino argument. I think that right now we're seeing the high-water mark of public support.
There is plenty of evidence to show, for example, that in a mature gambling market, an infusion of new gaming facilities will prove more troublesome than helpful to local economies. And New York is in just such a market, surrounded by casinos in other states and with a bunch of in-state ones as well.
There's wide agreement that a constitutional amendment is the right and proper democratic way to approach the issue. Let the people decide in a straight-up referendum, as well as indirectly by the positive actions of two separately elected legislatures required to get the measure on the ballot. What that amendment says will be eagle-eyed by everyone with an interest.
As the governor has rightly pointed out, we already have gaming in New York. That's not the question anymore. But if we are to expand casinos, what protections or considerations are we going to give existing race tracks, the racinos, the OTB facilities, even the native-run casinos that were offered exclusive franchises in part as a form of reparation for historical mistreatment?
A good example of the scrutiny the constitutional amendment language will get comes from Senator McDonald, who represents Saratoga County, home of the most successful and fabulous thoroughbred race course in the country as well as the most successful racino in the state. |
Nepali park officials tortured a man to death. Then, the government and the World Wide Fund for Nature rewarded them.
Over the years, there have been several reported incidents of forest rangers and army soldiers engaging in abuse and torture of members of indigenous groups who live around the protected areas. |
Linta was Jovan Belcher's agent. His relationship with Belcher was a professional one, but he never suspected his client was capable of the violent acts he perpetrated Saturday morning in Kansas City.
"Jovan was a happy, proud father, with pictures of his baby on his Facebook page," Linta told SI.com's Peter King in a phone call Saturday afternoon. "This is shocking. Something went crazy wrong, and we'll probably never know what it is."
Jovan Belcher through the years
Take a look at photos of Jovan Belcher through the years.
Kansas City police said Belcher shot his girlfriend to death Saturday morning, then turned the gun on himself after a conversation with coach Romeo Crennel, general manager Scott Pioli and another coach at the Chiefs' facility.
Belcher was an undrafted free agent out of the University of Maine, the kind of long shot Linta has been known to represent. Linta was known to heavily factor in character in these underdog cases. One general manager told King that extensive background work was unnecessary "because they're all borderline Eagle Scouts."
"Never until four hours ago did I think Jovan was anything but a model citizen," Linta told King, audibly shaken by the news. "He came to my youth clinics in the offseason and worked with kids. He was a gracious, unselfish, hard-working, dedicated kid -- very, very caring of some of the underprivileged kids who came to the clinics. I saw him in a real positive way.
"I never take on anyone as a client I wouldn't be proud to take home and spend time with my wife and kids. Jovan was one of those type of people.
"There's no word for this other than shocking. That's all I can think of."
Linta also serves as Crennel's agent. He was asked how the coach will handle the fallout of this tragedy.
"With dignity, like everything Romeo does in his life," Linta said. "Life doesn't hand you roses all the time. But Romeo is a salt-of-the-earth kind of person who will rely on his faith and his determination to do what he has to do, to do what's right. He will know what to say to his team, because he always knows what to say." |
Q:
Command to upload a file with WinSCP by FTP?
I have an FTP server, but don't know the command to upload from a PHP form. I need a command to upload with WinSCP. My code so far is below:
<html>
<body>
<?php
if(isset($_FILES["uploaded"]))
{
print_r($_FILES);
if(move_uploaded_file($_FILES["uploaded"]["tmp_name"],"<root>/domains/sigaindia.com/public_html/reymend/".$_FILES["uploaded"]["name"]))
echo "FILE UPLOADED!";
}
else
{
print "<form enctype='multipart/form-data' action='fup1.php' method='POST'>";
print "File:<input name='uploaded' type='file'/><input type='submit' value='Upload'/>";
print "</form>";
}
?>
</body>
</html>
A:
$host = "ftp.example.com";
$user = "anonymous";
$pass = "";
// You get this from the form, so you don't need to do move_uploaded_file()
$fname = "/public_html/new_file.txt";
$fcont = "content";
function ftp_writeFile($ftp, $new_file, $content, $debug=false) {
extract((array)pathinfo($new_file));
if (!@ftp_chdir($ftp, $dirname)) {
return false;
}
$temp = tmpfile();
fwrite($temp, $fcont);
rewind($temp);
$res = @ftp_fput($ftp, $basename, $temp, FTP_BINARY);
if ($debug) echo "a- '$new_file'".(($res)?'':" [error]")."<br/>";
fclose($temp);
return $res;
}
$ftp = ftp_connect($host);
if (!$ftp) echo "Could not connect to '$host'<br/>";
if ($ftp && @ftp_login($ftp, $username, $password)) {
ftp_writeFile($ftp, $fname, $fcont, true);
} else {
echo "Unable to login as '$username:".str_repeat('*', strlen($password))."'<br/>";
}
ftp_close($ftp);
http://au.php.net/manual/en/book.ftp.php
|
Mayor Pete Buttigieg argued Thursday that the socialist Chinese model of government was looking more attractive than American democracy under President Donald Trump.
“We got a much bigger issue at our hands, at a moment when their authoritarian model is being held up as an alternative to ours because ours looks so chaotic compared to theirs right now because of our internal divisions,” Pete Buttigieg said.
The South Bend mayor spoke about the threat posed by China during MSNBC’s Democrat debate on Thursday.
“They’re using technology for the perfection of dictatorship,” he warned.
He said that Trump’s disregard of Democratic values was hurting America’s image abroad.
He praised China for state spending on developing technologies like artificial intelligence, arguing that America has to match them in order to deliver on important technology breakthroughs.
“The biggest thing we’ve got to do is invest in our own domestic competitiveness,” he said.
On the campaign trail, Buttigieg has also compared Trump’s America to Russia.
“Russia nationalism, xenophobia, homophobia, and repression of the press are both highly disturbing in that country and disturbingly ascendent in our own country,” he said during a speech on foreign policy. |
Crash Space in Culver City: The Hacker Artistry of Breaking Shit and Rebuilding it Better
For most of us, the term hacker implies a lonely geek, physically plugged into a computer, causing all-manner of havoc with online systems, secret documents, and/or bank accounts. We've all seen what happens to corporate files, diplomatic cables and Sandra Bullock when hackers have been irked.
The hackers we met at Crash Space in Culver City, however, are of an entirely different ilk. No one at Crash Space wants extreme corporate comeuppance or a frustrated Bullock, or anything else negative for that matter. They just want to see what makes things tick, then maybe make some of those things tick better. These fix-it geniuses even get downright artistic with their tinkering. As one member said, "We want to take [the word] 'hacker' back!"
Tod Kurt cleans some gears on the laser cutter.
Paul T. Bradley
"Oh no, the reporter's going to think we're a bunch of nerds!" Someone in the room shouts out sarcastically. That's exactly why were here, actually -- nerds are hip these days, don't you know? The comment comes as the Crash Spacers have just finished reviewing a Spock photo meme at the conclusion of one of their meetings. Truth be told, it's hard not to feel steeped in nerdery here -- we're surrounded by computer components and mechanical odds and ends.
For clarification sake -- the term "hacker" actually has a variety of meanings within the computing community -- all under some contention. But they can generally be broken-down in to two camps -- the malicious sort, the ones you usually hear about, and then the one you don't, the enthusiastically mischievous / hobbyists. The malicious ones operate exclusively within networks and work with data, where the mischievous / hobbyist types work with all sorts of gadgets, and not necessarily computers. Crash Space solely represents the latter.
Mike Outmesguine, who co-founded Crash Space two years ago, gave us a tour of their clubhouse. The group fills a former house-slash-office space in Culver City that might as well be the batcave of the DIY Superfriends. There's a laser cutter, a 3D printer and every tool you've ever heard of...and some you probably haven't, like something called a Maker Bot.
Mike Outmesguine sports an optimistic t-shirt.
Paul T. Bradley
Outmesguine explains, "My grandfather made his own automatic sprinkler system in the '50s. He made it from parts that he had hacked together when there wasn't anything else like it around." Most of his fellow members are carrying on that same tradition. He sums it up as, "Basically, we find things and we make them do what we want them to." And mostly, they do so for the sake of useful and creative problem-solving. Hackerspaces, as part of the hackerspace movement are all non-profit collaborative spaces for technical knowledge-sharing.
As we talk, Mike and another member begin to digressively geek-out about military radar systems that they'd both worked on in their past lives. It makes sense that technical trades and former engineering jobs back up most of the Crash Spacers hobby skills. But, as Mike points out, "We're really trying to bring a bigger population of artists into the space."
Wendy Marvel and Mark Arnon Rosen hacking away
Paul T. Bradley
Wendy Marvel and Mark Arnon Rosen are exactly those artists. Together, working on a piece called Waltz they've synthesized hackerspace ethos, visual anthropology and pure artistic sensibility. Waltz, one of several pieces relying on the proto-film work of 1800s photographer Eadweard Muybridge (who was, himself a bit of a hacker), is more or less a re-purposed clock. The clock motor flips individual frames of Muybridge's motion photography, allowing the dancers to, well, waltz.
"I'm working basically with 19th century technology," Mark explains. When asked what it's like being surrounded by techie nerds, Wendy admits an initial feeling of intimidation. "Mark told me to come...and I thought it was going to be all programmers and stuff." She was then surprised when she found a lot of support for her work and enthusiastic help for her projects. "Now we're in here all the time -- especially late at night," she says.
Hacker artistry: former clocks can now waltz.
Paul T. Bradley
We caught up with another one of Crash Space's co-founders, Carlyn Maw to get a better sense of Crash Space's purpose and goings-on. "We're here to facilitate knowledge through self-discovery," she says. She's not kidding -- the space's event roster includes neuroscience forums, "mega take-aparts," wiring classes, advanced bike mechanics and decoration -- and something Vonnegut-esque-sounding called a Global Synchronous Hackathon. "Membership sustains more activities, and we're really hoping to use funds to get more cool stuff to use," she says.
If you like this story, consider signing up for our email newsletters.
SHOW ME HOW
Newsletters
SUCCESS!
You have successfully signed up for your selected newsletter(s) - please keep an eye on your mailbox, we're movin' in!
Maw speaks enthusiastically about the group's extramural activities, especially Maker Faire, which is more of a conference than a fair(e). "It's basically a big parade," Maw says, "where people basically make stuff."
Curiosity is really the dominant paradigm at Crash Space. After talking to quite a few more of the space's members, we got a lot more questions than we expected. What were we up to? What fascinates us? Are we doing anything specifically creative at the moment?
All told, we couldn't help thinking that these tinkerers, makers, creators and re-purposers are exactly the types of folks you want to team up with in any type post-apocalyptic scenario. At the twilight of civilization, this is your all-star team. You can be sure they'll know exactly how to turn the detritus of society into rigged-up running water, robotic whatevers and probably an automatic zombie-marauder-repeller, if need be. They have the tools and they have the know-how. We have no doubt that they've been practicing -- many of the Crash Space hackers are ardent Burning Man fanatics. |
How to fix ( Error: EACCES: permission denied, mkdir )
Nodejs and NPM have made life so easier. If you use Gulp toolkit with it I am sure you love it 😍
However, I came across Error: EACCES: permission denied, mkdir (directory permissions) issue today when I tried to install all gulp packages and their dependencies with the following commands in a project.
$ npm install
I also tried by updating Nodejs, NPM and by installing NPM with sudo to give it current user administrative permissions.
$ sudo npm update
$ sudo npm install
I got the same error every single time. After digging into this issue and reading log file I used the NPM install command with sudo and a couple of permission flags given below.
$ sudo npm install --unsafe-perm=true --allow-root
This command fixed the issue. It worked like a charm and installed all gulp packages without any directory permission errors. |
A curious puppy named Blaze ended up in a precarious situation Monday when he ended up getting his head stuck in a tire wheel and needed the help of the local fire department.
In a Facebook post, the Butte-Silver Bow Fire Department in Butte, Montana said it responded to a call from a local veterinary hospital after they requested extrication equipment to free the eight-month old dog.
The dog's owner told authorities he was away for a few hours and came home to find the dog stuck in the tire well.
Firefighters were able to free Blaze with "a lot of coconut oil, patience, a lot of ear tucking, and some powerful skin-pulling," in addition to "Firefighter Zach Osborne's brute strength."
The puppy only had "some minor neck swelling," but otherwise was fine.
Fire officials said on Facebook they hoped it was a "valuable lesson for young Blaze" and they won't need to respond to additional "menacing incidents" with the puppy. |
[Calcium channel blockers and tissue remodeling in hypertension].
Calcium channel blockers and tissue remodeling in hypertension. Calcium channel blockers (calcium antagonists) are members of various chemical groups. They share the ability to inhibit calcium entry into depolarized smooth muscle cells. This results in reduction of vascular tone and vasodilatation. This action is the rationale for their use in the management of hypertension. The purpose of this paper is to summarize recent experiments aiming to test the hypothesis that the long term effects of calcium channel blockers are not related to reduction of hemodynamic overload. |
namespace Telerik.Data.Core
{
/// <summary>
/// Object that represents Group with null value.
/// </summary>
internal class NullValue
{
private static readonly NullValue Singleton = new NullValue();
private NullValue()
{
}
/// <summary>
/// Gets the singleton instance of NullValue class.
/// </summary>
public static NullValue Instance
{
get
{
return Singleton;
}
}
/// <summary>
/// Overrides the string representation.
/// </summary>
public override string ToString()
{
return "(blank)";
}
}
} |
Q:
Pre-rendering a 3D scene programmatically
For a level generator for a computer game, I need a way to programmatically render a 3D scene. To be more precise, I don't mean 3D-APIs like OpenGL or Direct3D, the scene shouldn't be rendered at runtime of the game, but rather the scene should be rendered off-line for later use.
I know of RenderMan, but I'd be interested if there are other alternatives. Concerning RenderMan, is this a suitable tool for this purpose at all?
Could a 3D scene be described using COLLADA and fed into a renderer?
Thanks
Johannes
A:
You have lots of options. Here's three:
3DSMax - pricey
Blender - free
POVRay - free
|
Q:
Which postgres design for a nested resource that can link to the same type of resource
I have this kind of data that I need to store in postgres (ruby object).
#<InitRes:0x007f8ec3734c78
@kind="RestrictionsSchema",
@restrictions=
[#<ParsedRes:0x007f8ec60ed218
@description="Disallow user",
@key="disallowUserConfig",
@restriction_type="bool",
@title="Disallow user">,
#<ParsedRes:0x007f8ec2c96898
@description="Restriction message",
@key="disallowUserConfigMessageKO",
@restriction_type="string",
@title="Restriction message">,
#<ParsedRes:0x007f8ec3551730
@description="List of configurations",
@key="configurations",
@nested_res=
[#<ParsedRes:0x007f8ec2565678
@description="configuration",
@key="configuration",
@nested_res=
[#<ParsedRes:0x007f8ec2504328
@description="configuration name",
@key="name",
@restriction_type="string",
@title="Profile Name">,
#<ParsedRes:0x007f8ec34b35d0
@description="server URL",
@key="server",
@restriction_type="string",
@title="Server">,
#<ParsedRes:0x007f8ec2a64228
@default_value=
#<ParsedResRestrictionValue:0x007f8ec3437de0
@type="bool",
@value_bool=false>,
@description="Use Web logon",
@key="weblogonMode",
@restriction_type="bool",
@title="Use Web logon for authentication">],
@restriction_type="bundle",
@title="Configuration">],
@restriction_type="Array",
@title="Configurations">]>
The ParsedRes can have multiple nested_res that contains and a list of ParsedRes. It can be nested up to two levels deep.
I'm wondering what will be the best design for this kind of data. I would to need to be able to fetch the same tree to display it in the future.
I thought about having a table that can link to a parent and daughter
CREATE TABLE parsed_res (
id SERIAL PRIMARY KEY,
-- other columns
parent_id INT,
daughter_id INT
);
Is it a good idea?
What is the best way to fetch this tree (subselect?)
ltree ?
A:
Two methods of querying hierarchical data:
Ltree. You can see an example of me using it in a similar question here.. The problem with ltree is you have to serialize the relationship yourself. It's a flat table. This is a pita. Updating it also kind of sucks.
Self-referencing table. You can see an example of me using it in a similar question here.. This is probably ideal because you're only storing the identifier of the parent. This create a simple hierarchical data type that you can query with a RECURSIVE CTE.
Example table,
CREATE TABLE foo (
idfoo serial PRIMARY KEY
idparent int REFERENCES foo
description text,
key text,
restriction text,
title text,
default text
);
Then you insert your root, and your children which point to the parent.
|
Does basic income solve anything? Grasp the arguments for and against - greifswalder
https://www.sitra.fi/en/articles/basic-income-solution-challenges-social-security-labour-market-learn-arguments-topical-hotly-debated-subject/
======
meri_dian
Why is it that discussions of basic income so often ignore the effect of
society-wide subsidy on market prices?
It's well documented that prices for a good increase when that good is
subsidized. Healthcare is a perfect example.
So what of the effect on economy wide prices when a general income subsidy is
introduced?
If UBI is simply a massive redistribution of wealth from the rich to the poor,
we have far too many poor and too few rich for the redistribution to have any
significant impact on the lives of the poor. Taxing the rich and gifting the
proceeds to the poor will not have a significant impact on their incomes in a
nation like the United States.
So that method won't accomplish the goals of UBI in the first place, ignoring
the inevitable inflation that would come with such a plan.
On the other hand if UBI is just printed money, then once again we're left
with general inflation that would negate any positive impact of the UBI.
|
Yes it is. Different people and different vendors will call the same tea by a different name for many teas and "White Peony" is no exception. Typically, White Peony is either referred to as Pai Mu Tan/Bai Mu Dan and it is all the same thing. Obviously, many vendors do not get their tea from the same sources so you may notice a slight difference in taste, but essentialy, for nomenclature pursposes, they are all the same. Hope this helps! |
#ifndef QTMVVM_FORMATTERS_P_H
#define QTMVVM_FORMATTERS_P_H
#include <QtCore/QCoreApplication>
#include <QtCore/QDateTime>
#include "inputviewfactory.h"
namespace QtMvvm {
class IntFormatter : public Formatter
{
public:
QString format(const QString &formatString, const QVariant &value, const QVariantMap &viewProperties) const override {
if(viewProperties.value(QStringLiteral("qtmvvm_ztr"), formatString.contains(QStringLiteral("%n"))).toBool())
return QCoreApplication::translate("qtmvvm_settings_xml", qUtf8Printable(formatString), nullptr, value.toInt());
else
return formatString.arg(value.toInt());
}
};
class ListFormatter : public Formatter
{
public:
QString format(const QString &formatString, const QVariant &value, const QVariantMap &viewProperties) const override {
if(viewProperties.contains(QStringLiteral("listElements"))) {
for(const auto &element : viewProperties.value(QStringLiteral("listElements")).toList()) {
if(element.type() != QVariant::Map)
continue;
auto eMap = element.toMap();
if(eMap.value(QStringLiteral("value")) == value)
return formatString.arg(eMap.value(QStringLiteral("name")).toString());
}
}
return formatString.arg(value.toString());
}
};
template <typename T>
class DateTimeFormatter : public Formatter
{
public:
QString format(const QString &formatString, const QVariant &value, const QVariantMap &viewProperties) const override {
auto formatType = viewProperties.value(QStringLiteral("qtmvvm_dateformat"));
QString dateStr;
if(formatType.type() == QVariant::Int)
dateStr = value.template value<T>().toString(static_cast<Qt::DateFormat>(formatType.toInt()));
else if(formatType.type() == QVariant::String)
dateStr = value.template value<T>().toString(formatType.toString());
else
dateStr = value.template value<T>().toString(Qt::DefaultLocaleShortDate);
return formatString.arg(dateStr);
}
};
}
#endif // QTMVVM_FORMATTERS_P_H
|
Watch the latest video at video.foxnews.com
Sen. Rand Paul (R-Ky.), in an interview Thursday, likened President Obama's governing philosophy to the kind of "majority rule" that led to Jim Crow laws and Japanese internment camps.
Speaking on Fox News, Paul reacted to Obama's repeated assertions that Republicans should win elections if they want to control the agenda in Washington. Obama has also suggested in recent days that he might pursue more executive actions -- changes made without Congress.
"The danger to majority rule -- to him sort of thinking, well, the majority voted for me, now I'm the majority, I can do whatever I want, and that there are no rules that restrain me -- that's what gave us Jim Crow," Paul said. "That's what gave us the internment of the Japanese -- that the majority said you don't have individual rights, and individual rights don't come from your creator, and they’re not guaranteed by the Constitution. It’s just whatever the majority wants."
Paul added: "There's a real danger to that viewpoint, but it's consistent with the progressive viewpoint. ... Progressives believe in majority rule, not constitutional rule." |
Q:
Creating a different activity within main activity triggered by a button
I have rather simple task to complete, but I can't get my head around it, I have my main class here, I choosing between screens using buttons, My task is to create a About page just explaing the rules of the game (my application).
public class Hashi_Main extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Set up click listeners for all the buttons
View continueButton = findViewById(R.id.continue_button);
continueButton.setOnClickListener(this);
View newButton = findViewById(R.id.new_button);
newButton.setOnClickListener(this);
View aboutButton = findViewById(R.id.about_button);
aboutButton.setOnClickListener(this);
View exitButton = findViewById(R.id.exit_button);
exitButton.setOnClickListener(this);
}
// click handling
public void onClick(View view) {
switch (view.getId()) {
case R.id.exit_button:
finish();
break;
case R.id.new_button:
NewGame();
break;
case R.id.about_button:
NewGame();
break;
}
}
And here i create a my NewGame activity this all works.
public void NewGame() {
// We first ask for the difficulty level.
new AlertDialog.Builder(this)
.setTitle(R.string.new_game_title)
// we provide a char array with the on click listener.
.setItems(R.array.difficulty,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialoginterface, int hardness) {
Intent intent = new Intent(Hashi_Main.this, HashiGame.class);
intent.putExtra(HashiGame.KEY_DIFFICULTY, hardness);
startActivity(intent);
}
})
.show();
}
What I want to do is the same thing but to use it for about page, I want to use TextView for the rules, this activity will have nothing else except text and a back to main menu button. I tried something like this.
public void About() {
LinearLayout lheader = new LinearLayout(this);
lheader.setOrientation(LinearLayout.HORIZONTAL);
TextView about_rules = new TextView(this);
about_rules.setId(about_id);
lheader.addView(about_rules);
}
But I am stuck for a while now, how can i trigger this activity?
A:
Create an about activity and use an intent to launch your newly created activity. like so:
Intent intent = new Intent(Hashi_Main.this, AboutActivity.class);
startActivity(intent);
|
Stay Inspired
Purple Sunset
Is there anyone who is not moved by a beautiful sunset? The amazing colors, shadows and effects that occur as the sun dips below the horizon have been the subject of so much poetry and art that it has probably entered the realm of cliche.
When you see a technicolor sunset, does it bring you joy or sadness? Although gorgeous, the most surreal of twilight displays are often caused by air pollution. It’s one of life’s cruel ironies. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.