text:
Blog, Opinion
2013: New Era of Connectivity, Global Collaboration?
Back in the old days, we shopped in stores, where Black Friday events caused trampling injuries. Our wallets were stuffed with cards for using credit, receiving discounts and unlocking doors. On average, English words were a couple of letters longer. Schools issued books, not tablet computers, and foreign exchange programs required students to actually travel overseas. Tablets relied on batteries, which required a recharge after only a couple of days. Hyperconnected folks stayed mostly tethered to power outlets and WiFi networks. People preferred to record and share events on smartphones, more than take part. Palm-held touchscreen apps helped tech junkies with everything, from infant parenting tactics to finding cheap gas to social activism. There was a lot of political discourse occurring; Congress had an approval rating below that of the United States turning communist.
After a decade or two, that's probably how we'll look back on 2012. With the year's hyped up solstice behind us, the Mayan's say we're now living in a new era, a point where the human experience is expected to drift toward a total breakdown or an epic breakthrough. It doesn't take a sensationalist to suggest our material culture is developing at an unprecedented rate, but whether it's a malignant growth depends on how convinced you are of our ability to control it. In my opinion, to avert a disaster, our material knowledge must not outpace our cultural competences. When combating violence, we must focus less on how its committed, more on why. Our evolved consciousness must respect everyone's right to life, liberties and truth. We must focus on acknowledging that the pursuit of happiness, freedom and personal fulfillment are common human desires, uniquely tailored for various environments.
Caveman Tools
Many futurists suggest exponential growth will lead to a technological singularity, where progress in technology occurs almost instantly, artificial intelligence is born and man becomes immortal. It took Homo sapiens 2,000 centuries to fashion their first commercial computers, requiring hefty systems to process high level programming languages. During the past 50 years, the number of transistors on integrated circuits has doubled about every two years, as we've made powerful computers common items in consumer pockets. Most recently, we've experienced an amazing pace of improvements in mobile technologies and Internet access. Less than 400 million people around the world were connected to the Internet after the inception of the 21st century, according to the Internet World Stats reports. Now, 13 years later, reports estimate more than 2.4 billion people connected, almost instantly sharing video, voice and text messages around the world. According to Twitter's stats page, its micro-bloggers took three years, two months and one day to send the service's first billion messages, or Tweets. Today, it hosts more than 200 million active users who, combined, send at least a billion Tweets every three days.
IPad and Tablet PCs
Through a consistent evolution of its material culture, mankind is cranking up the volume of its collective voice. Throughout 2013, participatory media will continue to drive attention away from broadcast media, as information sharing expands into an even more effective crowd-sourced project. Consumers and activists alike will keep rallying for organizational accountability, while directing content deliverability. Humans innately seek out collaborative tools, systems to get informed and inform others, to create connections and build understandings. People who're suddenly exposed to social technologies routinely sack repressive media policies. During their country's recent uprisings, three out of every four Egyptians primarily used social media to raise awareness about the revolutions, organize actions and manage activists, according to the Arab Social Media Report by the Dubai School of Government in November 2011. Eighty-five percent of Arab women said social media makes it easier for them to express themselves, while 80 percent said it empowers them to be role models for social change. However, save for the most oppressed communities, the average person will remain caught in habitual comforts, under appreciating social media's liberating trend. But as the 21st century advances, digital natives will continue to expect unrestricted participation within global information sharing channels, as a natural trait of any society that honestly values the voice of its people. Facebook asks its one billion active monthly users, "what's on your mind?"
Through a consistent evolution of its material culture, mankind is cranking up the volume of its collective voice.
Anonymous is a loosely associated hacktivist group with nearly a decade spent portraying a cyber vigilante. The organization is currently targeting Steubenville, Ohio, where a 16 year-old-girl was drugged and gang raped last August. Enraged that kidnapping charges had been dropped and only two people faced charges of rape, which were moved to the juvenile court system, the group infiltrated personal computers and email accounts. They launched "Operation Roll Red Roll" and hacked into the private information of people they believe had a role in the crime. They started publishing incriminating information online Jan. 1, including an alleged cover-up scheme, photos and a video of a high school "Rape Crew" laughing during a drunken rant. Social media, the court of public opinion, responded with expressions of horror and outrage. This type of underground justice system, where discretely and successfully exploiting digital data represents a seemingly supernatural power, is a genuine global concern, according to the National Intelligence Council:
"The spread of (information technology) use will give individuals and groups unprecedented capabilities to organize and collaborate in new ways. Networked movements enabled by IT already have demonstrated the capacity for disruption and the ability to quickly draw global attention to the need for political and social change. IT use enables individuals to organize around shared ideas in the virtual world and carry out sustained action. … The exponential increase in data, combined with emerging capabilities to analyze and correlate it, will give unprecedented capabilities to individuals and connected networks in nearly every part of the world well before 2030. … IT devices will play an increasing role in the fight against corruption and government malfeasance and incompetence."
Psychologist Abraham Maslow believed people are motivated by a hierarchy of needs: physiological, safety, belongingness and love, esteem, and then self-actualization. His theory translates well into Web-based networks, lending to an explanation of how online communities grow over time. When first exposed to the ambiguity of a virtual community, participants establish their ability to maintain a connection and purpose. Next, they must feel secure from computer viruses, privacy violations and personal attacks. With this foundation, they become more social, trying to belong to communities and sponsor sub groups. Their participation surges with recognition for their contributions. Lastly, they accept leadership roles that recognize their skills and open new opportunities. More and more, people are achieving a sense of self-actualization online. After the shooting rampage in a Connecticut elementary school last month, people relied heavily on social media to tackle the polarizing issue of the nation's gun laws, according to Pew Research Center. In the three days following the massacre Dec. 14, gun policy accounted for almost 30 percent of surveyed social media conversations in the United States, exceeding expressions of prayers and sympathy. Two years earlier, after the shooting outside a mall in Tucson, Ariz., Jan. 8, 2011, social media discussions about our country's gun laws barely blipped the radar – representing just 3 percent of online conversations during the first three days.
If we continue to build walls and borders around nations of people, promoting a cold, disconnected existence of constantly retreating and defending, empowering corrupt politicians who hoard resources and wealth, the human species will stumble. However, if we continue to empower all people, a global collective consciousness, through impressive communications technologies, enabling widespread cooperation of the whole, rather than the few, we'll move toward a more positive, transparent, peaceful future. We might usher in an era of change with the most impressive catalyst for human creativity ever experienced.
ResearchSocial Media
Previous PostColorado
Next PostWhy an Educator is Flipping Colorado's Classrooms


