A modular, high performance, headless e-commerce storefront built with Python, GraphQL, Django, and ReactJS.

PHP has lot of open source e-commerce projects, the only reason i think for that is low threshold to involve oneself in a PHP project than in anyother programme languages or my research is incomplete!

Today i tried to look for a Python alternative for Magento e-Commerce and came across Saleor

Saleor has all new langauges, procedures, methods …

would be interesting to look at this and get involved in its development.

Github Universe 2019 November

  • Github is gatekeeper for OSS to make OSS secure
  • The presenters are using Chrome! not Edge!
  • CodeQL looks interesting
  • Actions is similar to Bitbucket Pipelines but looks it has more to offer
  • Still no option to create PR from desktop app
  • AWS actions demo!! Where is Azure?
  • MABL @ Github! — Oh! used this in my last project! its a great way for testing applications.


  • Write down what you know
  • Review it with what it is
  • Edit it with what you come to know
  • Recite
  • Repeat

RGB color codes few points

  • Each of R,G,B take 0 - 255 as values so 256 values
  • 256**3 number of combination colours can be formulated
  • When all values are nearer to 0 then the colour will be darker
  • When all values are nearer to 255 then colour will be lighter
  • Depending on which of the values is higher then that colour will dominate
  • If all are 0 then it is black
  • If all are 255 then it is white


  • Extract file.gz
    • gunzip file.gz
  • pluck() on laravel collection returns single item if it has only one item rather than an array with single item, if there are more than one items then it gives array of plucked items.
  • Just because framework allows dont try to cram too much data into an api

Stitch in time even if it covers part of the hole

Back in March 2018 i worked on correcteting most of our projects Db resetting/handling process but i ended up making lot of changes to already executed migration files.

The method i used to make those migrations work on a blank Db or a base db was not an ideal one and it can not go into main branch at any point in time, we all decided and abondaned it , but i didnt anticipate that i will be doing the same work again to make those migrations work for a client.

At the start of the day my only aim was to finish up this work and move on to other tasks as quickly as possible, all through out the process i kept nagging myself why haven’t i done this process last time(March 2018). If i had done this process then today i would have been perfecting the process so that it can be merged into main branch.

A lesson learnt, a good one, even if a solution solves part of the problem and there is no alternative at that time then do it and visit it again and when visited again to perfect it work will be not be from ground zero atleast there will be some progress forward and mind will be ready for a solution from that point rather than from bottom.

Need to be careful about abondining things/ideas/thoughts.

The Man In The HighCastle

At first when i read the premise of this TV series, based on a novel of same name, i did not show much interest in it.

Few days back by chance i started watching this series and it is really enagaging.

I liked following actors performances.

Alexa Davalos

Rufus Sewell

Joel de la Fuente

AAPs angle ... as i see it

Excerpt from Atlas shrugged book

James Taggart saw Lillian Rearden drift casually toward him at the one moment when he chanced to be alone in the dim corner between a potted palm and a window. He stopped and waited to let her approach.
He could not guess her purpose, but this was the manner which, in the code he understood, meant that he had better hear her.

“How do you like my wedding gift, Jim?” she asked, and laughed at his look of embarrassment. “No, no, don’t try to go over the list of things in your apartment, wondering which one the hell it was. It’s not in your apartment, it’s right here, and it’s a non-material gift, darling.”

He saw the half-hint of a smile on her face, the look understood among his friends as an invitation to share a secret victory; it was the look, not of having outthought, but of having outsmarted somebody.
He answered cautiously, with a safely pleasant smile, “Your presence is the best gift you could give me.”
“My presence, Jim?”

The lines of his face were shock-bound for a moment. He knew what she meant, but he had not expected her to mean it.

She smiled openly. “We both know whose presence is the most valuable one for you tonight—and the unexpected one. Didn’t you really think of giving me credit for it? I’m surprised at you. I thought you had a genius for recognizing potential friends.”

He would not commit himself; he kept his voice carefully neutral.

“Have I failed to appreciate your friendship, Lillian?”

“Now, now, darling, you know what I’m talking about. You didn’t expect him to come here, you didn’t really think that he is afraid of you, did you? But to have the others think he is—that’s quite an inestimable advantage, isn’t it?”

“I’m . . . surprised, Lillian.”

“Shouldn’t you say ‘impressed’? Your guests are quite impressed. I can practically hear them thinking all over the room. Most of them are thinking: ‘If he has to seek terms with Jim Taggart, we’d better toe the line.’ And a few are thinking: ‘If he’s afraid, we’ll get away with much more.’ This is as you want it, of course—and I wouldn’t think of spoiling your triumph—but you and I are the only ones who know that you didn’t achieve it single-handed.”

He did not smile; he asked, his face blank, his voice smooth, but with a carefully measured hint of harshness, “What’s your angle?”

