Shared posts

16 Jun 18:19

The free market actually can help us control our privacy

by Commentary
firehose

"When individuals sell data themselves they disrupt the market for data sold about them by third parties." aaaaaaaaaaAAAAAAAAAAAAAAAAAAAAAAAA

File cabinets

In light of the recent National Security Agency scandal in the US, there’s been increased attention paid to “default on” data gathering. Regaining your privacy in this environment might seem like an impossible task as an individual, but there are broader solutions on the horizon. As Jaron Lanier argued for Quartz last month, a monetized data economy will allow the middle class to endure in an economy driven by information. So, a remedy for default on might be helping individuals to value and monetize their own information; “budgets create moderation” as Lanier said.

There is a far more efficient path to an information economy that respects privacy than the legislative or technological (such as cookie blocking or “do not track,” or DNT) alternatives: Allow people to market their own data. Unfortunately, previous such efforts to help people sell their data, such as personal and other data lockers, have failed to scale; this is in large part due to a model necessitating the creation of new markets to sell data instead of disrupting of existing ones. Value isn’t created simply by gathering up a good and sticking a price tag on it. To succeed, we must find an existing market that consumes a lot of personal, and ideally non-sensitive data, to enter and disrupt. Digital marketing seems like a good option given that only half of the data sold today is correct.

Today, this market is dominated by companies like Bluekai, Exelate, Yahoo, AOL and other “third parties” that gather data about consumers and group them into audiences like “soccer moms” and “aspiring digerati.” They then sell cookie IDs to advertisers who use them to find consumers on advertising exchanges. But advertisers like to buy these groups at scale, spending tens or hundreds of thousands of dollars at once. So selling one individual’s data would be like setting up a lemonade stand on the side of an interstate. Quaint, and you might earn some press, but no one is going to buy your lemonade.

One fast-growing area of digital marketing that uses lots of data and is happy to capture it in small chunks: retail retargeting. Retargeted ads promote products that you’ve been shopping for on a particular retailer’s website—commonly known as “those shoes following me around the web.”

It seems like retargeting is a smart place for us to start helping people monetize their data. Not only is shopping data highly sought-after by online retailers, it’s consistently identified as something consumers are keen to share. One can easily imagine a scenario where consumers trade information about what they’ve been shopping for across the web in exchange for perks and other offers from their favorite retailers. Enliken (a company I co-founded) is building software to do just this, with the goal of making transactions with data easy, safe and transparent.

There’s no reason to think this will be limited to online retailers. As the concept of monetized data becomes more familiar to consumers, companies of all types will engage them directly and be rewarded with information of higher quality and greater brand safety than third party data affords. We’re already seeing this happen today with products such as Progressive’s Snapshot. Compounding the benefits of better data is the fact that individuals will share more data when treated fairly, creating a virtuous cycle where companies that respect their customers’ data can use it to cement a competitive advantage over time.

It’s here that a free market solution to privacy begins to emerge. When individuals sell data themselves they disrupt the market for data sold about them by third parties. And since they are offering a superior product to a customer offered an incentive to stop buying from third parties, the result is a world where the bulk of data available is sold or authorized by individuals themselves.

At Enliken, we know helping consumers and businesses transact with data is part of a pragmatic solution to privacy. While it might be in vogue to say personal data isn’t worth anything or the only viable solutions to privacy are legislation, DNT or cookie-blocking, there are more efficient outcomes that can be achieved via open and transparent marketplaces. Competition in a free market for data will be swift, with the individual making quick work of companies who have been selling information about us all for too long. After all, no one has better, more up-to-date and complete data about you than you.

We welcome your comments at ideas@qz.com.


16 Jun 18:08

Orphaned Baby Owls Get New Home

by Dmitry
firehose

via Rickatyahoodotcom

1105 Orphaned Baby Owls Get New Home

Two orphaned baby burrowing owls, nicknamed Linford and Christie, have moved into the home of their keeper Jimmy Robinson. The owlets were hatched in an incubator at Longleat Safari Park, Wiltshire, and are now being hand-reared by Jimmy.

266 Orphaned Baby Owls Get New Home
354 Orphaned Baby Owls Get New Home
442 Orphaned Baby Owls Get New Home
533 Orphaned Baby Owls Get New Home

    


16 Jun 18:06

hellolittledaisy

firehose

via Rickatyahoodotcom

16 Jun 18:04

Debunking The Dolphin Rape Myth

firehose

wherein a "dolphin scientist" tries to debunk Miriam by redefining rape as something only humans can do, since animals can't consent/people can't tell whether animals consent

so good work, "dolphin scientist," dolphins don't rape, they just gang up on stray dolphins and force their penises into them

