From e9d85be74fc79a05005ea43ec9d03d7a9d265f6e Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 9 Jul 2020 23:01:49 +0530 Subject: Publish deploy 2020-07-09 23:01 --- posts/2010-01-24-experiments/index.html | 2 +- posts/2019-05-05-Custom-Snowboard-Anemone-Theme/index.html | 2 +- posts/2019-12-04-Google-Teachable-Machines/index.html | 2 +- posts/2019-12-08-Image-Classifier-Tensorflow/index.html | 2 +- posts/2019-12-08-Splitting-Zips/index.html | 2 +- posts/2019-12-10-TensorFlow-Model-Prediction/index.html | 2 +- posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html | 2 +- posts/2019-12-22-Fake-News-Detector/index.html | 2 +- posts/2020-01-14-Converting-between-PIL-NumPy/index.html | 2 +- posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index.html | 2 +- posts/2020-01-16-Image-Classifier-Using-Turicreate/index.html | 2 +- posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal/index.html | 2 +- posts/2020-03-03-Playing-With-Android-TV/index.html | 2 +- posts/2020-03-08-Making-Vaporwave-Track/index.html | 2 +- posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html | 2 +- posts/2020-05-31-compiling-open-babel-on-ios/index.html | 2 +- .../index.html | 2 +- posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html | 2 +- posts/hello-world/index.html | 2 +- .../index.html | 2 +- publications/2020-03-14-generating-vaporwave/index.html | 2 +- publications/2020-03-17-Possible-Drug-Candidates-COVID-19/index.html | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/posts/2010-01-24-experiments/index.html b/posts/2010-01-24-experiments/index.html index 39c2a0f..a97086e 100644 --- a/posts/2010-01-24-experiments/index.html +++ b/posts/2010-01-24-experiments/index.html @@ -1 +1 @@ -Experiments | Navan Chauhan
1 minute readCreated on January 24, 2010Last modified on June 1, 2020

Experiments

https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/img-original.jpg

Tagged with:
\ No newline at end of file +Experiments | Navan Chauhan
1 minute readCreated on January 24, 2010Last modified on June 1, 2020

Experiments

https://s3-us-west-2.amazonaws.com/s.cdpn.io/148866/img-original.jpg

Tagged with:
\ No newline at end of file diff --git a/posts/2019-05-05-Custom-Snowboard-Anemone-Theme/index.html b/posts/2019-05-05-Custom-Snowboard-Anemone-Theme/index.html index 1eda74a..3b3a930 100644 --- a/posts/2019-05-05-Custom-Snowboard-Anemone-Theme/index.html +++ b/posts/2019-05-05-Custom-Snowboard-Anemone-Theme/index.html @@ -114,4 +114,4 @@ DEBIAN Library **Now you will have the `themeNameForCydia.deb` in the same directory** You can share this with your friends :+1: -

Tagged with:
\ No newline at end of file +

Tagged with: \ No newline at end of file diff --git a/posts/2019-12-04-Google-Teachable-Machines/index.html b/posts/2019-12-04-Google-Teachable-Machines/index.html index 1a090b9..30ac155 100644 --- a/posts/2019-12-04-Google-Teachable-Machines/index.html +++ b/posts/2019-12-04-Google-Teachable-Machines/index.html @@ -1 +1 @@ -Image Classifier With Teachable Machines | Navan Chauhan
2 minute readCreated on December 4, 2019Last modified on June 1, 2020

Image Classifier With Teachable Machines

Made for Google Code-In

Task Description

Using Glitch and the Teachable Machines, build a Book Detector with Tensorflow.js. When a book is recognized, the code would randomly suggest a book/tell a famous quote from a book. Here is an example Project to get you started: https://glitch.com/~voltaic-acorn

Details

  1. Collecting Data

Teachable Machine allows you to create your dataset just by using your webcam! I created a database consisting of three classes ( Three Books ) and approximately grabbed 100 pictures for each book/class

  1. Training

Training on teachable machines is as simple as clicking the train button. I did not even have to modify any configurations.

  1. Finding Labels

Because I originally entered the entire name of the book and it's author's name as the label, the class name got truncated (Note to self, use shorter class names :p ). I then modified the code to print the modified label names in an alert box.

  1. Adding a suggestions function

I first added a text field on the main page and then modified the JavaScript file to suggest a similar book whenever the model predicted with an accuracy >= 98%

  1. Running!

