The Latest in IT Security

Apple’s Swift makes it easier than ever to accidentally delete every file on your Mac

05
Jun
2014

Both iOS 8 and OS X Yosemite were clearly the focus of Apple’s WWDC keynote, but one of the biggest surprise announcements was the reveal of Swift, a new programming language for developers. One of the language’s most noteworthy features, the playground, allows developers to test their code as they type, but without a “sandbox” to protect the computer, this can lead to some very unfortunate accidents. As developer Steve Stroughton-Smith (@stroughtonsmith) warned his followers on Twitter: Protip: while in a Swift playground, for the love of God don’t write system(“cd ~; rm -rf *”). Runs-as-you-type has its downsides! — Steve T-S (@stroughtonsmith) June 4, 2014 You don’t even have to hit enter for the command to take effect. If you were to type

Comments are closed.

Categories

SATURDAY, APRIL 20, 2024
WHITE PAPERS

Mission-Critical Broadband – Why Governments Should Partner with Commercial Operators:
Many governments embrace mobile network operator (MNO) networks as ...

ARA at Scale: How to Choose a Solution That Grows With Your Needs:
Application release automation (ARA) tools enable best practices in...

The Multi-Model Database:
Part of the “new normal” where data and cloud applications are ...

Featured

Archives

Latest Comments