When you do echo "x" > my_file
and then check its MIME type using file --mime-type my_file
it would say text/plain
. But, when you do the same in Python by
Thinking about the next step as a Python Developer
Disclaimer: The analysis is not a bullet proof analysis. Despite writing code, and throwing around numbers, this might still be a random observation. Stack Overflow Job board is a not an indicator of everything. So take everything with a pinch of salt.
Thoughts on The Git Branch PR Model
This is just ramblings of someone who is overwhelmed when having to adapt to a new model of working with Git. There will perhaps be nothing of value here.
Jupyter - Finding the point when a line graph crosses the threshold
A friend of came up with the problem. There are a set of points [(x, y), (x1, y1), (x2, …]. He wanted to find the points at which this line would pass the value Z less than the peak. If the maximum value is 100 and Z = 20. He wanted to find the points where it would cross y = 80.
Building a quick and dirty data collection app with React, Google Sheets and AWS S3
Covid-19 has created a number of challenges for the society that people are trying to solve with the tools they have. One such challenge was to create an app for data collection from volunteers for food supply requirements for their communities.
Simplifying a Factory Pattern function that has grown complex
This is a combination of the problem that I posted in Dev.to and StackExchange and the final solution that I adopted.
Employing VueJS reactivity to update D3.js Visualisations – Part 2
In Part 1, I wrote about using Vue’s reactivity directly in the SVG DOM elements and also pointed out that it could become difficult to manage as the visualisation grew in complexity.
Employing VueJS reactivity to update D3.js Visualisations - Part 1
In the previous post I wrote about how we can add D3.js Visualizations to a Vue component. I took a plain HTML, JavaScript D3.js viz and converted it to a static visualization inside the Vue component.
Adding D3.js Visualisations to VueJS components
D3.JS is an amazing library to create data visualizations. But it relies on manipulating the DOM Elements of the web page. When building a website with VueJS we are thinking in terms of reactive components and not in terms of static DOM elements. Successfully using D3.js in Vue components is dependent on our clear understanding of the the Vue life cycle. Because at some point the reactive component becomes a DOM element that we see in the browser. That is when we can start using D3.js to manipulate our DOM elements.