Here it is running!

Remix this project:-

https://luminous-opinion.glitch.me

Tagged with:
\ No newline at end of file +Image Classifier With Teachable Machines | Navan Chauhan
2 minute readCreated on December 4, 2019Last modified on June 1, 2020

Image Classifier With Teachable Machines

Made for Google Code-In

Task Description

Using Glitch and the Teachable Machines, build a Book Detector with Tensorflow.js. When a book is recognized, the code would randomly suggest a book/tell a famous quote from a book. Here is an example Project to get you started: https://glitch.com/~voltaic-acorn

Details

  1. Collecting Data

Teachable Machine allows you to create your dataset just by using your webcam! I created a database consisting of three classes ( Three Books ) and approximately grabbed 100 pictures for each book/class

  1. Training

Training on teachable machines is as simple as clicking the train button. I did not even have to modify any configurations.

  1. Finding Labels

Because I originally entered the entire name of the book and it's author's name as the label, the class name got truncated (Note to self, use shorter class names :p ). I then modified the code to print the modified label names in an alert box.

  1. Adding a suggestions function

I first added a text field on the main page and then modified the JavaScript file to suggest a similar book whenever the model predicted with an accuracy >= 98%

  1. Running!

Here it is running!

Remix this project:-

https://luminous-opinion.glitch.me

Tagged with:
\ No newline at end of file diff --git a/posts/2019-12-08-Image-Classifier-Tensorflow/index.html b/posts/2019-12-08-Image-Classifier-Tensorflow/index.html index 5cf20ba..917844a 100644 --- a/posts/2019-12-08-Image-Classifier-Tensorflow/index.html +++ b/posts/2019-12-08-Image-Classifier-Tensorflow/index.html @@ -98,4 +98,4 @@ np.random.shuffle(s) Loss: 3.732407123270176 Validation Accuracy: 100.0 Validation Loss: 0.0 -

We have achieved 98% Accuracy!

Link to Colab Notebook

Tagged with:
\ No newline at end of file +

We have achieved 98% Accuracy!

Link to Colab Notebook

Tagged with: \ No newline at end of file diff --git a/posts/2019-12-08-Splitting-Zips/index.html b/posts/2019-12-08-Splitting-Zips/index.html index 735c37c..8809371 100644 --- a/posts/2019-12-08-Splitting-Zips/index.html +++ b/posts/2019-12-08-Splitting-Zips/index.html @@ -1,4 +1,4 @@ Splitting ZIPs into Multiple Parts | Navan Chauhan
1 minute readCreated on December 8, 2019Last modified on June 1, 2020

Splitting ZIPs into Multiple Parts

Tested on macOS

Creating the archive:

zip -r -s 5 oodlesofnoodles.zip website/

5 stands for each split files' size (in mb, kb and gb can also be specified)

For encrypting the zip:

zip -er -s 5 oodlesofnoodles.zip website

Extracting Files

First we need to collect all parts, then

zip -F oodlesofnoodles.zip --out merged.zip -
Tagged with:
\ No newline at end of file +Tagged with: \ No newline at end of file diff --git a/posts/2019-12-10-TensorFlow-Model-Prediction/index.html b/posts/2019-12-10-TensorFlow-Model-Prediction/index.html index 5f73c10..bf1c102 100644 --- a/posts/2019-12-10-TensorFlow-Model-Prediction/index.html +++ b/posts/2019-12-10-TensorFlow-Model-Prediction/index.html @@ -6,4 +6,4 @@

After this we create a batch consisting of only one image

p = np.expand_dims(size_image, 0)

We then convert this uint8 datatype to a float32 datatype

img = tf.cast(p, tf.float32)

Finally we make the prediction

print(['Infected','Uninfected'][np.argmax(model.predict(img))]) -

Infected

Tagged with:
\ No newline at end of file +

Infected

Tagged with: \ No newline at end of file diff --git a/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html b/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html index 5ae4c38..0d2cca6 100644 --- a/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html +++ b/posts/2019-12-16-TensorFlow-Polynomial-Regression/index.html @@ -304,4 +304,4 @@ plt.title('Quintic Regression Result') plt.legend() plt.show() -

Results and Conclusion

You just learnt Polynomial Regression using TensorFlow!

Notes

Overfitting

