Bing’s New Live Code Editor Is Surprisingly Useful

Google is famous for integrating tiny, handy features directly into its search results. With a new in-line live code editor that pops up when you search for programming questions, Bing may just have beaten Google at its own game. Read more…

Continue reading here:
Bing’s New Live Code Editor Is Surprisingly Useful

TSA Paid $1.4 Million For Randomizer App That Chooses Left Or Right

An anonymous reader writes: For those of you who have traveled through U.S. airports in recent years, you may have noticed the Transport Security Administration (TSA) use a Randomizer app to randomly search travelers in the Pre-Check lane. The app randomly chooses whether travelers go left or right in the Pre-Check lane so they can’t predict which lane each person is assigned to and can’t figure out how to avoid the random checks. Developer Kevin Burke submitted a Freedom of Information Act request asking for details about the app. The documents he received reveals the TSA purchased the Randomizer iPad app for $336, 413.59. That’s $336, 413.59 for an app, which is incredibly simple to make as most programming languages of choice have a randomizing function available to use. What may be even more intriguing is that the contract for the TSA Randomizer app was won by IBM. The total amount paid for the project is actually $1.4 million, but the cost is not broken down in Burke’s documents. It’s possible IBM supplied all the iPads and training in addition to the app itself. Read more of this story at Slashdot.

Read More:
TSA Paid $1.4 Million For Randomizer App That Chooses Left Or Right

How One Dev Broke Node and Thousands of Projects In 11 Lines of JavaScript

An anonymous reader quotes an article written by Chris Williams for The Register: Programmers were left staring at broken builds and failed installations on Tuesday after someone toppled the Jenga tower of JavaScript. A couple of hours ago, Azer Koculu unpublished more than 250 of his modules from NPM, which is a popular package manager used by JavaScript projects to install dependencies. Koculu yanked his source code because, we’re told, one of the modules was called Kik and that apparently attracted the attention of lawyers representing the instant-messaging app of the same name. According to Koculu, Kik’s briefs told him to take down the module, he refused, so the lawyers went to NPM’s admins claiming brand infringement. When NPM took Kik away from the developer, he was furious and unpublished all of his NPM-managed modules. ‘This situation made me realize that NPM is someone’s private land where corporate is more powerful than the people, and I do open source because Power To The People, ‘ Koculu blogged. Unfortunately, one of those dependencies was left-pad. It pads out the lefthand-side of strings with zeroes or spaces. And thousands of projects including Node and Babel relied on it. With left-pad removed from NPM, these applications and widely used bits of open-source infrastructure were unable to obtain the dependency, and thus fell over. Read more of this story at Slashdot.

Read More:
How One Dev Broke Node and Thousands of Projects In 11 Lines of JavaScript

Whole lotta onions: Number of Tor hidden sites spikes—along with paranoia

Two sudden leaps in the number of advertised “hidden services” on Tor have led to rampant speculation about the cause of them. (credit: The Tor Project ) In recent weeks, the number of “hidden services”—usually Web servers and other Internet services accessible by a “.onion” address on the Tor anonymizing network—has risen dramatically. After experiencing an earlier spike in February, the number of hidden services tracked by Tor spiked to 114,000 onion addresses on March 1. They then dropped just as quickly, falling to just below 70,000 hidden services seen by Tor on Thursday—still twice the number that Tor had held steady at for most of 2015. “We don’t know what’s causing this,” said Kate Krauss, the director of communications and public policy for the Tor Project. “But it’s not difficult for even one person—a researcher, for instance—to create a lot of new onion addresses—which is not the same as actual websites or services. In fact, we want the process of creating onion addresses to be as easy as possible to encourage the creation of more onion services. These spikes are typically temporary—and as you see from the chart, this one is already going away.” Still, there has never been this sort of wild gyration in their number in recent times—or at least as far back as the Tor Project has kept metric data. So what caused the sudden near-tripling of the size of Tor’s hidden Web and its rapid contraction? Based on a deeper look at Tor’s metrics and discussions with both Tor developers and security experts, the huge spike in the “size” of the hidden Web within Tor was likely caused by a perfect storm of coincidences: major Internet censorship events in at least two countries, the relatively rapid adoption of a new messaging tool, a malware explosion, and ongoing attempts to undermine the privacy of the network. Read 14 remaining paragraphs | Comments

Read the original:
Whole lotta onions: Number of Tor hidden sites spikes—along with paranoia

Google will strip Oracle’s Java code out of Android

