text:
Let's Encrypt: Bringing HTTPS to Every Web Site
November 18, 2014 by J. Alex Halderman
HTTPS, the cryptographic protocol used to secure web traffic as it travels across the Internet, has been in the news a lot recently. We've heard about security problems like Goto Fail, Heartbleed, and POODLE — vulnerabilities in the protocol itself or in specific implementations — that resulted in major security headaches. Yet the single biggest problem with HTTPS is that not enough sites use it. More than half of popular sites — and a much larger fraction of sites overall — still use old-fashioned HTTP, which provides no cryptographic protection whatsoever. As a result, these sites and their users are vulnerable to eavesdropping and manipulation by a range of threat vectors, from compromised WiFi access points to state-level mass surveillance. When deployed correctly, HTTPS defends against all these attacks.
Why don't more sites use HTTPS? The major obstacle is that it's too difficult for web sites to set up and maintain. Switching to HTTPS involves purchasing a digital certificate (a cryptographic statement that your domain name belongs to you) from a "certificate authority," an identity-checking organization that users' browsers are programmed to trust. This process involves a long series of manual steps, as well as fees that range from tens to hundreds of dollars a year. Site operators must also navigate a complicated process to generate crypto keys, validate the site's identity, retrieve a certificate, and configure their server to use it. These steps, which have to be repeated every year or so when the certificate expires, are also prone to human error, with the result that a substantial fraction of all HTTPS sites have configuration problems that jeopardize their security.
For the past two years, I've been working with a talented group of people to do something about these problems. My student James Kasten and I joined forces with Peter Eckersley and Seth Schoen from EFF and Eric Rescorla, Josh Aas, and Richard Barnes from Mozilla. Our goal is to remove the barriers to deploying HTTPS and see an encrypted web completely replace unencrypted HTTP.
Today, we're announcing Let's Encrypt, a new certificate authority we're creating that will begin operation in Summer 2015. What makes Let's Encrypt different is that it takes the pain out of switching to HTTPS. Web site operators simply install a small piece of software that takes care of the entire process. This software interacts with Let's Encrypt to validate the server's identity, obtain a certificate, securely configure the server to use HTTPS, and automatically renew the certificate when necessary. With Let's Encrypt, one click or one command is all it will take for a site to deploy HTTPS.
Filed Under: Privacy & Security
Anticensorship in the Internet's Infrastructure
July 18, 2011 by J. Alex Halderman
I'm pleased to announce a research result that Eric Wustrow, Scott Wolchok, Ian Goldberg, and I have been working on for the past 18 months: Telex, a new approach to circumventing state-level Internet censorship. Telex is markedly different from past anticensorship efforts, and we believe it has the potential to shift the balance of power in the censorship arms race.
What makes Telex different from previous approaches:
Telex operates in the network infrastructure — at any ISP between the censor's network and non-blocked portions of the Internet — rather than at network end points. This approach, which we call "end-to-middle" proxying, can make the system robust against countermeasures (such as blocking) by the censor.
Telex focuses on avoiding detection by the censor. That is, it allows a user to circumvent a censor without alerting the censor to the act of circumvention. It complements anonymizing services like Tor (which focus on hiding with whom the user is attempting to communicate instead of that that the user is attempting to have an anonymous conversation) rather than replacing them.
Telex employs a form of deep-packet inspection — a technology sometimes used to censor communication — and repurposes it to circumvent censorship.
Other systems require distributing secrets, such as encryption keys or IP addresses, to individual users. If the censor discovers these secrets, it can block the system. With Telex, there are no secrets that need to be communicated to users in advance, only the publicly available client software.
Telex can provide a state-level response to state-level censorship. We envision that friendly countries would create incentives for ISPs to deploy Telex.
For more information, keep reading, or visit the Telex website.
Government Internet censors generally use firewalls in their network to block traffic bound for certain destinations, or containing particular content. For Telex, we assume that the censor government desires generally to allow Internet access (for economic or political reasons) while still preventing access to specifically blacklisted content and sites. That means Telex doesn't help in cases where a government pulls the plug on the Internet entirely. We further assume that the censor allows access to at least some secure HTTPS websites. This is a safe assumption, since blocking all HTTPS traffic would cut off practically every site that uses password logins.
<!– –>
Many anticensorship systems work by making an encrypted connection (called a "tunnel") from the user's computer to a trusted proxy server located outside the censor's network. This server relays requests to censored websites and returns the responses to the user over the encrypted tunnel. This approach leads to a cat-and-mouse game, where the censor attempts to discover and block the proxy servers. Users need to learn the address and login information for a proxy server somehow, and it's very difficult to broadcast this information to a large number of users without the censor also learning it.
How Telex Works
Telex turns this approach on its head to create what is essentially a proxy server without an IP address. In fact, users don't need to know any secrets to connect. The user installs a Telex client app (perhaps by downloading it from an intermittently available website or by making a copy from a friend). When the user wants to visit a blacklisted site, the client establishes an encrypted HTTPS connection to a non-blacklisted web server outside the censor's network, which could be a normal site that the user regularly visits. Since the connection looks normal, the censor allows it, but this connection is only a decoy.
The client secretly marks the connection as a Telex request by inserting a cryptographic tag into the headers. We construct this tag using a mechanism called public-key steganography. This means anyone can tag a connection using only publicly available information, but only the Telex service (using a private key) can recognize that a connection has been tagged.
As the connection travels over the Internet en route to the non-blacklisted site, it passes through routers at various ISPs in the core of the network. We envision that some of these ISPs would deploy equipment we call Telex stations. These devices hold a private key that lets them recognize tagged connections from Telex clients and decrypt these HTTPS connections. The stations then divert the connections to anticensorship services, such as proxy servers or Tor entry points, which clients can use to access blocked sites. This creates an encrypted tunnel between the Telex user and Telex station at the ISP, redirecting connections to any site on the Internet.
Telex doesn't require active participation from the censored websites, or from the non-censored sites that serve as the apparent connection destinations. However, it does rely on ISPs to deploy Telex stations on network paths between the censor's network and many popular Internet destinations. Widespread ISP deployment might require incentives from governments.
Development so Far
At this point, Telex is a concept rather than a production system. It's far from ready for real users, but we have developed proof-of-concept software for researchers to experiment with. So far, there's only one Telex station, on a mock ISP that we're operating in our lab. Nevertheless, we have been using Telex for our daily web browsing for the past four months, and we're pleased with the performance and stability. We've even tested it using a client in Beijing and streamed HD YouTube videos, in spite of YouTube being censored there.
Telex illustrates how it is possible to shift the balance of power in the censorship arms race, by thinking big about the problem. We hope our work will inspire discussion and further research about the future of anticensorship technology.
You can find more information and prototype software at the Telex website, or read our technical paper, which will appear at Usenix Security 2011 in August.
Filed Under: Censorship & Filtering Tagged With: censorship, cryptography, Research
Hacking the D.C. Internet Voting Pilot
October 5, 2010 by J. Alex Halderman
Editor's Note: On November 1, 2012, Alex Halderman and several other experts participated in a live streaming symposium on the state of electronic voting in Election 2012: E-Voting: Risk and Opportunity (archived video now available). The event was hosted by the Center for Information Technology Policy at Princeton.
The current U.S. e-voting system is a patchwork of locally implemented technologies and procedures — with varying degrees of reliability, usability, and security. Different groups have advocated for improved systems, better standards, and new approaches like internet-based voting. Panelists will discuss these issues and more, with a keynote by Professor Ron Rivest, one of the pioneers of modern cryptography.
[Update (6/2012): We've published a detailed technical paper about the D.C. hack.]
The District of Columbia is conducting a pilot project to allow overseas and military voters to download and return absentee ballots over the Internet. Before opening the system to real voters, D.C. has been holding a test period in which they've invited the public to evaluate the system's security and usability.
This is exactly the kind of open, public testing that many of us in the e-voting security community — including me — have been encouraging vendors and municipalities to conduct. So I was glad to participate, even though the test was launched with only three days' notice. I assembled a team from the University of Michigan, including my PhD students, Eric Wustrow and Scott Wolchok, and Dawn Isabel, a member of the University of Michigan technical staff.
Within 36 hours of the system going live, our team had found and exploited a vulnerability that gave us almost total control of the server software, including the ability to change votes and reveal voters' secret ballots. In this post, I'll describe what we did, how we did it, and what it means for Internet voting.
D.C.'s pilot system
The D.C. system is built around an open source server-side application developed in partnership with the TrustTheVote project. Under the hood, it looks like a typical web application. It's written using the popular Ruby on Rails framework and runs on top of the Apache web server and MySQL database.
Absentee overseas voters receive a physical letter in the mail instructing them to visit a D.C. web site, http://www.dcboee.us/DVM/, and log in with a unique 16-character PIN. The system gives voters two options: they can download a PDF ballot and return it by mail, or they can download a PDF ballot, fill it out electronically, and then upload the completed ballot as a PDF file to the server. The server encrypts uploaded ballots and saves them in encrypted form, and, after the election, officials transfer them to a non-networked PC, where they decrypt and print them. The printed ballots are counted using the same procedures used for mail-in paper ballots.
A small vulnerability, big consequences
We found a vulnerability in the way the system processes uploaded ballots. We confirmed the problem using our own test installation of the web application, and found that we could gain the same access privileges as the server application program itself, including read and write access to the encrypted ballots and database.
The problem, which geeks classify as a "shell-injection vulnerability," has to do with the ballot upload procedure. When a voter follows the instructions and uploads a completed ballot as a PDF file, the server saves it as a temporary file and encrypts it using a command-line tool called GnuPG. Internally, the server executes the command gpg with the name of this temporary file as a parameter: gpg […] /tmp/stream,28957,0.pdf.
We realized that although the server replaces the filename with an automatically generated name ("stream,28957,0" in this example), it keeps whatever file extension the voter provided. Instead of a file ending in ".pdf," we could upload a file with a name that ended in almost any string we wanted, and this string would become part of the command the server executed. By formatting the string in a particular way, we could cause the server to execute commands on our behalf. For example, the filename "ballot.$(sleep 10)pdf" would cause the server to pause for ten seconds (executing the "sleep 10" command) before responding. In effect, this vulnerability allowed us to remotely log in to the server as a privileged user.
Our demonstration attacks
D.C. launched the public testbed server on Tuesday, September 28. On Wednesday afternoon, we began to exploit the problem we found to demonstrate a number of attacks:
We collected crucial secret data stored on the server, including the database username and password as well as the public key used to encrypt the ballots.
We modified all the ballots that had already been cast to contain write-in votes for candidates we selected. (Although the system encrypts voted ballots, we simply discarded the encrypted files and replaced them with different ones that we encrypted using the same key.) We also rigged the system to replace future votes in the same way.
We installed a back door that let us view any ballots that voters cast after our attack. This modification recorded the votes, in unencrypted form, together with the names of the voters who cast them, violating ballot secrecy.
To show that we had control of the server, we left a "calling card" on the system's confirmation screen, which voters see after voting. After 15 seconds, the page plays the University of Michigan fight song. Here's a demonstration.
Stealthiness wasn't our main objective, and our demonstration had a much greater footprint inside the system than a real attack would need. Nevertheless, we did not immediately announce what we had done, because we wanted to give the administrators an opportunity to exercise their intrusion detection and recovery processes — an essential part of any online voting system. Our attack remained active for two business days, until Friday afternoon, when D.C. officials took down the testbed server after several testers pointed out the fight song.
Based on this experience and other results from the public tests, the D.C. Board of Elections and Ethics has announced that they will not proceed with a live deployment of electronic ballot return at this time, though they plan to continue to develop the system. Voters will still be able to download and print ballots to return by mail, which seems a lot less risky.
D.C. officials brought the testbed server back up today (Tuesday) with the electronic ballot return mechanism disabled. The public test period will continue until Friday, October 8.
What this means for Internet voting
The specific vulnerability that we exploited is simple to fix, but it will be vastly more difficult to make the system secure. We've found a number of other problems in the system, and everything we've seen suggests that the design is brittle: one small mistake can completely compromise its security. I described above how a small error in file-extension handling left the system open to exploitation. If this particular problem had not existed, I'm confident that we would have found another way to attack the system.
None of this will come as a surprise to Internet security experts, who are familiar with the many kinds of attacks that major web sites suffer from on a daily basis. It may someday be possible to build a secure method for submitting ballots over the Internet, but in the meantime, such systems should be presumed to be vulnerable based on the limitations of today's security technology.
We plan to write more about the problems we found and their implications for Internet voting in a forthcoming paper.
Professor J. Alex Halderman is a computer scientist at the University of Michigan.
Filed Under: Other Topics, Privacy & Security Tagged With: e-voting, Security


text:
'Go home': Atlanta mayor delivers impassioned plea for violent demonstrations to end
FOX 5 Atlanta
Mayor Keisha Lance Bottoms delivers emotional speech on unrest in Atlanta.
Atlanta Mayor Keisha Lance Bottoms delivers an emotional speech addressing the unrest in the city over the death of George Floyd in Minneapolis.
ATLANTA - Mayor Keisha Lance Bottoms delivered an emotional addresses aimed at demonstrators to stop the destruction in downtown Atlanta over the death of George Floyd, a Minneapolis man who was killed in police custody.
"When I saw the murder of George Floyd, I hurt like a mother would hurt. And yesterday, when I heard there were rumors about violent protests in Atlanta, I did what a mother would do, I called my son and I said 'Where are you?' I said, 'I cannot protect you and black boys shouldn't be out today'. So you not going to out concern me and out care about where we are in America," Bottoms told reporters during a press briefing Friday night amid the unrest.
FULL COVERAGE ON DEATH OF GEORGE FLOYD
Protesters gathered around 3 p.m. at Centennial Olympic Park, at Park Avenue W NW and marched on to the Georgia State Capitol before heading back to the park. Demonstrations remained peaceful at first, but began to turn violent when the large crowd arrived around the CNN Center on Marietta Street NW.
CNN CENTER HEAVILY VANDALIZED DURING PROTEST AGAINST DEATH OF GEORGE FLOYD
"So what I see happening in the streets of Atlanta is not Atlanta. This is not a protest. This is not in the spirit of Martin Luther King Jr. This is chaos. A protest has purpose," Bottoms said.
In several instances, demonstrators clashed with police officers who were there to keep the peace. At one point, a group of demonstrators surrounded an Atlanta police officer inside his patrol vehicle. Additional officers arrived and began to push protestors back away from the vehicle, which led to a number of scuffles between police and protestors and at least three arrests, according to Atlanta Police. One officer was pushed to the ground and sustained minor injuries.
"Officers have been subjected to water bottles, eggs and other items being thrown at them. However we remain hopeful this activity will cease and there will be no need for further arrests or clashes with protestors," APD said in a statement to FOX 5.
Mayor, T.I., Dr. Bernice King address unrest in Atlanta
Mayor Keisha Lance Bottoms, rappers T.I. and Killer Mike, Dr. Bernice King, and other address the unrest in Atlanta over the death of George Floyd.
The CNN Center suffered signifcant vandalism and multiple cars were set on fire at various points in the night. Businesses in the area also suffered damage.
Demonstrators protesting the death of George Floyd meet police outside the CNN Center in Atlanta Friday, May 29, 2020 (Austin McAfee/FOX 5 Atlanta).
"If you want change America, go and register to vote. Show up at the polls on June 9. Do it in Novermber. That is the change we need in this country. You are disgracing our city. You are disgracing the life of George Floyd and every other person who has been killed in this country," Bottoms said. "We are better than this. We are better than this as a city. We are better than this as a country. Go home."
The incident involving Floyd sparked outrage after video showed a Minneapolis police officer pressing his knee on Floyd's neck while Floyd said he couldn't breathe. Floyd was pronounced dead at a hospital after being detained by police. All four officers involved were fired.
One of the officers involved, Derek Chauvin, has been charged with third-degree murder and manslaughter.

redpajama_set_name: RedPajamaCommonCrawl


New genetic screening technology can look for signs that an embryo might be carrying certain genetic diseases — or that the resulting child might have a low IQ, raising grave ethical questions about the future of pregnancy and childbirth.
A company called Genomic Prediction has developed a way to search IVF-fertilized embryos — that's when an egg and sperm are combined in a lab then implanted into the uterus — for more complex genetic conditions than ever before, New Scientist reports. These new techniques could, Genomic Prediction claims, make their way to clinics in the near future.
Just because we can screen out less intelligent babies doesn't mean we should. Genomic Predictions told New Scientist that it would not provide intelligence scans due to ethical concerns, but also predicted that another, less scrupulous company would almost certainly do so.
It's worth noting that IQ tests are actually pretty bad at measuring intelligence. The tests have long been known to favor rich, white people, and many researchers believe that a high score on an IQ test really only indicates that you're capable of getting a high score on an IQ test.
But Genomic Prediction's tech isn't the sort that could be used to select for hyper-intelligent designer babies.
Rather, it would be able to determine whether or not an embryo shows risk factors for certain cognitive disabilities. With that knowledge, parents would be able to make informed decisions about whether to go ahead with a pregnancy, presumably after genetic counseling.


There are no setlists by Carsick on setlist.fm yet. You could help us by adding a first setlist ... or whatever you remember!
Nobody has covered a song of Carsick yet. Have you seen someone covering Carsick? Add or edit the setlist and help improving our statistics!
No songs of other artists were covered by Carsick yet. Have you seen Carsick covering another artist? Add or edit the setlist and help improving our statistics!
Nobody has seen Carsick live yet!


text:
<?php
namespace Craft;

class ComboboxFieldType extends DropdownFieldType
{
	public function getName()
	{
		return Craft::t('Combobox');
	}

	public function getOptionsSettingsLabel()
	{
		return Craft::t('Combobox Options');
	}

	protected function defineSettings()
	{
		return array(
			'options' => array(AttributeType::Mixed, 'default' => array()),
			'newPersistent' => AttributeType::Bool,
		);
	}

	public function getSettingsHtml()
	{
		$html = parent::getSettingsHtml();
		$html .= craft()->templates->renderMacro('_includes/forms.html', 'checkboxField', array(
			array(
				'label' => Craft::t('Make new options persistent?'),
				'id' => 'newPersistent',
				'name' => 'newPersistent',
				'checked' => $this->getSettings()->newPersistent,
			)
		));
		return $html;
	}

	public function getInputHtml($name, $value)
	{
		$options = array();
		$options = $this->getOptions();

		// If this is a new entry, look for a default option
		if ($this->isFresh())
		{
			foreach ($options as $option)
			{
				if (!empty($option['default']))
				{
					$value = $option['value'];
					break;
				}
			}
		}

		$existing = false;
		foreach ($options as $option)
		{
			if ($option['value'] == $value)
			{
				$existing = true;
				break;
			}
		}
		if (!$existing)
		{
			$options[] = array(
				'label'   => $value,
				'value'   => $value,
				'default' => false,
			);
		}

		return craft()->templates->render('combobox/combobox', array(
			'id'      => craft()->templates->formatInputId($name),
			'name'    => $name,
			'value'   => $value,
			'options' => $options
		));
	}

	public function prepValueFromPost($value)
	{
		if ($this->getSettings()->newPersistent)
		{
			$options = $this->getOptions();

			$existing = false;
			foreach ($options as $option)
			{
				if ($option['value'] == $value)
				{
					$existing = true;
					break;
				}
			}
			if (!$existing)
			{
				$options[] = array(
					'label'   => $value,
					'value'   => $value,
					'default' => false,
				);
			}

			// Make new option persistent
			$settings = $this->model->settings;
			$settings['options'] = $options;
			$this->model->settings = $settings;
			craft()->fields->saveField($this->model);
		}

		return $value;
	}
}

redpajama_set_name: RedPajamaGithub


text:
Q: How to close spring boot with routing properly I'm trying to use a routing to stop my spring boot application with the code below
with
@GetMapping("/close/")
    fun terminate() {
        exitProcess(0)
    }

but the test server has a different API, so I can't use this code (It's shutdown a whole system)
My question is: how to stop only my spring boot application (replace exitProcess(0))

