Home Blogs 2 Wikis 34
Wikis

Static Initialization Order Fiasco

December 6, 2022 - Reading time: ~1 minute

The static initialization order fiasco refers to the ambiguity in the order that objects with static storage duration in different translation units are initialized in. If an object in one translation unit relies on an object in another translation unit already being initialized, a crash can occur if the compiler decides to initialize them in the wrong order. For example, the order in which .cpp files are specified on the command line may alter this order. The Construct on First Use Idiom can be used to avoid the static initialization order fiasco and ensure that all objects are initialized in the correct order.

Within a single translation unit, the fiasco does not apply because the objects are initialized from top to bottom.

External links

Read more
Wikis

The Stack and the Heap

November 29, 2022 - Reading time: 4 minutes

Many programming languages don’t require you to think about the stack and the heap very often. But in a systems programming languages like C, C++(this days not very often) and the Rust, whether a value is on the stack or the heap affects how the language behaves and why you have to make certain decisions. Parts of ownership will be described in relation to the stack and the heap later in this chapter, so here is a brief explanation in preparation.

Read more
Blogs

In Door Localization with UWB

November 16, 2022 - Reading time: 7 minutes

Intro


I'm working an company which is manufactures own access-control systems. With my join to crew the company started to develop some kinda in door localization system with RF at UWB-band. The developed device, harness multiple wireless technologies. For ranging and the data network uses UWB. GPS is used for outdoor positioning and time management. For local readout of data end setting parameters added Bluetooth. Below the most important RF parameters and features of these technologies are written down.

Read more

Minimalistic Approach to Cryptography

October 25, 2022 - Reading time: 6 minutes

Cryptography


Introducing To Terms


What are Cryptology, Crpytography, Cryptography


The short answer:

Cryptology is a science which is interested by secure communication on an insecure communication channel.

Today, all communications passes over unsecured channels like letters, wired and wireless channels which sending data over. So, anyone able to interrupt or listen the message who is in same channel.

Cryptology is encrypting the messages so if anyone get them, the message owner knows they wont able to read.

Usually, Cryptology is seperated by two necessary parts for cryptology.

Read more
Wikis

Fibonacci coding

July 6, 2022 - Reading time: ~1 minute

Implementation

In [1]: 


import functools

@functools.cache
def fib(n):
    if n < 2:
        return n
    return fib(n - 1) + fib(n - 2)
Read more
Wikis

Emacs

July 6, 2022 - Reading time: ~1 minute

Emacs is a programmer’s text editor that can be extended and configured using it’s embedded scripting language ELisp (Emacs Lisp).

Variants


There are multiple members of the Emacs editor family, the most popular one being GNU Emacs. These have varying levels of compatibility with each other, ranging from “mostly compatible” to “some key bindings are the same”.

  • GNU Emacs
Read more

About

Thanks for checking out my website. You can read my blogs & wikis and inspect my cv in here also you can look at my projects too.

Hit Counter

203