> Overfitting refers to a model that models the training data too well.Overfitting happens when a model learns the detail and noise in the training data to the extent that it negatively impacts the performance of the model on new data. This means that the noise or random fluctuations in the training data is picked up and learned as concepts by the model. The problem is that these concepts do not apply to new data and negatively impact the models ability to generalize.

Source: Machine Learning Mastery

Basically if you train your machine learning model on a small dataset for a really large number of epochs, the model will learn all the deformities/noise in the data and will actually think that it is a normal part. Therefore when it will see some new data, it will discard that new data as noise and will impact the accuracy of the model in a negative manner

Tagged with:
\ No newline at end of file +

Results and Conclusion

You just learnt Polynomial Regression using TensorFlow!

Notes

Overfitting

> Overfitting refers to a model that models the training data too well.Overfitting happens when a model learns the detail and noise in the training data to the extent that it negatively impacts the performance of the model on new data. This means that the noise or random fluctuations in the training data is picked up and learned as concepts by the model. The problem is that these concepts do not apply to new data and negatively impact the models ability to generalize.

Source: Machine Learning Mastery

Basically if you train your machine learning model on a small dataset for a really large number of epochs, the model will learn all the deformities/noise in the data and will actually think that it is a normal part. Therefore when it will see some new data, it will discard that new data as noise and will impact the accuracy of the model in a negative manner

Tagged with: \ No newline at end of file diff --git a/posts/2019-12-22-Fake-News-Detector/index.html b/posts/2019-12-22-Fake-News-Detector/index.html index 818fbed..cdf70d3 100644 --- a/posts/2019-12-22-Fake-News-Detector/index.html +++ b/posts/2019-12-22-Fake-News-Detector/index.html @@ -138,4 +138,4 @@ ContentView() } } -Tagged with:
\ No newline at end of file +Tagged with: \ No newline at end of file diff --git a/posts/2020-01-14-Converting-between-PIL-NumPy/index.html b/posts/2020-01-14-Converting-between-PIL-NumPy/index.html index 8d0fe0a..d995c53 100644 --- a/posts/2020-01-14-Converting-between-PIL-NumPy/index.html +++ b/posts/2020-01-14-Converting-between-PIL-NumPy/index.html @@ -12,4 +12,4 @@ except IOError: PIL.ImageFile.MAXBLOCK = img.size[0] * img.size[1] img.save(destination, "JPEG", quality=80, optimize=True, progressive=True) -Tagged with:
\ No newline at end of file +Tagged with: \ No newline at end of file diff --git a/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index.html b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index.html index 9e5343d..fc48793 100644 --- a/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index.html +++ b/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab/index.html @@ -2,4 +2,4 @@ from google.colab import drive drive.mount('/content/drive')

After this click on the URL in the output section, login and then paste the Auth Code

Configuring Kaggle

os.environ['KAGGLE_CONFIG_DIR'] = "/content/drive/My Drive/" -

Voila! You can now download kaggel datasets

Tagged with:
\ No newline at end of file +

Voila! You can now download kaggel datasets

Tagged with: \ No newline at end of file diff --git a/posts/2020-01-16-Image-Classifier-Using-Turicreate/index.html b/posts/2020-01-16-Image-Classifier-Using-Turicreate/index.html index a09d839..ad7bcb8 100644 --- a/posts/2020-01-16-Image-Classifier-Using-Turicreate/index.html +++ b/posts/2020-01-16-Image-Classifier-Using-Turicreate/index.html @@ -186,4 +186,4 @@ Completed 384/395 Completed 395/395 0.9316455696202531 -

We just got an accuracy of 94% on Training Data and 97% on Validation Data!

Tagged with:
\ No newline at end of file +

We just got an accuracy of 94% on Training Data and 97% on Validation Data!

Tagged with: \ No newline at end of file diff --git a/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal/index.html b/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal/index.html index 7fd3bd5..c926f0b 100644 --- a/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal/index.html +++ b/posts/2020-01-19-Connect-To-Bluetooth-Devices-Linux-Terminal/index.html @@ -1 +1 @@ -How to setup Bluetooth on a Raspberry Pi | Navan Chauhan
1 minute readCreated on January 19, 2020Last modified on June 1, 2020

How to setup Bluetooth on a Raspberry Pi

This was tested on a Raspberry Pi Zero W

Enter in the Bluetooth Mode

pi@raspberrypi:~ $ bluetoothctl

[bluetooth]# agent on

[bluetooth]# default-agent