text:
package edu.harvard.econcs.turkserver.api;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotates a method that should be called when client enters a lobby.
 * @author mao
 *
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface JoinLobby {

}

redpajama_set_name: RedPajamaGithub


text:
Oleiros é uma freguesia portuguesa do município de Ponte da Barca, com 3,56 km² de área e 447 habitantes (censo de 2021). A sua densidade populacional é .

Demografia
A população registada nos censos foi:

Historia
A Freguesia de Oleiros dista, a partir da Igreja Paroquial, cerca de 3 Km da Vila de Ponte da Barca, a sede do concelho a que pertence, e ocupa uma área com cerca de 356 ha. Os lugares de Airó, Barreiro, Cesta, Fundo de Oleiros, Lobeira, Lousal, Quintão, Ribeiro, Sernil e Tapada, são os principais desta freguesia que tem por limites: a Norte, o rio Lima, que separa Oleiros da Freguesia de Souto do Concelho de Arcos de Valdevez; a Sul as Freguesias de Nogueira e Castro, a Nascente as Freguesias de Paço Vedro Magalhães e Ponte da Barca, e a Poente a Freguesia de Bravães, Sabe-se que documentos muito antigos, como o inventário dos bens do Mosteiro de Guimarães, de 1059, já mencionavam Oleiros como sua pertença. Historiadores como Pinho Leal, e Augusto Vieira dão-nos a saber que em 12 de Abril 1190, o Abade de Santo Adrião de Oleiros, Onerico Viegas, deu a sua igreja ao Mosteiro de Crasto, tal como o fizeram igualmente os Abades de Sampriz, Nogueira e Bravães.

É uma terra muito fértil, em todos os géneros de agricultura. Sempre produziu gado de excelente qualidade, tendo em tempos, exportado muito dele para Inglaterra.

Em 1757 tinha 67 fogos, e a mitra apresentava o abade que tinha quatrocentos mil réis de rendimento. Pertencia ao Arcebispado e distrito administrativo de Braga.

Com uma tradição centenária no fabrico de Fogos de Artificio,  Oleiros,  encontra nesta actividade  projecção  e promoção da sua identidade.

A igreja paroquial e um cruzeiro, muito bem trabalhado, ladeado por figuras da história cristã, tudo em granito, são ex-libris de Oleiros, que tem no rio Lima, no rio Vade e na Ponte Romana, que o atravessa outras atracções turísticas a somarem-se às lindas vistas panorâmicas. A arte da Pirotecnia tem vindo, também, desde há muitas décadas a projectar Oleiros para o País e o mundo.

Ainda, a respeito da história desta freguesia, vale a pena ter em conta a Ponte Romana sobre o rio Vade, que atende desde a romanização à passagem para a Freguesia de Ponte da Barca, sua vizinha a Nascente, como anteriormente já se referiu. É, também, importante  transcrever o que está no livro Inventário Colectivo dos Registros Paroquiais Vol. 2 Norte Arquivos Nacionais Torre do Tombo ": «A primeira referência conhecida a esta igreja está contida numa doação, feita em 1190, ao mosteiro de Crasto da igreja de "Sancti Adriani de Oleiros".

As Inquirições afonsinas, de 1220 e 1258, referem-se-lhe, sendo nestas últimas mencionada "In collatione Sancti Adriani de Oleiros". Em 1290, nas Inquirições efectuadas no reinado de D. Dinis, aparece já designada como freguesia de "Sant Adraão de Oleyros".

No catálogo das igrejas organizado em 1320, para pagamento de taxa, Oleiros, que fazia parte da Terra da Nóbrega, foi taxada em 80 libras. No registo da cobrança das "colheitas" dos benefícios eclesiásticos do arcebispado de Braga, feita entre 1489 e 1493, D. Jorge da Costa apurou que Santo Adrião de Oleiros rendia 5 libras, sendo 467 réis e 2 pretos, em dinheiro com "morturas" e 101 réis de dízimas de searas.

Em 1528, o Livro dos Benefícios e Comendas atribui-lhe um rendimento de 25 mil réis.

Américo Costa descreve-a como abadia da apresentação da Mitra. Em termos administrativos pertenceu, em 1839, à comarca de Ponte de Lima, em 1852, à de Arcos de Valdevez e, em 1878, à de Ponte da Barca. Em 1927, pelo decreto n° 13917, de 9 de Julho, a comarca de Ponte da Barca foi suprimida, sendo as freguesias do concelho anexadas, para efeitos judiciais, à de Arcos de Valdevez».

Freguesias de Ponte da Barca

redpajama_set_name: RedPajamaWikipedia


text:
Кочура Максим Дмитрович (1994—2014) — солдат Збройних сил України, учасник російсько-української війни.
 Кочура Максим Юрійович (1979—2016) — солдат Збройних сил України, учасник російсько-української війни.
 Кочура Михайло Федорович (1851—1932) — український культурний діяч, письменник, поет.
 Кочура Олег Анатолійович — старший солдат Збройних сил України. Учасник російсько-української війни.
 Кочура Олександр Григорович — український футболіст, півзахисник.
 Кочура Панас Федорович — український радянський письменник.

Див. також
 Кочур


