Saturday 23 May 2015

Rust 1.0, the programming language behind Mozilla’s new Web engine Servo, is released

As many programmers know, reaching the 1.0 milestone is an important day for any language. It signals the first stable point where developers can use its features without fear that their code will break with incoming changes. But what separates the open-source and openly developed Rust 1.0 is that Mozilla chose and backed it for building the company’s crazy-fast new Web browsing engine, Servo. Here, from a working developer’s point of view, I’ll explain the characteristics Mozilla has focused on when creating Rust, and how the company plans to use Rust to replace Gecko (the existing Firefox engine) with Servo.

The needs of Servo defined how Rust must improve over current languages — especially C++, which Rust will replace in future Mozilla browsers. If I had to single out one improvement in Rust, it’s its inherent safety. It eliminates the possibility of most of the errors that occur on applications written in C/C++. At the same time, Rust is also designed with concurrency in mind, facilitating the development of applications with a high level of parallelism. Furthermore, Rust achieves these improvements while being a low-level language with the same high performance everyone expects from C++.

Most errors in C/C++ applications come from its memory mishandling, such as allowing invalid memory accesses to data already released and reused, and buffer overruns to memory beyond the data structure you are intending to read and write. To solve these problems, Rust has brand-new memory management with static types, no implicit conversions, bound checks, variable addressing that’s statically checked by the compiler, non-mutable variables by default, and an ownership model that allows the application to automatically free the memory when its scope ends — and more importantly, ensure the validity of every pointer.

Many, if not all, of these concepts are already found in managed languages like Java and C#. But Rust allows them in applications compiled as native code, without needing to run within a runtime, and without suffering the big performance penalty of a garbage collector.

Although far from being as bad as a managed language, all those bound checks come with an small performance penalty over unsafe languages. So Rust also allows the execution of unsafe code, to allow the maximum possible performance for the occasional critical bits of code.

Rust’s ownership model model also provides a solution to painless development of highly parallel applications, so we can avoid the feared race conditions. Every thread is isolated in Rust, but data can still be shared through channels, which also transfers ownerships of the messages sent along, preventing the sender from racing back to that data. Locks can be defined, and some data types can be allowed to be shared by multiple threads.

The Servo Web Engine

Mozilla has put all the potential of this language to good use with their new Web engine: Servo.

Gecko, Firefox’s current Web engine, is a real dinosaur. It’s difficult to maintain, difficult to extend, and it’s poorly adapted to modern PCs and mobile devices. This is why Mozilla is building a revolutionary new engine from scratch to replace it and correct all of those defects. Choosing Rust facilitates Servo to divide every rendering task of HTML in as many parallel subtasks as possible. This way, the browser will be able to take advantage of modern processors. Even phones come nowadays with multiple cores, and MediaTek will soon launch a SoC with 10 CPU cores. The fact that Rust is inherently much safer than C++ doesn’t hurt, either.

Mozilla and Samsung have shared some performance comparisons between Servo and Gecko engines. When comparing the loading of CNN’s website, we can see that with a single processor, Servo is much faster than Firefox’s existing engine, and when running with a quad-core processor, the loading time decreases significantly.

To facilitate the adoption of Servo outside their own browsers, Mozilla has abandoned the complicated and troublesome Gecko API, and has adopted the Chromium Embedded Framework API, instead of yet creating another new Web API of its own. Despite being based on Blink (Chrome’s new web engine), this API aims to completely isolate users from the ever-changing, underlying Web engines, and has already been chosen by Adobe and Valve for its Steam Client.

Servo’s Roadmap tells us to expect an alpha browser later this year, but Mozilla is focusing on mobile and embedded spaces. So for the next two years, we should only expect mobile Servo browsers, and maybe the engine embedded within third-party software. Considering the spectacular results of those initial tests, we will have a hard time waiting so long.

It’s probably still too soon to start learning Rust for many developers. But if the Servo web engine becomes as successful as it looks, then Rust will have enough validation to stay with us for a long time.


Windows 10's seven editions

Windows 10's seven editions are excessive:
 
Greg Shultz offers his take on the seven editions of Windows 10, and wonders if Microsoft's plans for a free OS include reviving the Anytime Upgrade program.

windows10editions.png
 Image: Greg Shultz/TechRepublic

