Table of contents Introduction What is an iterator? Iterator example What is an iterable? Iterable example – separate class Iterable example – single class Python containers What are generators? Generator types Generator function example Generator comprehension example Generator advantages Summary References Introduction Today, we are going to discuss a little bit confusing topic in Python
Introduction In this tutorial, we are going to create a containerized machine learning application. It is a simple application but it can be used as a template to build a more serious one. I hope by the end of this post you will have a basic idea about the following cool topics and technologies: Machine
Introduction This is a commonly asked question among students. I think part of the confusion comes from mixing terms from academia specially operating systems courses with software industry terms such as cloud computing and big data. Network operating systems and distributed operating systems are fundamentally different concepts. Let us see what the difference is. Network
Introduction In order for two networked computers to exchange data, a protocol has to be used. A protocol is an agreed method to identify computers (ex. PC, iPhone), applications (ex. browser, web server) and resources (ex. webpage, image, database table). A protocol also facilitates secure (ex. encryption) and reliable (ex. data loss protection) communication. The
Computer science or computer engineering for software engineer? The aim of this post is to contrast some computer terms used in the industry and academia as well. Some people are just curious to know the differences but for students in particular, realizing what these terms stand for is very important before deciding on a certain
Introduction Throughput, turnaround time, response time and waiting time are frequently mentioned terms in operating systems. They may look similar but they refer to different methods for evaluating CPU scheduling algorithms. When multiple processes are running, the CPU has to determine which process runs next in order to utilize resources and optimize system performance. For
Introduction This is the second tutorial on Unity IAP. In the previous one, we talked about Android. Today, we are going to talk about iOS and tvOS. I am not going to repeat the topics that apply to both Android and iOS. You can refer to the first tutorial for things like creating a unity project,
In a previous article, I explained how to use Charles proxy to test SSL network connections for iPhone and Android. For tvOS, it is a little bit different. Follow the steps below to configure Charles proxy on Apple TV with SSL support. Please not that this setup can also be applied to iOS as well.
Introduction This is a commonly asked question in operating systems design. In this post, I am going to provide few examples to clarify the difference between policy and mechanism in OS. Let us first explain what policy and mechanism stand for. Definition Given a particular task, policy refers to what needs to be done (i.e.
Introduction The purpose of this short post is to explain operating system’s page table vs inverted page table, mention their advantages and disadvantages in an easy to follow manner. Many students and beginners do not get the point behind these two concepts so my intention here is to clear any possible confusion rather than dive