ayesha emaan


Riphah International University

Riphah International University is Best university in Islamabad and is a private sector university, chartered by the Federal Government of Pakistan in 2002.
The University was established with a view to produce professionals with Islamic moral and ethical values.
It is sponsored by a not-for-profit trust namely Islamic International Medical College Trust (IIMCT), which was established in 1995.

What is GEEK

Buddha Community

Java Questions

Java Questions


5 Takeaways from a University of Toronto Machine Learning Student

It is no secret that the University of Toronto is one of Canada’s most highly ranked universities, but not all its campuses are seen as equals. The Scarborough campus, that I will refer to as UTSC, is a newer campus located at the East end of the GTA and offers a wide variety of Co-Op programs a freshman can select from.

About 4 years ago, when I was applying to universities, I decided to attend the University of Toronto Scarborough Campus as a Co-Op Computer and Mathematical Science student, with the goal of entering the Computer Science (CS) program (that you must apply for after your first year of undergraduate studies).
Here are five things that I learned throughout my journey and how I started my Data Science career:

#data-science #university #university-of-toronto #undergraduate-student #machine-learning

Sival Alethea

Sival Alethea


Python for Everybody - Full University Python Course

This Python 3 tutorial course aims to teach everyone the basics of programming computers using Python. The course has no pre-requisites and avoids all but the simplest mathematics.
⭐️ Course Contents ⭐️
⌨️ (0:00:00) Why Program?
⌨️ (0:12:21) Why Program? - Hardware Architecture
⌨️ (0:24:24) Python 3 Windows Installation
⌨️ (0:32:34) Python 3 Mac Installation
⌨️ (0:36:41) Why Program? - Python as a Language
⌨️ (0:44:17) Why Program? - What do we say?

⌨️ (0:56:55) Variables, Expressions, and Statements
⌨️ (1:06:20) Variables, Expressions, and Statements - Expressions

⌨️ (1:26:00) Conditional Execution
⌨️ (1:39:13) Conditional Execution - More Conditional Structures

⌨️ (1:52:48) Functions
⌨️ (2:03:02) Functions - Functions of our own

⌨️ (2:15:21) Loops and Iteration
⌨️ (2:25:04) Loops and Iteration - Definite Loops
⌨️ (2:31:40) Loops and Iteration - Loop Idioms
⌨️ (2:40:07) Loops and Iteration - More Loop Patterns

⌨️ (2:58:39) Strings
⌨️ (3:09:06) Strings - More String Operations

⌨️ (3:27:33) Reading Files
⌨️ (3:35:12) Reading Files - Reading Files in Python

⌨️ (3:48:42) Python Lists
⌨️ (3:59:27) Python Lists - Loop Operations
⌨️ (4:08:52) Python Lists - Strings vs. Lists
⌨️ (4:16:42) Python Lists - Strings, Files, Lists & the Guardian Pattern

⌨️ (4:28:44) Dictionaries
⌨️ (4:36:32) Dictionaries - Counting
⌨️ (4:45:43) Dictionaries - Counting Words in Text
⌨️ (4:58:21) Dictionaries - Counting Word Frequency Using a Dictionary

⌨️ (5:22:46) Tuples
⌨️ (5:32:18) Tuples - Sorting
⌨️ (5:44:26) Tuples - Sorting a Dictionary Using Tuples

⌨️ (5:54:56) Regular Expressions
⌨️ (6:05:21) Regular Expressions - From Matching to Extracting
⌨️ (6:13:47) Regular Expressions - String Parsing

⌨️ (6:22:17) Networked Programs
⌨️ (6:29:45) Networked Programs - Application Protocols
⌨️ (6:38:56) Networked Programs - Write a Web Browser
⌨️ (6:43:10) Networked Programs - Code Example: socket1.py
⌨️ (6:48:58) Networked Programs - Characters and Strings
⌨️ (6:59:57) Networked Programs - urllib
⌨️ (7:05:10) Networked Programs - Code Example: urllib1.py, urlwords.py
⌨️ (7:08:25) Networked Programs - Parsing HTML
⌨️ (7:14:48) Networked Programs - Code Example: urllinks.py

