Comic Book Publishers, Faced With Flagging Sales, Look To Streaming Slashdotby msmash on books at January 1, 1970, 1:00 am (cached at July 22, 2018, 11:17 pm)

Comic book publishers are facing a growing crisis: Flagging interest from readers and competition from digital entertainment are dragging down sales. Hoping to reverse the trend, publishers are creating their own digital platforms to directly connect with readers and encourage more engagement from fans. From a report: One of the biggest direct-to-consumer efforts is DC Universe, a platform from DC Entertainment and Warner Bros. Digital Studios that will offer streaming content, including original and classic TV series. DC Universe is "a huge opportunity" that offers "ultimate creative control," said Jim Lee, a co-publisher of DC Entertainment. "It allows you to look at wider adaptations of the source material." [...] The Walt Disney Company, which owns Marvel Entertainment, said last year that it would create a streaming platform that would include Marvel movies like "The Avengers" and "Guardians of the Galaxy." Smaller comic book publishers are testing their own direct-to-consumer platforms. Image Comics, the publisher of popular titles like The Walking Dead and Saga, started a direct-to-consumer platform in 2015 to sell comic book subscriptions and apparel.

Read more of this story at Slashdot.

Comic Book Publishers, Faced With Flagging Sales, Look To Streaming Slashdotby msmash on books at January 1, 1970, 1:00 am (cached at July 22, 2018, 11:17 pm)

Comic book publishers are facing a growing crisis: Flagging interest from readers and competition from digital entertainment are dragging down sales. Hoping to reverse the trend, publishers are creating their own digital platforms to directly connect with readers and encourage more engagement from fans. From a report: One of the biggest direct-to-consumer efforts is DC Universe, a platform from DC Entertainment and Warner Bros. Digital Studios that will offer streaming content, including original and classic TV series. DC Universe is "a huge opportunity" that offers "ultimate creative control," said Jim Lee, a co-publisher of DC Entertainment. "It allows you to look at wider adaptations of the source material." [...] The Walt Disney Company, which owns Marvel Entertainment, said last year that it would create a streaming platform that would include Marvel movies like "The Avengers" and "Guardians of the Galaxy." Smaller comic book publishers are testing their own direct-to-consumer platforms. Image Comics, the publisher of popular titles like The Walking Dead and Saga, started a direct-to-consumer platform in 2015 to sell comic book subscriptions and apparel.

Read more of this story at Slashdot.

Evergreen Diary #10: Syncing, Feed Data, and Swift 4.2 inessential.com(cached at July 22, 2018, 11:06 pm)

It’s difficult to write a future-proof schema for Evergreen’s Feed object because the needs of syncing systems — and other future features — may require me to add properties I don’t know about yet.

And: different syncing systems might need different properties, and I don’t really want to create an uber-schema which is the union of all of these. (And I don’t want to create a Feed protocol, because Set<Feed> is then impossible.)

What I really want is two things:

In other words: I want arbitrary dot-syntax gets and sets, and I want automatic database-backed persistence.

Let me tackle these in reverse order.

Database

I spent the first seven years of my career programming in UserLand Frontier, which includes a database that can be thought of as a giant nested dictionary. Dictionaries contain key-value pairs — and any value could be another dictionary, right?

It was the same in Frontier, except we called them tables. Tables could contain tables. There was no schema: any table could contain key-value pairs.

Persistence was exactly as easy as that: you could get and set values and tables, delete things, etc., and the whole giant nested dictionary was stored on disk as a database.

This is exactly the kind of thing I want backing my Feed objects. I want a Frontier-like database with a table called feeds, and a subtable for each individual feed (keyed by feed ID). The table (remember it’s like a dictionary) for each feed contains exactly what it needs — including any arbitrary future stuff I haven’t needed or though of yet — and nothing else. No database migrations ever. Just room to grow.

Well — I’ve been working on this for a while, and it’s not quite done, but it’s close. See ODB, which is part of my RSDatabase framework.

Great! So that’s half the job.

But what about the dot-syntax part? Swift is all about type safety, and being able to refer to object.anything seems un-Swift-like, no? I mean, that’s like a dynamic thing, right? Isn’t that more suited for those free-range kids who write in Ruby and Python?

Surprise!

My ODB code was far enough along that I started to actually revise my Feed object to use it and to handle arbitrary key-value pairs. I started by implementing a subscript method, so I could write code like feed[Key.etagHeader] = whatever — but I just didn’t like the look of it.

I really wanted dot-syntax, so I could write feed.etagHeader = whatever instead. Something — I forget what — made me vaguely wonder: wasn’t there something about this recently?

There was! Check out User-defined "Dynamic Member Lookup" Types, which was implemented in Swift 4.2 — which I’m using — and which makes me extraordinarily happy.

The gist is this: you can add a @dynamicMemberLookup attribute on a type, and then use dot-syntax to refer to any arbitrary data, and then implement a special subscript(dynamicMember: String) method (or multiple methods for different types) that gets and sets that data.

This is perfect. It means my Feed object can be as dynamic as its storage — without losing any syntactic niceness or type safety.

I realize that this new feature was written with the idea of working better with languages like Ruby and Python.