[bluetooth]# scan on

To Pair

While being in bluetooth mode

[bluetooth]# pair XX:XX:XX:XX:XX:XX

To Exit out of bluetoothctl anytime, just type exit

Tagged with:
\ No newline at end of file +How to setup Bluetooth on a Raspberry Pi | Navan Chauhan
1 minute readCreated on January 19, 2020Last modified on June 1, 2020

How to setup Bluetooth on a Raspberry Pi

This was tested on a Raspberry Pi Zero W

Enter in the Bluetooth Mode

pi@raspberrypi:~ $ bluetoothctl

[bluetooth]# agent on

[bluetooth]# default-agent

[bluetooth]# scan on

To Pair

While being in bluetooth mode

[bluetooth]# pair XX:XX:XX:XX:XX:XX

To Exit out of bluetoothctl anytime, just type exit

Tagged with:
\ No newline at end of file diff --git a/posts/2020-03-03-Playing-With-Android-TV/index.html b/posts/2020-03-03-Playing-With-Android-TV/index.html index 0ba6dad..9a6606b 100644 --- a/posts/2020-03-03-Playing-With-Android-TV/index.html +++ b/posts/2020-03-03-Playing-With-Android-TV/index.html @@ -1 +1 @@ -Tinkering with an Android TV | Navan Chauhan
1 minute readCreated on March 3, 2020Last modified on June 1, 2020

Tinkering with an Android TV

So I have an Android TV, this posts covers everything I have tried on it

Contents

  1. Getting TV's IP Address
  2. Enable Developer Settings
  3. Enable ADB
  4. Connect ADB
  5. Manipulating Packages

IP-Address

These steps should be similar for all Android-TVs

  • Go To Settings
  • Go to Network
  • Advanced Settings
  • Network Status
  • Note Down IP-Address

The other option is to go to your router's server page and get connected devices

Developer-Settings

  • Go To Settings
  • About
  • Continously click on the "Build" option until it says "You are a Developer"

Enable-ADB

  • Go to Settings
  • Go to Developer Options
  • Scroll untill you find ADB Debugging and enable that option

Connect-ADB

  • Open Terminal (Make sure you have ADB installed)
  • Enter the following command adb connect <IP_ADDRESS>
  • To test the connection run adb logcat

Manipulating Apps / Packages

Listing Packages

  • adb shell
  • pm list packages

Installing Packages

  • adb install -r package.apk

Uninstalling Packages

  • adb uninstall com.company.yourpackagename
Tagged with:
\ No newline at end of file +Tinkering with an Android TV | Navan Chauhan
1 minute readCreated on March 3, 2020Last modified on June 1, 2020

Tinkering with an Android TV

So I have an Android TV, this posts covers everything I have tried on it

Contents

  1. Getting TV's IP Address
  2. Enable Developer Settings
  3. Enable ADB
  4. Connect ADB
  5. Manipulating Packages

IP-Address

These steps should be similar for all Android-TVs

  • Go To Settings
  • Go to Network
  • Advanced Settings
  • Network Status
  • Note Down IP-Address

The other option is to go to your router's server page and get connected devices

Developer-Settings

  • Go To Settings
  • About
  • Continously click on the "Build" option until it says "You are a Developer"

Enable-ADB

  • Go to Settings
  • Go to Developer Options
  • Scroll untill you find ADB Debugging and enable that option

Connect-ADB

  • Open Terminal (Make sure you have ADB installed)
  • Enter the following command adb connect <IP_ADDRESS>
  • To test the connection run adb logcat

Manipulating Apps / Packages

Listing Packages

  • adb shell
  • pm list packages

Installing Packages

  • adb install -r package.apk

Uninstalling Packages

  • adb uninstall com.company.yourpackagename
Tagged with:
\ No newline at end of file diff --git a/posts/2020-03-08-Making-Vaporwave-Track/index.html b/posts/2020-03-08-Making-Vaporwave-Track/index.html index 8b40392..6d4da24 100644 --- a/posts/2020-03-08-Making-Vaporwave-Track/index.html +++ b/posts/2020-03-08-Making-Vaporwave-Track/index.html @@ -1 +1 @@ -Making My First Vaporwave Track (Remix) | Navan Chauhan
2 minute readCreated on March 8, 2020Last modified on June 1, 2020

Making My First Vaporwave Track (Remix)