⌨️ (7:23:43) Using Web Services
⌨️ (7:26:35) Using Web Services - XML
⌨️ (7:32:02) Using Web Services - Code Example: xml1.py, xml2.py
⌨️ (7:37:40) Using Web Services - XML Schema
⌨️ (7:51:32) Using Web Services - JavaScipt Notation
⌨️ (7:57:45) Using Web Services - Code Example: json1.py, json2.py
⌨️ (8:03:08) Using Web Services - Service Oriented Approach
⌨️ (8:04:44) Using Web Services - Web Services
⌨️ (8:11:33) Using Web Services - Code Example: geojson.py
⌨️ (8:18:49) Using Web Services - API Security & Rate Limiting
⌨️ (8:28:45) Using Web Services - Code Example: twitter1.py, twitter2.py

⌨️ (8:48:01) Python Objects
⌨️ (8:58:28) Python Objects - Sample Code
⌨️ (9:06:50) Python Objects - Object Lifecycle
⌨️ (9:13:19) Python Objects - Inheritance

⌨️ (9:20:44) Databases
⌨️ (9:35:55) Databases - SQLite Browser
⌨️ (9:45:40) Databases - Code Sample: emaildb.py
⌨️ (9:58:55) Databases - Code Sample: twspider.py
⌨️ (10:08:06) Databases - Database Design
⌨️ (10:16:29) Databases - Representing Relationships
⌨️ (10:20:37) Databases - Relationship Building
⌨️ (10:33:05) Databases - Join Operation
⌨️ (10:43:13) Databases - Code Sample: tracks.py
⌨️ (10:57:45) Databases - Many-to-Many Relationships
⌨️ (11:09:37) Databases - Code Sample: roster.py
⌨️ (11:20:40) Databases - Code Sample: twspider.py

⌨️ (11:20:40) Data Visualization
⌨️ (11:48:18) Data Visualization - Code Sample: Geodata
⌨️ (12:01:05) Data Visualization - Page Rank
⌨️ (12:12:14) Data Visualization - Code Sample: Pagerank Spidering
⌨️ (12:29:12) Data Visualization - Code Sample: Pagerank Computation
⌨️ (12:44:17) Data Visualization - Code Sample: Pagerank Visualization
⌨️ (12:44:17) Data Visualization - Mailing List Crawl
⌨️ (12:57:08) Data Visualization - Code Sample: Gmane Data Retrieval
⌨️ (13:13:42) Data Visualization - Code Sample: Gmane Data Modeling
⌨️ (13:26:04) Data Visualization - Code Sample: Gmane Data Visualization

This course was created by Dr. Charles Severance (a.k.a. Dr. Chuck). He is a Clinical Professor at the University of Michigan School of Information, where he teaches various technology-oriented courses including programming, database design, and Web development.

“Python for Everybody” by Dr. Chuck Severance and the University of Michigan is licensed under CC BY.
📺 The video in this post was made by freeCodeCamp.org
The origin of the article: https://www.youtube.com/watch?v=8DvywoWv6fI&list=PLWKjhJtqVAbnqBxcdjVGgT3uVR10bzTEB&index=5
🔥 If you’re a beginner. I believe the article below will be useful to you ☞ What You Should Know Before Investing in Cryptocurrency - For Beginner
⭐ ⭐ ⭐The project is of interest to the community. Join to Get free ‘GEEK coin’ (GEEKCASH coin)!
☞ **-----CLICK HERE-----**⭐ ⭐ ⭐
Thanks for visiting and watching! Please don’t forget to leave a like, comment and share!

#python #full university python course #python for everybody #university #everybody

Nat  Grady

Nat Grady


How to Use Strapi with Angular Universal Apps

Angular is a powerful feature-rich platform that you can use to create all kinds of single-page apps, ranging from simple sites to more intricate ones. With it, you can build efficient native, web, and mobile apps with a wide range of tools and libraries it integrates. However, there are still ways apps built with it can be improved. For example, using Angular Universal, you can render your apps server-side to speed up page loads and improve SEO and performance.

Server-side rendering involves converting an app to HTML on a server. When you send a request for a particular path to the server, it returns an entirely static HTML page as a response. No additional requests need to be made to populate the page with data and resources as it is all contained in the response. The page appears almost precisely how it would be rendered client-side in the DOM but may sometimes have limited functionality.

Angular Universal is a set of tools that render Angular apps server-side. On the server, the Universal template engine takes an Angular app and creates static pages when a request is made. The pages are then forwarded to the client. It’s likely called universal since it executes on other platforms besides a browser.

Server-side rendered apps load quicker to users. A static page is shown to the user to engage them as the rest of the application loads. The static pages that Angular Universal provides are simple to index when search engine web crawlers access them. This server-side rendering improves the SEO score of a site. In addition, SSR pages offer a better user experience, especially on less capable devices that may have trouble running full Angular apps.

