Home Blogs 2 Wikis 34
Wikis

Burrows Wheeler Transform

June 20, 2022 - Reading time: 3 minutes

In [1]: 


get_ipython().ast_node_interactivity = 'all'

import string
Read more
Wikis

BunnyCDN Log file format

June 18, 2022 - Reading time: ~1 minute

The BunnyCDN log format is a plain-text format. By default, BunnyCDN provides logs for 3 days, and you can fetch these with your account key.

Each request is logged on a separate line, and the fields are delimited by |. Here are the fields in order, and their short descriptions.

  1. Cache status
    • If the request was served from the cache, the value is HIT. Otherwise, the value is MISS.
Read more
Wikis

Blum Blum Shub

June 10, 2022 - Reading time: 5 minutes

Blum Blum Shub is a PRNG algorithm published in 1986.

Formula


The algorithm is very short and simple. Starting from the seed, the next state can be computed by passing the current state through the following formula.

f(x) = x² mod M

In this formula, M is the product of p and q, two large primes.

The complexity in this algorithm is hidden in the parameters; the seed and the modulus M. In order to have a long cycle length and fulfill its security promises, Blum Blum Shub has a few constraints on its parameters.

Read more
Wikis

CardDAV

June 9, 2022 - Reading time: 2 minutes

This page is currently a braindump of CardDAV related information. If there is a library for this in the language you’re using, you’re probably better off using that.

CardDAV has a lot of functionality, but depending on your purposes you can keep your code simple and get the job done easily. With critical information such as address books, it is usually a good idea to keep your access read only. If you mess up with read only access, you just read incorrectly. But if you mess up when trying to read/delete contacts, you risk losing user data.

Read more
Wikis

Daytime Protocol

June 7, 2022 - Reading time: ~1 minute

Daytime is an almost extinct protocol that can be used to get the current time from a server. It is defined by RFC867. It can be used over TCP or UDP.

TCP Connections


The server should listen on TCP port 13. When it accepts a new connection, it should send the current time in an UNSPECIFIED format, discard any received data and close the connection.

Read more
Wikis

Frequency Modulation

May 12, 2022 - Reading time: ~1 minute

Frequency modulation, or FM, is an analog modulation scheme that encodes information by changing the frequency of a carrier wave.

FM is commonly used in

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

0