text:
New Latin For… An Upgrade To The Remix
New Music Stations
by Marcos Juárez on July 27, 2016
In 2016, the remix is almost always better than the original. Back in the day, a remix meant a full reworking of a track, usually with an altered or totally new instrumental. That still holds true in some instances, but more often than not, it's basically the same cut with more verses and more star power. What's not to like? How can I ever go back to the original version? Decide for yourself on New Latin & Tropical, featuring these following remixes and much, much more!
1. Ozuna – "Si No Te Quiere Remix"
We're awaiting a full-length from star-child, Ozuna, but every single he's released so far is murdering on Pandora. With the "Si No Te Quiere Remix," he leverages the power of the remix with a collabo/cosign from Farruko and Arcángel. It's a win/win. Farru and Arca align themselves with the rookie of the year and Ozuna gets a big plug.
2. Daddy Yankee and Nicky Jam – "All The Way Up (Spanish Remix)"
Old school collaborators Daddy Yankee and Nicky Jam offer up their version of the Fat Joe/Remy Ma anthem, and the result is solid! It's exciting to see walls are being broken down between genres and languages. Side note: Remember when Fat Joe challenged DY to a political debate in 2008? It never transpired.
3. Enrique Iglesias –"Duele El Corazón (feat. Tinashe And Javada)"
No one provokes the, "Haven't I heard this before?" sentiment like Enrique. He's basically made the same song over and over since the success of "Bailando," and that's not a criticism! His latest, "Duele El Corazón," has no fewer than four remixes. The latest version features pop artist Tinashe and reggae vocalist Javada, in a concerted Spanglish crossover effort.
4. Zion & Lennox – "Embriágame (feat. Don Omar)"
Don Omar is sparing with his remix appearances, making his participation here alongside Zion & Lennox seem additionally exclusive. What is already a great summer track is elevated into a summer anthem. It's nice to see reggaetón OGs still making impactful music, and this is the perfect example of how a remix can take a track to the next level.
5. Jey M – "Yo Sabía Official Remix (feat. Alexis & Fido, De La Ghetto Y Carlitos Rossy)
This is a good look if you're an unknown artist. Release a remix of a song that nobody has heard of and add high power cameos from artists like Alexis & Fido, De La Ghetto and Carlitos Rossy. This way, everyone thinks that they've been sleeping on you. Sit back and watch the intrigue, mystery and anticipation grow. Well played, Jey M.
Start New Latin & Tropical on Pandora to hear all these remixes and more!
Latin Curator
Marcos Juárez
Vintage and classic Latin American music is my wheelhouse, but I'm the last person to put myself in a genre box — life is too short.
@mjuarez768
Changing the Odds for Touring Bands
Artists to Watch at Lollapalooza
Roberto Betancourt
August 04, 2016 at 4:36pm
Nidia Serrano
November 02, 2016 at 6:22pm
Pretty awesome list

redpajama_set_name: RedPajamaCommonCrawl


Kenny, my first ~ born on September 9 at 1:50 AM, weighing in at 8 lbs, 12 oz.
This whole blog began because of him!
Kenny is wildly smart, inquisitive, a sustainer of all that is just and fair in the playroom and a mean Chinese Checker player. He loves playing baseball and soccer and swimming and hiking and biking and riding at breakneck speeds downhill on his Razor. He's exactly what I imagined it would be like to have a little boy. And so much more!!


text:
KPMG360° Digital Software Engineering Degree Apprenticeship
London, Manchester
Engineering & Aerospace, Technology
Apprenticeship, Degree
With a worldwide presence, KPMG continues to build on our successes thanks to a clear vision, our people and Our Values – we're supporting businesses to grow, our people to achieve and our communities to thrive.
Our largest practice is Audit, which helps to build the confidence and trust that business and society needs. In Tax & Law, Consulting, Deal Advisory and Technology & Engineering, we help companies to solve some of their most complex business challenges.
What is Software Engineering?
Technology is at the heart of what we do and is changing the world like never before, which makes it a really exciting time to join us. Working shoulder-to-shoulder with our clients, we are pioneering some of the most advanced tech-enabled solutions to help them solve some of their biggest business challenges and make a difference.
About the Software Engineering degree apprenticeship programme
Our work is both technical and diverse and our Software Engineering apprenticeship is designed to support you on your journey to a successful career in technology. You'll explore the interaction between technical systems and the workplace and how to leverage them effectively for maximum business impact.
Our software engineers come from a diverse range of backgrounds. Whether fresh out of school or college, or ready to start a new opportunity - we look for people who are curious and passionate about technology; who have a team-first mindset, want to learn, are willing to take on early responsibility and relish solving problems.
As an apprentice at KPMG, you'll gain valuable work experience, develop core skills and be supported in your study towards fully funded professional qualifications and accreditations – all whilst earning a salary.
You'll study towards a BSc (Hons) degree in Digital and Technology Solutions and could find yourself learning specialisms such as software development, Cloud infrastructure, user experience design (UX), testing, coding or project management. Along the way, you'll also develop technical skills; learning languages including C# with a fast-growing Python base and work towards accreditations through the likes of AWS, Google Cloud Platform or Microsoft Azure.
See our website for further details of entry requirements. We will however look at more than just your academic results and will also consider your strengths, values and motivations. See our 'How to Apply' sections for further guidance.
Morgan Stanley - Digital and Technology Solutions Degree Apprenticeship (Software Engineer)
20, Bank Street, London, E14 4AD
MORGAN STANLEY UK LIMITED
Save Morgan Stanley - Digital and Technology Solutions Degree Apprenticeship (Software Engineer)
Accenture London Technology Degree Apprenticeship 2021
Save Accenture London Technology Degree Apprenticeship 2021
Apprenticeship - Junior Software Engineer
24,000 pa
Save Apprenticeship - Junior Software Engineer
Engineering Degree jobs in Technology


