added more technical and general posts
This commit is contained in:
@@ -19,7 +19,7 @@ params:
|
||||
keywords: [Blog, Portfolio, Akilan]
|
||||
author: ["Me","Not boring developer","Akilan Selvacoumar"]
|
||||
# author: ["Me", "You"] # multiple authors
|
||||
images: ["<link or path of image for opengraph, twitter-cards>"]
|
||||
# images: ["<link or path of image for opengraph, twitter-cards>"]
|
||||
DateFormat: "January 2, 2006"
|
||||
defaultTheme: auto # dark, light
|
||||
disableThemeToggle: false
|
||||
@@ -34,7 +34,7 @@ params:
|
||||
comments: false
|
||||
hidemeta: false
|
||||
hideSummary: false
|
||||
showtoc: false
|
||||
showtoc: true
|
||||
tocopen: false
|
||||
|
||||
# profile-mode
|
||||
@@ -80,7 +80,7 @@ params:
|
||||
hiddenInSingle: true # hide on single page
|
||||
|
||||
editPost:
|
||||
URL: "https://github.com/<path_to_repo>/content"
|
||||
URL: "https://github.com/Akilan1999/Akilan-website/tree/master/content"
|
||||
Text: "Suggest Changes" # edit text
|
||||
appendFilePath: true # to append file path to Edit link
|
||||
|
||||
|
||||
0
content/about.md
Normal file
0
content/about.md
Normal file
91
content/generalposts/FS2020.md
Normal file
91
content/generalposts/FS2020.md
Normal file
@@ -0,0 +1,91 @@
|
||||
---
|
||||
title: "Why FS2020 is something very Exciting"
|
||||
summary: Closer towards a future where it's hard to compare reality and simulation
|
||||
date: 2020-05-02
|
||||
tags: ["Flightsim","Introduction"]
|
||||
author: "Akilan Selvacoumar"
|
||||
draft: false
|
||||
aliases: [/fs2020]
|
||||
weight: 2
|
||||
---
|
||||
|
||||
## What are Flight sims ?
|
||||
|
||||
A flight simulator is a device that artificially re-creates aircraft flight and the environment in which it flies, for pilot training, design, or other purposes. It has been really popular since 1982. The first release was called subLogic flight simulator which was released in 1979 on the Apple II.
|
||||
|
||||

|
||||
|
||||
Since this release flight sim has completely evolved with newer versions with newer features which means more and more accurate modelling of newer aircrafts.
|
||||
|
||||
### Important milestones:
|
||||
|
||||
- Flight Simulator 2.0:
|
||||
|
||||

|
||||
|
||||
- Flight Simulator 5.1:
|
||||
|
||||

|
||||
|
||||
- Flight Simulator X:
|
||||
|
||||