Google the term “dolphin rape” and you’ll find countless references to male dolphins raping female dolphins, males raping other males, gang rape, and even dolphins raping humans. All of this is nonsense.
16 Jun 18:03

Woman of Steel: Adams' Lois Lane Brings Dose of Humanity to Reboot

firehose

spoilers whatever, she pulls some dumb reporter bullshit and pisses her editor off and the audience is supposed to clap
meanwhile, every journalist cringes
give me JJJ back goddamnit https://dl.dropboxusercontent.com/u/253441/jjj/spiderman423_jjj1_walking.gif

While "Man of Steel" may have many faults, the characterization of Lois Lane isn't among them. As portrayed by Amy Adams, she's dedicated to finding the truth, and more comfortable in a flak jacket than in a pantsuit.
16 Jun 17:43

Vladimir Putin Denies Stealing Super Bowl Ring

firehose

fighting back and/or acknowledging a statement Kraft himself subsequently made clarifying it was a gift

probably no radioactive isotopes involved but World War 3 will be fought between Putin and Belichick... _on the gridiron_

'A few days after the incident occurred, amid confusion as to whether the ring was a present or was kept by mistake, Kraft issued a statement that said it was a gift.

That's the way Putin sees it, the president's spokesman said Sunday.

"What Mr. Kraft is saying now is weird," Dmitry Peskov said. "I was standing 20 centimeters away from him and Mr. Putin and saw and heard how Mr. Kraft gave this ring as a gift."

The 4.94-carat ring is in the Kremlin's library, where all official state gifts are kept, he said.'

Russia's president is fighting back: No, he did not steal a Super Bowl ring. And no, he's not rocking the diamond-encrusted prize on his finger, either.
16 Jun 17:41

Why Orphan Black's Tatiana Maslany deserves an Emmy nomination

by Lauren Davis
firehose

seriously though, this performance

Why Orphan Black's Tatiana Maslany deserves an Emmy nomination

We can now add "award-winning" to Tatiana Maslany's name. This week, the Orphan Black star won a Critics' Choice TV Award, generating buzz that she could receive an Emmy nod, which, if there is any justice in the entertainment world, she will.

Read more...

    


16 Jun 16:35

French Cuisine: Foodies Fight to Protect the Term 'Restaurant'

by gguillotte
firehose

nobody does semantics like the French

An increasing number of establishments in France are serving pre-made food to their customers. Old-school foodies want to put a stop to the practice with an initiative to apply the term "restaurant" only to places that serve fresh food made on site.
16 Jun 16:15

Bikers flock to St Peter's Square for Pope's blessing - BBC News


BBC News

Bikers flock to St Peter's Square for Pope's blessing
BBC News
St Peter's Square in Rome has resounded to the roar of thousands of motorcycles as bikers from around the world joined Roman Catholic pilgrims for Mass and a blessing by Pope Francis. Leather-clad riders sat alongside nuns and other members of the ...
Raw: Harley riders roar through VaticanUSA TODAY
Harley-Davidson bikers flock to St Peter's Square for Pope's blessingThe Independent
Biker culture rides into Vatican as Pope Francis blesses hundreds of Harley ...Vancouver Sun
Minneapolis Star Tribune -Times-Standard
all 67 news articles »
16 Jun 16:14

‘Man Of Steel’ Soars With $151M Worldwide Cume Including $125M Domestic And #1 International - Yahoo! Movies

by gguillotte
Superman’s Saturday gross is double the next 4 films on the list (This is the End, Now You See Me, The Purge, Fast & Furious 6) added together.
16 Jun 16:14

Woman stole plant from Popeye's, thought it was marijuana | The Advertiser | theadvertiser.com

by gguillotte
firehose

never go to Shreveport

Shreveport police were called to Popeye’s Chicken in the 8400 block of Youree Drive Sunday afternoon where a Texas hibiscus plant was missing from the flower bed, according to reports. Surveillance footage showed Marcia Lambert, 54, of Pinehill Circle back her car up to the restaurant, dig up the plant and put it in the trunk of her car, reports said. The plant was valued at $1,000. Lambert was arrested on a charge of felony theft and booked into the Shreveport City Jail. She was later transferred to Caddo Correctional Center. She later told police she thought the plant was marijuana, reports said.
16 Jun 16:14

Calvin and Hobbes

16 Jun 16:14

Xbox Music redesign revealed alongside new Windows 8.1 apps

by Tom Warren
firehose

"the focus with the new Music app is on playing songs"
amazing innovation

Microsoft is tweaking a number of its built-in apps for Windows 8.1, but the Music app appears to include the most changes. A freshly redesigned copy of the Windows Store in leaked builds of Windows 8.1 has revealed the new user interface for Xbox Music. Microsoft previously revealed to The Verge that the focus with the new Music app is on playing songs, noting you can now play music in two clicks rather than six.

