Performance of Python Data Structures

It is important for you to understand the efficiency of these Python data structures because they are the building blocks we will use as we implement other data structure in the remainder of the book. Lists The designers of Python had many choices to make when they implemented the list data structure. Each of these … Continue reading Performance of Python Data Structures

Mathematics for 3D Game Programming and Computer Graphics – Vectors

Vectors are of fundamental importance in any 3D game engine. They are used to represent points in space, such as the locations of objects in a game or the vertices of a triangle mesh. They are also used to represent spatial directions, such as the orientation of the camera or the surface normals of a … Continue reading Mathematics for 3D Game Programming and Computer Graphics – Vectors

Mathematics for 3D Game Programming and Computer Graphics – The render pipeline

This chapter provides a preliminary review of the rendering pipeline. It covers general functions, such as vertex transformation and primitive rasterization, which are performed by modern 3D graphics hardware. Readers who are familiar with these concepts may safely skip ahead. We intentionally avoid mathematical discussions in this chapter and instead provide pointers to other parts … Continue reading Mathematics for 3D Game Programming and Computer Graphics – The render pipeline

Getting MEAN – Designing a MEAN stack architecture

A common MEAN stack architecture A common way to architect a MEAN stack application is to have a representational state transfer (REST) API feeding a single-page application (SPA). The API is typically built with MongoDB, Express, and Node.js, with the SPA being built in Angular. The approach is particularly popular with those who come to … Continue reading Getting MEAN – Designing a MEAN stack architecture

Getting MEAN – Introducing full-stack development

The MEAN stack is a pure JavaScript stack comprised of four main technologies, with a cast of supporting technologies: MongoDB — the database Express — the web framework Angular — the front-end framework Node.js — the web server Why the MEAN stack specifically? The MEAN stack pulls together some of the "best-of-breed" modern web technologies … Continue reading Getting MEAN – Introducing full-stack development

TypeScript as a language for Angular applications

The reason is that developing in JavaScript isn’t overly productive. Say a function expects a string value as an argument, but the developer mistakenly invokes it by passing a numeric value. With JavaScript, this error can be caught only at run- time. Java or C# compilers won’t even compile code that has mismatching types, but … Continue reading TypeScript as a language for Angular applications

JavaScript definite guide – Arrays

An array is an ordered collection of values. Each value is called an element, and each element has a numeric position in the array, known as its index. JavaScript arrays are untyped: an array element may be of any type, and different elements of the same array may be of different types. Array elements may … Continue reading JavaScript definite guide – Arrays

iOS development with Swift 3 – Your first iOS app

What is Swift? Swift is the modern language created by Apple which got the Apple developer world buzzing. While loved by iOS developers, Objective-C was at the same time seen by many others as an outmoded language – a verbose and peculiar syntax, and with an unsafe type system. Built as a modern alternative to … Continue reading iOS development with Swift 3 – Your first iOS app

日语谓语的各种形态 – “基本形”

动词的“基本形“ 语法解释 “基本形”是动词的基本形式。词典中的词条都使用这一形式。各类动词“ます形”去掉“ます”的形式和“基本形”的关系对应如下: 一类动词:“基本形”最后的发音为“う”段,“ます形”去掉“ます”后的发音为“い”段。 二类动词:“基本形”为“ます形”去掉“ます”后加“る”。 三类动词:“基本形”分别为“来る”和“する”,“ます形”去掉“ます”后则为“来”和“し”。