Rånare togs av affärsinnehavare SvD Inrikes(cached at March 18, 2013, 11:32 pm)

Skånepolisen rykte i kväll ut på larm om ett bråk i Arlöv.
Åtal för barnvåldtäkter och posering SvD Inrikes(cached at March 18, 2013, 11:32 pm)

En man i 45-årsåldern åtalas för att ha våldtagit en 15-årig flicka vid sju tillfällen under hösten.
Villians & Vigilantes Creators Win Lawsuit, Rights To Game Slashdotby timothy on rpg at January 1, 1970, 1:00 am (cached at March 18, 2013, 11:32 pm)

rcade writes "Jeff Dee and Jack Herman, the creators of the old-school super-hero roleplaying game Villains & Vigilantes, have won a copyright and trademark lawsuit over the game's publisher Scott Bizar of Fantasy Games Unlimited. Magistrate Judge Mark E. Aspey of the U.S. District Court of Arizona ruled that Jeff Dee and Jack Herman own the rights to the game based on the 1979 contract they reached with Bizar. The court also found that Bizar never had the right to sell derivative products or ebook PDF editions, which are a big deal to tabletop publishers these days. Too bad this judge didn't hear Jerry Siegel and Joe Shuster's case."

Read more of this story at Slashdot.



Did Large Eyes Lead To Neanderthals' Demise? (Slashdot) SANS ISC SecNewsFeed(cached at March 18, 2013, 11:30 pm)

Köpenhamns gängkrig fortsätter SvD Utrikes(cached at March 18, 2013, 11:02 pm)

Storköpenhamn drabbades av tre separata skottlossningar i dag.
How a Programmer Gets By On $16K/Yr: He Moves to Malaysia Slashdotby timothy on money at January 1, 1970, 1:00 am (cached at March 18, 2013, 11:02 pm)

An anonymous reader writes "If you can make $10 and hour doing remote work, you can afford to live in Malysia. Make it $15 or $20, you can work 30 hours a week. Real money? Make it ten. This article talks about how John Hunter did it." Malaysia's not the only destination for self-motivated ex-pat programmers, of course. If you've considered doing this kind of sabbatical, or actually have, please explain in the comments the from-where-to-where details and reasons.

Read more of this story at Slashdot.



Net-Async-HTTP-0.19 search.cpan.orgby Paul Evans at January 1, 1970, 1:00 am (cached at March 18, 2013, 11:01 pm)

use HTTP with C
Search-OpenSearch-Federated-0.002 search.cpan.orgby Peter Karman at January 1, 1970, 1:00 am (cached at March 18, 2013, 11:01 pm)

aggregate OpenSearch results
Exception-Reporter-0.006 search.cpan.orgby Ricardo SIGNES at January 1, 1970, 1:00 am (cached at March 18, 2013, 11:01 pm)

a generic exception-reporting object
UK parties strike deal on new press watchdog AL JAZEERA ENGLISH (AJE)(cached at March 18, 2013, 11:00 pm)

Government came under pressure to create a new "robust" regulatory system in the wake of the phone-hacking scandal.
Spamhaus DDOS, (Mon, Mar 18th) SANS Internet Storm Center, InfoCON: green(cached at March 18, 2013, 11:00 pm)


A few readers have written in offering and asking for information on the Spamhaus Project outage.

We have very little confirmed information at this time.

The website is confirmed to be unreachable [1] and there is some chatter on twitter [2] [3] [4]. Ive read there is an elusive email notification sent from Spamhaus. We have yet to see it or read it.

Please comment with any information or impact you are experiencing from the outage today.



[1] http://www.spamhaus.org

[2] https://twitter.com/spamhaus

[3] https://twitter.com/LucRossini/status/313394569435807745

[4]https://twitter.com/search?q=%23Spamhaus





-Kevin

--

ISC Handler on Duty
(c) SANS Internet Storm Center. http://isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.
SD-experter: ”Det är en tydlig falangstrid” SvD Inrikes(cached at March 18, 2013, 10:32 pm)

”Inte med nolltolleransen att göra”.
Next-Gen Intel Chip Brings Big Gains For Floating-Point Apps Slashdotby timothy on intel at January 1, 1970, 1:00 am (cached at March 18, 2013, 10:32 pm)