But I’ve long maintained that there are cases where dynamic solutions are appropriate even in Mac and iOS app code, even in code written in Swift.

Given the truth — that different Feed objects used with different syncing systems will need to store different data — it just makes sense to make Feed schema-less. And the combination of my ODB code and Swift 4.2’s dynamic member lookup feature means I can.

(Note: I haven’t finished my updated Feed code to check it in yet. I’ll update this post with a link once it’s up.)

Open Gov't Advocates Fear that Private Messaging Apps Are Being Misused by Public Of Slashdotby msmash on government at January 1, 1970, 1:00 am (cached at July 22, 2018, 10:21 pm)

The proliferation of digital tools that make text and email messages vanish may be welcome to Americans seeking to guard their privacy. But open government advocates fear they are being misused by public officials to conduct business in secret and evade transparency laws. From a report: Whether communications on those platforms should be part of the public record is a growing but unsettled debate in states across the country. Updates to transparency laws lag behind rapid technological advances, and the public and private personas of state officials overlap on private smartphones and social media accounts. "Those kind of technologies literally undermine, through the technology itself, state open government laws and policies," said Daniel Bevarly, executive director of the National Freedom of Information Coalition. "And they come on top of the misuse of other technologies, like people using their own private email and cellphones to conduct business." Some government officials have argued that public employees should be free to communicate on private, non-governmental cellphones and social media platforms without triggering open records requirements.

Read more of this story at Slashdot.

Mesut Ozil cites 'racism and disrespect' as he quits Germany AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 9:44 pm)

Football star felt he was singled out as scapegoat for World Cup exit due to Turkish heritage and Erdogan meeting.
Boston Dynamics Is Gearing Up To Produce Thousands of Robot Dogs Slashdotby msmash on robot at January 1, 1970, 1:00 am (cached at July 22, 2018, 9:18 pm)

Boston Dynamics, maker of uncannily agile robots, is poised to bring its first commercial product to market -- a small, dog-like robot called the SpotMini. From a report: The launch was announced in May, and founder Marc Raibert recently said that by July of next year, Boston Dynamics will be producing the SpotMini at the rate of around 1,000 units per year. The broader goal, as reported by Inverse, is to create a flexible platform for a variety of applications. According to Raibert, SpotMini is currently being tested for use in construction, delivery, security, and home assistance applications. The SpotMini moves with the same weirdly smooth confidence as previous experimental Boston Dynamics robots with names like Cheetah, BigDog, and Spot.

Read more of this story at Slashdot.

What role does Pakistan's military play in politics? AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 9:15 pm)

Pakistanis will go to the polls for a general election this week as the military is accused of meddling.
What role does Pakistan's military play in politics? AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 9:15 pm)

Pakistanis will go to the polls for a general election this week as the military is accused of meddling.
Iraq accused of abusing detained 'terror suspects' AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 9:13 pm)

Human rights groups also accuse government of unlawfully arresting and holding hundreds of protesters and activists.
Iraq accused of abusing detained 'terror suspects' AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 9:13 pm)

Human rights groups also accuse government of unlawfully arresting and holding hundreds of protesters and activists.
India: Village mourns death of man killed in cow-related lynching AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 8:34 pm)

Akbar Khan was beaten to death by a group of so-called cow vigilantes in Rajasthan state while transporting cattle.
Greenland villages face tsunami threat over giant glacier AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 8:30 pm)

A huge 11 million-tonne iceberg grounded just outside village of Innaarsuit could cause life-threatening waves, endangering the coastal homes of the town's 169 residents.
Facebook Confirms It's Working on a New Internet Satellite Slashdotby msmash on communications at January 1, 1970, 1:00 am (cached at July 22, 2018, 8:23 pm)

A host of companies believe the better way to connect the estimated half of Earth's population that's still offline is to launch "constellations" of smaller satellites into low Earth orbit, around 100 to 1,250 miles above our planet. According to emails from the Federal Communications Commission, which Wired obtained by filing a Freedom of Information Act request, Facebook is officially one such company. From the report: The emails show that the social network wants to launch Athena, its very own internet satellite, in early 2019. The new device is designed to "efficiently provide broadband access to unserved and underserved areas throughout the world," according to an application the social network appears to have filed with the FCC under the name PointView Tech LLC. With the filing, Facebook joins Elon Musk's SpaceX and Softbank-backed OneWeb, two well-funded organizations working on similar projects. In fact, SpaceX launched the first two of what it hopes will be thousands of its Starlink satellites just this past February. The emails, which date back to July 2016, and subsequent confirmation from Facebook, confirm a story published in May by IEEE Spectrum, which used public records to speculate that Facebook had started a satellite internet project.

Read more of this story at Slashdot.

[no title] Scripting News(cached at July 22, 2018, 8:05 pm)

As I get older I have more confidence in the power of deliberation. Give my mind the time to weigh the alternatives, and I'll come to a better decision in 24 hours than I would in 2, and if it's important, it's worth it.
'Do not play with lion's tail': Rouhani warns Trump AL JAZEERA ENGLISH (AJE)(cached at July 22, 2018, 7:59 pm)

Iranian president says US cannot prevent Iran from exporting oil, warns a confrontation would be 'mother of all wars'.