irrealis

Summary In English grammar, irrealis involves the use of were with a subject in the first-person singular or third-person singular to refer to an unreal or hypothetical condition or event–one that’s not true or that hasn’t occurred (e.g., “If I were you, I’d go home”).

April 4, 2022 · 1 min · Jaaved Khan

File Object in Django

Summary suspendedfc position ease box interval due front 2.50 2 1.00 2021-05-06T10:05:12Z https://docs.djangoproject.com/en/3.1/ref/files/file/ The File class is a thin wrapper around a Python file object(File Object in Python) with some Django-specific additions. Internally, Django uses this class when it needs to represent a file. code class File(file_object): pass “file_object” is the underlying File Object in Python that this class wraps....

April 4, 2022 · 2 min · Jaaved Khan

BASB

Build A Second Brain(BASB) https://www.buildingasecondbrain.com/

April 4, 2022 · 1 min · jaavedkhan

Object Storage

Summary ref Object storage, also known as object-based storage, is a strategy that manages and manipulates data storage as distinct units, called objects. These objects are kept in a single storehouse and are not ingrained in files inside other folders. Instead, object storage combines the pieces of data that make up a file, adds all its relevant metadata to that file, and attaches a custom identifier. Object storage vs. file storage vs....

April 4, 2022 · 2 min · Jaaved Khan

KSAFlyer

Summary A Project to make groceries flyers and brochures easy accessible and to make groceries buying easier. Partners Firasat Bhai Tayyab Mujahid Meetings <2021-04-24 Sat> This to discuss Cleaning name retaining just alpha numeric characters [Done] removing useless words and characters possiblity of using something like spacy to remove un-intelligile words brand extraction price extraction possiblity of identity extraction SCHEDULED: <2021-09-29 Wed> Sponsor or VC for marketing and other works Share expenses Expenses Design -> 300$...

April 4, 2022 · 1 min · Jaaved Khan

MaverickAI

<2021-06-07 Mon> First meeting meeting with founders MaverickAI sentry modular projects, facial ID, social Platform Projects Tawakallna Dawapharmacy NVIDIA JETson

April 4, 2022 · 1 min · Jaaved Khan

Storing Pillow Image object to Django FileField(ImageField)

Requirement Image object in Pillow to File Object in Django and save them as FileField and FieldFile Methods From Stackoverflow ref: link import StringIO from django.core.files.uploadedfile import InMemoryUploadedFile # Create a file-like object to write thumb data (thumb data previously created # using PIL, and stored in variable 'thumb') thumb_io = StringIO.StringIO() thumb.save(thumb_io, format='JPEG') # Create a new Django file-like object to be used in models as ImageField using # InMemoryUploadedFile....

April 4, 2022 · 1 min · Jaaved Khan

Baidu

Summary Baidu, Inc. (Chinese: 百度; pinyin: Bǎidù, meaning “hundred times”, anglicized ˈbaɪduː BY-doo) is a Chinese multinational technology company specializing in Internet-related services and products and artificial intelligence (AI), headquartered in Beijing’s Haidian District.[4] It is one of the largest AI and Internet companies in the world. https://en.wikipedia.org/wiki/Baidu

April 4, 2022 · 1 min · Jaaved Khan

Same-Origin Policy

Summary The same-origin policy is a critical security mechanism that restricts how a document or script loaded by one origin can interact with a resource from another origin. It helps isolate potentially malicious documents, reducing possible attack vectors. For example, it prevents a malicious website on the Internet from running JS in a browser to read data from a third-party webmail service (which the user is signed into) or a company intranet (which is protected from direct access by the attacker by not having a public IP address) and relaying that data to the attacker....

April 4, 2022 · 1 min · Jaaved Khan

DevOps

Summary Development Operations

April 4, 2022 · 1 min · Jaaved Khan