I finally completed my first quick and dirty vaporwave remix of "I Want It That Way" by the Backstreet Boys

V A P O R W A V E

Vaporwave is all about A E S T H E T I C S. Vaporwave is a type of music genre that emmerged as a parody of Chillwave, shared more as a meme rather than a proper musical genre. Of course this changed as the genre become mature

How to Vaporwave

The first track which is considered to be actual Vaporwave is Ramona Xavier's Macintosh Plus, this unspokenly set the the guidelines for making Vaporwave

  • Take a 1980s RnB song
  • Slow it down
  • Add Bass and Trebble
  • Add again
  • Add Reverb ( make sure its wet )

There you have your very own Vaporwave track.

( Now, there are some tracks being produced which are not remixes and are original )

My Remix

Where is the Programming?

The fact that there are steps on producing Vaporwave, this gave me the idea that Vaporwave can actually be made using programming, stay tuned for when I publish the program which I am working on ( Generating A E S T H E T I C artwork and remixes)

Tagged with:
\ No newline at end of file +Making My First Vaporwave Track (Remix) | Navan Chauhan
2 minute readCreated on March 8, 2020Last modified on June 1, 2020

Making My First Vaporwave Track (Remix)

I finally completed my first quick and dirty vaporwave remix of "I Want It That Way" by the Backstreet Boys

V A P O R W A V E

Vaporwave is all about A E S T H E T I C S. Vaporwave is a type of music genre that emmerged as a parody of Chillwave, shared more as a meme rather than a proper musical genre. Of course this changed as the genre become mature

How to Vaporwave

The first track which is considered to be actual Vaporwave is Ramona Xavier's Macintosh Plus, this unspokenly set the the guidelines for making Vaporwave

  • Take a 1980s RnB song
  • Slow it down
  • Add Bass and Trebble
  • Add again
  • Add Reverb ( make sure its wet )

There you have your very own Vaporwave track.

( Now, there are some tracks being produced which are not remixes and are original )

My Remix

Where is the Programming?

The fact that there are steps on producing Vaporwave, this gave me the idea that Vaporwave can actually be made using programming, stay tuned for when I publish the program which I am working on ( Generating A E S T H E T I C artwork and remixes)

Tagged with:
\ No newline at end of file diff --git a/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html b/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html index 9431830..6aaf427 100644 --- a/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html +++ b/posts/2020-04-13-Fixing-X11-Error-AmberTools-macOS/index.html @@ -13,4 +13,4 @@ Error: The X11 libraries are not in the usual location ! To build Amber without XLEaP, re-run configure with '-noX11: ./configure -noX11 --with-python /usr/local/bin/python3 -macAccelerate clang Configure failed due to the errors above! -

I searcehd on Google for a solution on their, sadly there was not even a single thread which had a solution about this error.

The Fix

Simply reinstalling XQuartz using homebrew fixed the error brew cask reinstall xquartz

If you do not have xquartz installed, you need to run brew cask install xquartz

Tagged with:
\ No newline at end of file +

I searcehd on Google for a solution on their, sadly there was not even a single thread which had a solution about this error.

The Fix

Simply reinstalling XQuartz using homebrew fixed the error brew cask reinstall xquartz

If you do not have xquartz installed, you need to run brew cask install xquartz

Tagged with: \ No newline at end of file diff --git a/posts/2020-05-31-compiling-open-babel-on-ios/index.html b/posts/2020-05-31-compiling-open-babel-on-ios/index.html index 37af7e3..cefb9d1 100644 --- a/posts/2020-05-31-compiling-open-babel-on-ios/index.html +++ b/posts/2020-05-31-compiling-open-babel-on-ios/index.html @@ -41,4 +41,4 @@ make[1]: ** make: *** [Makefile:129: all] Error 2

Strange but it is alright, there is nothing that hasn't been answered on the internet.

I did a little digging around and could not find a solution 😔

As a temporary fix, I disabled multithreading by going and commenting the lines in the source code.

Packaging as a deb

This was pretty straight forward, I tried installing it on my iPad and it was working pretty smoothly.

Moment of Truth

So I airdropped the .deb to my phone and tried installing it, the installation was succesful but when I tried obabel it just abborted.

Turns out because I had created an install target of a seprate folder while compiling, the binaries were refferencing a non-existing dylib rather than those in the /usr/lib folder. As a quick workaround I transferred the deb folder to my laptop and used otool and install_name tool: install_name_tool -change /var/root/obabel/ob-build/lib/libopenbabel.7.dylib /usr/lib/libopenbabel.7.dylib for all the executables and then signed them using jtool