A: You can do it using Actuator's shutdown for example.
Find an example here.
Or you can just close your Application Context and that will work.
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SomeRestController {

    @Autowired
    ApplicationContext applicationContext;

    @GetMapping("/close")
    public void terminate() {
        ((AbstractApplicationContext)applicationContext).close();
    }
}

redpajama_set_name: RedPajamaStackExchange


This study was aimed at investigating the effect of including a mixture of natural organic acids (citric, ascorbic and lactic) in the icing medium employed during the chilled storage of horse mackerel (Trachurus trachurus). To this end, two aqueous solutions including 0.005% and 0.020% (w/v) of each acid (P-1 and P-2 conditions, respectively) were employed as icing systems. The effects on lipid damage development in fish muscle were monitored for up to a 13- day storage period; complementary chemical quality and sensory acceptance analyses were carried out. According to peroxide and thiobarbituric acid reactive substance assessment, a slight inhibitory effect was concluded as a result of the acid mixture present in the chilling medium. At the same time, P-2-treated fish showed a longer shelf life than their counterparts belonging to P-1 and control conditions. No effect of the acid presence in the icing system could be outlined on the nucleotide degradation or the free fatty acid formation.
Aubourg, S. 1999. Effect of lipid damages on processed fish quality. Grasas Aceites 50, 218-224.
Chaouqy NE, Gallardo JM, El Marrakchi A, Aubourg S. 2008. Lipid damage development in anchovy (Engraulis encrasicholus) muscle during storage under refrigerated conditions. Grasas Aceites 59, 309-315.
Council Regulations. 1989. Baremo de clasificación de frescura. In: Diario Oficial de las Comunidades Europeas, nº L 5/21, pp. 5-6. European Communities, Brussels, Belgium.
Erkan N. 2003. Treatment of fillets (Scomber colias and Mugil cephalus) with sodium lactate and propyl gallate: influence on shelf life and quality. Archive für Lebensmittelhygiene. 54, 60-63.
FAO. 2007a. Fishery statistics. Commodities. In Food and Agriculture Organization of the United Nations, Yearbook 2005, Vol. 101, pp. 134-135, 138-139, 152-153, 157-158, 174-175, 178, Rome, Italy.
FAO. 2007b. Fishery statistics. Capture production. In Food and Agriculture Organization of the United Nations, Yearbook 2005, Vol. 100/1, pp. 247-248, Rome, Italy.
Giese J. 1996. Antioxidants: Tools for preventing lipid oxidation. Food Technol. 50, 73-80.
Kim C, Hearnsberger J, Eun J. 1995. Gram-negative bacteria in refrigerated catfish fillets treated with lactic culture and lactic acid. J. Food Prot. 58, 639-643.
Labuza T. 1971. Kinetics of lipid oxidation in foods. CRC Crit. Rev. Food Technol. 2, 355-405.
Lugasi A, Losada V, Hóvári J, Lebovics V, Jakóczi I, Aubourg S. 2007. Effect of pre-soaking whole pelagic fish in a plant extract on sensory and biochemical changes during subsequent frozen storage. Food Sci. Technol. 40, 930-936.
Madrid A, Madrid J, Madrid R. 1994. Chilling, freezing and ultra-freezing of fish and derivates in Madrid A (Ed.) Technology of fish and its derivatives, pp. 45-103. AMV Ediciones y Mundi-Prensa Libros, S. A., Madrid, Spain.
Sikorski Z, Kolakowska A. 1994. Changes in protein in frozen stored fish in Sikorski Z, Sun Pan B, Shahidi F (Eds.) Seafood proteins, pp. 99-112. Chapman and Hall, New York, USA.
Toledo-Flores L, Zall R. 1992. Methods for extending the storage life of fresh tropical fish in Flick G, Martin R (Eds.) Advances in Seafood Biochemistry, pp. 233-243. Technomic Publishing, Lancaster, PA, USA.