Google has confirmed that it will no longer use Java application programming interfaces (APIs) from Oracle in future versions of Android, according to VentureBeat . Instead, it will switch to OpenJDK, an open-source version of Oracle’s own Java Development Kit. While you might ask, “Who actually cares?”, Google says the change will simplify app development by creating a common codebase for Java. It’s hard to imagine that such a huge change (8, 902 files are supposedly affected) isn’t related to Google’s ongoing legal dispute with Oracle, though. That dispute, depending on how it’s resolved, could adversely affect Android development and app coding in general. The epic dispute started when Oracle sued Google for copyright back in 2010, claiming that Google improperly used its Java APIs. Google argued that the APIs in question were essential for to software innovation, and therefore couldn’t be copyrighted. In 2012, a jury found that Google didn’t infringe Oracle’s copyright, but a Federal court mostly reversed the decision in 2014. The US Supreme court didn’t want to touch the case and sent it back to a lower court, where it currently sits. Users on Y Combinator’s Hacker News who first spotted the code have theorized that it may mean that Google and Oracle have settled the lawsuit out of court. However, Google told VentureBeat that the legal dispute is still ongoing, so it couldn’t comment on whether the code change is related. As for how this affects you or me, the new code should make it a touch simpler for Android N developers, possibly resulting in better apps and quicker updates. However, the court’s upcoming decision could have much wider ramifications. If they decide that API’s from the likes of Java can be copyrighted, it could turn the patent wars into even more of a cluster-you-know-what. Source: VentureBeat

Read More:
Google will strip Oracle’s Java code out of Android

APT Speed For Incremental Updates Gets a Massive Performance Boost

jones_supa writes: Developer Julian Andres Klode has this week made some improvements to significantly increase the speed of incremental updates with Debian GNU/Linux’s APT update system. His optimizations have yielded the apt-get program to suddenly yield 10x performance when compared to the old code. These improvements also make APT with PDiff now faster than the default, non-incremental behavior. Beyond the improvements that landed this week, Julian is still exploring other areas for improving APT update performance. More details via his blog post. Read more of this story at Slashdot.

View post:
APT Speed For Incremental Updates Gets a Massive Performance Boost

Developer Claims ‘PS4 Officially Jailbroken’

colinneagle sends word that a developer has claimed to have achieved a jailbreak of the PlayStation 4. Networkworld reports: “If you have a PS4 and want to run homebrew content, then you might be happy to know developer CTurt claimed, “PS4 is now officially jailbroken.” Over the weekend, CTurt took to Twitter to make the announcement. He did not use a jail vulnerability, he explained in a tweet. Instead, he used a FreeBSD kernel exploit. Besides posting “an open source PlayStation 4 SDK” on GitHub, CTurt analyzed PS4’s security twice and explained PS4 hacking. CTurt updated the open source PS4 SDK yesterday; he previously explained that Sony’s proprietary Orbis OS is based on FREEBSD. In the past he released the PS4-playground, which included PS4 tools and experiments using the Webkit exploit for PS4 firmware version 1.76. To put that in context, Sony released version 3.0 in September. However, CTurt claimed the hack could be made to work on newer firmware versions. Other PS4 hackers are reportedly also working on a kernel exploit, yet as Wololo pointed out, it is unlikely there might be more than proof-of-concept videos as the developers continue to tweak the exploit. Otherwise, Sony will do as it has in the past and release a new firmware version. In October 2014, developers nas and Proxima studied the PSVita Webkit exploit, applied it to the PS4, and then released the PS4 proof-of-concept. Shortly thereafter. Sony pushed out new firmware as a patch.” Read more of this story at Slashdot.

More:
Developer Claims ‘PS4 Officially Jailbroken’

DecryptorMax/CryptInfinite Ransomware Decrypted, No Need To Pay Ransom

An anonymous reader writes: Emsisoft has launched a new tool capable of decrypting files compromised by the DecryptorMax (CryptInfinite) ransomware. The tool is quite easy to use, and will generate a decryption key. For best results users should compare an encrypted and decrypted file, but the tool can also get the decryption key by comparing an encrypted PNG with a random PNG downloaded off the Internet. Read more of this story at Slashdot.

More:
DecryptorMax/CryptInfinite Ransomware Decrypted, No Need To Pay Ransom

Mimic, the Evil Script That Will Drive Programmers To Insanity

JustAnotherOldGuy writes: Mimic implements a devilishly sick idea floated on Twitter by Peter Ritchie: “Replace a semicolon (;) with a Greek question mark (;) in your friend’s C# code and watch them pull their hair out over the syntax error.” There are quite a few characters in the Unicode character set that look, to some extent or another, like others – homoglyphs. Mimic substitutes common ASCII characters for obscure homoglyphs. Caution: using this script may get you fired and/or beaten to a pulp. Read more of this story at Slashdot.

More here:
Mimic, the Evil Script That Will Drive Programmers To Insanity

DirectX 12 Performance Tested In Ashes of the Singularity

Vigile writes: The future of graphics APIs lies in DirectX 12 and Vulkan, both built to target GPU hardware at a lower level than previously available. The advantages are better performance, better efficiency on all hardware and more control for the developer that is willing to put in the time and effort to understand the hardware in question. Until today we have only heard or seen theoretical “peak” performance claims of DX12 compared to DX11. PC Perspective just posted an article that uses a pre-beta version of Ashes of the Singularity, an upcoming RTS utilizing the Oxide Games Nitrous engine, to evaluate and compare DX12’s performance claims and gains against DX11. In the story we find five different processor platforms tested with two different GPUs and two different resolutions. Results are interesting and show that DX12 levels the playing field for AMD, with its R9 390X gaining enough ground in DX12 to overcome a significant performance deficit that exists using DX11 to the GTX 980. Read more of this story at Slashdot.

Read More:
DirectX 12 Performance Tested In Ashes of the Singularity