She laughed. “Essentially—the same as yours, Jim. But speaking practically—none at all. It’s just a favor I’ve done you, and I need no favor in return. Don’t worry, I’m not lobbying for any special interests, I’m not after squeezing some particular directive out of Mr. Mouch, I’m not even after a diamond tiara from you. Unless, of course, it’s a tiara of a non-material order, such as your appreciation.”

He looked straight at her for the first time, his eyes narrowed, his face relaxed to the same half-smile as hers, suggesting the expression which, for both of them, meant that they felt at home with each other: an expression of contempt. “You know that I have always admired you, Lillian, as one of the truly superior women.”

“I’m aware of it.” There was the faintest coating of mockery spread, like shellac, over the smooth notes of her voice.

He was studying her insolently. “You must forgive me if I think that some curiosity is permissible between friends,” he said, with no tone of apology. “I’m wondering from what angle you contemplate the possibility of certain financial burdens—or losses—which affect your own personal interests.”

She shrugged. “From the angle of a horsewoman, darling. If you had the most powerful horse in the world, you would keep it bridled down to the Galt required to carry you in comfort, even though this meant the sacrifice of its full capacity, even though its top speed would never be seen and its great power would be wasted. You would do it—because if you let the horse go full blast, it would throw you off in no time. . . . However, financial aspects are not my chief concern —nor yours, Jim.”

“I did underestimate you,” he said slowly.

“Oh, well, that’s an error I’m willing to help you correct. I know the sort of problem he presents to you. I know why you’re afraid of him, as you have good reason to be. But . . . well, you’re in business and in politics, so I’ll try to say it in your language. A businessman says that he can deliver the goods, and a ward heeler says that he can deliver the vote, is that right? Well, what I wanted you to know is that I can deliver him, any time I choose. You may act accordingly.”

In the code of his friends, to reveal any part of one’s self was to give a weapon to an enemy—but he signed her confession and matched it, when he said, “I wish I were as smart about my sister.”

She looked at him without astonishment; she did not find the words irrelevant. “Yes, there’s a tough one,” she said. “No vulnerable point? No weaknesses?”


“No love affairs?”

“God, no!”

She shrugged, in sign of changing the subject; Dagny Taggart was a person on whom she did not care to dwell. “I think I’ll let you run along, so that you can chat a little with Balph Eubank,” she said. “He looks worried, because you haven’t looked at him all evening and he’s wondering whether literature will be left without a friend at court.”

“Lillian, you’re wonderful!” he said quite spontaneously.

She laughed. “That, my dear, is the non-material tiara I wanted!”

Sharing Name based Virtual Host over LAN

Create project folder in your webserver folder

My webserver is Apache
for eg: i created ‘our_project’ folder in my server i.e /home/auto-w24/public_html/

Creating named Vhost

In Ubuntu
Create a file in /etc/apache/sites-available folder with the name of you Vhost
for eg:ourserver.local.
Now open the newly craeted ourservre.local file and enter following content.

<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  ServerName ourserver.local
  ServerAlias www.ourserver.local    
  DocumentRoot /home/auto-w24/public_html/our_project
  SetEnv APPLICATION_ENV "development"
  <Directory />
    Options FollowSymLinks
    AllowOverride None
    <Directory /home/auto-w24/public_html/our_project>
      Options Indexes FollowSymLinks MultiViews
      DirectoryIndex index.php
      AllowOverride All
      Order allow,deny
      allow from all
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
      <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
      ErrorLog ${APACHE_LOG_DIR}/error.log
      # Possible values include: debug, info, notice, warn, error, crit,
      # alert, emerg.
      LogLevel warn
      CustomLog ${APACHE_LOG_DIR}/access.log combined
      Alias /doc/ "/usr/share/doc/"
      <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from ::1/128

Make modifications to your requirements

In terminal

sudo a2ensite ourserver.local

Changes to /etc/hosts file

Open your /etc/hosts file and following line to it ourserver.local www.ourserver.local

Restart apache webserver

Now you should be able access our_project folder in browsesr if you type ourserver.local or www.ourserver.loacl

Settings to access ‘our_project’ in other systems connecting same network

In linux ststems like Ubuntu

Lets assume System-1 as the system in which we have all the above settings and System-2 is a ubuntu system connected to the same network as system-1.

In System-1 find your IP address.

Let us assume System-1 IP is

In System-2 open /etc/hosts file and add following line to it ourserver.local www.ourserver.local

Save the file

Now you can access our_project from System-2 in browser by typing either ourserver.local or www.ourserver.local

In windows systems

Open the hosts file in windows/system32/drivers/ folder

Add following line to it ourserver.local www.ourserver.local

Save the file

Now you can access ‘our_project’ from this windows system in browser by typing either ourserver.local or www.ourserver.local

In OSX Snow leopard systems

Open the hosts file private/etc/hosts

Add following line to it ourserver.local www.ourserver.local

Save the file

Now you can access ‘our_project’ from this system in browser by typing either ourserver.local or www.ourserver.local