|
||||
|
||||
Flight sims have also become part open source. The current best flight simulator in the market Xplane 11 has open source modules such as BetterPushBack , SharedCockpit etc ... In recent years flight school students can even skip most of the instrumental classes for aircrafts such as the Ceesna's due to the fact that they have already learned it in the flight sim at home.
|
||||
|
||||
## FS2020 Competitor
|
||||
|
||||
Before we start the discussion of FS2020 we need to compare the current progress of their competitor [Xplane](https://www.x-plane.com/) which is designed by a Software Company called [Laminar research](http://www.laminarresearch.com/). Xplane 11 is the current best Flight sim platform out there. Xplane 11 comes built in with VR compatibility , Runs on all platforms such as Mac , Windows , Linux and the graphics speaks for itself and runs on most common Pc's on today's standards.
|
||||
|
||||

|
||||
|
||||
[XPlane 11 in VR](https://www.youtube.com/watch?v=31S_jUy3h7Q&t=887s)
|
||||
|
||||
## Introduction to FS2020
|
||||
|
||||
The release date of FS2020 is still unknown due to COVID19 delays. All we know is that it should be coming out sometime this year. The idea is that the game is rendered on your PC but the scenery is downloaded from the azure servers. The reason it has a lot of hype is because of the fact that it's graphics is game changing and even the amount of realism that they have added to the game (We will talk more on this later).
|
||||
|
||||
## Ground Scenery
|
||||
|
||||

|
||||
|
||||
The game has an online and offline maps. The Hype comes from the online maps as it's a 3D map from Bing. With the current technology, satellites are able to take a picture of cities from different angles and generate 3D models out of them and the game developers have been using a lot of machine learning techniques to generate the tiniest details such as grass ,trees , cars on the road etc.. There have also been very funny comments on these 3D maps such as "Tips on how to tour north korea", "How to catch your wife cheating","This video gave me morning wood. Girlfriend thought it was because of her. Yea honey....it's totally you." etc...
|
||||
|
||||
|
||||
[This link will give you a general idea on 3D models of cities look like](https://earth.google.com/web/@40.71247137,-74.0072421,27.70327415a,2644.644745d,35y,35.47111927h,60.00244366t,0r)
|
||||
|
||||
For higher details many of the major airports are modeled partially manually. The movement ground crew and vehicles are all a bunch of AI's working in parallel. The details of the runway and taxiway are super high. In the demo we can even see tiny stones on the taxiway.
|
||||
|
||||
As per the developers the 3D models are generated using Photogrammetry data or else it's augmented bitmap which means that the base image is from bing maps and then it's filled with some pre-build objects. The size of the bing scenery which they use is around 2 Petabytes and this is only one aspect of the Sim. All the maps are generated or drawn based on the horizon and this varies based on the height of the aircraft.
|
||||
|
||||
## Behavior in the Sky
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
Again for the weather there is online and offline data. Is it actually interesting to know that simulating or modeling the weather is as complex as doing it for the ground. To simulate that the game generates millions of virtual particles to generate accurate lift for the aircraft. In many other sims the stalls in the code have been like flags (i.e on and off switch) this means that when the aircraft loses speed the nose dive will be a bit unrealistic. This has been fixed in FS2020 and they calculate various aspects such as density of air , wind patterns because at many times the aircraft would not even stall due to the design of the hardware which automatically pushes the nose down to gain speed. FS2020 can even predict which direction the aircraft will stall at.
|
||||
|
||||
### Atmospheric Simulation:
|
||||
|
||||
The developers had to use a fresh approach to ensure that the lighting effects have to be as realistic as possible and to also accommodate all new techniques coming out from the video game industry. They have their own scattering system which gets lights from unified sources such as Sunlight ,Moonlight ,Starlight ,City light etc... The photons are scattered based on the parameters such as humidity , weather , pollution etc ... The shadows of the clouds are casted on the ground , shadows of the ground have been casted on the clouds and so this gives unbelievable sights.
|
||||
|
||||
### Weather Special Effects:
|
||||
|
||||
The sim has volumetric 3D rain , volumetric Rainbow scattering; this means that the rainbow is generated based on the compositions required to generate one. Each water droplet on the windshield is generated based on the speed of the aircraft and as the aircraft speed varies this impacts on how much the water is stretched in the windshield of the cockpit.
|
||||
|
||||
The sim even has window icing that takes place mostly in the cruise altitude if the Anti ice systems are not turned on in the aircraft.
|
||||
|
||||
The position of the sun , moon and stars will be informed based on date and time of year and even the light of the city will be reflected back to the cloud which creates realistic VFR flying. The reflection of the building on water is also realistic based on time of day, number of clouds etc.. and it is rendered the same way as how the atmosphere is rendered.
|
||||
|
||||
### Volumetric clouds:
|
||||
|
||||
This is one of the best features for anyone flying aircraft's through clouds. There are 32 layers from sea level and they are based on density , shape , fuzziness and all these clouds can be seen from any angle. The formations are informed based on the updraft winds. The sim natively supports all types of clouds. The max view distance of generated clouds is 600 km.
|
||||
|
||||
### Real Weather Data:
|
||||
|
||||
The weather data is collected from one of the research centers in Switzerland. Based on data provided to the engine, The corresponding clouds and updrafts are generated. The sim gets upto 32 layers of real world cloud data, pressure , humidity, temperature, wind speed and gusts.
|
||||
|
||||
## Specs for the game:
|
||||
|
||||

|
||||
5
content/generalposts/_index.md
Normal file
5
content/generalposts/_index.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: General Posts
|
||||
summary: General concepts and stuff I love to talk about
|
||||
description: Mostly on my hobbies and stuff other than CS topics
|
||||
---
|
||||
42
content/technicalposts/Custom-static-website-generator.md
Normal file
42
content/technicalposts/Custom-static-website-generator.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: "Custom static website generator"
|
||||
summary: Based on a Website generator built by
|
||||
hw tech club
|
||||
date: 2020-02-27
|
||||
tags: ["Generator","Website"]
|
||||
author: "Akilan Selvacoumar"
|
||||
draft: false
|
||||
aliases: [/technicalposts/website-generator]
|
||||
weight: 2
|
||||
---
|
||||
In this blog post we will talk about the project custom website generator which hw tech club contributors created. Before that a bit of basics of how static website generators work. In the current scenarios websites are either rendered in the front end using React/Vue or in the backend using Jinga , express etc … The flaw in the front end is that websites use a lot of CPU memory from the Client side to load webpages and rendering on the backend does fix this issue but is still relatively more expensive than loading static web pages. A static website generator basically generates static web pages only when content is changed.
|
||||
|
||||
### Problems of existing Static website generators
|
||||
There are many static generators such as Hugo and Jenkyll which are super efficient and do a great job in generating static web pages. The only problem is both are human readable and not Api friendly which made it initially tough for us to interact with it. Ex: Hugo has many variations and with Yaml , Toml and creating an Api to store these states and ensuring to populate according to the template was super painful for us.
|
||||
|
||||
### Solution
|
||||
To build a simple website generator that can take a JSON file of any shape and populate it to the according website template. The only catch is that both the JSON shape and fields that should be populated in the template should be of the same shape. The implementation of this was done using Node js as that was the only language me and my friends were familiar with at that time.
|
||||
|
||||

|
||||
|
||||
### Process of generating a website
|
||||
- Send Data via Rest Api
|
||||
- Populate inside the appropriate template
|
||||
- Copy the files modified and add it to the project directory which is created based on the project name in the JSON file.
|
||||
- Respond to the user the website generated link
|
||||
|
||||
### Deploying generated websites in IPFS
|
||||
There are bash scripts added to make it possible to deploy websites generated to IPFS (Interplanetary file system). This is to ensure that your generated website can be deployed on a peer to peer network.
|
||||
|
||||
The following project is released on GPLv2 hence it is completely open source and we accept contributions from all developers.
|
||||
|
||||
### How to contribute:
|
||||
1. Create an Issue
|
||||
2. Create a PR(Pull Request) linking to that issue
|
||||
3. If we approve it will be merged or we will inform you on the changes we need
|
||||
|
||||
We have only covered the high level overview of this project and there are other modules not talked about like the whatsapp bot to interact with this Api.
|
||||
|
||||
- [Documentation to the project](https://website-generator.netlify.app)
|
||||
- [Module of the project we are talking about in this blog](https://github.com/HWTechClub/Custom-Static-Website-Generator/tree/master/website-generator)
|
||||
- [Repo Link (Main project)](https://github.com/HWTechClub/Custom-Static-Website-Generator)
|
||||
@@ -7,7 +7,7 @@ tags: ["IT","Beginners"]
|
||||
author: "Akilan Selvacoumar"
|
||||
draft: false
|
||||
aliases: [/technicalposts/beginners]
|
||||
weight: 3
|
||||
weight: 2
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: "Distributed computing in a local network"
|
||||
summary: Brainstroming ideas to run distributed tasks locally
|
||||
date: 2020-01-01
|
||||
date: 2021-01-01
|
||||
aliases: ["/distributed-local-network"]
|
||||
tags: ["Distributed","Brainstorming"]
|
||||
author: "Akilan Selvacoumar"
|
||||
|
||||
Reference in New Issue
Block a user