Strapi is an open-source content API. Data from it can be consumed using REST or GraphQL. With it, you can set up APIs relatively fast. It also provides an admin panel where you can manage the API and content. You can use it with several different databases such as SQLite, MySQL, PostgresSQL, MongoDB, etc. Additionally, it is highly customizable and offers numerous plugins to supplement the API.

This article will cover how to use Strapi with an Angular Universal app. First, you’ll set up a Strapi server. Then you will create an Angular Universal app that will consume data from Strapi.


Before you begin, you need to have Node installed. You can find out how to get it  here. The version of Node needs to be at minimum 12 and at most 14. You also have to have the Angular CLI installed.  This guide will walk you through how to do this.

#angular #angular-universal #strapi #universal-app

Ruth  Clarke

Ruth Clarke


A Simple Middleware-style Router For Isomorphic JavaScript Web Apps

Universal Router

A simple middleware-style router that can be used in both client-side and server-side applications.

Visit Quickstart Guide (slides)  |  Join #universal-router on Gitter to stay up to date


What users say about Universal Router

Just switched a project over to universal-router. Love that the whole thing is a few hundred lines of flexible, easy-to-read code.

-- Tweet by Greg Hurrell from Facebook

It does a great job at trying to be universal — it's not tied to any framework, it can be run on both server and client, and it's not even tied to history. It's a great library which does one thing: routing.

-- Comment on Reddit by @everdimension


Using npm:

npm install universal-router --save

Or using a CDN like unpkg.com or jsDelivr with the following script tag:

<script src="https://unpkg.com/universal-router/universal-router.min.js"></script>

You can find the library in window.UniversalRouter.

How does it look like?

import UniversalRouter from 'universal-router'

const routes = [
    path: '', // optional
    action: () => `<h1>Home</h1>`
    path: '/posts',
    action: () => console.log('checking child routes for /posts'),
    children: [
        path: '', // optional, matches both "/posts" and "/posts/"
        action: () => `<h1>Posts</h1>`
        path: '/:id',
        action: (context) => `<h1>Post #${context.params.id}</h1>`

const router = new UniversalRouter(routes)

router.resolve('/posts').then(html => {
  document.body.innerHTML = html // renders: <h1>Posts</h1>

Play with an example on JSFiddle, CodePen, JS Bin in your browser or try RunKit node.js playground.


Books and Tutorials

Browser Support

We support all ES5-compliant browsers, including Internet Explorer 9 and above, but depending on your target browsers you may need to include polyfills for Map, Promise and Object.assign before any other code.

For compatibility with older browsers you may also need to include polyfills for Array.isArray and Object.create.


Anyone and everyone is welcome to contribute to this project. The best way to start is by checking our open issues, submit a bug report or feature request, participate in discussions, upvote or downvote the issues you like or dislike, send pull requests.


Related Projects

  • React Starter Kit — Boilerplate and tooling for building isomorphic web apps with React and Relay.
  • Node.js API Starter Kit — Boilerplate and tooling for building data APIs with Docker, Node.js and GraphQL.
  • ASP.NET Core Starter Kit — Cross-platform single-page application boilerplate (ASP.NET Core, React, Redux).
  • Babel Starter Kit — Boilerplate for authoring JavaScript/React.js libraries.
  • React App SDK — Create React apps with just a single dev dependency and zero configuration.
  • React Static Boilerplate — Single-page application (SPA) starter kit (React, Redux, Webpack, Firebase).
  • History — HTML5 History API wrapper library that handle navigation in single-page apps.
  • Redux-First Routing — A minimal, framework-agnostic API for accomplishing Redux-first routing.


Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]  


Support us with a monthly donation and help us continue our activities. [Become a backer]

Author: kriasoft
Source Code: https://github.com/kriasoft/universal-router
License: MIT license

#react #react-native #typescript  #javascript 

Joseph  Murray

Joseph Murray


Internal Working of HashMap in Java

Know your next interview question.

I have seen a lot of interviewers asking for the internal working mechanism of the hashmap. If you know the complete internal working of one of the map implementations, it becomes easier for you to understand the other classes of the map interface.So thru this article, we’ll see how the hashing is done and its complete working mechanism, how the searchinsert and removeoperations work with the hashmap and their time complexities, and at the end, we’ll see why it should not be used in a multi-threading environment.

What is HashMap?

How to Initialize the Constructor with Our Own Capacity and Load factor?

Frequently Used Hashmap Methods:

Let’s See an Example of Hashmap and Its Functions:

#java #software-development #programming #internal working of hashmap in java #hashmap #internal working