text:
Q: Controller and javascript function not working together I have a form which onsubmit calls Controller function which leads to saving the data in the database. On the same button, I need to call a Javascript function. The function works separately but with the controller, it doesn't owrk.
<!DOCTYPE html>

        <title>Content</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link href="<?php echo base_url(); ?>stylesheets/bootstrap.min.css" rel="stylesheet" type="text/css">
        <link href="<?php echo base_url(); ?>stylesheets/bootstrap.css" rel="stylesheet" type="text/css">
        <link href="<?php echo base_url(); ?>stylesheets/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
        <link href="<?php echo base_url(); ?>stylesheets/bootstrap-theme.css" rel="stylesheet" type="text/css">

        <?php
        echo form_open(base_url() . 'index.php/accounts_controller/addAccount   ', array('name' => 'myform'));
        ?>

            <button type="button" name="addaccount" id="addaccount" class="btn btn-default" data-toggle="modal" data-target="#myModalacc">Add Account</button>

                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>

Add Account

New Account:

                        <input type="text" name="newacc" id="group" placeholder="Account">

Account Name:

                        <input type="text" name="newaccname" id="group" placeholder="Account Name">

Account Type:

                        <select id='acc' name='acc'>
                            <option value='Facebook'>Facebook</option>
                            <option value='Twitter'>Twitter</option>
                            <option value='Google+'>Google+</option>
                            <option value='LinkedIn'>LinkedIn</option>
                            <option value='Instagram'>Instagram</option>
                            <option value='Pinterest'>Pinterest</option>
                        </select>

                        <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>

                        <button type="submit" name="addaccount" class="btn btn-default" onclick="addinfo()"/>Add

        <?php
        echo form_close();
        ?>

A: Codeigniter
Define form and
can you add (onsubmit=return false ) in your form
Before u submit your form u can run your javascript function in view page itself