Microsoft announced last week that there will be seven editions of the Windows 10 operating system (OS). When I first learned this information, I was surprised; the way Microsoft has been talking about Windows 10 being the last major upgrade -- plus, the fact that the upgrade will be free for the first year for qualifying devices, and future upgrades will be delivered in an ongoing fashion -- I assumed there would just be a consumer/business edition, a mobile edition, and an enterprise edition.
In a May 13 post on the Blogging Windows site, Tony Prophet, VP of Windows Marketing at Microsoft, introduced the seven Windows 10 editions as follows:
As in the past, we will offer different Windows editions that are tailored for various device families and uses. These different editions address specific needs of our various customers, from consumers to small businesses to the largest enterprises.
The seven editions of Windows 10
  • Windows 10 Home: This is the most basic edition and will be the one most consumers will get on their desktops, laptops, and tablets.
  • Windows 10 Pro: This prosumer and small business edition of the OS will run on desktops, laptops, and tablets. It will have a higher-end feature set and advanced centralized management features.
  • Windows 10 Mobile: This small device edition will run on smartphones and small, 7/8-inch Windows tablets.
  • Windows 10 Enterprise: This advanced edition of the OS is designed for large organizations running Windows servers in a network domain environment.
  • Windows 10 Education: This is similar to the Enterprise edition but will have a feature set that is tailored to schools.
  • Windows 10 Mobile Enterprise: This advanced edition of the Mobile edition is designed for large organizations.
  • Windows 10 IoT Core: This specialized, advanced edition of the OS is designed to run on industrial devices, such as ATMs and cash registers.
A simpler approach
After reading the more detailed descriptions on the Introducing Windows 10 Editions blog post, I think five editions of Windows 10 would suffice.
It makes sense to have a Windows 10 Mobile edition for smartphones and small tablets. I can also see that having Windows 10 Enterprise and Windows 10 Mobile Enterprise for large organizations is necessary. And, Windows 10 IoT Core is definitely its own type of animal.
However, I think that one edition of the core OS for desktops, laptops, and tablets is plenty. I'd bag the Home, Pro, and Education distinctions and have one edition with the Pro/Education feature set and just call it Windows 10. After all, if the core OS is going to be free, what's the need for multiple editions?
 
The Anytime Upgrade approach
The answer might be that perhaps Microsoft plans to give us equivalent editions for free and then charge users to move up an edition via a revised Windows Anytime Upgrade program. (In Windows 8/8.1, Anytime Upgrade was renamed to Add features to Windows 8/8.1.)
So, if you're running Windows 7 Home/Home Premium or Windows 8.1, you'll get a free upgrade to Windows 10 Home; if you want more features, you'll have to fork out some cash to move up to Windows 10 Pro. If you have Windows 7 Professional/Ultimate or Windows 8.1 Pro, you'll get a free upgrade to Windows 10 Pro; if you want to move up to Windows 10 Education, it'll cost you.
How much extra cash? Well, that remains to be seen. If the past is any indication, it could cost close to $100. For example, going from Windows 7 Home Premium to Windows 7 Professional costs $89.95. Going from Windows 8.1 to Windows 8.1 Pro Pack costs $99.99.
 
Just like going from Windows 7 Home Premium to Windows 7 Professional or Windows 8.1 to Windows 8.1 Pro, there will be a feature incentive to go from Windows 10 Home to Windows 10 Pro. For example, with Windows 7 Home, you can use Remote Desktop to connect to another computer configured as a host, though Windows 7 Home cannot be configured as a Remote Desktop host; to get that capability, you have to move up to Windows 7 Professional. Likewise, if you have Windows 8.1 and want Windows Media Center, you have to upgrade to Windows 8.1 Pro.
What features will be missing from Windows 10 Home that you'll have to move up to Windows 10 Pro to get? That's unknown at this point, but one good candidate might be the Task View virtual desktop feature.
What's your take?
Would you rather see a single core edition of Windows 10? If you end up with a lower edition of Windows 10, are you willing to pay to get more features? Share your opinion in the discussion thread below.

Paytm Promo code & Cashback

Get latest Paytm cashback coupons, discount offer and working promo codes.

paytm promo codes may 2015
Latest Paytm Coupons & Discount Codes of JULY 2016.
1.Get 1% upto 300 cashback on Prepaid, Postpaid, landline, DTH
Get 1% cashback on Prepaid recharges, Postpaid bill pay, landline, DTH recharges,Data card recharge. Max cashback Rs 300. No Minimum transaction amount require. Five time per user.
Use coupon- GRAB300

2. Har Din Lakhpati: Win 1 Lakh Cashback daily
Everyday win 1 lakh on Paytm. Make maximum transactions and use more Paytm services to make chances higher. Winners will be announced in 48hrs at given page
 Use Coupon- LAKHPATHI   

3.Get Rs.25 cashback by adding Rs.250 to Wallet.
  • Rupay Card user Get Rs.25 cashback on adding cash to Paytm wallet. All User can avail this offer. 
  • Use coupon- RUPAY25

If you use the Internet, you need a VPN. Here’s why

