Posts

Showing posts from November, 2024

Streamlit vs Django and Flask

Image
When it comes to creating lightweight, interactive data apps, Streamlit outperforms traditional and more common frameworks like Django and Flask with its developer-friendly design and the extremely simple ways to get things done. Django and Flask cater to a broader range of web applications, but their abstractions often require complex configurations which are really not needed by a beginner developer, such as convoluted routing, detailed front-end integrations, and having to create several views for each function you require, all of which can seem like a tall task for developers looking for prototypes or data centric web apps. Streamlit discards languages traditionally required by Django and Flask, such as HTML, CSS, or Javascript, and functions only using python. Methods like st.write(), st.plotly_chart(), and st.dataframe(), help in making user-friendly and interactive data visualizations effortless. Devs can make entire web apps in the amount of time it take...

Determinism vs Free Will

You reading this right now. Are you on your device because someone told you to? Because it is secretly written behind a red curtain? Or is it due to your own choice, that you wanted to? I will be trying to dissect this dilemma today, allowing you to choose which one you want to believe. Determinism is the point of view that yes, everything is decided by some other factor and not you. Whatever you do. Want to eat pizza today? Well, the way you have been brought up, your taste palette, the weather, that birthday party with the burger incident, all of these add up to ultimately making the choice for you: Pizza for dinner sounds amazing. You couldn’t possibly make any other choice, because your neurons are going to fire a certain way. Not because you wanted to, but because your past and your present circumstances forced you to, under the guise of “You know what? I don’t live with my parents anymore, if I want to eat pizza today, that’s what I am going to do.”. On the other hand, free will...

Hating on What's Popular

Image
Hating on music that is very popular in the world is really really common. Scorning artists like Drake, Taylor Swift, Sabrina Carpenter, Morgan Wallen, Adele, Billie Eilish, Maroon 5, One Direction, The Weeknd, is so quotidian now that it in itself has become mainstream.   Yet so many people listen to them. Drake is raking in 41 million+ streams daily, Taylor Swift is accumulating 64 million streams every day and is on track to overtake Drake as the most streamed artist of all time. So clearly people are listening to these terrible, art-destroying, world-ending, glass-shattering artists.   Numbers don’t lie. People do. The numbers show that the 200 decibel loud hate these mainstream artists get is just noise. People bash them from the outside, but secretly? They’re pressing play. The music’s good. That’s why so many people love it. So why do humans do this? Humans have a habit for rooting for the underdog. Always. No one ever roots for the king, they always root for the poor m...