By Unknown Lamer from Slashdot's sml-and-php-fall-in-love department
writes with news of Facebook's new Open Source language, Hack. Quoting: "Today we're releasing Hack, a programming language we developed for HHVM that interoperates seamlessly with PHP. Hack reconciles the fast development cycle of PHP with the discipline provided by static typing, while adding many features commonly found in other modern programming languages. ... Traditionally, dynamically typed languages allow for rapid development but sacrifice the ability to catch errors early and introspect code quickly, particularly on larger codebases. Conversely, statically typed languages provide more of a safety net, but often at the cost of quick iteration. We believed there had to be a sweet spot. ... Hack has deep roots in PHP. In fact, most PHP files are already valid Hack files. ... Our principal addition is static typing. We have developed a system to annotate function signatures and class members with type information; our type checking algorithm infers the rest. Type checking is incremental, such that even within a single file some code can be converted to Hack while the rest remains dynamically typed. ... If a function parameter or class member does not have an explicit type annotation, the type checker considers its type to be dynamic, and it does not check the type of that value."
< article continued at Slashdot
>Read Replies (0)
By Unknown Lamer from Slashdot's he-said-she-said department
Related to yesterday's story about the NSA
, Advocatus Diaboli (1627651)
writes with this excerpt from The Guardian
: "Rajesh De, the NSA general counsel, said all communications content and associated metadata harvested by the NSA under a 2008 surveillance law occurred with the knowledge of the companies – both for the internet collection program known as Prism and for the so-called 'upstream' collection of communications moving across the Internet. ... nearly all the companies listed as participating in the program – Yahoo, Apple, Google, Microsoft, Facebook and AOL – claimed they did not know about a surveillance practice described as giving NSA vast access to their customers’ data. Some, like Apple, said they had
'never heard' the term Prism. De explained: 'Prism was an internal government term that as the result of leaks became the public term,' De said. 'Collection under this program was a compulsory legal process, that any recipient company would receive.'"Read Replies (0)
By Unknown Lamer from Slashdot's thank-gnu department
Via Bits from Debian, comes news that the security team is considering adding a Long Term Support suite for Squeeze
(Debian 6) after Jessie (Debian 8) is released sometime next year. From the mailing list post:"At the moment it seems likely that an extended security support
timespan for squeeze is possible. The plan is to go ahead, sort out
the details as as it happens, and see how this works out and whether
it is going to be continued with wheezy.
The rough draft is that updates will be delivered via a separate
suite (e.g. squeeze-lts), where everyone in the Debian keyring can
upload in order to minimise bottlenecks and allow contributions by
all interested parties. Some packages will be exempted upfront due
to their volatile nature (e.g. some web applications) and others
might be expected to see important changes. The LTS suite will be
limited to amd64 and i386. The exact procedures will be sorted out
soon and announced in a separate mail. ... It needs to be pointed out that for this effort to be sustainable
actual contributions by interested parties are required. squeeze-lts
is not something that will magically fall from the sky. If you're
dependent/interested in extended security support you should make an
effort to contribute."
If successful, the LTS idea would possibly be carried over to Wheezy. With all of the changes coming in Jessie and its aggressive release schedule, this sysadmin really likes the idea of having a bit more breathing room for updating infrastructure between releases. The email
also contains a bunch of other info on changes coming to the security process.
< article continued at Slashdot
>Read Replies (0)
By Unknown Lamer from Slashdot's sudden-outbreak-of-sane-copyright-law department
An anonymous reader writes "Changes to the Russian Civil Code, which include the recognition of open licenses, the right for libraries to generate digital copies of certain works, were now signed by the Russian President and come into force on October 1st. According to Wikimedia-RU member Linar Khalitov, 'these changes are a result of a lot of hard work on behalf of Wikimedia-RU ... proposing, discussing and defending amendments to the Code.'"
The changes are pretty major: licenses no longer require a written contract to be enforced, and published works can no longer be retracted. The two combine to give Wikipedia RU authors stronger author rights. Pictures of architectural objects can be used freely without the permission of the architect
, which will allow many images that were pulled from the Wikimedia Commons
to return, and new projects to add pictures of monuments
to go forward.Read Replies (0)
By samzenpus from Slashdot's ask-me-anything department
J. Michael Straczynski has written Thor
, World War Z
, and Changeling
among many other films. He created Babylon 5
and has worked on numerous comic book titles including Superman
and The Amazing Spider-Man
. Most recently, he has teamed up with the Wachowskis for an original Netflix sci-fi series, Sense8
. He's agreed to take a break from his busy schedule in order to answer any questions you may have. As usual, ask as many as you'd like
, but please, one question per post.Read Replies (0)
By Unknown Lamer from Slashdot's pry-glibc-from-my-cold-dead-ld.so department
New submitter dalias (1978986)
writes "The musl libc project has released version 1.0, the result of three years of development and testing. Musl is a lightweight, fast, simple, MIT-licensed, correctness-oriented alternative to the GNU C library (glibc), uClibc, or Android's Bionic. At this point musl provides all mandatory C99 and POSIX interfaces (plus a lot of widely-used extensions), and well over 5000 packages are known to build successfully against musl.
Several options are available for trying musl. Compiler toolchains are available from the musl-cross project, and several new musl-based Linux distributions are already available (Sabotage and Snowflake, among others). Some well-established distributions including OpenWRT and Gentoo are in the process of adding musl-based variants, and others (Aboriginal, Alpine, Bedrock, Dragora) are adopting musl as their default libc."
The What's New
file contains release notes (you have to scroll to the bottom). There's also a handy comparison chart with other libc implementations: it looks like musl is a better bet than dietlibc and uclibc for embedded use.Read Replies (0)
By samzenpus from Slashdot's you-say-tomato-I-say-tomato department
writes "Last March, weev, the notorious internet troll who seems to be equally celebrated and reviled, was convicted of accessing a computer without authorization and identity fraud, and sentenced to serve 41 months in prison.'He had to decrypt and decode, and do all of these things I don't even understand,' Assistant US Attorney Glenn Moramarco argued. Here, on a Wednesday morning in Philadelphia, before a packed courtroom, the federal prosecution argued that a hacker should spend three and a half years in prison for committing a crime it couldn't fully comprehend. Previously, Orin Kerr, a law professor at George Washington University and weev's defense attorney, had argued first and foremost that there was no criminal hacking to speak of. According to Kerr, what weev and Daniel Spitler (who pleaded guilty to avoid jail time) had done while working as an outfit called Goatse Security was entirely legal, even though it embarrassed public officials and some of the country's biggest corporations."Read Replies (0)