Patrick, in a statement to The Texas Tribune responding to Bonnen's remarks, said that the two chambers "have taken different approaches" on the issue.
The politics surrounding the Senate's teacher pay raise bill this session are unusual, with Patrick, who has previously clashed with educators, advocating for a proposal many teachers like. Meanwhile, conservative group Empower Texans, a key contributor to Patrick's campaign, has come out against the bill, with one employee criticizing conservatives like Patrick for "kowtowing" to liberals.
At least one educator group is calling for an across-the-board raise. HB 3 "will provide more classroom resources and may give some teachers a pay raise. But we need an across-the-board, permanent pay raise for every teacher guaranteed in the law and an increase in funding to also assure pay raises for all school employees," Noel Candelaria, president of the Texas State Teachers Association, said in a statement Tuesday.
The dueling proposals highlight how a lot of negotiating still needs to be done in order to get both chambers on the same page. Although Senate and House lawmakers previously said they wanted to have a joint press conference releasing identical school finance bills, the Senate's education chair, Larry Taylor , R-Friendswood, was not present at Tuesday's press conference and has not filed a companion bill. He is expected to file Senate Bill 4 later this week, which will likely not be identical to HB 3.
Overall, HB 3 covers three priorities — teacher pay, property tax reform and school finance reform — that Abbott named "emergency items" in his State of the State addresss last month, meaning state lawmakers can move faster to pass them. Of the $9 billion proposed in the bill, $6 billion would go to school finance reform and $3 billion would go to property tax relief.
On Tuesday, Abbott praised HB 3 while avoiding specifics about teacher pay.
"We promised Texans that this session would be transformative and address big issues like school finance and property tax reform, and today's announcement by Chairman Huberty is a big step in honoring that pledge," he said.
increase the base funding per Texas student by $890, bringing it from $5,140 to $6,030. That base number has not been changed in four years and is not adjusted for inflation.
compress all school districts' tax rates by 4 cents per $100 of taxable property value, which could save the owner of a home with a taxable value of $250,000 about $100 annually in school district taxes.
help reduce recapture payments by about $3 billion. Recapture, also known as Robin Hood, is a state program that takes excess funding from wealthier school districts with higher property values and redistributes it to poorer school districts and charter schools.
help fund full-day pre-K for eligible students.
provide $140 million for a program to help school districts recruit and retain teachers.
give an incentive to school districts that want to offer an extra 30 days of half-day instruction for elementary school studies during the summer.


text:
Republican Lawmakers Are Now Getting Death Threats Over … Infrastructure Legislation
"It's amazing people want to kill me over paving roads and clean water," Republican Rep. Andrew Garbarino told Buzzfeed News
Rep. Andrew Garbarino, R-N.Y., speaks with Roll Call on the House steps at the Capitol on Friday, July 30, 2021. Bill Clark/CQ-Roll Call/Getty Images
Welcome to the state of affairs in 2021's MAGAfied GOP, where House Republicans who voted for a bipartisan infrastructure bill find themselves on the receiving end of death threats.
"It's amazing people want to kill me over paving roads and clean water," Rep. Andrew Garbarino (R-N.Y.) recently told Buzzfeed News.
The congressman is one of 13 House Republicans who voted for the infrastructure bill. And for that, he has been receiving increasingly unhinged messages, including from one man who has been arrested for threatening Garbarino's life. Kenneth Gasper was arrested by Nassau Police and has been charged with aggravated harassment, Buzzfeed reported on Thursday. Garbarino's spokesperson told Buzzfeed that the congressman has received "one specific death threat and numerous other instances of harassment both over the phone and in person at our offices."
How did we get here? How did people come to decide that supporting funding for smooth roads, timely trains, and non-collapsing bridges was tantamount to treason and punishable by death?
Well, it turns out that when you keep telling people that Democrats are allied with domestic terrorists in a bid to turn America into an anti-white socialist dystopia, at some point they're going to take you seriously.
Speaking about the GOP members who voted for the bill, former President Trump said they are not real Republicans and should be "ashamed of themselves." Rep. Marjorie Taylor Greene (R-Ga.) posted on Twitter the phone numbers for the 13 members of Congress who voted to support the infrastructure package. "These are the 13 'Republicans' who handed over their voting cards to Nancy Pelosi to pass Joe Biden's Communist takeover of America via so-called infrastructure," she wrote.
Garbarino is not the only one receiving threats for supporting the bipartisan bill. Rep. Fred Upton (R-Mich.) released audio of a voicemail threatening his life as well as his family and staff this week. "I hope your fucking family dies. I hope everybody in your fucking staff dies, you fucking piece of fucking shit. Traitor!" an anonymous caller said in the message to Upton.
"We have seen civility really downslide here," Upton said on CNN. He told The Detroit News that he received more than 1,000 calls within four days of the vote, including multiple "nasty" death threats. More than 90 percent of those calls, he said, came from outside his district.
One Republican member was so sick of the harassing calls that their office rerouted all of their incoming calls to Greene's office, Politico's Olivia Beavers reported. "She can answer the phones," a GOP source told Beavers.
These threats are part of a larger trend of rising death threats against elected officials. chief of the U.S. Capitol Police, J. Thomas Manger, told the Associated Press in September that his department estimates authorities will respond to nearly 9,000 threats against members of Congress this year.
Garbarino told Buzzfeed that he hopes they will stop fanning the flames.
"I don't think my colleagues want to get me killed, but they should stop with the rhetoric," he said.
Andrew Garbarino,
Fred Upton,
infrastructure,
Sundance 2023 Movie Deals So Far: 'Nam June Paik: Moon Is the Oldest TV' Acquired by Greenwich Entertainment


text:
Q: Verify submission using Ajax I'm bulding a website that allows users to upload a picture and then get the EXIF info shown in a user-friendly way.
I also want to make available an option for users to be able to share their picture online.
At the moment I already have the JavaScript for the image preview fully working: I select an Image on a Form and it appears on the website...
Now, after the users load the picture into the preview area a button appears that allows the user to upload the picture.
The thing is that I want the upload to be done without the page refreshing...
I've already asked a question about it and it has been solved by using this bit of code on the "head" of my main page, where the form is:
<script>
            // wait for the DOM to be loaded
            $(document).ready(function() {
                // bind 'myForm' and provide a simple callback function
                $('#form1').ajaxForm(function() {
                    alert("Image uploaded!");
                });
            });