Lucky for you, there is an easy way to make browsing the Internet a little safer: a VPN, or Virtual Private Network. VPNs have been getting press for years now, but most computer and smartphone addicts still aren’t using them. Only 27 percent of people globally have used VPNs, according to a survey released by GlobalWebIndex in October. The use is far higher in Asia and South America than in the U.S., where just 16 percent of adults use VPNs.
Even if you’re a computer novice, it’s time to take the plunge. Here are some answers to common questions about VPNs, including why having one is a must.

Why do I need a VPN?

​Put simply, a VPN is like a condom for Internet use. When you use a VPN, it creates a private encrypted tunnel that your Internet requests are sent through, re-routing your activity through a server controlled by your VPN provider rather than over a shared wifi network. That way, a tech-savvy interloper can’t use sniffing tools to see you connecting to websites or loading apps. Without a VPN, that information can be up for grabs — and if the websites or apps don’t use SSL encryption, a hacker could see everything you click on or send.
Wouldn’t that be illegal, though?

Yes, but it’s happening all over the place anyway. If you’re connecting to a https site (the ones with a little lock in the address bar), you’re safer from these attackers. But despite pressure from security advocates and even the makers of Firefox, there are still a number of sites out there that don’t use SSL by default, and tools like this $100 “wifi pineapple” are making it easier than ever for network voyeurs to see your information. With minimal effort, hackers could see you browsing on Amazon, reading Wikipedia or news articles, or searching for and watching porn. (Yes, shockingly, many porn sites are unencrypted.)
“If you care about your privacy, you need a VPN,” says Filip Chytrý, a mobile security product manager at Prague-based Avast, which hasVPNs for sale.
I never use public wifi networks. Do I still need a VPN?

There are other benefits to using a VPN. Because you’re being redirected through your VPN’s server — potentially in another country — a good VPN can allow you to circumvent Internet restrictions put in place on the network you’re using.
Say you’re a HBO Go subscriber, and you’re on vacation in a country where HBO is unavailable. Without a VPN, you’d get a message telling you that you must reside in the U.S. to get the latest Game of Thrones episode. But with a VPN, you could route your traffic through the U.S. and get your swords and dragons fix.
Lots of Netflix users employ VPNs — so many, in fact, that the movie giant threatens in its terms of service to ban users employing them. In China, VPNs are also extremely popular, as they allow users to circumvent China’s Great Firewall— when they’re not blocked. If you’re traveling to China, and you want to be able to check Gmail or Twitter while you’re there, a VPN is a must as those services are currently blocked in the country.
Which VPN should I get?

I surveyed a handful of security experts to ask which VPN they recommend using. The most frequently recommended VPN was that offered by Private Internet Access, a U.S.-based company with servers in the U.S., U.K., and Switzerland. The company says it doesn’t keep logs of users’ activities — which is important for privacy reasons — and it has a drop-down menu that lets you choose which country you want to appear to be coming from, which is important for TV-binging reasons. The service costs $40 a year, and can be installed on your laptop and smartphone.
Any others you’d recommend?

If you’re just trying to protect yourself from other people at a coffee shop or binge-watch TV while abroad, any basic VPN is probably fine. If you’re a dissident in a repressive country, you probably want to seek out a more robust VPN that supports security protocols like OpenVPN or IPSEC/L2TP, doesn’t keep connection logs, has lots of exit nodes, and is based outside of your country.
“If you live in a country with a repressive government, make sure that you’re using a VPN in a country that is not allied with your government,” says Frederic Jacobs, a security engineer at Whisper Systems. “If you’re a U.S. dissident/activist, you probably shouldn’t have a VPN in the US. If you’re a Belarussian activist, don’t use a VPN in Russia — that would be stupid.”

So, if I use a VPN, I’m totally secure?

Not totally. Many VPN providers use PPTP, a protocol that is “thoroughly broken,” said Christopher Soghoian, a technologist at the ACLU, by email. Using a service with a known vulnerability—like a VPN using PPTP technology—is like locking your bike up with a cable lock in a place where thieves regularly carry around bolt cutters. It’s insufficient protection for your bike and for your data.
And don’t rely on VPNs to protect you from the NSA, either.
“VPNs do not protect you from government surveillance,” said Soghoian. “It is trivially easy for the NSA to track single-hop VPN traffic (by watching your data go in and out of the VPN service).”
If you need to hide from the NSA or another intelligence agency, Soghoian said, the best bet is using Tor, an anonymized browser. “And even then, it isn’t a silver bullet.”

So I’m screwed no matter what, basically?

