Articles
Interactive Skip List
C++ implementation of a Skip List, with an interactive console
A skip list is a probabilistic data structure. The skip list is used to store a sorted list of elements or data with a linked list. It allows the process of the elements or data to view efficiently. In one single step, it skips several elements of the entire list, which is why it is known as a skip list.
-INF <-----------------------------------------------------> 75.000000 <----> INF -INF <-----------------------------------------------------> 75.000000 <----> INF -INF <-------------------> 1...
Plotting an Arrow using C++
Using FLTK graphics library to draw an arrow.
Aim - Create a C++ program to draw an arrow:
- between 2 given coordinates
- arms of length as a given ratio to its body length
- arms at specified incline to the body
Given:
- Start point of arrow as
(x1, y1)
and end point(x2, y2).
Eg:(2, 3) and (10, 100)
- Ratio provided =
x : y
. Eg1:10
- Incline of arrow arms (in degrees) =
θ
. Eg:θ=67
Attempt 1
Attempt 1 relies on individually calculating the slope of all 3 lines and finding points of the arrow by combining equations of distance formula
, tangent slope
for...
README v1.1 | Luminosity
Luminosity
Remote repository for Luminosity - The Modern Blogging Platform.
Features
- Find articles on various topics
- Follow other users
- Use a web-friendly interface to create posts
- Create drafts before publishing articles
- Comment and react on articles
- Bookmark articles
- Customize your profile
- Responsive Design and Dark Mode option
Create Drafts and Articles
Explore Articles
Customize your profile
Design
The project implements Model-View-Controller
design pattern. This project has been built using a custom fr...
Changelog v1.1 | Luminosity
ChangelogRelease
- Deployed on Heroku
- Github Repository
- Add Design Details
- Setting up Luminosity to run locally
V1.0.1
June 7 2021
Bug Fixes
- SMTP mail verified
- Show profile followers and following
- Important: Fixed login by cookie
- Prevent empty username and display name
- Concise privacy policy
- Minor UI Changes
To Fix
- Host static images for profile images
Features to add
- Show article stats
- Public API
- Logo Redesign
July 28 2021
Fixes
- Profile Image hosting on Cloudinary. Store absolute URL of image in database
- Increased
p...
Build and Setup | Luminosity
Follow this installation guide to set up Luminosity
Installation
Packages used:
Requirements
- PHP Version ≥ 7.0 (ext-mbstring and ext-exif enabled)
- Composer package management (optional)
- MySQL drivers
Setup Luminosity
Follow the given steps to setup Luminosity.
1. Setup Project
- Clone project in htdocs directory using
git clone git@github.com:cmd3BOT/Luminosity.git
Rename application/Config/Config.example.php
to Config.php
- When remotely hosting your site typically the URL would not contain the folder name but only the host na...
Changelog v1 | Luminosity
List of bug fixes, features and release notes for Luminosity
ChangelogRelease
- Deployed on Heroku
- Github Repository
- Add Design Details
- Setting up Luminosity to run locally
V1.0.1
June 7 2021
Bug Fixes
- SMTP mail verified
- Show profile followers and following
- Important: Fixed login by cookie
- Prevent empty username and display name
- Concise privacy policy
- Minor UI Changes
To Fix
- Host static images for profile images
Features to add
- Show article stats
- Public API
- Logo Redesign
July 28 2021
Fixes
- Profile Image hosting on Cloudinary. Store absolute URL of image in database
- Increased
p...
Version 2.0 "The Immovable God and the Eternal Euthymia" | Genshin Impact
Wondering when Genshin Impact 2.0 will arrive? Genshin Impact updates tend to arrive on a regular schedule – every six weeks or so – and typically bring with them a couple of new characters, plus all manner of events and activities to explore with your favourite team.
The most recent update was 1.6 – otherwise known as Midsummer Island Adventure – and it introduced a new archipelago for us to explore and pick up Genshin Impact Echoing Conches to unlock a Genshin Impact skin. Naturally, we expected the upcoming patch to introduce the 1.7 update – but instead, it’s been officially revealed that the next update will be Genshin Impact 2.0.
So, why the jump in versions? By the sounds of it, the next update is going to be a big one, adding the first new region to...
Multithreading using C++
Multithreading is useful for parallel execution of some tasks leads to a more efficient use of resources of the system. Built in support for multithreading was introduced in C++11
Multithreading support was introduced in C+11. Prior to C++11, we had to use POSIX threads or p threads library in C. While this library did the job the lack of any standard language provided feature-set caused serious portability issues. C++ 11 did away with all that and gave us std::thread. The thread classes and related functions are defined in the thread header file.
std::thread is the thread class that represents a single thread in C++. To start a thread we simply need to create a new thr...