</script>

This does work... When I press the button to upload the picture it does get uploaded, it stays on page with the preview still on sight and an alert message is shown saying "Image uploaded"..
The problem is that, in case i choose like a ".txt" file and press to upload it will still say "Image uploaded", even though it hasn't uploaded it, because on the PHP file I'm verifying the file type before uploading it, only allowing .png and .jpg...
It will also say "image uploaded" even if I modify my PHP file on purpose with wrong info... So, basically. it's not testing anything atm...
I also had my PHP coded to show a message in this situation saying "Only jpeg and png allowed..."... But this would be shown on a blank "after submiting"-page of course, which I don't want...
The question is:
As that bit of code that uses Ajax kinda "overrides" the error messages present on my PHP code, how do I modify it in order to show an error message in case it isn't an image that's trying to be uploaded?
Another way could be for me to verify if it's an image when loding it to the preview-area via JavaScript maybe?
My JavaScript code to load the image into a "preview area":

function readURL(input) {
        if (input.files && input.files[0]) {
            var reader = new FileReader();

            reader.onload = function (e) {
                $('#img1').attr('src', e.target.result);
            }

            //Mostrar a imagem e o mapa ao fazer o upload
            var x = document.getElementById("itens");
            if (window.getComputedStyle(x).display === "none") {
                x.style.display = "block";
            }
            var y = document.getElementById("exif");
            if (window.getComputedStyle(y).display === "none") {
                y.style.display = "block";

            }
            y.scrollIntoView(true); //Redireciona o ecrã para a imagem carregada

            reader.readAsDataURL(input.files[0]);
        }
    }

    $("#imgInp").change(function(){
        readURL(this);
    });

        var botao = document.getElementById("upload_img");

        var z = document.getElementById("link_foto");

        botao.onclick = function() {
            if (window.getComputedStyle(z).display === "none") {
                z.style.display = "block";
            }
        }

My PHP code to upload the image to a folder and database:

<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);

$link = mysqli_connect("localhost","root","","geopic") or die("Error ".mysqli_error($link)); //ligação à base de dados e à tabela

 // O array global PHP $_FILES permite o upload de imagens do computador para o servidor.
 $image = $_FILES["imgInp"]["name"];

 //devolve o nome da cópia temporária do ficheiro presente no servidor
 $uploadedfile = $_FILES['imgInp']['tmp_name'];

 //Devolve o tipo de ficheiro
 $image_type =$_FILES["imgInp"]["type"];

if($_SERVER["REQUEST_METHOD"] == "POST")
 {

     //imagecreatefrompng — Cria uma nova imagem a partir do ficheiro porque não se sabe se o utilizador vai fazer o upload de um ficheiro com extensão permitida
 if($image_type=='image/png' || $image_type=='image/x-png')
 {
  $src = imagecreatefrompng($uploadedfile);
 }
 elseif($image_type=='image/gif')
 {
  $src = imagecreatefromgif($uploadedfile);
 }
 elseif($image_type=='image/jpeg' || $image_type=='image/jpg' || $image_type == 'image/pjpeg')
 {
  $src = imagecreatefromjpeg($uploadedfile);
 }else{
     //se não for uma imagem mostra a mensagem e termina o script
     exit ("Only jpeg and png allowed..." ) ;
 }

 //getimagesize() Esta função vai "buscar" o tamanho da imagem carregada. O tamanho original é necessário para realizar o "resize" na função"imagecopyresampled".
 list($origWidth,$origHeight)=getimagesize($uploadedfile);

    $maxWidth = 1280; //Define a largura máxima da imagem a guardar no servidor
    $maxHeight = 800; //Define a altura máxima da imagem a guardar no servidor

 if ($maxWidth == 0)
    {
        $maxWidth  = $origWidth;
    }

    if ($maxHeight == 0)
    {
        $maxHeight = $origHeight;
    }

    // Calcula a rácio dos tamanhos máximos desejados e originais
    $widthRatio = $maxWidth / $origWidth;
    $heightRatio = $maxHeight / $origHeight;

    // Rácio usada para calcular novas dimensões da imagem
    $ratio = min($widthRatio, $heightRatio);

    // Calcula as novas dimensões da imagem
    $new_width  = (int)$origWidth  * $ratio;
    $new_height = (int)$origHeight * $ratio;

 // Função que serve para a imagem não perder qualidade perante o redimensionamento
    $image_p=imagecreatetruecolor($new_width,$new_height);

 // No caso da imagem ser PNG com fundo transparente, esta função mantém a transparência
    imagealphablending($image_p, false);
    imagesavealpha($image_p, true);
 //Função que vai redimensionar a imagem
    imagecopyresampled($image_p,$src,0,0,0,0,$new_width,$new_height,$origWidth,$origHeight);

 //Vai gerar um nome para a foto com base na hora atual, para nunca existirem fotos com o mesmo nome

 $temp = explode(".", $image);
 $newfilename = round(microtime(true)) . '.' . end($temp);

 $filepath = "http://localhost/geoPic/photos/".$newfilename;

// A função move_uploaded_file vai realizar o carregamento da foto para a pasta.
 if(move_uploaded_file($_FILES["imgInp"]["tmp_name"], "photos/".$newfilename))
 {
     /*
     $stmt = $link->prepare("INSERT INTO photo (name, path) VALUES (:name, :path)");
     $stmt->bindParam(':name', $nome);
     $stmt->bindParam(':path', $caminho);

// insert one row
     $nome = $newfilename;
     $caminho = $filepath;
     $stmt->execute();

     */

    $query_image = "insert into photo (name, path) values ('".$newfilename."', '".$filepath."')";

    if(mysqli_query($link, $query_image)){
        //$link_foto = mysqli_query($link,"SELECT path FROM carro WHERE name = $newfilename");

        echo "Image uploaded";

    }else{
        echo "image not uploaded";
    }
 }
 }

?>

Thanks in advance..
You guys are awesome and have already provided me with crucial help in this project's development!

A: In order to solve your problem(s):

