Skip to content

Instantly share code, notes, and snippets.

View ekardon's full-sized avatar

Mümin Bilal KILIÇOĞLU ekardon

  • İstanbul, Turkey
View GitHub Profile
@ekardon
ekardon / barcodereader.py
Created September 23, 2020 09:32 — forked from JoachimL/barcodereader.py
Python USB barcode reader
import evdev
from evdev import *
from azure.storage.queue import QueueService, QueueMessageFormat
import threading
import time
from queue import *
import datetime
# responsible for uploading the barcodes to the azure storage queue.
class BarcodeUploader:

It's impossible to install PyQt5 out of the box with pip in Raspbian Buster

Here is what I did

It's quite long beat with me. (First part is from official guide with extended dependencies https://wiki.qt.io/Building_Qt_5_from_Git) First we enable source repo

sudo nano /etc/apt/sources.list

To enable it we need to uncomment in the following way

This data is intended to be used to analyze data for Liber Primus.

Through page 34-40 there are two numbers (1033, 3301) written in Babylonian number format, which is in base60. To able to analyze if there is any corrolation between prime numbers and bases, I calculated all possible values in different bases below 60 as in the example below. Then, I checked their primeness and related properties.

Data Dump

You can find the data dump in here!

Example