Svenskans man utlämnad SvD Utrikes(cached at April 7, 2014, 11:33 pm)

Efter tre års kamp för att slippa bli utlämnad till Sydafrika landar under tisdagen Shrien Dewani på Kapstadens flygplats. Han ställs inför rätta för att ha planerat mordet på sin svenska hustru Anni Hindocha.
Moskva anklagas för ökad spänning SvD Utrikes(cached at April 7, 2014, 11:33 pm)

Proryska aktivister stormade i helgen den regionala regeringsbyggnaden i Donetsk i östra Ukraina och utropade i går en ”autonom Folkrepublik Donetsk”. Regeringen i Kiev beskyllde Moskva för att elda på konflikten – och skapa en förevändning för att skicka trupper över gränsen.
Krimkrisen sätter EU:s försvar i fokus SvD Utrikes(cached at April 7, 2014, 11:32 pm)

 
Man har barrikaderat sig i Myresjö SvD Inrikes(cached at April 7, 2014, 11:32 pm)

En stor polisinsats pågick under måndagskvällen i Myresjö, sydväst om Vetlanda, efter uppgifter om att en man hade synts med ett gevär.
Mack nav i stor bedrägerihärva SvD Inrikes(cached at April 7, 2014, 11:32 pm)

De tog över en bensinstation i Göteborgsområdet och macken blev navet i deras brottslighet.
Dynamit bortfört från garage SvD Inrikes(cached at April 7, 2014, 11:32 pm)

Ett garage norr om Stockholm stängdes av på måndagen sedan en misstänkt sprängladdning hittats där. Föremålet hittades av en entreprenadfirma i ett stort stenblock som skulle flyttas.
SF Evictions Surging From Crackdown On Airbnb Rentals Slashdotby samzenpus on money at January 1, 1970, 1:00 am (cached at April 7, 2014, 11:32 pm)

JoeyRox (2711699) writes "The city of San Francisco is aggressively enforcing its ban on short-term rentals. SF resident Jeffrey Katz recently came home to an eviction notice posted on his door that read 'You are illegally using the premises as a tourist or transient unit.' According to Edward Singer, an attorney with Zacks & Freedman who filed the notice against Katz, 'Using an apartment for short-term rentals is a crime in San Francisco.' Apparently Airbnb isn't being very helpful to residents facing eviction. 'Unfortunately, we can't provide individual legal assistance or review lease agreements for our 500,000 hosts, but we do try to help inform people about these issues,' according to David Hantman, Airbnb head of global public policy. SF and Airbnb are working on a framework which might make Airbnb rentals legal, an effort helped by Airbnb's decision last week to start collecting the city's 14% hotel tax by summer."

Read more of this story at Slashdot.








How to do new things Scripting News(cached at April 7, 2014, 11:32 pm)

Back in 1994, I wanted desperately to learn how to create and update a website. I was reading all the docs I could get my hands on, and at the time there wasn't very much.

I read and read, but somehow it just didn't come together. I understood the intent of each HTML tag. But how to actually get that into a place where the browser, at the time Mosaic, could get to it? I kept looking for the answer, but I wasn't finding it.

Until one day I found a service at Ohio State University that you could send mail to containing HTML and it would put it on the web and send you back the URL via email. I tried sending a simple message -- Hello World -- to the Ohio mailbox. It sent back a URL and when I went to the page, it just contained the text. I think I got it, I said to myself. I tried another experiment. I went to the HotWired website, did a view-source, copied the text to the clipboard and sent it to the Ohio mailbox. It sent back a URL and when I went there I saw a facsimile of the Wired site, with broken images. I understood. I didn't know what was happening back in Ohio, but I understood this much: I was sending it text and it was putting it "on the web," whatever that meant.

A lot of things are like that. Today I embarked on a new project that took what I learned from a bunch of projects I've done over the last few months, but I didn't take any of the code. It's going to go a lot faster now, because I have the techniques I need figured out. I can crib code where I need to. But mostly it's in my head.