An anonymous reader writes "Tom's Hardware has published a lengthy article and a set of benchmarks on the new "Haswell" CPUs from Intel. It's just a performance preview, but it isn't just more of the same. While it's got the expected 10-15% faster for the same clock speed for integer applications, floating point applications are almost twice as a fast which might be important for digital imaging applications and scientific computing." The serious performance increase has a few caveats: you have to use either AVX2 or FMA3, and then only in code that takes advantage of vectorization. Floating point operations using AVX or plain old SSE3 see more modest increases in performance (in line with integer performance increases).

Read more of this story at Slashdot.



Brian’s Stupid Feed Tricks inessential.comat January 1, 1970, 8:00 am (cached at March 18, 2013, 10:31 pm)

At NewsGator and Sepia Labs I worked with Brian Reischl, one of the server-side guys. Among other things, he worked on NewsGator’s RSS content service, which reads n million feeds once an hour.

(I don’t know if I can say what n is. It’s probably bigger than you think. The system is still running, by the way.)

Brian is intimately acquainted with the the different ways feeds can be screwed up. So he posted Stupid Feed Tricks on Google Docs.

I quote the entire thing below for people like me who don’t have Google accounts. The below is all by Brian:

Stupid HTTP Tricks

  1. When the feed is gone/errored, publisher may still return a 200 OK but send an HTML page instead.
  2. Using permanent redirects for temporary errors. In one instance, all the Microsoft blogs had a temporary system error. All the feeds did a permanent redirect to the same system error page, and we updated all 40,000 feeds to point to that one URL. Whoops.
  3. Using very slow or overloaded servers. It might take 60 seconds just to connect and send the request, another 60 seconds to first response byte, and so on. This can bog down your content retrieval.
  4. Very slow responses, or responses that never actually complete (ie, you hang trying to read data essentially forever)
  5. Infinitely long responses. eg, feed server has an error and prints an error message in a infinite loop until something stops it. Hopefully it’s stopped by a check in your system, rather than consuming all the memory on your server.
  6. Sending back things that are not XML (eg, videos). It can help to check Content-Type and Content-Length headers, but sometimes they misidentify RSS as something else (eg, text/plain).
  7. Returning an HTML page containing HTML/Javascript redirects instead of using HTTP redirects.
  8. Infinite redirect loops.
  9. Long (but non-infinite) chains of redirects.
  10. Responding with 304 Not Modified if you send any If-None-Match/If-Modified-Since header, even if the feed has changed.
  11. Throttling your IP address. Some don’t tell you they’re throttling. Some provide Retry-After headers, but the HTTP status code can vary. eg, Twitter used to use their cutesy “420 Enhance Your Calm” response, then switched to “500 Internal Server Error”. Some use “503 Unavailable”. You’re mostly covered if you look for Retry-After headers in every non-success response..
  12. Redirecting (perhaps permanently) to a URL that’s already in your system. So now you either have a duplicate feed, or you have to update clients somehow. Note this can sometimes be legitimate, eg consolidating multiple feeds into one. Stupid XML Tricks
  13. Any sort of XML well-formedness error you can think of. Missing closing tags, mismatched tags, bad escaping, not quoting attributes, missing root elements.
  14. Including unescaped HTML content inside a tag - which sort of works, except that most HTML isn’t XML-compliant.
  15. Putting in characters that are illegal in XML documents (eg, some non-printable characters that should be escaped, but aren’t)
  16. Declaring the document as ISO-8859-1 encoding, but actually using UTF-8, with some Arabic characters in it.