*

*You should add success property in your ajax code so that message will only be displayed when the data is processed successfully with no errors. You can apply this by replacing your code with this:

<script>
            // wait for the DOM to be loaded
            $(document).ready(function() {
                // bind 'myForm' and provide a simple callback function
                $('#form1').ajaxForm({
                   success: function(response){ alert(response); }
                });
            });

</script>

So after adding the script above, you need to modify your back-end to return a response. So in your PHP code, you should modify your code and replace echo with return so that the response will be returned to the front-end, then you can alert the response

*I think you should ensure from the front-end (HTML) that only images with the extensions you want can be selected which i think will make it verification a lot more easier for you. You can apply this by appending an accept attribute to the input element (i.e. the one you used for selecting the images).

Example: <input accept="image/jpeg,image/jpg,image/png">
The code above will ensure that users can only select/upload files with the following extensions (jpg, jpeg, & png).

*If you want to use JavaScript to verify if the file selected is an image, then i think you should replace your readURL function with this:

function readURL(input) {
        if (input.files && input.files[0]) {
            const fileType = input.files[0]['type'];
            const imageTypes = ['image/jpeg', 'image/jpg', 'image/png'];
            if(imageTypes.includes(fileType)) {
            var reader = new FileReader();

            reader.onload = function (e) {
                $('#img1').attr('src', e.target.result);
            }

            //Mostrar a imagem e o mapa ao fazer o upload
            var x = document.getElementById("itens");
            if (window.getComputedStyle(x).display === "none") {
                x.style.display = "block";
            }
            var y = document.getElementById("exif");
            if (window.getComputedStyle(y).display === "none") {
                y.style.display = "block";

            }
            y.scrollIntoView(true); //Redireciona o ecrã para a imagem carregada

            reader.readAsDataURL(input.files[0]);
          } else { alert("Please select a valid image"); }
        }
    }

redpajama_set_name: RedPajamaStackExchange


Way back in American history some people were guaranteed to have clothes, food, shelter and jobs and it was all paid for by the rich!
It was known as slavery!
So, what do you call it when government gives you the same guarantees?
The question is, does the government take the same from you in exchange as in that prior arrangement? And do you have the same say in the matter?
Ah the slavery topic again.
Let it go it was in the past.
I call clothing, food and shelter a blessing.
Second, your argument that "because some people were guaranteed X, and now because the government guarantees the same things, the two are the same" doesn't quite hold water. I was guaranteed clothes, food and shelter by my parents as a child, that didn't mean that I was a slave.
Third, I wouldn't consider government services so much as a benefit of slavery so much as a benefit of theft. Sure, slavery and theft can be seen as the same thing: I'll grant you this argument if you want to equate them. But the way government provides services is that they threaten to throw you in jail if you don't pay up - hence it's more along the lines of having someone put a gun to your head and demand your wallet.
I wouldn't call government programs slavery, I'd simply call it a sort of robbery. I am forced to have my money spent a certain way instead of spending it how I want, and people are prevented from spending their money a certain way by law.
I'm not bitter or spoilt er the correct word is spoiled, perhaps you were denied your RIGHT to an education.
I have worked for everything I have and I'm not asking anyone for anything. My fate is in my hands, but it seems Americans more and more are expecting government to provide for their needs. If we continue to do this, what will it be called when it's achieved? A simple question.
I was not denied an education, simply afforded a good one. The word 'spoilt' is the prefered spelling in the english language in the UK and Ireland.
In my country, when people are old, unemployed or unable to take care of themselves, the rest of us give a small amount of what we have to help them out. We do this by paying taxes, I'm sure you have heard of them. The government then distributes the taxes in a way that they think is fair. It seems to work quite well. I guess the answer to your question of what you should call an America that takes care of the less fortunate is 'a humane society'.
I'm sorry, excuse my ignorance. I didn't expect someone from across the pond to respond to the question.
"distributes the taxes in a way that they think is fair."
Grover Cleveland, our 22nd and 24th president and a democrat used his veto power more than any other president. Once when farmers in Texas experienced a horrific drought, a bill that offered 10,000 dollars to those farmers came to his desk and he refused to sign it, noting that the constitution doesn't provide for the government to help or hinder it's citizens in such matters. Americans on their own raised 100,000 dollars for those farmers!
That's the difference. Americans are generous people and will share their blessings with those in need. We don't need nor want nor rely on the government to be our conscience. What we require of our government is to keep us free!
That's interesting, perhaps I was harsh in my initial reaction in that I was not sure exactly what you were referring to. As I understand, America wants little to do with socialism. In Ireland, a lot of people want to be told what to do by the government. The fear of failure drives us to a form of socialism as opposed to the American view where aspirations of success drives capitalism.
We are obviously approaching this topic from very different backgrounds and as you are an American, you will understand the American situation more than I. I think it is hard to strike the right balance between being free and being utterly alone and self dependent. The rich want one thing and the poor want another.
From my cultural perspective, there appears to be a wider gap in America between the rich and the poor. It seems a cold and unforgiving place if one is unsuccessful. But then, I think maybe Ireland is too forgiving.
"Way back in American history some people were guaranteed to have clothes, food, shelter and jobs and it was all paid for by the rich!
So, what do you call it when government gives you the same guarantees?"
First off slaves were not given much of anything. They definately were not guaranteed clothes, food, or shelter. Jobs by my definition are paid, there-fore no 'jobs' either.
They were forced to work. They were kept however their owner decided to keep them... naked, hungry and outside if the owner desired.
Second if a Government guarantees something I call one of two things 1 a lie or 2 a misprint.
I looked up liar in the dictionary, there were pictures of politicians???
Actually slave owners often worked side by side with their slaves. Owners relied upon them. Yes they were beaten for committing crimes or avoiding work, but is that any different than what society does now with criminals? Ok, well we don't beat people for not working anymore, we reward them now!
Whoa, Poppa Blues, that's a fire-starting question.
I really do think we are better off now, than then.
I don't think you're spoiled. The idea probably made you laugh!
and its sad to see so many people gladly hand over thier freedom, to get their "benifits"
I agree. I see this the same as how religion operates. I think they are both governments from the same philosophies. Like government, people give over freedom of mind to get a belief with benefits. Like government, religion creates dependency for control.
Poppa Blues, it's called the same as it was back then. Obviously.
Reparations - Is it a Realistic Conversation?
What Is Really Wrong With America?
http://www.americanrevolutioncenter.org … 27_web.pdfUnbelievable! What's wrong is Americans don't have a clue as to the importance of their rights, they simply take them for granted and presumably would be more than willing to give them up!