That's how I do new things. Figure out what's on the way there, do a few of them -- puzzle over it, try out an idea, if that doesn't work, try another. All the time feeling my way around in the dark, trying to find the shape of the thing I'm looking for.

A concise way to say it: The best way to learn something is to start doing it. Don't wait for full knowledge to come to you. Often it won't. Just pretend you know what you're doing, and hit the walls. Make the problem small enough that you can start solving it right now, without waiting. Each part of the problem is smaller than the whole thing. And tell yourself you can do it, because you can.

Justin on Build inessential.comat January 1, 1970, 8:00 am (cached at April 7, 2014, 11:31 pm)

Justin Williams attended Build 2014:

Overall though, Microsoft seems to be embracing open source in new and interesting ways that the old Microsoft never seemed to care about. Previously when they open sourced a piece of technology it’s because they were no longer interested in it. Now, key pieces of functionality that the future of the company is based on are out in the open.

Brian on Data Migration inessential.comat January 1, 1970, 8:00 am (cached at April 7, 2014, 11:31 pm)

Brian Reischl, my former co-worker at Sepia Labs — and cyborg in charge of web services — emailed me after I mentioned that to do a migration I’d “stop the world” first.

(Brian also wrote Stupid Feed Tricks, which, if you’re a fan of the horror genre, is worth reading.)

Brian’s Words Are Below

Pretty much any migration can be done without stopping the world. You migrate in steps, with double writes and double reads at some points. Here’s the general outline:

  1. Build your new data store. This could be an entirely new technology (NoSQL, different RDBMS), a new server, or even a new table structure in your existing database.
  2. Change your code to write to both the old and the new data store, but continue to read from the old store only. Be sure to capture errors from the new system so that they don’t affect your users, and log them out so you can fix them.
  3. Copy your data from the old to new store. But note that the copy process must take into account that some data will have already been written, so it can’t expect an empty store to write to. It also has to account for ongoing changes from your production system. So, for example, if you took a SQL backup of the old store and applied it to your new store, any changes that happened during the backup/restore might be lost.
  4. At this point your old and new stores should be kept in sync automatically. You want to run this way for a while to debug the new store, and ensure that the data stores remain in sync. You may want to run checks to ensure they’re kept in sync. One option is to read from both stores, compare the results and log errors, but then discard results from the new store and only use the results from the old store.
  5. Switch to reading from the new store. You can make the change all at once, or slowly (eg, 25% reads go to new store, 75% old, then 50/50, and so on). Making the change slowly will be more time consuming, but it may reveal any performance or scalability issues before they become a major problem.
  6. Eventually you should be reading only from the new store, and have developed confidence that it’s working properly. Now you can change your code to remove all references to the old store.
  7. Delete the old store.

Obviously this is far more time consuming than a “stop the world” migration. In return, it gives you a chance to develop confidence in your new system before depending on it fully, and allows you to make the change with zero downtime.

Super Easy Ghetto Pastebin Malware (Reddit) SANS ISC SecNewsFeed(cached at April 7, 2014, 11:30 pm)

Drone 'hacked' to take out triathlete (The Register) SANS ISC SecNewsFeed(cached at April 7, 2014, 11:00 pm)

Fritz!Box RCE as root: From Patch to Metasploit Module (Reddit) SANS ISC SecNewsFeed(cached at April 7, 2014, 11:00 pm)

”Kan vara ett nytt Krimscenario” SvD Utrikes(cached at April 7, 2014, 10:33 pm)

Regeringen i Kiev känner sig allt mer pressad. Ukrainas tillförordnade president Oleksandr Turtjynov varnar för den ”andra ryska vågen”. Det går inte att utesluta att fler områden annetekteras likt Krim, säger Gudrun Persson, Rysslandsexpert på FOI.
Dynamit bortfört från i garage SvD Inrikes(cached at April 7, 2014, 10:33 pm)

Ett garage norr om Stockholm stängdes av på måndagen sedan en misstänkt sprängladdning hittats där. Föremålet hittades av en entreprenadfirma i ett stort stenblock som skulle flyttas.