Well, using a VPN is much, much safer than not using one. But as with any security protection, it’s imperfect.
Soghoian pointed out that, for Americans, sending your traffic out of country via a VPN may actually increase the likelihood that your data will be collected by an intelligence agency like the NSA. That’s because a foreign-based VPN makes you look like a non-U.S. citizen who don’t have constitutional protections against unreasonable searches and seizures of information.
And you have to trust the VPN that you’re using. If the VPN service is compromised, all your protections will be for naught.
“The problem with any third party VPN service, is that you are intentionally routing your traffic through them, and you are relying on them being honest and protecting your data,” says Colby Moore, a security research engineer at Synack. “Overall, its better to use a VPN than not, especially if you are somewhere untrusted. However, you should continue to use HTTPS and secure protocols under the VPN.”

Real privacy sticklers pile these measures on top of one another, creating a multi-layer security stack that increases your data’s chance of staying private. Dan Tentler, a security researcher at Aten Labs, told me that he uses his own custom network, one that combines a VPN with SSH tunnels, VPS machines, and Tor.
“If you double up or triple up technologies you can get some pretty solid results,” says Tentler.
​Credit to: http://fusion.net/

Nigerian restaurant shut down for ‘serving human flesh’

A restaurant in south-eastern Nigeria is shut down for allegedly serving human flesh after bags containing heads were discovered in the kitchen.

A Nigerian restaurant has reportedly been shut down after being accused of serving human flesh following the discovery of bags containing human heads in the kitchen.

A report on the BBC’s Swahili service said police were alerted by local people who suspected something horrific was going on at the restaurant in the south-eastern province of Anambra.

The police raided the establishment and allegedly found the heads, dripping blood into plastic bags, and weapons including grenades. Ten people were arrested.

One resident said: “I’m not surprised at the shocking revelation... Every time I went to the market, I observed strange activities going on in the hotel.

“People who were never cleanly dressed and who looked a bit strange made their way in and out of the hotel, making me very suspicious.”

A local priest who ate at the restaurant was alarmed at the prices it was charging after being presented with a bill for £2.20 - nearly four times the daily wage for millions of Nigerian labourers.

He was told the high cost was because of the piece of meat he had eaten. “I did not know I had been served human meat, and it was that expensive,” he said.

11-Year-Old Graduating With 3 Degrees From American River College

11-Year-Old Graduating With 3 Degrees From American River College
SACRAMENTO (CBS SF) — An 11-year-old boy receiving three degrees became the youngest graduate at American River College this year, by far.
Tanishq Abraham graduated from high school at age 10, and now has his sights set on a medical degree.  He told KCRA he wasn’t intimidated by taking classes with students twice his age.
“Even on the first time I came to a college class, I wasn’t really nervous, so, this isn’t much of a big thing to me,” Abraham said.
ALSO READ: Camp Counselor Accused Of Making Child Porn Had Deportation Amnesty, Was Investigated By Feds Previously For Child Exploitation via the link below...
Abraham graduated with a perfect 4.0 GPA, which didn’t come as a surprise to his mother.
“Even in kindergarten he was pretty ahead, two years ahead, and just went from th” she said.
A medical degree isn’t the only goal Abraham has set for himself.
“I also want to be a medical researcher, and the President of the United States.”

source: http://goo.gl/AlaonZ

NSA Had Plans to Hack Smartphones via Malware Delivered Through Google Play Store


Samsung Store was targeted by the agency as well

New top-secret NSA documents reveal plans to get around security of major Android application stores like Google Play and Samsung Store with the purpose of spying on those who use these stores.

The report comes from The Intercept and describes a plot in which NSA put together a surveillance project alongside its allies with the purpose of the infecting smartphones with malware via Google Play Store and Samsung Store.

The project was launched by a unit caller “Network Tradecraft Advancement Team” and included spies from multiple countries such as United States, Canada, New Zealand, Australia and the United Kingdom.

The document obtained by Edward Snowden and published by The Intercept describes NSA's tactics that employed the Internet spying system XKEYSCORE it identify smartphone traffic flowing across Internet cables, and then to track down smartphone connections to app store servers owned by Google and Samsung.
Malware “implants,” “man-in-the-middle” attacks, “effects” operations
Another part of the surveillance project pursued other plans like methods of hacking and hijacking phone users' connections to app stores to that they could send malware “implants” to targeted devices. These “implants” would then be used to gather the data from the phones without the user could notice it.

The document also highlights how NSA and its allies would have used these app stores to launch “man-in-the-middle” attacks to infect smartphones with implants, if the project would have been successful.

But that is not all. The document published recently explains how NSA and its allies wanted to find other methods of hijacking smartphones in order to send “selective misinformation to the targets’ handsets” as part of something called “effects” operations, which are used to spread propaganda or confuse enemies.

The ultimate goal for NSA would be to get access to Google and Samsung's servers, in order to be able to use them for collecting information about phone users, in secret.

There are more to the report, so if you want to know the whole story make sure to check it out at The Intercept.