I then installed it and everything went smoothly, I even ran obabel and it executed perfectly, showing the version number 3.1.0 ✌️ Ahh, smooth victory.

Nope. When I tried converting from SMILES to pdbqt, it gave an error saying plugin not found. This was weird.

So I just copied the entire build folder from my iPad to my phone and tried runnig it. Oops, Apple Sandbox Error, Oh no!

I spent 2 hours around this problem, only to see the documentation and relaise I hadn't setup the environment variable 🤦‍♂️

The Final Fix ( For Now )

export BABEL_DATADIR="/usr/share/openbabel/3.1.0" export BABEL_LIBDIR="/usr/lib/openbabel/3.1.0" -

This was the tragedy of trying to compile something without knowing enough about compiling. It is 11:30 as of writing this. Something as trivial as this should not have taken me so long. Am I going to try to compile AutoDock Vina next? 🤔 Maybe.

Also, if you want to try Open Babel on you jailbroken iDevice, install the package from my repository ( You, need to run the above mentioned final fix :p ). This was tested on iOS 13.5, I cannot tell if it will work on others or not.

Hopefully, I add some more screenshots to this post.

Edit 1: Added Screenshots, had to replicate the errors.

Tagged with:
\ No newline at end of file +

This was the tragedy of trying to compile something without knowing enough about compiling. It is 11:30 as of writing this. Something as trivial as this should not have taken me so long. Am I going to try to compile AutoDock Vina next? 🤔 Maybe.

Also, if you want to try Open Babel on you jailbroken iDevice, install the package from my repository ( You, need to run the above mentioned final fix :p ). This was tested on iOS 13.5, I cannot tell if it will work on others or not.

Hopefully, I add some more screenshots to this post.

Edit 1: Added Screenshots, had to replicate the errors.

Tagged with: \ No newline at end of file diff --git a/posts/2020-06-01-Speeding-Up-Molecular-Docking-Workflow-AutoDock-Vina-and-PyMOL/index.html b/posts/2020-06-01-Speeding-Up-Molecular-Docking-Workflow-AutoDock-Vina-and-PyMOL/index.html index 0da2ef5..b5ac7cb 100644 --- a/posts/2020-06-01-Speeding-Up-Molecular-Docking-Workflow-AutoDock-Vina-and-PyMOL/index.html +++ b/posts/2020-06-01-Speeding-Up-Molecular-Docking-Workflow-AutoDock-Vina-and-PyMOL/index.html @@ -5,4 +5,4 @@
$(pbpaste)

This is used in bash to evaluate the results of a command. In this scenario we are using it to get the contents of the clipboard.

The rest of the command is a normal Open Babel command to generate a 3D structure in PDBQT format and then save it as test.pdbqt

&&

This tells the termianl to only run the next part if the previous command runs succesfuly without any errors.

vina --receptor lu.pdbqt --center_x -9.7 --center_y 11.4 --center_z 68.9 --size_x 19.3 --size_y 29.9 --size_z 21.3 --ligand test.pdbqt -

This is just the docking command for AutoDock Vina. In the next part I will tell how to use PyMOL and a plugin to directly generate the coordinates in Vina format --center_x -9.7 --center_y 11.4 --center_z 68.9 --size_x 19.3 --size_y 29.9 --size_z 21.3 without needing to type them manually.

Tagged with:
\ No newline at end of file +

This is just the docking command for AutoDock Vina. In the next part I will tell how to use PyMOL and a plugin to directly generate the coordinates in Vina format --center_x -9.7 --center_y 11.4 --center_z 68.9 --size_x 19.3 --size_y 29.9 --size_z 21.3 without needing to type them manually.

Tagged with: \ No newline at end of file diff --git a/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html b/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html index e160e76..e3a9e46 100644 --- a/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html +++ b/posts/2020-06-02-Compiling-AutoDock-Vina-on-iOS/index.html @@ -26,4 +26,4 @@ include ../../makefile_common std::cerr << "\n\nParse error on line " << e.line << " in file \"" << e.file.native_file_string() << "\": " << e.reason << '\n'; ~~~~~~ ^ 2 errors generated. -

Turns out native_file_string was deprecated in Boost 1.57 and replaced with just string

