Found 232 repositories(showing 30)
ManojKumarPatnaik
A list of practical projects that anyone can solve in any programming language (See solutions). These projects are divided into multiple categories, and each category has its own folder. To get started, simply fork this repo. CONTRIBUTING See ways of contributing to this repo. You can contribute solutions (will be published in this repo) to existing problems, add new projects, or remove existing ones. Make sure you follow all instructions properly. Solutions You can find implementations of these projects in many other languages by other users in this repo. Credits Problems are motivated by the ones shared at: Martyr2’s Mega Project List Rosetta Code Table of Contents Numbers Classic Algorithms Graph Data Structures Text Networking Classes Threading Web Files Databases Graphics and Multimedia Security Numbers Find PI to the Nth Digit - Enter a number and have the program generate PI up to that many decimal places. Keep a limit to how far the program will go. Find e to the Nth Digit - Just like the previous problem, but with e instead of PI. Enter a number and have the program generate e up to that many decimal places. Keep a limit to how far the program will go. Fibonacci Sequence - Enter a number and have the program generate the Fibonacci sequence to that number or to the Nth number. Prime Factorization - Have the user enter a number and find all Prime Factors (if there are any) and display them. Next Prime Number - Have the program find prime numbers until the user chooses to stop asking for the next one. Find Cost of Tile to Cover W x H Floor - Calculate the total cost of the tile it would take to cover a floor plan of width and height, using a cost entered by the user. Mortgage Calculator - Calculate the monthly payments of a fixed-term mortgage over given Nth terms at a given interest rate. Also, figure out how long it will take the user to pay back the loan. For added complexity, add an option for users to select the compounding interval (Monthly, Weekly, Daily, Continually). Change Return Program - The user enters a cost and then the amount of money given. The program will figure out the change and the number of quarters, dimes, nickels, pennies needed for the change. Binary to Decimal and Back Converter - Develop a converter to convert a decimal number to binary or a binary number to its decimal equivalent. Calculator - A simple calculator to do basic operators. Make it a scientific calculator for added complexity. Unit Converter (temp, currency, volume, mass, and more) - Converts various units between one another. The user enters the type of unit being entered, the type of unit they want to convert to, and then the value. The program will then make the conversion. Alarm Clock - A simple clock where it plays a sound after X number of minutes/seconds or at a particular time. Distance Between Two Cities - Calculates the distance between two cities and allows the user to specify a unit of distance. This program may require finding coordinates for the cities like latitude and longitude. Credit Card Validator - Takes in a credit card number from a common credit card vendor (Visa, MasterCard, American Express, Discoverer) and validates it to make sure that it is a valid number (look into how credit cards use a checksum). Tax Calculator - Asks the user to enter a cost and either a country or state tax. It then returns the tax plus the total cost with tax. Factorial Finder - The Factorial of a positive integer, n, is defined as the product of the sequence n, n-1, n-2, ...1, and the factorial of zero, 0, is defined as being 1. Solve this using both loops and recursion. Complex Number Algebra - Show addition, multiplication, negation, and inversion of complex numbers in separate functions. (Subtraction and division operations can be made with pairs of these operations.) Print the results for each operation tested. Happy Numbers - A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers, while those that do not end in 1 are unhappy numbers. Display an example of your output here. Find the first 8 happy numbers. Number Names - Show how to spell out a number in English. You can use a preexisting implementation or roll your own, but you should support inputs up to at least one million (or the maximum value of your language's default bounded integer type if that's less). Optional: Support for inputs other than positive integers (like zero, negative integers, and floating-point numbers). Coin Flip Simulation - Write some code that simulates flipping a single coin however many times the user decides. The code should record the outcomes and count the number of tails and heads. Limit Calculator - Ask the user to enter f(x) and the limit value, then return the value of the limit statement Optional: Make the calculator capable of supporting infinite limits. Fast Exponentiation - Ask the user to enter 2 integers a and b and output a^b (i.e. pow(a,b)) in O(LG n) time complexity. Classic Algorithms Collatz Conjecture - Start with a number n > 1. Find the number of steps it takes to reach one using the following process: If n is even, divide it by 2. If n is odd, multiply it by 3 and add 1. Sorting - Implement two types of sorting algorithms: Merge sort and bubble sort. Closest pair problem - The closest pair of points problem or closest pair problem is a problem of computational geometry: given n points in metric space, find a pair of points with the smallest distance between them. Sieve of Eratosthenes - The sieve of Eratosthenes is one of the most efficient ways to find all of the smaller primes (below 10 million or so). Graph Graph from links - Create a program that will create a graph or network from a series of links. Eulerian Path - Create a program that will take as an input a graph and output either an Eulerian path or an Eulerian cycle, or state that it is not possible. An Eulerian path starts at one node and traverses every edge of a graph through every node and finishes at another node. An Eulerian cycle is an eulerian Path that starts and finishes at the same node. Connected Graph - Create a program that takes a graph as an input and outputs whether every node is connected or not. Dijkstra’s Algorithm - Create a program that finds the shortest path through a graph using its edges. Minimum Spanning Tree - Create a program that takes a connected, undirected graph with weights and outputs the minimum spanning tree of the graph i.e., a subgraph that is a tree, contains all the vertices, and the sum of its weights is the least possible. Data Structures Inverted index - An Inverted Index is a data structure used to create full-text search. Given a set of text files, implement a program to create an inverted index. Also, create a user interface to do a search using that inverted index which returns a list of files that contain the query term/terms. The search index can be in memory. Text Fizz Buzz - Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”. Reverse a String - Enter a string and the program will reverse it and print it out. Pig Latin - Pig Latin is a game of alterations played in the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules. Count Vowels - Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found. Check if Palindrome - Checks if the string entered by the user is a palindrome. That is that it reads the same forwards as backward like “racecar” Count Words in a String - Counts the number of individual words in a string. For added complexity read these strings in from a text file and generate a summary. Text Editor - Notepad-style application that can open, edit, and save text documents. Optional: Add syntax highlighting and other features. RSS Feed Creator - Given a link to RSS/Atom Feed, get all posts and display them. Quote Tracker (market symbols etc) - A program that can go out and check the current value of stocks for a list of symbols entered by the user. The user can set how often the stocks are checked. For CLI, show whether the stock has moved up or down. Optional: If GUI, the program can show green up and red down arrows to show which direction the stock value has moved. Guestbook / Journal - A simple application that allows people to add comments or write journal entries. It can allow comments or not and timestamps for all entries. Could also be made into a shoutbox. Optional: Deploy it on Google App Engine or Heroku or any other PaaS (if possible, of course). Vigenere / Vernam / Ceasar Ciphers - Functions for encrypting and decrypting data messages. Then send them to a friend. Regex Query Tool - A tool that allows the user to enter a text string and then in a separate control enter a regex pattern. It will run the regular expression against the source text and return any matches or flag errors in the regular expression. Networking FTP Program - A file transfer program that can transfer files back and forth from a remote web sever. Bandwidth Monitor - A small utility program that tracks how much data you have uploaded and downloaded from the net during the course of your current online session. See if you can find out what periods of the day you use more and less and generate a report or graph that shows it. Port Scanner - Enter an IP address and a port range where the program will then attempt to find open ports on the given computer by connecting to each of them. On any successful connections mark the port as open. Mail Checker (POP3 / IMAP) - The user enters various account information include web server and IP, protocol type (POP3 or IMAP), and the application will check for email at a given interval. Country from IP Lookup - Enter an IP address and find the country that IP is registered in. Optional: Find the Ip automatically. Whois Search Tool - Enter an IP or host address and have it look it up through whois and return the results to you. Site Checker with Time Scheduling - An application that attempts to connect to a website or server every so many minute or a given time and check if it is up. If it is down, it will notify you by email or by posting a notice on the screen. Classes Product Inventory Project - Create an application that manages an inventory of products. Create a product class that has a price, id, and quantity on hand. Then create an inventory class that keeps track of various products and can sum up the inventory value. Airline / Hotel Reservation System - Create a reservation system that books airline seats or hotel rooms. It charges various rates for particular sections of the plane or hotel. For example, first class is going to cost more than a coach. Hotel rooms have penthouse suites which cost more. Keep track of when rooms will be available and can be scheduled. Company Manager - Create a hierarchy of classes - abstract class Employee and subclasses HourlyEmployee, SalariedEmployee, Manager, and Executive. Everyone's pay is calculated differently, research a bit about it. After you've established an employee hierarchy, create a Company class that allows you to manage the employees. You should be able to hire, fire, and raise employees. Bank Account Manager - Create a class called Account which will be an abstract class for three other classes called CheckingAccount, SavingsAccount, and BusinessAccount. Manage credits and debits from these accounts through an ATM-style program. Patient / Doctor Scheduler - Create a patient class and a doctor class. Have a doctor that can handle multiple patients and set up a scheduling program where a doctor can only handle 16 patients during an 8 hr workday. Recipe Creator and Manager - Create a recipe class with ingredients and put them in a recipe manager program that organizes them into categories like desserts, main courses, or by ingredients like chicken, beef, soups, pies, etc. Image Gallery - Create an image abstract class and then a class that inherits from it for each image type. Put them in a program that displays them in a gallery-style format for viewing. Shape Area and Perimeter Classes - Create an abstract class called Shape and then inherit from it other shapes like diamond, rectangle, circle, triangle, etc. Then have each class override the area and perimeter functionality to handle each shape type. Flower Shop Ordering To Go - Create a flower shop application that deals in flower objects and use those flower objects in a bouquet object which can then be sold. Keep track of the number of objects and when you may need to order more. Family Tree Creator - Create a class called Person which will have a name, when they were born, and when (and if) they died. Allow the user to create these Person classes and put them into a family tree structure. Print out the tree to the screen. Threading Create A Progress Bar for Downloads - Create a progress bar for applications that can keep track of a download in progress. The progress bar will be on a separate thread and will communicate with the main thread using delegates. Bulk Thumbnail Creator - Picture processing can take a bit of time for some transformations. Especially if the image is large. Create an image program that can take hundreds of images and converts them to a specified size in the background thread while you do other things. For added complexity, have one thread handling re-sizing, have another bulk renaming of thumbnails, etc. Web Page Scraper - Create an application that connects to a site and pulls out all links, or images, and saves them to a list. Optional: Organize the indexed content and don’t allow duplicates. Have it put the results into an easily searchable index file. Online White Board - Create an application that allows you to draw pictures, write notes and use various colors to flesh out ideas for projects. Optional: Add a feature to invite friends to collaborate on a whiteboard online. Get Atomic Time from Internet Clock - This program will get the true atomic time from an atomic time clock on the Internet. Use any one of the atomic clocks returned by a simple Google search. Fetch Current Weather - Get the current weather for a given zip/postal code. Optional: Try locating the user automatically. Scheduled Auto Login and Action - Make an application that logs into a given site on a schedule and invokes a certain action and then logs out. This can be useful for checking webmail, posting regular content, or getting info for other applications and saving it to your computer. E-Card Generator - Make a site that allows people to generate their own little e-cards and send them to other people. Do not use Flash. Use a picture library and perhaps insightful mottos or quotes. Content Management System - Create a content management system (CMS) like Joomla, Drupal, PHP Nuke, etc. Start small. Optional: Allow for the addition of modules/addons. Web Board (Forum) - Create a forum for you and your buddies to post, administer and share thoughts and ideas. CAPTCHA Maker - Ever see those images with letters numbers when you signup for a service and then ask you to enter what you see? It keeps web bots from automatically signing up and spamming. Try creating one yourself for online forms. Files Quiz Maker - Make an application that takes various questions from a file, picked randomly, and puts together a quiz for students. Each quiz can be different and then reads a key to grade the quizzes. Sort Excel/CSV File Utility - Reads a file of records, sorts them, and then writes them back to the file. Allow the user to choose various sort style and sorting based on a particular field. Create Zip File Maker - The user enters various files from different directories and the program zips them up into a zip file. Optional: Apply actual compression to the files. Start with Huffman Algorithm. PDF Generator - An application that can read in a text file, HTML file, or some other file and generates a PDF file out of it. Great for a web-based service where the user uploads the file and the program returns a PDF of the file. Optional: Deploy on GAE or Heroku if possible. Mp3 Tagger - Modify and add ID3v1 tags to MP3 files. See if you can also add in the album art into the MP3 file’s header as well as other ID3v2 tags. Code Snippet Manager - Another utility program that allows coders to put in functions, classes, or other tidbits to save for use later. Organized by the type of snippet or language the coder can quickly lookup code. Optional: For extra practice try adding syntax highlighting based on the language. Databases SQL Query Analyzer - A utility application in which a user can enter a query and have it run against a local database and look for ways to make it more efficient. Remote SQL Tool - A utility that can execute queries on remote servers from your local computer across the Internet. It should take in a remote host, user name, and password, run the query and return the results. Report Generator - Create a utility that generates a report based on some tables in a database. Generates sales reports based on the order/order details tables or sums up the day's current database activity. Event Scheduler and Calendar - Make an application that allows the user to enter a date and time of an event, event notes, and then schedule those events on a calendar. The user can then browse the calendar or search the calendar for specific events. Optional: Allow the application to create re-occurrence events that reoccur every day, week, month, year, etc. Budget Tracker - Write an application that keeps track of a household’s budget. The user can add expenses, income, and recurring costs to find out how much they are saving or losing over a period of time. Optional: Allow the user to specify a date range and see the net flow of money in and out of the house budget for that time period. TV Show Tracker - Got a favorite show you don’t want to miss? Don’t have a PVR or want to be able to find the show to then PVR it later? Make an application that can search various online TV Guide sites, locate the shows/times/channels and add them to a database application. The database/website then can send you email reminders that a show is about to start and which channel it will be on. Travel Planner System - Make a system that allows users to put together their own little travel itinerary and keep track of the airline/hotel arrangements, points of interest, budget, and schedule. Graphics and Multimedia Slide Show - Make an application that shows various pictures in a slide show format. Optional: Try adding various effects like fade in/out, star wipe, and window blinds transitions. Stream Video from Online - Try to create your own online streaming video player. Mp3 Player - A simple program for playing your favorite music files. Add features you think are missing from your favorite music player. Watermarking Application - Have some pictures you want copyright protected? Add your own logo or text lightly across the background so that no one can simply steal your graphics off your site. Make a program that will add this watermark to the picture. Optional: Use threading to process multiple images simultaneously. Turtle Graphics - This is a common project where you create a floor of 20 x 20 squares. Using various commands you tell a turtle to draw a line on the floor. You have moved forward, left or right, lift or drop the pen, etc. Do a search online for "Turtle Graphics" for more information. Optional: Allow the program to read in the list of commands from a file. GIF Creator A program that puts together multiple images (PNGs, JPGs, TIFFs) to make a smooth GIF that can be exported. Optional: Make the program convert small video files to GIFs as well. Security Caesar cipher - Implement a Caesar cipher, both encoding, and decoding. The key is an integer from 1 to 25. This cipher rotates the letters of the alphabet (A to Z). The encoding replaces each letter with the 1st to 25th next letter in the alphabet (wrapping Z to A). So key 2 encrypts "HI" to "JK", but key 20 encrypts "HI" to "BC". This simple "monoalphabetic substitution cipher" provides almost no security, because an attacker who has the encoded message can either use frequency analysis to guess the key, or just try all 25 keys.
Level
Abstract class for a lexicographically sorted key-value database.
GenericCodes
A generic WPF CrudControl implemented based on the MVVM pattern. The control abstracts both the UI and business logic to achieve a foundation for a complete CRUD operation implementation (Add, Edit, Delete, Listing with sorting, paging and searching).
incuna
Add manual sort order to Django objects via an abstract base class and admin classes
jonsterling
Harper's Modernized ALGOL in SML using multi-sorted nominal abstract binding trees
iamzaidsoomro
This repository holds the famous Data Structures (mostly abstract ones) and Algorithms for sorting, traversing, and modifying them.
Smart India Hackathon 2018 Identification of meritorious students in primary education Problem Statement:- Gujarat government has nearly 90 lac students studying in primary education across state. They are in different cities and villages across state. There is no mechanism to identify bright students who are performing well in study, sports or other activities. Web portal can be designed to acquire date about such students and can be analyzed on different parameters. What Exact Problem is being solved? : Such identified students can be provided with extra resources or special attention can be given to their upbringing. Abstract To identify meritorious students firstly all the educational institutions need to upload the results of students as well as points of extra curriculum activity (activity name, score out of 10 for performance) to the database for a student according to the current class of study. Aadhar number for all the students will always be given (from there students details will be verified).A parent or any other nongovernment institute can also upload scanned copy of result or certificate of any student with his/her Aadhar number and their own details. Admin will Cross-check and verify it for the update in the database. One’s (schools and institutions) first login or registration, there will be a unique token, (user id and password) to the Portal. That login will be further verified. So every institution will have a unique user id and password and students' details will be uploaded yearly and updates will be done twice in a year. The second fold of the solution is to sort the data according to the merit of students. The designed application will perform the operation with the provided data and present a lesser (according to requirement) students' details. There should be some methods (a faster and optimal Algorithm to sort data by marks and activity score from database Base will be adopted i.e., any tree type-level representation) to sort the data (details) of meritorious students from provided records of all the students. The third and final part is providing the list of meritorious students to the education department and university. Each official and university will also have a login section. The list of meritorious students will be provided according to year, required field. The education department or university can also post the facilities provided to the selected and shortlisted student as a notice. Therefore, we are going to solve the stated problem by providing a Web-based application comprising of Web portal and secured database to identify meritorious students in primary education according to data (100%) uploaded and retrieved from several institutions and selected meritorious students list will be provided to (according to specification of different facilities 20-30%) to Education Department and Universities. Keywords: Aadhar Number as Primary key of Student Table. Online WEB-portal. Update Records every year to keep a check on the improvement, Standardization & Soring data based on Z – stat to filter out the meritorious students on the basis of acads and extra-curricular activities. Tree type-level representation of Database i.e. Admin – Institute – Student. Use Case :- Choice Based selection of meritorious student from data set. For instances if the requirement is only limited to academics, they can refer to the website to fetch a list of top scorers say top 100 or top 200 students. Again if the requirement is limited to selection of Extra-curricular activity like – singing, painting, dancing etc they can fetch the list of students having expertise in that particular field only. Identification of poor meritorious students and Funding based support from different NGO’s, organizations and donations if they want to provide. Supervising data based on entries done in every year (Region based) to keep a check on the individual growth of a student. For instances, a diligent student say X has been receiving scholarship every year now say that X student’s data has not been registered in Database in the next year. Thus there is a decay of GDP in the sample space. To highlight the social issues such as Child Labour, child trafficking, by year wise regulation Data. To prevent the girl child marriage on the basis of Dataset by the investigation Team. For instance if a girl found not registering in the consecutive Year, an investigation team can take action accordingly. Special Features: The school should submit their data to get a recognition as well as to be in sight of fund providing parties (governmental or non-governmental). Students will be benefited as direct communication is in between officials and student and no middle man in between. • Data analysis will be the key point to identification using assignment of z-marks by standard normal distribution. Technology Stack: We are to make a Web-based app, in a microlithic structure format, where the app structure is broken into different fragments, which does the different job. One part will be taking in the to the database from a web portal designed using CSS, JavaScript, PHP, and Servlet. Computation of the sorted data and the various mathematical calculations i.e. arranging the sorted data according to given criteria etc on a mathematical platform powered by JAVA. Another part will be integrated with the API's of various Education Department and Universities to provide them up with shortlisted meritorious students, integrating with their personal choices and cut-offs, and also where shortlisted students will be notified by notice posted. Keeping in mind the ease of obtaining marks and details which has increased throughout the years. In the web app, after one's first login or registration, each part of the education department, university and institution have a unique token, (user id and password) to the database. Coming to the part of its database, My SQL or Oracle or Mongo DB can be used with a firmed dashboard powered by python or JavaScript on a network frame. Since the app will be containing huge academic details of many students, so a strong encryption algorithm is to be used for data integrity and data security. AES-256 or MD5 would be best to use to protect the data in the database and for authentication Biometric data will also be preserved.
vekteo
This repository provides a Card Sorting Task implemented with jsPsych, based on the principles of Berg's Card Sorting Test. The task is a neuropsychological assessment used to measure executive functions, specifically cognitive flexibility, abstract reasoning, and set-shifting abilities.
Ziocash
Laboratory course - Sperimental part. The course provides knowledge about ADTs or Abstract Data Types, sorting algorithms and advanced C use (e.g.: generic pointers).
MalcmanIsHere
For people who had used this program before - the format of the config file has changed and you will need to re-download everything due to the new update mechanism. I apologize for the inconvenience. the program is multi-threaded; the default number of threads is your cpu cores * 3. You can temporarily change the number via the command line interface, or permanently change the number via the source code (in lib/deviantart.py at line 13) each artwork filename is appended with its artwork ID at the end for update validation purpose. The program downloads artworks for a user from newest to oldest until an existing file is found on the disk downloaded artworks are categorized by user and ranking mode modification time of each artwork is set according to upload order such that you can sort files by modified date ranking will overwrites existing files Instructions install Python 3.6+ install requests library pip install --user requests edit config.json file in data folder manually or via command line interface save directory: the save directory path users: the username shown on website or in URL Usage display help message $ python main.py -h usage: main.py [-h] [-f FILE] [-l] [-s SAVE_DIR] [-t THREADS] {artwork,ranking} ... positional arguments: {artwork,ranking} artwork download artworks from user IDs specified in "users" field ranking download top N ranking artworks based on given conditions optional arguments: -h, --help show this help message and exit -f FILE load file for this instance (default: data\config.json) -l list current settings -s SAVE_DIR set save directory path -t THREADS set number of threads for this instance display artwork help message $ python main.py artwork -h usage: main.py artwork [-h] [-a [ID ...]] [-d all [ID ...]] [-c all [ID ...]] optional arguments: -h, --help show this help message and exit -a [ID ...] add user IDs -d all [ID ...] delete user IDs and their directories -c all [ID ...] clear directories of user IDs display ranking help message usage: main.py ranking [-h] [-order ORDER] [-type TYPE] [-content CONTENT] [-category CATEGORY] [-n N] optional arguments: -h, --help show this help message and exit -order ORDER orders: {whats-hot, undiscovered, most-recent, popular-24-hours, popular-1-week, popular-1-month, popular-all-time} (default: popular-1-week) -type TYPE types: {visual-art, video, literature} (default: visual- art) -content CONTENT contents: {all, original-work, fan-art, resource, tutorial, da-related} (default: all) -category CATEGORY categories: {all, animation, artisan-crafts, tattoo-and- body-art, design, digital-art, traditional, photography, sculpture, street-art, mixed-media, poetry, prose, screenplays-and-scripts, characters-and-settings, action, adventure, abstract, comedy, drama, documentary, horror, science-fiction, stock-and-effects, fantasy, adoptables, events, memes, meta} (default: all) -n N get top N artworks (default: 30) download artworks from user IDs stored in config file; update users' artworks if directories already exist python main.py artwork download the top 30 (default) artworks that are popular-1-month, of type visual-art (default), of content original-work, and of category digital-art python main.py ranking -order popular-1-month -content original-work -category digital-art delete user IDs and their directories (IDs in users field + artwork directories), then download / update artworks for remaining IDs in config file python main.py artwork -d wlop trungbui42 add user IDs then download / update bookmark artworks for newly added IDs + IDs in config file python main.py artwork -a wlop trungbui42 use temp.json file in data folder as the config file (only for this instance), add user IDs to that file, then download / update artworks to directory specified in that file python main.py artwork -f data/temp.json -a wlop trungbui42 clear directories for all user IDs in config file, set threads to 24, then download artworks (i.e. re-download artworks) python main.py artwork -c all -t 24 Challenges there are two ways to download an image: (1) download button URL. (2) direct image URL. The former is preferred because it grabs the highest image quality and other file formats including gif, swf, abr, and zip. However, this has a small problem. The URL contains a token that turns invalid if certain actions are performed, such as refreshing the page, reopening the browser, and exceeding certain time limit Solution: use session to GET or POST all URLs for direct image URL, the image quality is much lower than the original upload (the resolution and size of the original upload can be found in the right sidebar). This is not the case few years ago when the original image was accessible through right click, but on 2017, Wix acquired DeviantArt, and has been migrating the images to their own image hosting system from the original DeviantArt system. They linked most of the direct images to a stripped-down version of the original images; hence the bad image quality. Below are the three different formats of direct image URLs I found: URL with /v1/fill inside: this means that the image went through Wix's encoding system and is modified to a specific size and quality. There are two cases for this format: old uploads: remove ?token= and the following values, add /intermediary in front of /f/ in the URL, and change the image settings right after /v1/fill/ to w_{width},h_{height},q_100. The width and height used to have a maximum limit of 5100 where (1) the system results in 400 Bad Request if exceeds the value, and (2) the original size will be returned if the required image is larger than the original. However, this has been changed recently. Now there is no input limit for the size, so you can request any dimension for the image, which may results in disproportional image if the given dimension is incorrect. In this case, I use the original resolution specified by the artist as the width and height new uploads: the width and height of the image cannot be changed, but the quality can still be improved by replacing (q_\d+,strp|strp) with q_100 Example: original URL vs incorrect dimension URL vs modified URL. The original url has a file size of 153 KB and 1024x1280 resolution, while the modified URL has a file size of 4.64 MB and 2700×3375 resolution. URL with /f/ but not /v1/fill: this is the original image, so just download it URL with https://img\d{2} or https://pre\d{2}: this means that the image went through DeviantArt's system and is modified to a specific size. I could not figure out how to get the original image from these types of links, i.e. find https://orig\d{2} from them, so I just download the image as is DeviantArt randomizes the div and class elements in HTML in an attempt to prevent scrapping, so parsing plain HTML will not work Solution: DeviantArt now uses XHR requests to send data between client and server, meaning one can simulate the requests to extract and parse data from the JSON response. The XHR requests and responses can be found in browsers' developer tools under Network tab. You can simply go to the request URL to see the response object age restriction Solution: I found that DeviantArt uses cookies to save the age check result. So, by setting the session.cookies to the appropriate value, there will be no age check sometimes the requests module will close the program with errors An existing connection was forcibly closed by the remote host or Max retries exceeded with url: (image url). I am not sure the exact cause, but it is most likely due to the high amount of requests sent from the same IP address in a short period of time; hence the server refuses the connection Solution: use HTTPAdapter and Retry to retry session.get in case of ConnectionError exception
anuragsharma880
Hello, everyone, in this series of learning how to make projects in Java. Today we are going to start learning a new project that too in Java. So the name of the project is phone ordering system. So this is an application, a DIY application within Java, and it is headed as auditing system. So this is the like interface of the application. You can see it on your screens that the the frame contains like a service field to ask for a selection of size, select which type of beverage you want to order. And there are some great new photos from which we have to select. That's what we want to order like. There is the input three, which asks for how many light glasses we want. Like a quantity of these items, we have to enter head in numeric form so that the on our system like calculate how many glasses you have to order and according to it, what will be the prices of the whole card. So this is going to be the home page of the application, like when the window opens. This interface will be visible to the user. Now I'll start with this dropdown button like select size is the name of the label, and inside there is a dropdown asking for the size of the item, which we want to order. So there are three options here. Small, medium and large. So we have to select one of them from these today, after which we have to select this type of beverage like we want to order. So currently I'm showing four options mentioned as you've ordered the coffee and like we can change it according to our convenience. When we are making the application, it's upon us that what we want to keep in the like button options. OK, so below this that is yes, you heard you can see I have entered five and this will be the quantity of water I want to add to the cart. So there are two buttons and order. So on taking the add button that a like a checkbox will appear like not a checkbox, but a dialog box will appear asking for eyes like if I want to add ice to the beverage, I want to order. So if I wish to add ice, I have to click Yes in this dialog box. And if not, then I have to click No. So then I will click Yes. Then automatically. The Olive Garden will be updated with a glass of water lakes ahead of you. Five glasses of water medium size of glasses and also adorns eyes will be added to our glasses. OK, so we have total yes. Five medium glasses of water with ice added will appear on the screen so that you can see that the water actually you have added to the carton or actually you have ordered. OK, so in this, there are two buttons on hot corners as an order. So on, clicking on the item will be added to the guide. And you can select the other options from the menu. Also that I suppose you want to store this so you can order this by using cards. And once you have, like, completed all the selections you want to make, you have to click on this order button. So in the next slide, we can see that yes, we have order options and on clicking order options, a message appears like it is also a dialog box containing the total sum of our order that we have ordered for. So five random glasses of water with the ice and this is not like paradise. We have to pay. So five million glasses of water with ice costs twelve point five. Like what is the currency? You can set gift according to your own, and these two buttons functions in a totally different way. This and button helps us to add items to our cart and then again, gives us the option to select more items from the menu and. Then again, added to God, and once we finalize our Audrey, then we can make on this order, but then then this message dialog box will appear. So showing us that what we have actually finalizing the order and one's name and click OK, then another dialog box will appear with showing a message of you should pay twelve point five and whatever the currency is. So, ah yes, they aren't making this OK. Finally, your order will be completed and your will again, like the same homepage like this. So on finalizing the then you can like to complete everything. So this was the basic like idea of the application. Now next, we will look up to whatever specifications from the project, which we are going to make today. So this is basically a food ordering system. So we are going to manage everything about the food and drink system. We can add items to the card and attach Add-Ons to it, like we have seen that we about attaching ice to water. Also, we can confirm our order once we have finished, like selecting the items and cart is full, then we have to check out. Then we will click on the other button. Also last on the completion of the order. That pop up will appear like our dialogue box weekends. We have already seen which will part what is the money to be paid by the like user, and the final amount to be paid will be also displayed on clicking OK. A separate, separate dialog box will appear in the final amount of money, which we have to pay for whatever we have ordered. So these are the specifications of the project, like the food ordering system, which we are going to make today. So now you may be wondering that on making this project, there should be some concept based like logic, which we will learn after completion of this project, like on successful completion of this project, then the project will be working fine. Everything will be alike with no bugs. There will be no exceptions. Then what are the things which may will logics concepts we will be learning on completion of the project and you are no wrong. So this question will naturally arise in your mind that what will you learn on making this project on learning the concepts of this project? So this project is made in Java. This is basically a Javadi UI application, which will have a desk window interface. We will be like operating this application on our desktops, and the interface will open and in a separate window, the app will have us like, I think we have items in our next job. Similarly, this app will have an icon and again, and that will open a separate window of the application, and then we will be performing the tasks involved with this application. OK, so the concepts which we are going to learn on completion of this project is object oriented programming in Java. So this project is based on object oriented programming. OK, so objects are real world entities, which are we like. We have to handle the real world and get these real world data. Real world objects are going to be handled by making this project. That is a difference in object oriented programming and the conventional, process oriented programming that we do not have any methods of tackling real world entities. But in object oriented programming, we have that facility that we can tackle everything about real world entities. So yes, we are going to learn the object oriented programming concept and handle all that real world entities. Also, we are going to be building agile application. So of course, we we will learn a lot about Java programming language. Java is a very interesting programming language. We all know that that's why we are here and learning how to make applications. And so this is the first benefit that Java is a language where we can make like real world application, real life. This applications as applicable in our daily life. So Java is that beneficial? With the help of. It's celebrity, we are mentioned, two of them head swingin W.T. Famous, so in this application. There will be extensive news of swing any WTA frameworks. So these two are basically like will kick slot in which we are going to like, put up things and then add functionalities to everything like, I suppose there will be afternoon. So the flame is going to contain a panel. And inside the panel, we were really having our input fields, buttons and the like. Yes, the drop down box and everything like the dialog box, well, was a batting asking for yes, no. So once we will be checking out, so everything is enclosed inside a toolkit and that toolkit is provided to us with the mercy of these libraries we call string and AWP. AWP stands for Abstract Windows Toolkit and this helps us in making DIY application like best window interface applications AMI using destroying any WTC name. So yes, these are beneficial to the like learners who aspire to develop applications in Java. Also, we will be learning a Java food ordering system, which is like, no wonder we have. We are making a food ordering system, so we will learn how to make a food system in Java as well, and classes and objects are going to be extensively used inside of this application. So if there are object oriented programming, there will be classes and objects for sure, and that is no wonder. And so like everything, we are going to learn why we're making this application is listed here. We will be learning a lot of things after the completion of this project. We will be like with a full mind. Concepts of object oriented programming swing any D frameworks like giving like what we can say that are bizarre. Like that these are those going on in WP is a J Flame text on a menu bar. And there are so many components of these packages which we are going to embed in our application and then see how easy it becomes to put up things by just importing a simple component of these library. And things make them so simple that we do not have the light right up plenty of code to fix things. We just have to simply add a single line statement like import this and everything is going to like the already imported to your project and just you have to call it again and again, and then everything will work properly fine without any complexities. So, yes, I hope you have gained like a rough idea about what actually we are going to make today. This is a food ordering system with up functioning functionality attached to these buttons and then order, and we have to select these options from. Well, so they will be asked for the addons. We will be asked for size. We will be asked for these. We want to order and then we have to add things to the card if we want to add more things, or we can simply press this order button to checkout from this cart on clicking this or that, we will be like shown a message. That's what actually we have ordered. This is a sort of confirmation. And also at last, you will be shown what actually you have to pay. So yes, this exactly it was. Now in the next part, we will be learning how this application works, actually. And then the prototype to the code, which we are going to write in order to make this application.
This repository contains the CRUD operation using Redis with Spring Boot and Micro-services.Redis is an in-memory data structure project implementing a distributed, in-memory key-value database with optional durability. Redis supports different kinds of abstract data structures, such as strings, lists, maps, sets, sorted sets, HyperLogLogs, bitmaps, streams, and spatial indexes.
AndreyKochetkov
abstract structures, sorts, hash functons, trees. (TP)
yokoworks
I built this simple project that sorts the three different types of objects: arrays, strings, linked lists using the Bubble Sort Algorithm in abstract class Sorter.
A-Nasiri
A Typescript program that can sort different data structures by utilizing Abstract Classes
MekhyW
Recursion, memoization, divide and conquer, backtracking, classical sorting algorithms, heaps and priority queues, data structures, abstract data types, trees and search algorithms
travistakai
The aim of the course is to study basic algorithms and their relationships to common abstract data types. We will cover the notion of abstract data types and the distinction between an abstract data type and an implementation of that data type. The complexity analysis of common algorithms using asymptotic (big "O") notation will emphasized. Topics include (but not limited to) sorting, searching, basic graph algorithms, as well as algorithm design and analysis. Abstract data types covered include priority queues, dictionaries, disjoint sets, heaps, balanced trees, and hashing. Familiarity with Python and Unix is assumed.
sinehatharwani
This Java-based system manages university data using a custom Singly Linked List. It utilizes an abstract Person class for Students and Professors, supporting data like IDs and departments. The system implements Bubble Sort and Binary Search for efficiency. It also manages course assignments and features a modern UI with custom Swing components.
nguyentrungdev
Exercise 2. HR management Define abstract class Human with first name and last name. Define new class Student which is derived from Human and has new field – grade. Define class Worker derived from Human with new property WeekSalary and WorkHoursPerDay and method MoneyPerHour() that returns money earned by hour by the worker. Define the proper constructors and properties for this hierarchy. Initialize a list of 10 students and sort them by grade in ascending order. Initialize a list of 10 workers and sort them by money per hour in descending order. Merge the lists and sort them by first name and last name. Exercise 2. HR management Define abstract class Human with first name and last name. Define new class Student which is derived from Human and has new field – grade. Define class Worker derived from Human with new property WeekSalary and WorkHoursPerDay and method MoneyPerHour() that returns money earned by hour by the worker. Define the proper constructors and properties for this hierarchy. Initialize a list of 10 students and sort them by grade in ascending order. Initialize a list of 10 workers and sort them by money per hour in descending order. Merge the lists and sort them by first name and last name.
idreesshaikh
Vector is an abstract data type, which is differ from list in their access properties. A vector is a random access data structure, whereas lists are strictly sequential access. With a list of a thousand elements it takes longer to access the last element than the first, but with a vector the times are the same. Vector can be treated as an array of objects, where each object can be accessed by its index. Vector data type supports all the standard operations as array, such as accessing elements by index value, key searching, counting and sorting elements .
Abstract filtering, sorting and paging
cyrus-
single sorted abstract binding trees in SML
premaseem
This repo has cracking the coding interview solutions in python. This repo has a lot of code to understand python concepts, coding, challenges, mini projects, exercises and algorithm implementation for sorting, searching, hashing and abstract data structure.
chadondata
Sorting and searching algorithms and abstract data types in Python
Tbence132545
A simple visualization program for sorting algorithms implementing the Swing GUI Toolkit and AWT(Abstract Window Toolkit) Algorithms: Insertion sort, Selection sort, Bubble sort, Merge sort, Quick sort, Heap sort
nomadicburrito
Program to grab abstracts and sort out DOIs from NCBI using PMIDs.
tejapaturu
Java classes for different types of Multisets:- abstract multiset class, linked list multiset, sorted linked list multiset, bst multiset, hash multiset, balanced tree multiset.
SimpleArt
Extends the builtin collections with more useful containers, including fast resizing lists, sorted containers, and sorted abstract data types. Written in Python 3, this package also includes type-hints/annotations to make usage with an IDE easier.
Design, implementation, use of fundamental abstract data types and their algorithms: lists, stacks, queues, deques, trees; imperative and declarative programming. Internal sorting; time and space efficiency of algorithms.
kartersanamo
A Minecraft plugin that brings computer science algorithms to life through interactive in-game visualizations. Watch sorting algorithms, pathfinding, and other computational processes animate in real-time using Minecraft blocks, making abstract concepts tangible and educational.