Moment For Technology

Designing Better Products using 84 Cognitive Biases -- Part 2

The art of persuasion! Here are some (good value?) Techniques can help you better communicate your message. 22. The anchoring Effect We often rely too much on initial information (" anchoring ") to make subsequent decisions. How to use it: The oldest trick in the book is to use a high price as an anchor, then cross it out and set a lower price next to it. 23. We prefer hyperbolic discounting to...

Native Activity in C++ and Android

I'll walk you through a simple Android native Activity. I'll walk you through the basic setup and try to give you the tools you need for further learning. While my focus is on game programming, I'm not going to tell you how to write an OpenGL application or how to build your own game engine. Whole books could be written about this stuff. On Android...

7 Programming languages and Frameworks to Learn in 2020

Choosing the right programming language or framework for your application affects not only the speed and development cycle, but also the breadth of your future career. Here, I share the best things to learn in 2020 -- 7 programming languages that will be relevant to you for years to come. If you're struggling or passionate about choosing between a front-end or back-end programming language, this article...

14 Habits of Being an Effective Programmer (Part 1)

Many people believe that the transition from an effective junior programmer to an intermediate programmer is just a matter of time and experience, but in reality the distinction between the two types of programmers is less clear-cut and subjective. I'm not writing this article to argue with anyone about what defines an intermediate programmer. Ideally, each method should contain no more than 20 to 30 lines of code (LoC). This habit...

IOS: How to build a table view with multiple Cell types

In a table view with static cells, the number and order of cells is constant. Implementing such a table view is very simple, not much different from implementing a regular UIView. A table view of dynamic cells with only one content type: the number and order of cells change dynamically, but all cells have the same type of content. Here you can use...

5 Kotlin extension tips to make your Android code more expressive

You've probably seen a bunch of articles about Kotlin's extensions, but this one isn't just about extensions. It's all about making your code more expressive, so I'm going to cover and outline my top extensions to make your code as natural as possible. The main purpose of this article is to learn how to use extensions, rather than copying snippets of code, to express code in your own way. Kotlin is a modern...

Flutter asynchronous programming: Future, Isolate and event loops

This article introduces the different code execution modes of Flutter: single-threaded, multi-threaded, synchronous, and asynchronous. I have recently received some questions related to the concepts of Future, Async, await, Isolate and parallel execution. Because of these problems, some people have trouble handling the order in which code is executed. I think an article explaining asynchrony, and...

In-depth understanding of the native lazy loading features of images and frames

Websites today are flooded with media resources such as pictures and videos. Images account for about 50% of the average traffic on a website. However, most of these images do not make it to the user's view because they are located outside the front page of the site page. Looking at the title of this article and asking "What is lazy loading?" There are plenty of articles on lazy loading at CSS-Tricks, including a very detailed one...

Search
About
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.