Error 3 - Library Not Found

This one still boggles me because there was no reason for it to not work, as a workaround I downloaded the DEB, extracted it and used that path for compiling.

Error 4 - No Member Named 'nativefilestring' Again.

But, this time in another file and I quickle fixed it

Moment of Truth

Obviously it was working on my iPad, but would it work on another device? I transfered the compiled binary and

The package is available on my repository and only depends on boost. ( Both, Vina and Vina-Split are part of the package)

Tagged with:
\ No newline at end of file +

Turns out native_file_string was deprecated in Boost 1.57 and replaced with just string

Error 3 - Library Not Found

This one still boggles me because there was no reason for it to not work, as a workaround I downloaded the DEB, extracted it and used that path for compiling.

Error 4 - No Member Named 'nativefilestring' Again.

But, this time in another file and I quickle fixed it

Moment of Truth

Obviously it was working on my iPad, but would it work on another device? I transfered the compiled binary and

The package is available on my repository and only depends on boost. ( Both, Vina and Vina-Split are part of the package)

Tagged with: \ No newline at end of file diff --git a/posts/hello-world/index.html b/posts/hello-world/index.html index ffcb541..e8f2b32 100644 --- a/posts/hello-world/index.html +++ b/posts/hello-world/index.html @@ -1 +1 @@ -Hello World | Navan Chauhan
1 minute readCreated on April 16, 2019Last modified on June 1, 2020

Hello World

Why a Hello World post?

Just re-did the entire website using Publish (Publish by John Sundell). So, a new hello world post :)

Tagged with:
\ No newline at end of file +Hello World | Navan Chauhan
1 minute readCreated on April 16, 2019Last modified on June 1, 2020

Hello World

Why a Hello World post?

Just re-did the entire website using Publish (Publish by John Sundell). So, a new hello world post :)

Tagged with:
\ No newline at end of file diff --git a/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html b/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html index 7b383c5..dd9d10b 100644 --- a/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html +++ b/publications/2019-05-14-Detecting-Driver-Fatigue-Over-Speeding-and-Speeding-up-Post-Accident-Response/index.html @@ -1,3 +1,3 @@ Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response | Navan Chauhan
1 minute readCreated on May 14, 2019Last modified on March 14, 2020

Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response

Based on the project showcased at Toyota Hackathon, IITD - 17/18th December 2018

Edit: It seems like I haven't mentioned Adrian Rosebrock of PyImageSearch anywhere. I apologize for this mistake.

Download paper here

Recommended citation:

ATP

Chauhan, N. (2019). &quot;Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response.&quot; <i>International Research Journal of Engineering and Technology (IRJET), 6(5)</i>.

BibTeX

@article{chauhan_2019, title={Detecting Driver Fatigue, Over-Speeding, and Speeding up Post-Accident Response}, volume={6}, url={https://www.irjet.net/archives/V6/i5/IRJET-V6I5318.pdf}, number={5}, journal={International Research Journal of Engineering and Technology (IRJET)}, author={Chauhan, Navan}, year={2019}} -
Tagged with:
\ No newline at end of file +Tagged with: \ No newline at end of file diff --git a/publications/2020-03-14-generating-vaporwave/index.html b/publications/2020-03-14-generating-vaporwave/index.html index 1fa5e82..db34610 100644 --- a/publications/2020-03-14-generating-vaporwave/index.html +++ b/publications/2020-03-14-generating-vaporwave/index.html @@ -10,4 +10,4 @@ year={2020}, month={Mar} } -Tagged with:
\ No newline at end of file +Tagged with: \ No newline at end of file diff --git a/publications/2020-03-17-Possible-Drug-Candidates-COVID-19/index.html b/publications/2020-03-17-Possible-Drug-Candidates-COVID-19/index.html index be66b48..4a8c779 100644 --- a/publications/2020-03-17-Possible-Drug-Candidates-COVID-19/index.html +++ b/publications/2020-03-17-Possible-Drug-Candidates-COVID-19/index.html @@ -1 +1 @@ -Possible Drug Candidates for COVID-19 | Navan Chauhan
1 minute readCreated on March 17, 2020Last modified on March 18, 2020

Possible Drug Candidates for COVID-19

This is still a pre-print.

Download paper here

Tagged with:
\ No newline at end of file +Possible Drug Candidates for COVID-19 | Navan Chauhan
\ No newline at end of file -- cgit v1.2.3