apple   art   china   net culture   productivity   reading   shots/pics   stories   tech   work

Logging out
30 September 2011

But logging out of Facebook only de-authorizes your browser from the Web application, a number of cookies (including your account number) are still sent along to all requests to facebook.com. Even if you are logged out, Facebook still knows and can track every page you visit. The only solution is to delete every Facebook cookie in your browser, or to use a separate browser for Facebook interactions.

Another solution would involve disconnect, right?

(via Michael Tsai – Blog – Logging Out of Facebook Is Not Enough)


Al Qaida wütend
29 September 2011

“Wenn Iran es ernst meinen würde mit seiner Feindseligkeit gegenüber den USA, müsste es erfreut sein, wenn es einer anderen Einheit gelingt, dem großen Satan einen heftigen Schlag zu versetzen”, schreibt der Kommentator. Jedoch sei Anti-Amerikanismus für Teheran nichts anderes als ein politisches Spiel: “Iran ist gegen Amerika oder kollaboriert mit Amerika, gerade so, wie es passt.”

(via Al-Qaida streitet mit Iran wegen 9/11 – Wir sind die besseren US-Feinde! – Politik – sueddeutsche.de)


Disconnect
28 September 2011

The easiest way to stop unwanted web tracking

Besonders sinnvoll für Süddeutsche & Co mit ihren neuen Facebook-Boxen, die sich hiermit auch verbergen lassen.

(via Disconnect)


Shanghai No. 10
27 September 2011

The accident is reminiscent of, although apparently less deadly than, the high-speed rail crash that happened in Wenzhou this July. In fact, it appears the same company may even have been responsible for the signaling system on both the Wenzhou train and the Shanghai subway (in both cases, the system appears to have failed). And the reaction of China’s social media is similar, too. Just like it did after the Wenzhou accident, Sina Weibo has exploded.

(via Subway Crashes in Shanghai, Weibo Explodes | Tech in Asia)


Dogs
21 September 2011

In recent years some began to believe dogs are close friends of human beings and shouldn’t be eaten.

(via Dogs spared from dinner death)


Internet
19 September 2011

Alles sei noch ein bisschen “ungewohnt”, sagt später Gerhard Anger, der Landesvorsitzende der Piraten. Und weil das so ist, kommt jetzt Christopher Lauer. Er hält sein MacBook hoch und erklärt: “Ich zeige Ihnen das Internet.” Gelächter. Fotografen stürzen sich auf das Bild. Pirat mit Laptop. “Keine tumultartigen Szenen bitte”, bittet Christoph Lauer. Und ergänzt süffisant: “Es besteht hinterher noch die Möglichkeit, Bilder vom Internet zu machen.” Was er zeigt, ist übrigens die noch blanke Seite www.piratenfraktion-berlin.de, auf der die Piraten ihre Lernfortschritte als Neu-Politiker dokumentieren wollen.

(via Parteien nach Berlin-Wahl – Piraten erklären das Internet – Politik – sueddeutsche.de)


Berlin
19 September 2011

Später, im Pressebereich, sagt Falkvinge: “Das ist das größte Resultat, das die Piraten jemals bekommen haben.” Vergleichbar mit dem Berliner Erfolg sei nur der schwedische Einzug ins EU-Parlament 2009 gewesen. In seinem Kopf rast es, wie es scheint. “Ich fange an zu weinen”, sagt er plötzlich – und weint wirklich.

(via Wahl in Berlin: Die FDP ist der Lieblingsfeind der Piraten | Politik | ZEIT ONLINE)

Oder, wie die NYTimes zusammenfasst:

On a wild election night in Berlin, voters propelled the youth-friendly Pirate Party into a state legislature for the first time in Germany, while the pro-business Free Democrats were bounced out.

(via Merkel’s Efforts in Euro Crisis Complicated by Berlin Vote – NYTimes.com)


Applescript to translate a markdown file into a textile file (for later use in Textpattern)
18 September 2011

Ever since I started using Writing Kit I wondered if there would be an easy way to transform its output (which is in Markdown) to Textile. Textile is the markup language used by Textpattern – which this site runs on. Also I’m much more used to it.

The following script will translate a selected Markdown file (sorry, only one) into a textile file with an “.textile” extension. To run this script you need to have Pandoc installed.

tell application "Finder"
set theItems to selection
set fileName to name of item 1 of theItems as text
set fileFolder to folder of item 1 of theItems as text
set folderPos to POSIX path of fileFolder
end tell

set pdCall to "/usr/local/bin/pandoc -f markdown -t textile "
set pdCall to pdCall & quoted form of folderPos
set pdCall to pdCall & quoted form of fileName
set pdCall to pdCall & " -o " & quoted form of folderPos & quoted form of fileName & ".textile"

do shell script pdCall

I use this script in conjunction with Spark, in order to start it with a keyboard shortcut.

ps. Learning a bit of Applescript has been the true value of this exercise for me.


Crazy English
17 September 2011

“Our problem involves character and cultural differences, which are difficult to solve through counseling,” Li said, adding that his busy schedule had also fueled their conflicts.

“The conflicts snowballed,” he said. “I hit her sometimes but I never thought she would make it public since it’s not Chinese tradition to expose family conflicts to outsiders. But I still respect her for raising three girls on her own and for her passion for her students.”

Classy.

(via Renowned teacher admits abusing his wife|Nation|chinadaily.com.cn)


Textexpander snippets to pull frontmost Safari or Chrome webpage title and URL
15 September 2011

Inspired by an (Applescript) Textexpander snippet of Dr.Drang I created two snippets to make linking to a page a little easier for me.

First we need this snippet/script, called !furl, to pull the URL from Safari or Chrome:

tell application "System Events"
set numSafari to count (every process whose name is "Safari")
set numChrome to count (every process whose name is "Google Chrome")
end tell

if numSafari > 0 then
tell application "Safari" to get URL of front document
else
if numChrome > 0 then
tell application "Google Chrome"
set frontIndex to active tab index of front window
get URL of tab frontIndex of front window
end tell
end if
end if

(via furl at master from drdrang/te-url-snippets – GitHub)

And this one, called !fname, to pull the title from the frontmost webpage:

tell application "System Events"
set numSafari to count (every process whose name is "Safari")
set numChrome to count (every process whose name is "Google Chrome")
end tell

if numSafari > 0 then
tell application "Safari" to get name of front document
else
if numChrome > 0 then
tell application "Google Chrome"
set frontIndex to active tab index of front window
get name of tab frontIndex of front window
end tell
end if
end if

Now these snippets can be used, for example, to create links for Twitter with this snippet:

%snippet:!fname% %snippet:!furl%

or to create a proper blockquote (I use Textpattern, therefore this is a Textile) blockquote). Note that you have to select and copy the text that you want to show up in the blockquote first:

bq. %clipboard

(via "%snippet:!fname%":%snippet:!furl%)


ältere Artikel... neuere Artikel...