The five-a-day mantra has been 'hijacked' by the food industry to promote meals such as sausages and chips, a minister has admitted.
Anne Milton said the Government was powerless to prevent firms claiming products were healthy, even when packed with sugar, salt and fat.
For years the public has been advised to eat at least five portions of fruit and vegetables a day to help prevent cancer, heart disease and maintain a healthy diet.
But a loophole in the law allows firms to imply that ready meals, tins of spaghetti hoops and sugary drinks are all healthy – because they contain one portion of fruit and veg.
Under Government guidelines, manufacturers can use the 'five-a-day' logo as long as their products contain 80g of fruit and vegetables – including chopped tomatoes or frozen peas.
They should not display it on products that contain added salt, fat and sugar, however. But these guidelines are voluntary and many firms ignore them.
Items brandishing these labels include Kershaws sausages and chips, a frozen ready meal that contains 18g of fat, and Kershaws 'All Day Breakfast'.
McDonald's also uses the logo on its Fruitzz children's drink which contains 49g of sugar and 200 calories.
Public health minister Miss Milton told Channel 4's Dispatches, to be shown tonight: 'I think at the moment consumers are quite confused. I think we're always up against a bit of a battle with industry, who often hijack popular messages that Government use to give out information.
Simon Capewell, professor of clinical epidemiology at the University of Liverpool, said the logos used by firms were unregulated.
'It's complete open season out there. So the consequence is that consumers, even quite intelligent ones, are vulnerable to being misled, they're very open to confusion,' he added.
Dementia: Vitamin B supplement tackles disease so why is drug industry spending billions?


Rod Christensen does service and repairs for most musical instruments .. everything from minor repairs to a full service or total instrument overhaul.
He offers a free assessment service which is carried out in his workshop with special equipment and magnified lighting to ascertain exactly what work your instrument requires. He then gets back to you with a cost estimate before proceeding.
Hourly rate is $45. All work carries a 3 months guarantee !
Turn around time is usually just a few days unless an instrument needs major work or parts have to be ordered. Priority is given to an instrument if it is required urgently. Rod is also a multi-instrumentalist and is therefore able to play and thoroughly check each instrument after a repair or service has been completed.
Drum kit assembling, skin replacement and tuning, general repairs.


Though I can't always shop small (I have a nearly three year old who is obsessed with all things American Girl doll), I have made an effort to do a lot of my shopping from small businesses this season. Though I used to make a lot of my own gifts, I find it more difficult to find the time to do that, but I still want to gift unique, quality gifts! There are some awesome places (with online shipping and upcoming Small Business Saturday Deals) that I wanted to highlight!
I got the awesome sign pictured above from them yesterday--this was a gift for my family with our "house rules." I love it and plan to visit the Spoonful of Imagination Open House on December 9th to pick up some more gifts. Great customer service and high quality items--bookmark this link for future baby showers also!
I may be a little bit biased because my mom is the owner of PortalUnlimited, but her shop is perfect for all of the art lovers on your gift list. She sells art prints and holiday cards online, but if you're local, you can visit her shop to buy unique 3d art, original paintings, hand crafted jewelry, and pottery pieces. Message her to get a quote for a custom art piece this holiday season!
I've been a long time fan of Sweetees' super cute mama tees and sweatshirts. With the addition of amazing boutique items, this is a great site to check out if you have mom friends in your life or ladies who love the looks that boutiques offer. With fun games, a Facebook VIP group for deals (and the most amazing virtual games of Bingo!), Sweetees not only sells original and fun clothes, cups, etc., but they're also a SUPER fun company!
I love, love, love inspiring quotes and prints. Framing these items is such a great gift. The legacy collection at Letterwood is phenomenal. I bought a print of inspiring women for my daughter and few others for some brave and bold ladies in my life! They also sell jewelry, calendars, and awesome greeting cards and invitations.
Have other small businesses with awesome products? I'd love to hear about them!


Current Scottish U18 Boys champion Craig McLachlan of the North Shore Surf Club will also be hoping to defend his title (c) Studiograff Photography.
Jonny Ewart, SSF member said; "I'm really looking forward to the event this year, the competition gets better and better each year and Thurso is a great venue with world class surf"
Competitors and officials will meet at 2000hrs in the Pentland hotel on the 18th of April for a competitors and officials brief. The event is due to start on the morning of the 19th at Thurso-East, Scotland's premier reef break. A social event will take place in The Pentland Hotel, Thurso at 1900hrs on the 20th of April to raise funds for the SSF and there will be an event banquet at 1800hrs on the 21st of April at the same venue possibly followed by some or all presentations depending on event progress with the remaining presentations taking place at Thurso-east on the 22nd of April if the event not completed. As always, the schedule is subject to surfing conditions and all 4 days can be used to have optimum surfing conditions for competitors.
Paul Bush OBE, VisitScotland's Director of Events, said: "We are delighted to be supporting the Scottish National Surfing Championships, which will see some of the country's best surfers compete at Scotland's world-renowned reef break, Thurso-East. Surfing is one of the most exciting events on our annual sporting calendar, and the Championships promises to be a fantastic, action-packed event for both competitors and spectators alike."
The event will be used to choose the teams for The British Surfing Championships & British Cup in Jersey, European Surfing Championships in Portugal and the Ireland V Scotland Perpetual Cup in Ireland.