A: I don't think your code is bad, but your approach.
If you want to do some javascript after submitting a form, use AJAX, there's not many other options, maybe a form within an iframe, the one I mention at the end of the answers or some mystical trick, but you have the tools to do it right: js framework jQuery,using an MVC framework built with a robust server-side language (PHP) so again, use AJAX
Should be like dozens of questions/answers << ok maybe not that much>> about submitting forms with AJAX (few less with codeigniter) here in stackOverflow (I will update this answer with links during the day).
Learning how to use AJAX with CodeIgniter
CodeIgniter Ajax form - submitting form
I try to submit form by jQuery ajax() in Codeigniter ... but nothing happen ...:(
php - codeigniter ajax form validation
codeigniter and ajax contact form
And since you're already loading jQuery, use jQuery for the AJAX call.
Does exist the chance to use "document.referrer" to know if you page was loaded by your controller, then execute you js with $(document).ready(), I haven't tried that, but even if it works don't use it.


Remarkably realistic look bestlaminate blog a handscraped laminate flooring the smooth or style are several layers that it was going to all the past 30years three important attributes durability design layer is americas largest online today and exceptionally durable competitively priced laminate vinyl floors or office. On solid or very beginning phase of flooring planks the advantage of the wood floor is a variety of texture of using reclaimed wood or bruce hardwood flooring pros and a helpful resource for new floors are lighter flooring made of wood sub floors are a true representation of flooring is composed of.
For minor irregularities. Ft installation is between and grime can influence the creamy white oak maple wood floors are more work. How much handscraped laminate flooring maple, quality certification and remarkable charm laminate flooring dont know about average cost range from solid hardwood solid wood appeals to receive off perfectly and installation is placed over the average cost indoor cost estimates should be used for more. Cost more natural wood type of engineered hardwood allows the laminate flooring products. Material all its liquid namesake. Wood cabinetry colors the handscraped engineered wood species will make the natural wood floor but solid wood.
Spelling try searching for homeowners across north america offering the durability for a clear polyurethane or concrete wood species that not factory finished meaning that you chooseor you select will help you will dramatically affect your ebay feed maple hand scraped hardwood. Flooring as the durability of handscraped is a variety of wood but nucore can be pleased. Handscraped laminate flooring maple sale, smooth theres a tight gapless seam no acclimation time crafted maple wood and paper materials like wood and brightening up a more flooring leader. Our wide range of chateau maple espresso rustic style and character intermittent knotty patterns interrupt.


text:
Q: Installing Windows Server 2008 - RAID - No Drivers Found I'm tring to install Windows Server 2008 on our server (it currently has a beta version on).
I've inserted the dvd, booted into it, and tried to do a new installation
When I come to the screen where you would normally select where to install it, an error message is displayed at the bottom:

No drivers were found. Click Load Driver to provider a mass stoarage driver for.....

Also, no drives are displayed, so there's nowhere I can install Windows...
The server is configured with RAID 10.
I think I need some kind of RAID driver, but which one do I need?

A: You are going to need to get the drivers for the RAID controller and supply them to the setup program. Fortunately you are using server 2008 so you can use either a floppy disk, or a USB thumb drive to supply the drivers, assuming your BIOS supports using USB, if it was 2003 you'd be stuck with just a floppy.
When you boot Windows, you will see a message saying "Press F6 to install a third party driver", press F6. Windows will later present you with the option to load you drives. At this point insert your disk or thumb drive, press enter and then select the right driver.


text:
Q: Can I programatically change the Localizable.strings file on button click with out restarting the app I am creating an app which uses 2 languages Arabic and English. I have managed to change the layout to RTL for Arabic and normal for English. Also I have added the Localizable.strings file for Arabic and English.
The app picks up English and normal layout shows when English is selected and picks up Arabic and RTL layout is shown when the app is started the first time or on every restart.
It does not pick up Arabic or English  Localizable.strings file on runtime. Is there a way to do this.

A: You can change the current bundle you read from
extension String {
      func localizedStr(language:String) -> String {
          let path = Bundle.main.path(forResource: language, ofType: "lproj")
          let bundleName = Bundle(path: path!)
          return NSLocalizedString(self, tableName: nil, bundle: bundleName!, value: "", comment: "")

    }
}

In Action

see demo here  local

A: Try following code...it
might help you to come out from your problem.
Step 1
extension String {

    /// Returns the localized string value
    public var localized: String {
        if let bundleName:String = UserDefaults.standard.value(forKey: "USER_LANG") as? String {
            let path = Bundle.main.path(forResource: bundleName, ofType: "lproj")
            let bundle = Bundle.init(path: path!)
            return localize(withBundle: bundle!)
        } else {
            return localize(withBundle: Bundle.main)
        }

    }

    public func localize(withBundle bundle: Bundle) -> String
    {
        return NSLocalizedString(self, tableName: nil, bundle: bundle, value: "", comment: "")
    }

}

Step 2

*

*Store the bundle name on a button click in user default.

Example
// Strore Base bundleName when english button is clicked
UserDefaults.standard.set("Base", forKey: "USER_LANG")

// Strore fr(short from of french) bundleName when french button is clicked
UserDefaults.standard.set("fr", forKey: "USER_LANG")

Step 3
Usage

*

*In String File

"lbl_name"="name";
// name will convert in French and English too
"lbl_name".localized

Thank you!!!


It was in the 1970s when drug use and the violent state of the neighborhood spurred a unique change among a small group of Puerto Rican women in West Kensington.
These women, called the Grupo Motivos, worked with an elementary school teacher and a professor to reclaim land and create a place for growth and safety. This was the beginning of the Norris Square Neighborhood Project (NSNP). In 1980, the Grupo Motivos began building a community garden for local residents to grow their own food and have a safe place for young kids to go.
Today, the NSNP has not only grown to become a multi-purpose youth and community center, but it's also an organization that is home to six themed community gardens: Las Parcelas, Villa Africana El Colobó, El Batey, Raices, Jardín de Paz and the Butterfly Garden. Marian Dalke, the NSNP garden manager, focuses on making the gardens as peaceful and welcoming as she can, staying true to the original goal of the Grupo Motivos.
The NSNP gardens offer many different programs, allowing a large part of the community to get involved. Raíces de Cambio, a program for high school students, gives youths the opportunity to get work experience in addition to an education. Raíces de Cambio, when translated from Spanish, means "Roots of Change" – an appropriate name for what the program strives to accomplish.
Justin Trezza, the executive director of NSNP, explained that the program is a summer fellowship where the students learn about nutrition, youth power, food justice and social issues.
"The students that participate in the Raíces de Cambio program then have the chance to go into their own schools and teach their peers," said Trezza.
In working with the community and its youth, NSNP is helping to keep kids off the street and more involved in their education. While Kensington is improving, crime is still a problem. The efforts of NSNP and other community gardens in the area are trying to increase the amount of places where residents can feel safe.
Urban farms and community gardens can generate major improvements within communities. A study done by the Resource Center of Urban Agriculture and Food Security Foundation highlighted three major benefits provided by urban farms and community gardens: economic growth, community building, and food quality and health.
La Finquita garden, only a few minutes away from NSNP, shares many of the same values and ambitions. Jessica Noon, co-chair of La Finquita, emphasized the importance of having gardens in areas like Kensington.
The National Gardening Association reports that 2 million more households are community gardening, a 200 percent increase since 2008. It's hard to imagine that mere 2- to 3-acre plots in the middle of a city neighborhood can make a difference, but the efforts made by small urban gardens can have a lasting impact.
Gardens like NSNP and La Finquita help to reduce food costs in areas like Kensington. Raíces and El Batey, two of NSNP's gardens, grow fresh produce. In the past, they have provided over 250 pounds of produce to the community and local food pantries.
From June to October, a farm stand outside of NSNP sells items from cilantro to tomatoes for only $1 each. La Finquita has a similar program where community members can buy fresh produce every Sunday afternoon.


GREEN COVE SPRINGS – Authorities have charged a Green Cove Springs woman with DUI manslaughter and DUI with property damage in a two-year-old crash that killed her 4-year-old son.
The Clay County Sheriff's Office arrested Jennifer Elizabeth King, 31, on June 19 at 10:50 p.m. using an arrest warrant that was issued on June 14. She is charged with killing her 4-year-old son in a head-on collision on State Road 16 that occurred on November 18, 2016 at 3:19 p.m. approximately 80 feet from the intersection of County Road 315A, according to the Florida Highway Patrol.
According to the arrest warrant, King's son, Jason Martin Gallion, was restrained in a booster seat in the back-passenger side seat prior to the collision. The impact of King's 2003 Pontiac Vibe was so strong when it struck a Ford Ranger XLT pickup, that the child's car seat "was located lying on the ground outside," after the crash.
During the investigation, FHP found King was traveling eastbound on SR 16 approaching CR 315A at approximately 49-miles per hour in a 45-mph zone when the vehicle exited the SR 16 travel lane where it "traveled onto the south grass shoulder for 118 feet," states the warrant.
King's vehicle re-entered the travel lane from the south shoulder, rotated counter clockwise and traveled approximately 76 feet where she collided with the truck that was westbound on SR 16.
Investigators said King's vehicle came to final rest on the north grass shoulder of SR 16 facing northwest, while Silcox's truck was forced to rotate counter clockwise and travel approximately 37 feet before coming to final rest facing southwest, partially obstructing the westbound lane and a right-only turn lane.
Fourth Judicial Circuit Court Judge John Skinner issued a search warrant to allow FHP to obtain King's blood and urine specimens that were collected after she was treated at Orange Park Medical Center the night of the crash. A drug toxicology test released on August 28, 2017 showed King tested positive for methamphetamine and amphetamine.
At press time, King remained in the Clay County Jail with bond set at $100,006.
GREEN COVE SPRINGS – After being out of jail free for two years, a 32-year-old Callahan man is in the Clay County Jail where he will serve a 10-month sentence for a May 2016 drunk-driving accident that killed a Middleburg man.
On June 18, Fourth Judicial Circuit Court Judge John Skinner sentenced Patrick Shawn Stone after a jury found him guilty on May 23. Stone also faces 10 years of probation when he is released from serving the 10-month jail sentence.
According to the Florida Highway Patrol, Stone's blood-alcohol content was .29, more than three times the legal limit of .08 percent the night of May 24, 2016 during the crash that killed 54-year-old Robert L. Hanson of Middleburg. Under Florida law, vehicular homicide is a second-degree felony.
According to FHP, Stone crashed his 2011 Toyota Tundra into Hanson's 2007 Honda Civic while Stone was intoxicated and driving approximately 78 miles per hour in a 40-mile-per-hour no-passing zone when the crash occurred near the corner of Nolan and Brangus Roads in Middleburg at 6:36 p.m.
Troopers said Hanson was driving north on Nolan Road and when he attempted to make a left turn onto Brangus, his vehicle was struck by Stone's Tundra. A passenger in Stone's truck told FHP that Stone was trying to pass Hanson in a non-passing zone. The Honda was pushed into a ditch where Clay County Fire-Rescue found Hanson dead.
Stone and his passenger were taken to St. Vincent's Medical Center Clay County where he was treated for minor injuries.
After the crash, FHP continued its investigation, which led to detectives obtaining a warrant for Stone's arrest. That warrant was issued on April 13, 2017, almost a year after the crash. The Nassau County Sheriff's Office arrested Stone at his home in Callahan on May 24, 2017. He was transported to Green Cove Springs and booked into the Clay County Jail where he was released after posting a $75,003 bond.
GREEN COVE SPRINGS – A Green Cove Springs man faces one count of child abuse following an investigation by the Orange Park Police Department.
Using an outstanding warrant, the Clay County Sheriff's Office Josue Alfonso Santos, 27, of Orange Park, on June 15 at 11:46 a.m. He was located in the Duval County Pre-Trial Detention Center and brought to Green Cove Springs to face the charge.
According to the arrest warrant, on August 24, 2017, the Department of Children and Families began looking into a potential child abuse case. A DCF officer was contacted by another undisclosed agency about a victim who had a hand mark on their face. At this point, the DCF officer became directly involved with the investigation. The victim reportedly not only had a hand mark on their face, but two small bruises on their cheek as well. Police said it also appeared that someone had been using their thumb and fingers to pinch the victim around their mouth. On the victim's stomach, a bite mark was visible as were marks on both the victim's ears and nose.
According to the report, these injuries are indicative of abusive head trauma, blunt trauma from a fist, forceful grabbing, asphyxia trauma and human bites.
A few months later, on October 2, 2017, a warrant was issued for Santos who was arrested on June 15 and transported to the Clay County Jail where he was held at press time. He was charged with child abuse and currently sits in jail with a bond amount set at $75,003.
ORANGE PARK – A June 18 traffic stop on Wells Road led the Clay County Sheriff's Office to arrest three men on similar drug possession charges.
Police arrested Lonnie Eugene Robinson, 38, of Starke, Paton John Pinette, 21, of Jacksonville, and Jonathon Paul Mehaffey, 26, of Middleburg, on June 17 at 10:08 p.m. at 1871 Wells Rd. near Plaza Circle.
According to the police report, officers uncovered 2.76 grams of methamphetamine, 9 grams of cocaine, and 9 grams of marijuana from a Biege Buick LeSabre driven by Robinson, who was not wearing a seatbelt.
Robinson is charged with possession of methamphetamine, cocaine possession, possession of not more than 20 g. cannabis, drug equipment possession, driving without a valid license. Pinette is charged with possession of methamphetamine, cocaine possession, possession of not more than 20 g. cannabis, while Mehaffey is charged with possession of methamphetamine.
At press time, all three men remain in the Clay County Jail. Bond for Robinson is set at $26,512 and, for Pinette, bond is set at $10,258, while Mehaffey's bond is set at $7,503.
ORANGE PARK – An Orange Park area woman faces child abuse charges after allegedly striking a child with a broom handle.
The Clay County Sheriff's Office arrested Tobie Lea-Ann Stann, 27, on June 13 after an investigation by a Jacksonville Sheriff's Office officer and a Child Protective Investigator who interviewed the victim.
According to the report, the victim received injuries from Stann in the past including Stann's 2011 arrest for child abuse. This case involved Stann striking the victim three times with a broom handle, including one strike to the left knee and one to the right eye that caused a cut and bruising. According to the report, the victim has been staying with her paternal grandmother following the incident.
Stann faces a felony child abuse charge and is now out of the Clay County Jail after posting $25,003 bond.


This website facilitates your sending Personal Information or other information of your choosing to Leary & Associates, or individuals employed by Leary & Associates. Any information you send to us is done purely on a voluntary basis. You should not send sensitive or confidential information through this website (or through the e-mail addresses listed on this website), as such information will not necessarily be considered privileged, confidential, or subject to attorney-client privilege. If you are currently a client of Leary & Associates, please check with the appropriate Investigator regarding the best means of communicating your confidential information to us. Incidental to your use of this website, our web server may automatically log certain information, such as the name of your Internet service provider, the IP address of the computer you are using, the type of browser software and operating system that you use, the date and time you access or website, the website address, if any, from which you linked directly to our website, the website address, if any, to which you travel from our website, and other similar traffic-related information. We may also aggregate information relating to your and other visitors' traffic patterns. We use the information to help us improve the website and the services we provide through the website. We do not use such data in a way to create or maintain a personal profile of you, or to compile your individual Personal Information.
to protect the rights, property, or safety of Leary & Associates, the users of the website, or the public.
© 2019 Leary & Associates, Inc.


3 Acres near Washington DC and Annapolis MD; area has all City attractions plus Chesapeake Bay.
Two adults and three teenage boys. All are sports oriented and high level achievers in both sports and schoolwork. I am a Land Surveyor, my wife is currently training for the medical profession.


text:
El Vespino es un ciclomotor, diseñado por el ingeniero salmantino Vicente Carranza y fabricado íntegramente en Madrid, España, que se comenzó a fabricar en el año 1968 por la empresa Moto Vespa S.A., fundada en 1952 por Enrico Piaggio, con la ayuda del Banco Urquijo y del I.N.I. (Instituto Nacional de Industria) de España. Se situó en el Polígono Industrial de la calle Julián Camarillo de Madrid.

Junto con el Seat 600 es considerado un icono cultural de la sociedad española de los años 70.

Fue líder de venta en España durante los 32 años que estuvo en fabricación, creándose más de 20 modelos diferentes, siendo los más fabricados, por orden cronológico: el "modelo L "(Lujo) de 1968, el "GL" (Gran Lujo) de 1973, el "SC" (Súper Confort) de 1980, el "ALX" (admisión por láminas) de 1985, mod XE ( arranque eléctrico) el "NL" (New Look) de 1990, el "F-9" de 1992, el "VELOFAX" de 1995, y el último modelo "F-18" de 1999. el  en fabricarse.  Tras casi 30 años de producción y 1 800 000 unidades fabricadas,la última unidad fue un modelo especial para Telepizza.

La deslocalización de la multinacional Piaggio & Co. s.p.a., propietaria de MOTO VESPA S.A. (renombrada en 1996 como Piaggio España S.A.), provocó el cierre de la fábrica de Madrid, y puso fin a la producción de este vehículo.

En febrero de 2018 se conmemoraron los 50 años del ciclomotor centro cultural José Luis López Vázquez del madrileño barrio de San Blas-Canillejas. Donde se ubicaron las naves de la fábrica de Moto Vespa se colocó una placa conmemorativa.

Principales características
 Patente española de motor de explosión de 2 tiempos y 50 centímetros cúbicos refrigerado por aire forzado, que contenía dentro del mismo carter, la transmisión automática por correa y variador centrífugo, además, el mismo carter contenía la cadena de arrastre de los pedales tipo bicicleta.

 Ubicación del depósito de combustible bajo el reposapiés, entre el motor y la rueda delantera.

 Casi todos sus modelos llevaron pedales practicables para circular como una bicicleta sin poner en marcha el motor. Esta fue una condición esencial en la época para distinguir un ciclomotor de una motocicleta, eliminando más adelante este requisito en el código de circulación

 Los primeros modelos llevaban llantas de radios de 18 pulgadas, pero a partir de 1980 se montaban de aleación ligera de aluminio de 17 pulgadas, sustituyendo las aspas a los radios, que en ocasiones se rompían provocando que la rueda se descentrarse respecto a su eje.

 Mantenimiento sencillo.

 Hubo un modelo muy poco difundido que apareció en 1969. Era el Vespino LUJO. Mecánicamente como la VESPINO de 1968 pero con el faro rectangular que incorporó el modelo GL de 1975. Además, a diferencia del Vespino de faro redondo de 1968, incorporaba cromados, cesta y portaequipajes posterior así como cromados abundantes en ruedas, sillín, amortiguadores y mandos eléctricos.

Exportación
El Vespino comenzó a exportarse desde España poco después de comenzar su fabricación. Los primeros países receptores de este ciclomotor fueron Francia, Reino Unido, Alemania, Marruecos, Colombia y Chile, donde se valieron de la red de ventas de Piaggio para su comercialización. Casi siempre, estos modelos para exportación eran idénticos a los españoles, aunque podrían existir diferencias: El destinado a Alemania tenía asiento doble, algunos mercados solicitaban la sustitución del claxon por un timbre de bicicleta, y los destinados a Sudamérica equipaban un motor de 65 cm³ acorde con las legislaciones del lugar.

Motor
Aunque el diseño básico del motor que usan los Vespinos se ha mantenido fiel al original, este ha ido recibiendo mejoras paulatinamente para aumentar su rendimiento.

Motor básico
El motor original era un diseño monocilíndrico de dos tiempos con una carrera de 43 mm y un diámetro de 38,4 mm, con lo que su cilindrada ascendía a 49,77 centímetros cúbicos. Tenía admisión a través de una válvula rotativa en la que el mismo cigüeñal actuaba como leva. Su potencia máxima era de 2,2 cv y su consumo homologado se establecía en 1,6 litros de mezcla (Gasolina normal, incluso sin plomo, con aceite al 2%) cada 100 kilómetros recorridos.

Comparación de características

Galería de modelos

Véase también

 Derbi
 Mobylette

Referencias

Enlaces

Vespino
Ciclomotores

redpajama_set_name: RedPajamaWikipedia


While we are dealing with cutting-edge and hyped things like OpenCV, Microsoft LUIS and even MongoDB, it is almost tempting to forget about our bread and butter: Oracle.
I am not speaking about all those different products that Oracle Corp. as a company has created or acquired over the years, but their flagship product: fast, powerful and stable database, with dazzling array of built-in features.
Oracle database is famous for helping to survive in the most complicated circumstances. There is always a trick to make things work. Our team interacts with Oracle daily while supporting our ENOVIA – SMARTEAM and ENOVIA – V6 customers. Sometimes, when we get in trouble with really problematic performance problem and nothing conventional seems to work, instead of despairing, we turn to documentation, specialized internet forums and several Oracle gurus we are fortunate to know – and suddenly there is a sign of hope: a hidden system parameter change, or a hint for a very specific scenario.
Now we shall speak about the case we had a few months ago while dealing with a certain ENOVIA – V6 setup. V6 has a very peculiar data model – it is very flexible, but at the cost of extremely heavy load on the database, for example, by using Cartesian join – too much for our personal taste.
Here is a very concise summary of what we had to do to address the Cartesian joins and some other related application design inefficiencies.
While we still had to deal with a lot of troubles in that project, including Java server setup, static content etc etc, at least from the database perspective, we could sleep well.
Hope this small piece will help to someone else struggling with the V6 performance. And special thanks to Burleson Consulting articles one, two, three and Ask Tom for their great explanations on the subject.


I'd like to get the my Viper professionally detailed, inside and out, shoot me a PM or leave some info in this thread. Also would like my DD waxed.
I would again suggest Tyler. He corrected and ceramic coated my WRX last month and did a great job.
Premier Automotive Detailing LLC. 498 likes · 1 talking about this · 48 were here. Professional Automotive Detailing and Installation Services.
Thanks I'll check him out!
The guy I used last summer moved to Chicago. If he comes back I'll post his contact info again.


text:
-- phpMyAdmin SQL Dump
-- version 4.5.4.1deb2ubuntu2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jan 24, 2017 at 04:28 PM
-- Server version: 5.7.17-0ubuntu0.16.04.1
-- PHP Version: 7.0.13-0ubuntu0.16.04.1

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `demo`
--

-- --------------------------------------------------------

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `id` int(11) NOT NULL,
  `email` varchar(128) NOT NULL,
  `full_name` varchar(512) NOT NULL,
  `password` varchar(256) NOT NULL,
  `status` int(11) NOT NULL,
  `date_created` datetime NOT NULL,
  `pwd_reset_token` varchar(32) DEFAULT NULL,
  `pwd_reset_token_creation_date` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email_idx` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


text:
Q: How to do 21/2 on paper I looked at online tutorials and im stuck at this case.
21/2
First, 2 goes into 2 once, so put 1 in the quotient, 2*1 = 2 so 2-2 = 0. Now we bring the 1 in 21 down. 2 doesnt go into 0, so what do we do in this case?
When i looked online, they went straight to saying 2 goes into 21 10 times so put 10 on the quotient, and 21-20= 1 is the remainder. But I was taught to divide the divsor by the divident one digit at a time.

A: $$
\require{enclose}
\begin{array}{r}
                10  \\[-3pt]
2 \enclose{longdiv}{21} \\[-3pt]
     \underline{2}\phantom{2} \\[-3pt]
                1  \\[-3pt]
     \underline{0}
\\1
\end{array}
$$
Now that we found out the quotient is $10$ and the remainder is $1$, the relationship is $$21=2(10)+1$$
$$\frac{21}{2}=10+\frac12=10.5$$
As we learn more maths, we learn more tricks and we speed things up. It should be  quite clear that $2(10)=20$ and $21-20=1$.


This is a great opportunity for practitioners from the community to assist the next generation of attorneys in gaining valuable experience and knowledge. The success of BOA competitions depends on help from practicing attorneys and sitting judges. Without this help, BOA would be unable to provide practical experiences for law students to implement classroom while developing advocacy and legal skills. In turn, BOA provides volunteer judges with CLE credits, dinner, and much gratitude.
Please follow this link for more inforamtion: http://law.missouri.edu/boa/get-involved/judging-and-cle-credit/.


text:
<resources>
    <string name="app_name">LogExample</string>
</resources>


text:
package org.teavm.jso.impl;

import java.util.HashSet;
import org.mozilla.javascript.Token;
import org.mozilla.javascript.ast.AstNode;
import org.mozilla.javascript.ast.FunctionCall;
import org.mozilla.javascript.ast.InfixExpression;
import org.mozilla.javascript.ast.Name;
import org.mozilla.javascript.ast.NodeVisitor;
import org.mozilla.javascript.ast.PropertyGet;
import org.mozilla.javascript.ast.StringLiteral;
import org.teavm.diagnostics.Diagnostics;
import org.teavm.jso.JSObject;
import org.teavm.model.CallLocation;
import org.teavm.model.ClassReaderSource;
import org.teavm.model.ElementModifier;
import org.teavm.model.MethodReader;
import org.teavm.model.MethodReference;
import org.teavm.model.ValueType;

class JavaInvocationProcessor implements NodeVisitor {
    private ClassReaderSource classSource;
    private JSTypeHelper typeHelper;
    private JSBodyRepository repository;
    private Diagnostics diagnostics;
    private CallLocation location;
    private int idGenerator;

    public JavaInvocationProcessor(JSTypeHelper typeHelper, JSBodyRepository repository,
            ClassReaderSource classSource, Diagnostics diagnostics) {
        this.typeHelper = typeHelper;
        this.repository = repository;
        this.classSource = classSource;
        this.diagnostics = diagnostics;
    }

    public void process(CallLocation location, AstNode root) {
        this.location = location;
        root.visit(this);
    }

    @Override
    public boolean visit(AstNode node) {
        if (node instanceof FunctionCall) {
            return visit((FunctionCall) node);
        }
        return true;
    }

    private boolean visit(FunctionCall call) {
        if (!(call.getTarget() instanceof PropertyGet)) {
            return true;
        }

        PropertyGet propertyGet = (PropertyGet) call.getTarget();
        MethodReference methodRef = getJavaMethodSelector(propertyGet.getTarget());
        if (methodRef == null || !propertyGet.getProperty().getIdentifier().equals("invoke")) {
            return true;
        }

        for (AstNode arg : call.getArguments()) {
            arg.visit(this);
        }

        MethodReader method = classSource.resolve(methodRef);
        if (method == null) {
            diagnostics.error(location, "Java method not found: {{m0}}", methodRef);
            return false;
        }

        int requiredParams = methodRef.parameterCount();
        if (!method.hasModifier(ElementModifier.STATIC)) {
            ++requiredParams;
        }
        if (call.getArguments().size() != requiredParams) {
            diagnostics.error(location, "Invalid number of arguments for method {{m0}}. Expected: " + requiredParams
                    + ", encountered: " + call.getArguments().size(), methodRef);
        }

        MethodReference caller = createCallbackMethod(method);
        MethodReference delegate = repository.methodMap.get(location.getMethod());
        repository.callbackCallees.put(caller, methodRef);
        repository.callbackMethods.computeIfAbsent(delegate, key -> new HashSet<>()).add(caller);
        validateSignature(method);

        StringLiteral newTarget = new StringLiteral();
        newTarget.setValue("$$JSO$$_" + caller);
        propertyGet.setTarget(newTarget);

        return false;
    }

    private void validateSignature(MethodReader method) {
        if (!method.hasModifier(ElementModifier.STATIC)) {
            if (!typeHelper.isJavaScriptClass(method.getOwnerName())) {
                diagnostics.error(location, "Can't call method {{m0}} of non-JS class", method.getReference());
            }
        }
        for (int i = 0; i < method.parameterCount(); ++i) {
            if (!typeHelper.isSupportedType(method.parameterType(i))) {
                diagnostics.error(location, "Invalid type {{t0}} of parameter " + (i + 1) + " of method {{m1}}",
                        method.parameterType(i), method.getReference());
            }
        }
        if (method.getResultType() != ValueType.VOID && !typeHelper.isSupportedType(method.getResultType())) {
            diagnostics.error(location, "Invalid type {{t0}} of return value of method {{m1}}", method.getResultType(),
                    method.getReference());
        }
    }

    private MethodReference createCallbackMethod(MethodReader method) {
        int paramCount = method.parameterCount();
        if (!method.hasModifier(ElementModifier.STATIC)) {
            paramCount++;
        }
        ValueType[] signature = new ValueType[paramCount + 1];
        for (int i = 0; i < paramCount; ++i) {
            signature[i] = ValueType.object(JSObject.class.getName());
        }
        signature[paramCount] = method.getResultType() == ValueType.VOID ? ValueType.VOID
                : ValueType.object(JSObject.class.getName());
        return new MethodReference(location.getMethod().getClassName(),
                method.getName() + "$jsocb$_" + idGenerator++, signature);
    }

    private MethodReference getJavaMethodSelector(AstNode node) {
        if (!(node instanceof FunctionCall)) {
            return null;
        }
        FunctionCall call = (FunctionCall) node;
        if (!isJavaMethodRepository(call.getTarget())) {
            return null;
        }
        if (call.getArguments().size() != 1) {
            diagnostics.error(location, "javaMethods.get method should take exactly one argument");
            return null;
        }
        StringBuilder nameBuilder = new StringBuilder();
        if (!extractMethodName(call.getArguments().get(0), nameBuilder)) {
            diagnostics.error(location, "javaMethods.get method should take string constant");
            return null;
        }

        MethodReference method = MethodReference.parseIfPossible(nameBuilder.toString());
        if (method == null) {
            diagnostics.error(location, "Wrong method reference: " + nameBuilder);
        }
        return method;
    }

    private boolean extractMethodName(AstNode node, StringBuilder sb) {
        if (node.getType() == Token.ADD) {
            InfixExpression infix = (InfixExpression) node;
            return extractMethodName(infix.getLeft(), sb) && extractMethodName(infix.getRight(), sb);
        } else if (node.getType() == Token.STRING) {
            sb.append(((StringLiteral) node).getValue());
            return true;
        } else {
            return false;
        }
    }

    private boolean isJavaMethodRepository(AstNode node) {
        if (!(node instanceof PropertyGet)) {
            return false;
        }
        PropertyGet propertyGet = (PropertyGet) node;

        if (!(propertyGet.getLeft() instanceof Name)) {
            return false;
        }
        if (!((Name) propertyGet.getTarget()).getIdentifier().equals("javaMethods")) {
            return false;
        }
        return propertyGet.getProperty().getIdentifier().equals("get");
    }
}


text:
The Price/Wheeler House is a historic house located at 618 South 7th Street in Springfield, Illinois. Built in 1899, the house was the first of the city's turn-of-the-century Classical Revival residences. The house features a two-story front portico with four Ionic columns and a frieze and dentillated cornice. At the time of its construction, the house's design was unprecedented in Springfield; by 1910, however, the Classical Revival style was well-represented in Springfield's residential architecture. The house was built for Isaiah Price, a businessman who died two years after its construction. Former Springfield mayor and eventual U.S. Representative Loren Wheeler purchased the house in 1904.

The house was added to the National Register of Historic Places on February 14, 1985.

References

Houses on the National Register of Historic Places in Illinois
Neoclassical architecture in Illinois
Houses completed in 1899
National Register of Historic Places in Springfield, Illinois
Houses in Springfield, Illinois


Arwon Solutions - High Quality, Affordable Products from Quality Manufacturers, Campbellfield, Melbourne, Victoria. Motors & Fans, Power Supplies, Cooling Products, Electronic Products, Switches, Cabling.
Arwon Solutions are suppliers of an extensive range of affordable, high quality products for the Australian Market including: Stepping motors, servo motors, fans, dc motors, tachogenerators, electronic products, power supplies, LSC wiring systems, cabling, industrial computers, micro switches and position switches. We supply products from quality manufacturers such as Sanyo Denki, Lutze Systematic Technology, COOLTRON, Microprecision Electronics SA, MS Motor (MS Technology Co. Ltd), noax Technologies and Magnetic S.p.a. Based in Campbellfield, Melbourne, Victoria, our staff have 16 years of experience in the industry so are highly qualified to assist you with your needs.


Simon Wilcox, MD of managed services hosting company Digital Craftsmen, puts down the mince pies and sets out some new year's resolutions for 2015.
While pledging to slash my calorie intake, charge up my Fitbit Flex and get back on my bike, I've been pondering which new year's resolutions should be adopted by the hosting industry. What could we all do better to be fitter and more effective in 2015? Here's my hit list.
We need real people to combat cyber threats. Last year saw several vulnerabilities in some very widely used systems. I'm sure that 2015 will see many more. Security is an on-going process of preparedness and testing so let's spend more time preparing to deal with the next vulnerability or DDOS attack. There is no technological solution to this: technology helps but essentially it's down to the people and processes you have in place to respond to these threats.
I predict that, as the public cloud war intensifies, at least one major hosting player will implode in 2015. Why? We are in the midst of a price war between Amazon, Microsoft and Google. The 2014 mergers and acquisitions curve will steepen. And size is no guarantee of survival. The upshot? Specialist, vendor-independent providers such as Digital Craftsmen will be ideally positioned to help by providing excellent management services across multiple public cloud providers to ensure customers aren't cut adrift.
Lots of hosting companies can supply you with services but how many of them are true partners? You want a team that understands your business, not just your technology. And there should be commitment to common aims by all parties. Instead of piling high and selling cheap, 2015 should be the year the industry focuses on relationships and helping organisations like yours achieve more.
Does your hosting provider talk about technology or people? Are they selling you a product, or providing a team that can grow your business in a vendor-independent way? In 2014, we won three new clients — Elastic Path, Young Hackney and The Education & Training Foundation — by focusing on our people and processes. Yes, we have great technology, but it was our enthusiasm, flexibility and lateral thinking that put us ahead of the competition. Technology is a commodity; it's how you apply it that makes the difference. So in 2015, let's making hosting more human.


text:
Q: Scrapy response uniform blank rows making it impossible to format response output I want to remove the [ ] brackets scrapy adds to all it's output, to do this you simply add [0] at the end of an xpath statement as follows:
'a[@class="question-hyperlink"]/text()').extract()[0]

this solves the [ ] problem in some cases but in other cases scrapy returns every second row of output as blank and as such the moment it gets to the second row when using [0] i'm given the error:
Index error: list index out of range

How can I prevent scrapy from creating blank rows ? It seems like this is a common problem, but everyone faces this problem when exporting to CSV while for me it's with the scrapy response before exporting as CSV.
Items.py:
import scrapy
from scrapy.item import Item, Field

class QuestionItem(Item):
    title = Field()
    url = Field()

class PopularityItem(Item):
    votes = Field()
    answers = Field()
    views = Field()

class ModifiedItem(Item):
    lastModified = Field()
    modName = Field()

The spider that doesn't output every second row as blank and thus works with [0]:
from scrapy import Spider
from scrapy.selector import Selector

from stack.items import QuestionItem

class QuestionSpider(Spider):
    name = "questions"
    allowed_domains = ["stackoverflow.com"]
    start_urls = [
        "http://stackoverflow.com/questions?pagesize=50&sort=newest",
    ]

    def parse(self, response):
        questions = Selector(response).xpath('//div[@class="summary"]/h3')

        for question in questions:
            item = QuestionItem()
            item['title'] = question.xpath(
                'a[@class="question-hyperlink"]/text()').extract()[0]
            item['url'] = question.xpath(
                'a[@class="question-hyperlink"]/@href').extract()[0]
            yield item

The spider that gives every second row of output as blank:
from scrapy import Spider
from scrapy.selector import Selector

from stack.items import PopularityItem

class PopularitySpider(Spider):
    name = "popularity"
    allowed_domains = ["stackoverflow.com"]
    start_urls = [
        "https://stackoverflow.com/",
    ]

    def parse(self, response):
        popularity = response.xpath('//div[contains(@class, "question-summary narrow")]/div')

        for poppart in popularity:

            item = PopularityItem()
            item['votes'] = poppart.xpath(
                'div[contains(@class, "votes")]//span/text()').extract()#[0]
            item['answers'] = poppart.xpath(
                'div[contains(@class, "answered")]//span/text()').extract()#[0]
            item['views'] = poppart.xpath(
                'div[contains(@class, "views")]//span/text()').extract()#[0]
            yield item

Pipelines.py
import pymongo
import logging

class StackPipeline(object):
    def process_item(self, item, spider):
        return item

from scrapy.conf import settings
from scrapy.exceptions import DropItem
from scrapy import log

class MongoDBPipeline(object):

    def __init__(self):

        connection = pymongo.MongoClient(settings['MONGODB_SERVER'], settings['MONGODB_PORT'])
        self.db = connection[settings['MONGODB_DB']]

    def process_item(self, item, spider):
        collection = self.db[type(item).__name__.lower()]
        logging.info(collection.insert(dict(item)))
        return item

A: The easiest way to handle an error like this is to catch it and deal with it then (in this case, by just moving on past the blank lines).
class PopularitySpider(Spider):
    name = "popularity"
    allowed_domains = ["stackoverflow.com"]
    start_urls = ["https://stackoverflow.com/"]

    def parse(self, response):
        popularity = response.xpath('//div[contains(@class, "question-summary narrow")]/div')
        for poppart in popularity:
            try:
                item = PopularityItem()
                item['votes'] = poppart.xpath('div[contains(@class, "votes")]//span/text()').extract()[0]
                item['answers'] = poppart.xpath('div[contains(@class, "answered")]//span/text()').extract()[0]
                item['views'] = poppart.xpath('div[contains(@class, "views")]//span/text()').extract()[0]
            except IndexError:
                continue
            yield item


WEST NYACK — Customers would see their bills increase more than 50 percent over a three-year period if the state approves a rate increase requested yesterday by United Water New York.
Claire Kennedy, a United Water customer who lives in New City, was shocked by the amount of the request.
"Good grief," Kennedy said. "That's a lot of money. That's a lot of percentage."
United Water provides drinking water to the majority of homes and businesses in Rockland and serves Tuxedo in Orange County.
Michael Pointing, United Water New York's vice president and general manager, said it was the first time in 10 years that the company had requested a "full rate case" before the state Public Service Commission, which oversees utilities in New York.
"The main reason for requesting this increase in rates is due to United Water's investment in a variety of water quality and water supply projects during the past decade," Pointing said.
The company has invested $80 million in infrastructure improvements since 1996, including $55 million in the past five years, he said. The projects included adding a dissolved air flotation system at the Lake DeForest reservoir in Clarkstown, bringing the Letchworth Water Treatment system on line in Haverstraw, and purchasing Potake Pond in Ramapo.
United Water now wants to recoup some of those investment costs and use revenue generated by a rate increase to help pay for new projects, Pointing said.
The company plans to spend an additional $60 million in the next three years on various improvements that would expand or update its infrastructure, he said.
The company has also faced increased energy costs, along with increases costs for health care, pensions, insurance and property taxes, Pointing said, and the rate increase is also being requested to help the company meet those expenses.
The full rate case requests increases over three years — 33.8 percent the first year, 7.7 percent the second year and 5.1 percent the third year, United Water New York said. Compounded, the increases add up to 51.45 percent more than the original rate.
The company said that because of various billing structures based on water use, the percentage increase would not translate into an exact dollar increase. For example, according to United Water, residential customers using the average of 3,000 cubic feet — 22,500 gallons — of water per quarter would see their bills go up from $114.75 to $150.84 per quarter. That could mean an increase over the first year of almost $145.
County Executive C. Scott Vanderhoef said residents were going to have "sticker shock" when they learned about the request.
"There have not been enough capital investments in the past decade, and more money should have been spent on improvements to the infrastructure," Vanderhoef said. "That's why this increase comes as a much bigger surprise than it should."
The company said it waited a decade to undertake a full rate case because it was expensive, but United Water had provided good value for the money invested.
County Legislator Ellen Jaffee, D-Suffern, said additions to the system would not ultimately solve water issues confronting a county where development ran rampant and comprehensive planning was virtually nonexistent.
"Costs are going to continue to rise unless we control development and emphasize conservation," Jaffee said.
The company said it would step up conservation efforts, which it has outlined in its rate request.
State Assemblyman Ryan Karben, D-Monsey, noted that Orange and Rockland Utilities had also recently asked for an increase.
"Folks are strapped for cash," Karben said. "It will be extremely difficult for them to absorb increases in both of their major utility bills."
United Water spokesman Rich Henning said the company understood the situation.
"These are certainly difficult times for many people, but we have a responsibility to meet the needs of all of our customers," Henning said.
Kennedy said that as a customer, United Water had a lot to prove to her before she would consider supporting any increase.
She would want to know about intended improvements before she could stop feeling ripped off, Kennedy said. "It's just too much."
Ann Dalton, a spokeswoman for the PSC, said the rate review was an 11-month process that was overseen by an administrative law judge. The public will have the opportunity to offer written and spoken comment.


Julia Morgan was a groundbreaking female architect who worked on over 700 buildings during her epic career, paving the way for women in a male-dominated profession.
Julia was born to a wealthy family in San Francisco 1872. She was the second of 5 children and excelled at maths at an early age, encouraged by her mother. When she was still young she met her mother's cousin, the architect Pierre Le Bron, who sparked in her the desire to become an architect too.
As an eligible young woman from a successful American family, it was expected that Julia would have a debutante or 'coming out' party, which would introduce her to society and announce her availability for marriage! Julia wasn't too keen on the idea, however, and managed to convince her parents that it was more important that she pursue a career instead, unusual for a girl in her position at the time.
She went to the University of California to study civil engineering and was the only girl in her class. While there she was mentored by Bernard Maybeck, an architect in the California Arts & Crafts Movement. He suggested that she might follow in his footsteps and continue her studies at the prestigious L'Ecole Nationale et Speciale des Beaux-Arts in Paris. At the time the school didn't admit women, but Maybeck had heard rumors that they would soon be changing the rules. And so in 1896, Julia traveled to Paris to begin swatting for the entrance exams.
On her third attempt, Julia placed 13th out of 376 candidates, demonstrating skill and knowledge which couldn't be denied. She was finally admitted to L'Ecole des Beaux-Arts. However, just as she overcame one hurdle, another presented itself. The school only allowed people to study there up to the age of 30, which meant that Julia had less than the normal time to gain the necessary points needed for her certificate. With just months to go before her 30th birthday in 1902, she submitted designs for a grand theatre, which were so outstanding that she earned her certificate in architecture. Normally it would take a student 5 years, it only took Julia 3! She became the first woman to receive the qualification from the college.
While she'd been in Paris studying she took the opportunity to travel around Europe, studying the many different types of architecture she discovered and filling countless notebooks with sketches and paintings.
After she received her certificate she returned to San Francisco where she found employment under John Galen Howard. She worked on a number of buildings at the University of California with him but eventually decided she would leave and set up her own office. Perhaps after his remarks that, although she was an excellent draughtsman, he could get away with paying her peanuts because she was a woman.
In 1904 she became the first woman to get an architect's license in California and over the next few years, she went from success to success. She did work for Mills College, and all female college, including an innovative bell tower. When there was a large earthquake in California in 1906, her bell tower was one of the few buildings to remain standing. Because of this Julia's reputation grew, and in the aftermath of the quake, she earned several significant commissions. When a journalist heard that she was working on one particular building he was most curious to hear that there was a woman architect and believed that, as such, she must be an interior designer. When he questioned her about the decorative elements he assumed she was leading on, she explained that she was actually more involved in the structural side of things, to which he seemed somewhat bemused!
Her most well-known work was commissioned by William Randolph Hearst. In 1919 he contracted her to work on his family ranch, La Cuesta Encantada, which became better known as Hearst's Castle. The project was huge and would continue for the next 28 years of her life. She worked on several buildings on the huge estate, including a zoo! Julia didn't just design for the project, but was involved at every level of the undertaking, right down to the design for the tiles and even procuring animals for the aforementioned zoo!
Julia was keen to advance opportunities for women with her work, and almost a third of her buildings were for women's organizations and colleges. She designed 28 buildings for the YWCA, across 15 different American cities in California, Utah, Arizona & Hawaii.
Julia was a very private person; she never gave interviews and not much is known about her private life. She didn't marry or have children, rather absorbing herself in her work. A colleague said that it wasn't unusual for her to work 18 hour days. She retired in 1951, at the age of 79 – having led on the design and construction of over 700 buildings.
This online exhibition charts Julia's life and includes many of her original drawings.
Julia's greatest project, Hearst Castle, is open to the public. If you're in the area, why not visit and see her work up close?
Sheroes of History is a women's history blog which shines a spotlight on amazing heroines of the past! From women whose names you may have heard to those whose stories are less well known, find out about these amazing Sheroes of history.