Stupid RSS/Atom Tricks

  1. Missing any element you can think of.
  2. Adding custom elements without namespaces.
  3. Using common extension elements without defining the namespaces (eg, using the common “mrss” namespace prefix for MediaRSS elements, without actually specifying that namespace anywhere)
  4. Not providing a GUID.
  5. Providing the same GUID for every post in the feed (eg, using the feed URL as the GUID)
  6. Providing the same GUID for every post, but changing each time you request the feed (eg, using the current date/time)
  7. Using a different GUID for each post, changing each time you request the feed (eg, generating an actual GUID each time the feed is requested)
  8. Not giving a PubDate
  9. Changing the PubDate on every retrieval.
  10. Changing the PubDate when a post is edited, rather than using a lastUpdated tag.
  11. Putting a tiny number of posts in the feed (sometimes just one). These types then usually publish 10 articles in the space of two minutes, and wonder why you’re missing 9 of them.
  12. Putting only one post in the feed, with a GUID that never changes. When there are new posts, just the title and description change. (I believe this was a bunch of Japanese newspaper sites.)
  13. Updating post content without changing the lastUpdated date (or not having one)
  14. Updating post metadata (eg, enclosures, MediaRSS extensions, etc) with or without changing the lastUpdated date.
  15. Treating their feed as append-only, so over time the feed grows without bound. eg, each request might pull back 10,000 posts covering the entire 8 year history of the feed.
  16. Specifying dates in whatever their language’s “Date.ToString()” spits out. eg, “Tuesday, March 31st, Year Of Our Lord Two Thousand And Twelve, 4:59 PM”
  17. Not specifying timezones for dates (very common. It’s easy to just assume UTC, but note that can yield pubdates in the future).
  18. Specifying dates that are far in the past or future (anything up to thousands of years)
  19. Having the Link element point to another site. This is actually pretty common (eg, DaringFireball). This can be a problem depending on how you’re identifying individual posts, or if you’re trying to detect duplicates across feeds.

Other Stupid Tricks

  1. Updating posts very frequently. Newspapers are very fond of this. In 4 hours they might change a post 12 times, by the end it might have nothing in common with the original article (completely different title, completely different body). Sometimes combined with not using lastUpdated, or just not changing lastUpdate.
  2. Publishing updated posts as new posts, so you have 12 versions of the same post in the feed.
  3. Occasionally giving you an two-week-old version of the feed for one or two requests. It looked like one server in a cluster had cached an old version and wasn’t updating it. (This was the New York Times back in ~2009. They might’ve fixed it by now.)
  4. Adding posts very quickly. This is very common with feeds like the StockTwits stream, Twitter feeds (when that was allowed), the “all news” feeds from news organizations, etc. If you only check the feed every 60 minutes, you could easily miss something.
  5. Changing content literally every time you get the feed. eg, a feed that returns the current time in all the timezones, or the current weather for 20 different cities.
  6. Putting out private data without requiring authorization of any sort. eg, a feed of all your GMail. This isn’t a problem until you provide search or other feed discoverability, and then people’s private data starts showing up. Then they get very angry.
  7. Some places will publish a feed and then get angry that you use it, especially if you have ads in your reader. (name redacted before I get sued) got very bent out of shape over that back in ~2007.
  8. Providing feeds, but then also using robots.txt to say you can’t crawl it. So now do you violate the robots.txt, or not let your users subscribe to feeds because the publisher is a dipshit?
  9. Providing valid, but limited interest feeds. eg, search feeds (couches for sale in Portland on Craigslist!). Also lots of custom things like combinations from Yahoo Pipes (or whatever equivalent people come up with), bookmark/favorite feeds, etc. Can lead to lots of duplicate (or near duplicate) posts, and lots of feed retrievals that very few people care about.
  10. Publishers will routinely have 2-4 copies of the exact same feed. eg, one sourced from their site, and another republished through FeedBurner. Note: FeedBurner includes extension elements that tell you what the source feed and post were.
  11. Including malicious Javascript or HTML inside of the content in hopes of hacking your system. There was a test suite for this, unfortunately I don’t have the URL handy just now.

Random Notes

  1. You should think hard about canonicalization of URLs. Some parts of the URL can be case-sensitive (path and query) other parts can’t (protocol, host and post). Users (and webmasters) will absolutely use different upper/lower casing in different places.
  2. If you build a database index on FeedUrl, consider that 99% of them start with “http://”, which makes for a shitty index. Consider separating the protocol into its own column, and then indexing on the remainder of the URL. Alternatively, you could index on a hashed value of the URL. Theoretically you could have collisions, but in practice there are not that many feeds.
UN chief urges approval of arms trade treaty AL JAZEERA ENGLISH (AJE)(cached at March 18, 2013, 10:30 pm)

Diplomats are gathering New York to discuss treaty aimed at limiting trade of illegal conventional weapons.