text:
ROCOR
Religion Watch — Newsletter reports on the rise of Western Rite parishes under the Russian Orthodox Church
In its March 2017 issue (Volume 32, No. 5), the newsletter Religion Watch (published by Baylor Institute for the Studies of Religion) pays attention to the rise of Western Rite parishes under the Russian Orthodox Church Outside Russia (ROCOR):
In late February Metropolitan Hilarion, Primate of the Russian Orthodox Church Outside of Russia (ROCOR, which is part of the Moscow Patriarchate since 2007) ordained as an Orthodox priest Sam Seamans, a former bishop in the Anglican Church in North America (ACNA), reports Fr. Victor Novak on his blog (March 3). Along with his parish in Arkansas, former Bishop Seamans decided to join the Orthodox Church in 2015 but is serving in the Western Rite, a small but growing movement within ROCOR. Until a few years ago, most Western Rite parishes under Orthodox bishops belonged to the Western Rite Vicariate of the Antiochian Orthodox Christian Archdiocese in America. ROCOR has now become the other player in what remains a minor (but potentially significant) movement within American Orthodoxy. The development seemed to be an unlikely one. While in 1959 ROCOR actually accepted a Western Rite group of parishes in France and consecrated a bishop in 1964 for that purpose, a break in the movement led the Synod of the Bishops of ROCOR to declare that the Western Rite would not be allowed.
In the 1990s, however, the current Metropolitan started accepting a handful of small Western Rite groups and established a vicariate in 2011. It now has a dean, currently a former Anglican archdeacon, and several Western Rite liturgies are approved for use in ROCOR parishes. Western Rite parishes enjoy stavropegial status under Metropolitan Hilarion (which means that they stand directly under him, wherever they may be). ROCOR lists the parishes in its official printed directory as well as on its website. There are currently more than 25 parishes plus a few small monastic communities. They are mostly located in the United States. There are a comparable number of parishes (23 according to current listings) in the Antiochian Archdiocese. Metropolitan Hilarion's openness to Western Rite groups for missionary reasons — especially in response to former Episcopalians — seems to have been a major factor in the current presence of such parishes within ROCOR. What is unclear at this point for the movement's long-term prospects is how many other ROCOR bishops would be as open as Metropolitan Hilarion for allowing a space for the Western Rite within the Russian Church.
Source: http://www.religionwatch.com/western-rite-parishes-under-russian-orthodox-church-emerge-in-u-s/
ROCOR Western Rite Vicariate
ROCOR Western Rite Vicariate established
Several ROCOR parishes using the Western Rite in North America
Western Rite Conference in August 2016
New Orthodox Missal
You are welcome to send important news regarding Western Rite Orthodoxy. Please, use the contact form. We reserve the right to publish or not publish news and other material at our own discretion.


text:
Key West City Hall Solar Project
Keys Energy Services (KEYS) contributed approximately $240,000 of its British Petroleum settlement funding to the City of Key West to help fund the installation of solar arrays at City Hall on White Street. The project included installing 216 327-watt* panels spanning 1,900 square feet of surface area on structures adjacent to City Hall. The power generated by the solar panels will be used to power City Hall.
*Watt – the standard unit of power in the International System of Units (SI), equivalent to one joule per second and equal to the power in a circuit in which a current of one ampere flows across a potential difference of one volt.


Decorate your home with new blinds, shutters, and Drapes from SouthTexas Draperies.
We have everything you need to customize your window treatment.
We are a family owned buisness with more than 35 years of experience, we pride ourselves on the quality of our customer service and our competetive rates.
SouthTexas Draperies offers FREE IN-HOME ESITMATES, in order to match our samples with your home furnishings.
Contact us today to set an appointment convienient to your schedule!!!
Wood Blinds & Faux Wood Blinds -75% Off M.S.R.P.
We carry complete lines of all blinds, shades, draperies & wood shutters.


Here is your handy guide to the motors that might work with your rocket. We found 115 motors that fit and appear to have enough thrust (674 motors didn't fit, 14 motors failed safety checks). 129 motor had thrust curves available and 271 flight simulations were performed. Browse the motors that did and didn't work right here or download the results as a spreadsheet.


Kitchen and Residential Design: My carpet arrived!
I wrote about this originally a couple of weeks ago. I'm thrilled with my Novica experience and if you're in the market for handmade goods from around the world, check out their site.
I was worried about ordering something as complicated as a carpet over the internet but this thing has exceeded every expectation I had. The colors are more subtle than I was anticipating and it works like a charm in my living room.
I came into this carpet with the help of a $200 credit from Novica, a website that allows craftspeople from the developing world to sell their wares to westerners directly. As you go through the ordering process from Novica, you get a glimpse into the life of the person who made whatever you order.
In my case, my carpet was made by a man in India named Kahlil Ahmed. Kahlil sent me a note along with his carpet and the money he made from the carpet I bought will go to feed his family and help him to keep working as a carpet weaver. Not only did I get an item to make my living room look better, I got a story and the opportunity to make someone's life better.
I ordered my carpet on 6 June and it shipped from India the following day. It arrived here on Saturday the 16th and the shipping charges were negligible when I think about how far this carpet came.
Novica provides a forum for direct interaction between westerners and the developing world and that's really cool. The carpet in my living room just made the world a smaller place. Thank you Kahlil for making my home a more welcoming place and thank you Novica for the opportunity to make the connection with Kahlil. I have a handmade living room carpet!
Novica is promoting a couple of products lines in particular now. Check out these links.
Glad to help. The carpets on Novica's site are as affordable as they are beautiful. Poke around that site and you're sure to find something you love.
What they do for the artisans they represent deserves a medal!
Thanks Paul for the heads-up. Shall definitely check them out. Nice carpet BTW hope it wears well and you get a good number of years out of it.
I'm thrilled with it Brenda. It's woven wool without a nap, so it will wear like iron.


We worked hard to make our artists' market something special this year . Handmade arts, fine imported goods, beaded Bohemian jewelry, silversmithing, hippie chic clothing, folk art, hand-crafted decor, and more. Take a peak at our incredible array of vendors.