February, the month of love, is behind us. This month we have Easter. We hope you have a great time with your families this month of Easter (as we do every month ;)).
This issue is predominantly focused on iOS software. February was not that favorable for Apple, was it? Stories about Apple clashing with the America’s Federal Bureau of investigation (FBI) have been featured everywhere, so our focus this month is a very timely coincidence. While we will not be discussing security, McAfee, Snowden, Trump or any other person trying to pull the spotlight in their direction on this subject, we would like to know what you think about this. Which side are you taking, Apple’s or the FBI’s?
This issue opens with BSD World Monthly News, as always. Next, you will find a couple of articles about Swift. To begin with, “Introduction to Swift, Open Source Language for iOs” by David Carlier. After that, “Open Source Might Be the New Business Era!” is a very nice and easily read article by Georgios Pessios. It is his debut, let us know what you think about his first article. The topic of Swift closes with “Memory Management in Swift” by Arash Z. Jahangiri.
Now we move on to “Why FreeBSD?” by Hamza Sheikh. Do you agree with his arguments?
Have you ever heard about Samhain? Now you can find out more from the article “Samhain - Free, Open Source File Integrity Monitoring / HIDS” by Leonardo Neves Bernardo.
Next, you can find an interview with Micha Mazaheri, CEO of Paw Inc. We have spoken about their tool and the power of start-ups.
Lastly we have 3 pieces for our columns. First we have an article from Damian Czernous’ column “Model View Whatever - MVP by Mike Potel.” We then have a TrueNAS Street column about “Solving Storage challenges with Root on ZFS in FreeNAS and TrueNAS.” Finally, this issue closes out with Rob Somerville’s column about his point of view on the FBI vs Apple case.
Enjoy your Ester Holidays, St. Patricks Day, Norooz, Holi and Magha Puja Day! And we hope you had a very spooky Nyepi 😉
Marta & BSD Team
BSD World Monthly News
by Marta Ziemianowicz
This column presents the latest news coverage of breaking news events, products releases and trending topics of the BSD new stories.
Introduction to Swift, Open Source Language for iOS
by David Carlier
With this article, we'll describe how to write an Apple iPhone Operating System's application with some open source tools. Swift is now the most recent programming language and happily was open sourced since the end of 2015. Swift not only runs on Apple devices but also on Linux and a FreeBSD version is a work in progress. Experience with another language with similar features, like Ruby, Groovy, Rust, etc., can be helpful.
Open Source Might Be the New Business Era!
by Georgios Pessios
Back in June of 2014, during WWDC (Worldwide Developers Conference), Apple announced its new programming language; Swift! The creation of the language started in the summer of 2010 by Chris Lattner. Such a move was a surprise for the software coder community but Lattner kept his newborn masterpiece a secret from everyone, even from his top executives for more than a year and half.
Memory Management in Swift
by Arash Z. Jahangiri
Managing how long an object is going to stay alive in memory, before its memory is disposed, is called "Life Cycle Management". In some languages like Java this is done automatically. That is, GC (Garbage Collector) is responsible for releasing the objects that are no longer used from memory, in order to prevent a memory leak. As a result, the memory is disposed and is ready to be used by other objects if needed. However, in Swift, ARC (Automatic Reference Counting) does this task by keeping track of memory, and releasing the memory as soon as it finds an object with no references to it.
by Hamza Sheikh
Before going into why FreeBSD is now my preferred OS for learning UNIX, let us review why I used Linux for a long time.
Samhain - Free, Open Source File Integrity Monitoring / HIDS
by Leonardo Neves Bernardo
One of the defining features of UNIX is 'Everything is a file', and one of the defining features of its administration is 'You cannot manage what you do not measure'. So, if we synthesize these phrases, we can conclude that 'It is necessary to measure our files to be a UNIX administrator'. Well, let us exchange the term measure for monitor, because in an operating system we can 'measure' a lot of features related to files. For example, we can monitor content, owner, and MAC times. The conclusion is 'We can be good UNIX administrators only if we can monitor files'.
In this article we will learn how to use the Samhain software to monitor activities in the UNIX operating system, above all, to monitor file modifications.
Interview with Micha Mazaheri, CEO of Paw
by Marta Ziemianowicz, Marta Strzelec & Marta Sienicka
Model View Whatever - MVP by Mike Potel
by Damin Czernous
In the 1990s, software engineers attempt to unite two dominating UI designs: Forms and Controls, and MVC with the Application Model (AMVC). The result is that the Model View Presenter (MVP) structure emerges. It is difficult to determine the MVP inventor. It seems to be a collective work occasionally summarized by specific engineers. In that design cloud, two mainstreams start clashing. One sympathizes with Mike’s Potel’s way of thinking. The other one promotes Andy Bower and Blair McGlasha’s point of view. Generally however, MVP is referenced via the Potel paper MVP, “Model-View-Presenter The Taligent Programming Model for C++ and Java”.
Solving Storage Challenges wit Root on ZFS in FreeNAS and TrueNAS
by Mark VonFange
The ZFS file system provides data integrity features for storage drives using its Copy On Write (CoW) technology and improved RAID, but these features have been limited to storage drives previously. If you have a drive failure, utilizing RAID or mirroring will protect your volumes, but what happens if your boot drive fails?
by Rob Somerville
The FBI and Apple are engaged in very public spat concerning encryption, data privacy and intellectual property. Who should we be more afraid of – government, business or terrorists?