Screenshots of the new Xbox Music update show a two panel interface that appears to improve discoverability of music and the ability to quickly access a collection of songs. Xbox Music originally launched in October for Windows 8 and Windows RT devices, with the ability to access songs from an Xbox 360 too. Although the service includes most popular songs and albums, the interface has often been slow and clunky on Windows 8 and Windows RT devices. The updated app clearly aims to improve that, with a "simplified design and layout" according to Microsoft. There's also a persistent in-app search box with improved search results, support for music files on SD cards, and Play To support for songs outside of the Xbox Music catalogue.

Alongside the Xbox Music redesign, the new Windows Store interface has also been spotted in Windows 8.1 builds. Microsoft appears to be altering the design of its Store, alongside improvements to the top paid and top free sections, new releases, and a "picks for you" section that suggests applications based on an existing library. Similar apps are also suggested within app pages, with a general focus on app discoverability. The new Windows Store also works well in portrait mode, designed for upcoming 7- and 8-inch tablets. All the improvements will be made available in Windows 8.1, an update that Microsoft will release as a preview version on June 26th alongside its Build developer conference.

16 Jun 16:14

chewing the scenery - TumblePop (Data East - arcade -...



chewing the scenery - TumblePop (Data East - arcade - 1991)

requested by jackofspadesman

16 Jun 16:10

pastadeamendoimcomgeleia: nightmarecryingalonewithdoritos: shoo...



pastadeamendoimcomgeleia:

nightmarecryingalonewithdoritos:

shooti:

IT HAS A BABY

I AM SCREAMING.

so cute

16 Jun 16:09

Nothing compares

by OnlyMrGodKnowsWhy

Indian food is incredibly good. It makes sense that they have such a connection with nature to be able to make food this good. Of course it will never even compare to the the hamburger invention by the people of hamborg.

Original Source

16 Jun 16:03

Proposed Rule Would Drastically Restrict Chimp Research

by timothy
New rules for labs that use chimpanzees as test subjects may be on the horizon. From the New York Times blog: "The Fish and Wildlife Service proposal came in response to a petition filed in 2010 by the Jane Goodall Institute, the Humane Society of the United States, the Association of Zoos and Aquariums and other groups. It would require permits for interstate commerce involving any chimpanzees, or for what the law calls 'taking,' which could be anything from harassment to major harm to something as simple as obtaining a blood sample. And those permits, Mr. Ashe said, would be granted only if the action could be shown to benefit the survival of the species. If the new rule is enacted, it will be a major success for animal welfare groups, a grave disappointment for some scientists and another sign of the profound changes over the last half-century in the way animals are used and imagined in science and popular culture." The L.A. Times lauds the proposed rule change in an editorial.

Share on Google+

Read more of this story at Slashdot.



16 Jun 16:02

Novo comercial do Google exalta as praças públicas e o direito à manifestação

by Carlos Merigo
firehose

via Tadeu
new ad from Google promotes Hangouts On Air as a tool for social activism

Google Translate:
"Made to promote the tool Hangouts On Air, the video recalls the importance of public squares and the popular movements of the past.

Google's intention is to show how the Internet and social networks have become a fundamental tool for staging and fueling demonstrations today, and how Hangouts - live broadcasts - can be used for claims, speeches, and dialogue with authorities."

Feito para promover a ferramenta Hangouts On Air, o vídeo relembra a importância das praças públicas e dos movimentos populares do passado.

A intenção do Google é mostrar como a internet e as redes sociais se tornaram palco e ferramenta fundamental de ebulição de manifestações na atualidade, e como o recurso de Hangouts – com transmissão ao vivo – pode ser utilizado para reivindicações, discursos e diálogo com autoridades.

Que timing, não? Em tempos de truculência policial na porta de nossas casas, Revolução do Vinagre, Revolta da Salada ou como queiram chamar, caiu como uma luva.

Hangouts on AirHangoutsHangouts

Brainstorm9Post originalmente publicado no Brainstorm #9
Twitter | Facebook | Contato | Anuncie

16 Jun 15:57

Catholic School Teacher Loses Her Job Because She’s a Victim of Domestic Abuse

by Terry Firma
firehose

via Snorkmaiden

Who would Jesus fire?

Catholic Holy Trinity School in El Cajon, California told second-grade teacher Carie Charlesworth she is out of a job. Charlesworth’s infraction? Funny story: There isn’t one.

She is a victim of a stalker who happens to be her ex-husband. The school has decided that Charlesworth is too unsafe to be allowed back in school, not because of anything she did, but because of the behavior of her former spouse.

Back in January, the man, who has a history of inflicting domestic abuse, showed up in the school’s parking lot; in a likely overreaction, the school went into lockdown mode. Charlesworth, who is just now coming forward, was put on indefinite leave for three months, then fired.

The letter confirming her dismissal stated:

“…while you were still physically at Holy Trinity School, … the temporary restraining order in effect was not a deterrent to [the ex-husband]. Although we understand he is currently incarcerated, we have no way of knowing how long or short a time he will actually serve and we understand from court files that he may be released as early as next fall. In the interest of the safety of the students, faculty and parents at Holy Trinity School, we simply cannot allow you to return to work there, or, unfortunately, at any other school in the Diocese.”

So Charlesworth, having done exactly nothing wrong, is out of luck, and so are her four kids.

“They’ve taken away my ability to care for my kids,” said Charlesworth. “It’s not like I can go out and find a teaching job anywhere. … The kids and I are being punished for something we didn’t even do.”

The children also attended Holy Trinity School, but, like their mom, they haven’t been back since January.

While it’s not difficult to sympathize with the school district and the concerned parents of other kids, who acted out of an abundance of caution, it doesn’t seem particularly Christian to kick this teacher while she’s down.

And her firing doesn’t just affect her and her family: it sends a terrible signal to abused women everywhere, many of whom are already reluctant to speak out. To victims, the prospect of getting fired is surely as daunting, and as effective in forcing their silence, as any embarrassment or fear of spousal retaliation.

Charlesworth does not know where she’ll turn next. The Catholic community that long employed, supported, and literally nourished her is crumbling and retreating around her in the face of a bad situation. She’ll get paid through August, and then… well, no one knows.

It remains to be seen whether her faith will sustain her. “I have not been back to a Catholic church since this happened,” she told a reporter for her local NBC station. “Everything I thought I had, I don’t.”

16 Jun 13:50

Congressman suggests NSA can listen in on your phone calls without specific warrant

by Jeff Blagdon

Since the story broke last week of the NSA’s secret compilation of Americans’ phone call metadata, the overwhelming response from government has been "nobody is listening to your telephone calls" — that the data being collected is limited to things like phone numbers and call durations. Well, perhaps unsurprisingly, it now looks like the feds are listening. Or at the very least, they don’t require a court order just to do so.


"We heard precisely the opposite at the briefing the other day."

CNET has posted text from a Thursday House Judiciary Committee hearing at which FBI director Robert Mueller (pictured above) testified that the government would need a "special, particularized order" from the secret FISA court in order to target a particular individual’s phone for a wiretap. After checking to make sure the details weren’t classified, Rep. Jerrold Nadler (D-NY) challenged Mueller's statement, saying, "we heard precisely the opposite at the briefing the other day. We heard precisely that you could get the specific information from that telephone simply based on an analyst deciding that… In other words, what you just said is incorrect. So there’s a conflict."

Last year, the Senate voted to extend the FISA Amendments Act of 2008, which gives the government sweeping powers to execute warrantless wiretaps of citizens’ communications. While the FISA court’s proceedings are being held in secret, in recent days, the government has showed some willingness to open up, considering whether to declassify the leaked Verizon court order responsible for raising national awareness of the phone metadata program, and allowing companies like Facebook and Microsoft to publish the number of requests they receive for user data, as long as it’s obfuscated by being included as part of the total number of law enforcement requests. Google and Twitter have taken a more principled stance, arguing that the deal would be "a step back" for users.

16 Jun 13:41

Australian Army on institutional sexism: The standard you walk past is the standard you accept

by Cory Doctorow
firehose

"Those who think that it is OK to behave in a way that demeans or exploits their colleagues have no place in this army."

Michael sez, "In response to a breaking scandal the head of the Australian Army gives a textbook example on how to respond to sexual abuse in the military, hell, misogyny in any organisation: blunt, unambiguous, drawing on both institutional policy and personal ethics, and frankly a bit terrifying in a Tywin Lassister kind of way. I quailed and I'm not even a soldier. I also think there should be more of this."

If you become aware of any individual degrading another, then show moral courage and take a stand against it. No one has ever explained to me how the exploitation or degradation of others enhances capability or honors the traditions of the Australian army. I will be ruthless in ridding the army of people who cannot live up to its values and I need every one of you to support me in achieving this.

The standard you walk past is the standard you accept. That goes for all of us, but especially those who by their rank have a leadership role.

Chief of Army message regarding unacceptable behaviour

(Transcript: Skepchick)

(Thanks, Michael!)

    


16 Jun 13:37

Building An App In 45 Minutes With Meteor

by Sacha Greif

  

The other day, I finally accomplished one of my long-standing goals: to go from one of those “Wouldn’t it be cool…” ideas to a working, live app in less than 1 hour. 45 minutes, actually.

It all started with a design meet-up in San Francisco. I can honestly say this was the best meet-up I’ve ever been to: Even though it was announced only two days in advance, more than 200 people RSVPed, and a good number of them showed up. It was a great chance to put faces to familiar names, as well as to make new friends.

But I got to talking with so many people that I didn’t have a chance to get contact info for everybody. So, the next day, I asked the organizers about it and they suggested that everyone who attended leave a link to their Twitter account in a shared Google Doc.

That would work, but I was afraid it would prove to be too much effort. If I’ve learned one thing in my years as a designer, it’s that people are lazy. Instead, what if I built an app that lets the user add their Twitter account to a list in a single click?

The app would work something like this:

  1. The user signs into Twitter,
  2. A link to their Twitter profile appears on the page,
  3. That’s pretty much it!

With my list of requirements complete, I set to work to see how fast I could build this, and I thought it’d be interesting to walk you through the process.

At first, take a peek at how the final app looked like:

Our very bare-bones (but working!) app.
Our final bare-bones (but working!) app.

You can also see a demo of the finished product, and find the code on GitHub. (Note: Give it some time to load. Apps hosted on Meteor’s free hosting service often slow down under a lot of traffic.)

A word of warning: This won’t be a traditional tutorial. Instead, it will be a play-by-play walkthrough of how I coded the app in one hour, including the usual dumb mistakes and wrong turns.

Introducing Meteor

I decided to build the app with Meteor. Meteor is a fairly young JavaScript framework that works on top of Node and has a few interesting characteristics.

The Meteor homepage
Meteor’s home page

First, it’s all JavaScript, so you don’t need to deal with one language in the browser and another on the server. That’s right: the same language you use to set up jQuery slider plugins can also be used to query your app’s database! The added benefit of this is that your app now has only a single code base — meaning you can make the same code accessible from both the client and server if you need to.

Meteor is also reactive, meaning that any change to your data is automatically reflected everywhere throughout the app (including the user interface) without the need for callbacks. This is a powerful feature. Imagine adding a task to a to-do list. With reactivity, you don’t need a callback to insert the new HTML element into the list. As soon as Meteor receives the new item, it automatically propagates the change to the user interface, without any intervention on your part!

What’s more, Meteor is real time, so both your changes and the changes made by other users are instantly reflected in the UI.

Like many other modern frameworks, Meteor also speeds up your Web app by transforming it into a single-page Web app. This means that instead of refreshing the whole browser window every time the user changes the page or performs an action, Meteor modifies only the part of the app that actually changes without reloading the rest, and then it uses the HTML5 pushState API to change the URL appropriately and make the back button work.

Not having to update the whole page enables another very powerful feature. Instead of sending HTML code over the network, Meteor sends the raw data and lets the client decide how to render it.

Finally, one of my favorite features of Meteor is simply that it automates a lot of boring tasks, such as linking up and minifying style sheets and JavaScript code. It also takes care of routine stuff for you on the back end, letting you add user accounts to the app with a single line of code.

I’ve been experimenting with Meteor for the past six months, using it first to build Telescope (an open-source social news app), and then in turn using Telescope as a base to create Sidebar (a design links website), and I’ve just released a book about it. I believe that, more than any other framework, Meteor helps you get from idea to app in the shortest possible amount of time. So, if all of this has made you curious, I recommend you give it a try and follow along this short walkthrough.

Step 0: Install Meteor (5 Minutes)

First, let’s install Meteor. If you’re on Mac or Linux, simply open a Terminal window and type:


curl https://install.meteor.com | /bin/sh

Installing Meteor on Windows is a little trickier; you can refer to this handy guide to get started.

Step 1: Create The App (1 Minute)

Creating a Meteor app is pretty easy. Once you’ve installed Meteor, all you need to do is go back to the Terminal and type this:


meteor create myApp

You’ll then be able to run your brand new app locally with this:


cd myApp
meteor myApp

In my case, I decided to call my app twitterList, but you can call yours whatever you want!

Once you run the app, it will be accessible at http://localhost:3000/ in your browser.

Step 2: Add Packages (1 Minute)

Because I want users to be able to log in with Twitter, the first step is to set up user accounts. Thankfully, Meteor makes this trivially easy as well. First, add the required Meteor packages, accounts-ui and (since we want users to log in with Twitter) accounts-twitter.

Open up a new Terminal window (since your app is already running in the first one) and enter:


meteor add accounts-ui
meteor add accounts-twitter

You’ll now be able to display a log-in button just by inserting {{loginButtons}} anywhere in your Handlebars code.

A more complex version of the accounts-ui widget, as seen in Telescope
A more complex version of the accounts-ui widget, as seen in Telescope.

I didn’t want to have to bother with styling, so I decided to also include Twitter Bootstrap with my app.

I went to the Twitter Bootstrap website, downloaded the framework, extracted the ZIP file, copied it to my app’s Meteor directory, and then hooked up the required CSS files in the head of my app’s main file.

Ha ha, not really. What is this, 2012? That’s not how it works with Meteor. Instead, we just go back to the Terminal and type:


meteor add bootstrap

Client Vs. Server

I guess at this point I should briefly tell you more about how Meteor apps work. First, we’ve already established that a Meteor app’s code is all JavaScript. This JavaScript can be executed in the browser like regular JavaScript code (think a jQuery plugin or an alert() message), but can additionally be executed on the server (like PHP or Ruby code). What’s more, the same code can even be executed in both environments!

So, how do you keep track of all this? It turns out Meteor has two mechanisms to keep client and server code separate: the Meteor.isClient and Meteor.isServer booleans, and the /client and /server directories.

I like to keep things clean; so, unlike the default Meteor app that gets generated with meteor create (which uses the booleans), I’d rather use separate directories.

Also, note that anything that isn’t in the /client or /server directories will be executed in both environments by default.

Since our app is pretty simple, we won’t actually have any custom server-side code (meaning that Meteor will take care of that part for us). So you can go ahead and create a new /client directory, and  move twitterList.html and twitterList.js (or however your files are called) to it now.

Step 3: Create the Markup (10 Minutes)

I like to start from a static template and then fill in the holes with dynamic data, so that’s what I did. Just write your template as if it were static HTML, except replace every “moving part” with Handlebars tags. So, something like this…


 Sacha Greif

… becomes this:


 {{fullName}}

Of course, those tags won’t do anything yet and will appear blank. But we’ll match them up with real data pretty soon. Next, I deleted the contents of twitterlist.html and got to work on my HTML. This is the code I had after this step:



  Who Was There?

Did you go to the Designer Potluck? Sign in with Twitter to add your name.

{{loginButtons}}
{{fullName}}

Step 4: Configure Twitter Sign-In (3 Minutes)

You’ll have noticed the {{loginButtons}} Handlebars tag, which inserts a log-in button on your page. If you try to click it right now, it won’t work, and Meteor will ask you for additional information.

You need to fill in your app's Twitter credentials.
You’ll need to fill in your app’s Twitter credentials. Larger view.

To get this information, we first need to tell Twitter about our app. Follow the steps on the screen and create a new Twitter app; once you’re done, try logging in. If everything has worked right, you should now have a user account in the app!

Creating a new Twitter app.
Creating a new Twitter app. Larger view.

To test this out, open your browser’s console (in the WebKit inspector or in Firebug) and type this:


Meteor.user()

This will retrieve the currently logged-in user, and, if everything has gone right, it will give you your own user object in return (something like Object {_id: "8ijhgK5icGrLjYTS7", profile: Object, services: Object}).

Step 5: Split It Into Templates (5 Minutes)

You’ll have noticed that our HTML has room to display only a single user. We’ll need some kind of loop to iterate over the whole list. Thankfully, Handlebars provides us with the {{#each xyz}}{{/each}} helper (where xyz are the objects you want to iterate on, usually an array), which does just that.

We’ll also split the code into a few templates to keep things organized. The result is something like this:



  Who Was There?
{{> content}}
{{loginButtons}}
{{#each users}} {{> user}} {{/each}}
{{fullName}}

Step 6: Hook Up Our Template (5 Minutes)

Our template is all set up, but it’s iterating over empty air. We need to tell it what exactly this users variable in the {{#each users}} block is. This block is contained in the content template, so we’ll give that template a template helper.

Delete the contents of twitterlist.js, and write this instead:


Template.content.users = function () {
  return Meteor.users.find();
};

What we’re doing here is defining Template.content.users as a function that returns Meteor.users.find().

Meteor.users is a special collection created for us by Meteor. Collections are Meteor’s equivalent of MySQL tables. In other words, they’re a list of items of the same type (such as users, blog posts or invoices). And find() simply returns all documents in the collection.

We’ve now told Meteor where to find that list of users, but nothing’s happening yet. What’s going on?

Step 7: Fix Our Tags (5 Minutes)

Remember when we typed this?


 {{fullName}}

The {{userName}}, {{image}} and {{fullName}} are just random placeholders that I picked for the sake of convenience. We’d be pretty lucky if they corresponded to actual properties of our user object! (Hint: they don’t.)

Let’s find out the “real” properties with the help of our friend, the browser console. Open it up, and once more type this:


Meteor.user()

The object returned has all of the fields we need. By exploring it, we can quickly find out that the real properties are actually these:

  • {{services.twitter.screenName}}
  • {{services.twitter.profile_image_url}}
  • {{profile.name}}

Let’s make the substitutions in our template and see what happens.

It works! Our first and only user (you!) should now appear in the list. We’re still missing some fields, though, and only the user’s full name appears. We need to dig deeper into Meteor to understand why.

A Database On The Client

We haven’t really touched on what Meteor does behind the scenes yet. Unlike, say, PHP and MySQL, with which your data lives only on the server (and stays there unless you extract it from the database), Meteor replicates your server-side data in the client and automatically syncs both copies.

This accomplishes two things. First, reading data becomes very fast because you’re reading from the browser’s own memory, and not from a database somewhere in a data center.

Secondly, modifying data is extremely fast as well, because you can just modify the local copy of the data, and Meteor will replicate the changes for you server-side in the background. But this new paradigm comes with a caveat: We have to be more careful with data security.

Step 8: Make the App Secure (1 Minute)

We’ll address data security in terms of both writing and reading. First, let’s prevent people from writing whatever they want to our database. This is simple enough because all we need to do is remove Meteor’s insecure package:


meteor remove insecure

This package comes bundled with every new Meteor app to speed up development (letting you insert data client-side without having to set up all of the necessary checks and balances first), but it is obviously not meant for production. And because our app won’t need to write to the database at all (except for creating new users — but that’s a special case that Meteor already takes care of), we’re pretty much done!

More On Security

While we’re on the topic of security, Meteor apps also come with a second default package, autopublish, which takes care of sending all of the data contained in your server-side collections to the client.

Of course, for a larger app, you probably won’t want to do that. After all, some of the information in your database is supposed to remain private, and even if all your data is public, sending all of it to the client might not be good for performance.

In our case, this doesn’t really matter because we do want to “publish” (i.e. send from the server to the client) all of our users. Don’t worry, though — Meteor is still smart enough not to publish sensitive information, such as passwords and authentication tokens, even with autopublish on.

Step 9: Add Follow Buttons (8 Minutes)

While visitors can now click on a name to go to their Twitter profile, simply displaying follow buttons for each user would be much better. This step took a little tinkering to get right. It turns out that Twitter’s default follow button code doesn’t play nice with Meteor.

After 15 minutes of unsuccessful attempts, I turned to the Google and quickly found that for single-page apps, Twitter suggests using an iframe instead.

This worked great:


Step 10: Deploy (1 Minute)

The last step is to deploy our app and test it in production. Once again, Meteor makes this easy. No need to find a hosting service, register, launch an instance, and do a Git push. All you need to do is go back to the Terminal and type this:


meteor deploy myApp

Here, myApp is a unique subdomain that you pick (it doesn’t have to be the same as the app’s name). Once you’ve deployed, your app will live at http://myapp.meteor.com. Go ahead and ask a few people to register: You’ll see their Twitter profiles added to the list in real time!

Going Further

Of course, I had to gloss over a lot of key Meteor concepts to keep this tutorial light. I barely mentioned collections and publications, and I didn’t even really talk about Meteor’s most important concept, reactivity. To learn more about Meteor, here are a few good resources:

  • Documentation, Meteor
    This is a required reference for any Meteor developer. And it’s cached, meaning you can even access it offline.
  • EventedMind
    Chris Mather puts out two Meteor screencasts every Friday. They’re a great help when you want to tackle Meteor’s more advanced features.
  • Discover Meteor
    I’m obviously biased, but I think our book is one of the best resources to get started with Meteor. It takes you through building a real-time social news app (think Reddit or Hacker News) step by step.
  • Blog, Discover Meteor
    We also make a lot of information available for free on our blog. We suggest looking at “Getting Started With Meteor” and “Useful Meteor Resources.”
  • Prototyping With Meteor
    A tutorial we wrote for NetTuts that takes you through building a simple chat app.

I truly believe Meteor is one of the best frameworks out there for quickly building apps, and it’s only going to get better. Personally, I’m really excited to see how the framework evolves in the next couple of months. I hope this short tutorial has given you a taste of what Meteor’s all about and has made you curious to learn more!

(il) (ea) (al)


© Sacha G for Smashing Magazine, 2013.

16 Jun 13:35

Senators skip classified briefing on NSA spying so they can fly home for Father's Day weekend

by Xeni Jardin
firehose

via multitasksuicide

A briefing offered to US senators by senior intelligence officials on the NSA surveillance programs "failed to attract even half of the Senate, showing the lack of enthusiasm in Congress for learning about classified security programs." [TheHill.com]
    


16 Jun 08:37

NSA-Proof Encryption Exists, So Why Doesn't Anybody Use It?

firehose

unironic use of "cypherpunk"
tl;dr: encryption is inconvenient

Computer programmers believe they know how to build cryptographic systems that are impossible for anyone, even the U.S. government, to crack. So why can the NSA read your e-mail?
16 Jun 08:08

Overly Attached Girlfriend on Prism

by Cory Doctorow

Laina, AKA "Overly Attached Girlfriend" (a YouTube comedian and memestar who trades on her ability to stare intensely while monologuing hilariously about her terrifying romantic attachment) has outdone herself with an Uncle Sam edition, commenting on Prism

Overly Attached Uncle Sam

    


16 Jun 07:56

(via Twitter / howielindsey: Check the spelling of COLLEGE...

firehose

amercia

16 Jun 07:43

Detroit Prairie by Erika Lindsay In Detroit Michigan prairie...











Detroit Prairie by Erika Lindsay

In Detroit Michigan prairie grasses now fill spaces that dwellings once occupied. Old trees remain among fragments of foundations, driveways, patios and walkways, marking the place where houses once stood. Empty fire hydrants and sagging utility poles offer a glimpse into the once thriving neighborhoods which existed here. New signs of life abound. Entire urban blocks have become prairie fields, some extending for blocks and spanning streets, root systems breaking concrete up as nature is left to take over, unrestrained. As abandoned buildings become overgrown and decompose, the fabric of the city changes. This is the greening of Detroit. 

16 Jun 07:24

Blade Runner: 45 minutos más de escenas alternativas y borradas

by alvy@microsiervos.com (Alvy)
firehose

Deleted and alternate Bladerunner scenes chronologically arranged. ~45 minutes.

Prepara las palomitas porque este hallazgo es bueno: ni más ni menos que 45 minutos diferentes de Blade Runner, probablemente una de las mejores películas de todos los tiempos – al menos según el criterio de los geeks amantes de la ciencia ficción.

Comenzando por los mismísimos títulos de crédito y organizadas cronológicamente, en esta recopilación hay escenas alternativas que se grabaron de una forma pero en el montaje final se usaron de otra, pistas de audio diferentes (especialmente de la la voz en off de Deckard), algunas otras que fueron borradas, acortadas, diálogos no usados… 

Al parecer el vídeo procede del disco 4 de Blade Runner: Ultimate Edition de coleccionistas, con motivo del 25º aniversario – así que aprovecha para verlo rápido: a saber lo que dura en el tubo. Mientras tanto… ¡A disfrutar jugando a las diferencias!

(Vía MetaFilter.)

# Enlace Permanente

16 Jun 07:19

Book-lined staircase

by Cory Doctorow
firehose

fuck your books


A mysterious and magnificent book-lined staircase, provenance unknown. Do you know where this is?


Update: Thanks to sleuthy commenters, who suggest that the photo depicts this staircase, at Australia's Deakin University Library, possibly taken by RuthC and for sale here.

29 October, 2012 (via That Book Smell)

    


16 Jun 07:10

How To Mount The Google Nexus 4 on Ubuntu

by Joey-Elijah Sneddon
firehose

year of the Linux desktop

MTP mounting in Ubuntu

Having trouble trying to mount the Google Nexus 4 on Ubuntu 12.04 or 12.10? Judging by our post-bag over the last few months you wouldn’t be alone.

Like all Nexus models, the Nexus 4 doesn’t come with any form of inbuilt expandable storage. everything saves directly to the flash memory inside.

This might make things quicker to access on your phone, but makes it a little troublesome to access them from within Ubuntu!

Linux being Linux there are, of course, a stack of solutions addressing this, letting you access and transfer files between your computer and your Nexus handset with relative ease.

We’re going to look at two them below.

Sukria’s Steps

We’ll start with the method suggested by perl-hacker and blogger Sukria. Simply because of the two it is arguably the easiest to follow.

It’s aimed specifically at Ubuntu 12.04 LTS and 12.10, and requires the installation of a backported version of the GVFS – the GNOME Virtual File System – that supports the newer MTP protocol used on Nexus devices.

Using Ubuntu 13.04? The good news is that required packages are already available, so you don’t need to follow this step.

Open a terminal and issue the following two commands:

sudo add-apt-repository ppa:langdalepl/gvfs-mtp
sudo apt-get update && sudo apt-get dist-upgrade

After installing I’d recommend giving your system a reboot just to make sure everything takes effect. If all has gone well the next time you connect your Nexus you should be able to access it directly in Nautilus.

Manish’s Method

If the steps above don’t work then all is not lost – reader Manish A. S. mailed us with a comprehensive guide to his preferred solution, telling us:

“I have tried many different methods to mount my Nexus 4 on Ubuntu and none have ever truly worked. Finally after much surfing I found the following to work (thanks to XDA Developers).”

He’s prepped a 9-step guide, available to download by hitting the button below:

Nexus 4 Mount Guide for Ubuntu

And a video* tutorial detailing the process from start to finish:

*Our publishing of this video should not be taken as endorsement of his wallpaper

The post How To Mount The Google Nexus 4 on Ubuntu appeared first on OMG! Ubuntu!.