Trending
-
Building and Deploying Web Components with Svelte
In December, I embarked on a side project inspired by KakaoTalk ads, resulting in the creation of Adsense-Popover. This project features a Google AdSense advertisement that slides into view at the bottom right corner (or a position of your choice) of a webpage. Today, I'll discuss the technology behind this project, web components, and the process of creating and deploying them using Svelte...
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #5
Python is a versatile and popular programming language that has been in use for decades. However, many libraries developed over the years lack type annotations. In this final article of our series, we will explore techniques for handling typeless libraries in Python and mitigating the associated risks, while considering the potential drawbacks such as time consumption and cost. Throughout the se..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #4
In our previous post (Part 3), we discussed the basics of typing and introduced eight different types. In this post, we will explore more advanced typing concepts and how to use them effectively. 1. Specify only return type with typing.Callable[..., ReturnType] In our previous post, we briefly discussed the typing.Callable type and how to use it for functions that take arguments. However, it can..
Read more
-
How Support and Resistance Lines Can Teach Us about Growth
Stock investment is a complex field that requires a deep understanding of various factors. One of the fundamental aspects of technical analysis is identifying support and resistance lines. In technical analysis, support lines refer to virtual price levels that support a chart, while resistance lines refer to virtual price levels that hinder the chart's rise. Support and resistance lines play an ..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #3
In Part 2, we introduced several basic types and showed how to use the typing module to specify function arguments and return types. In this part, we'll explore some more advanced types and how to use them in your code. 5. Using typing.Generator, typing.Iterable, typing.Iterator for generators and iterators When defining a function that acts as a generator, specify the return type as Generat..
Read more
Recent
-
Building and Deploying Web Components with Svelte
In December, I embarked on a side project inspired by KakaoTalk ads, resulting in the creation of Adsense-Popover. This project features a Google AdSense advertisement that slides into view at the bottom right corner (or a position of your choice) of a webpage. Today, I'll discuss the technology behind this project, web components, and the process of creating and deploying them using Svelte...
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #5
Python is a versatile and popular programming language that has been in use for decades. However, many libraries developed over the years lack type annotations. In this final article of our series, we will explore techniques for handling typeless libraries in Python and mitigating the associated risks, while considering the potential drawbacks such as time consumption and cost. Throughout the se..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #4
In our previous post (Part 3), we discussed the basics of typing and introduced eight different types. In this post, we will explore more advanced typing concepts and how to use them effectively. 1. Specify only return type with typing.Callable[..., ReturnType] In our previous post, we briefly discussed the typing.Callable type and how to use it for functions that take arguments. However, it can..
Read more
-
How Support and Resistance Lines Can Teach Us about Growth
Stock investment is a complex field that requires a deep understanding of various factors. One of the fundamental aspects of technical analysis is identifying support and resistance lines. In technical analysis, support lines refer to virtual price levels that support a chart, while resistance lines refer to virtual price levels that hinder the chart's rise. Support and resistance lines play an ..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #3
In Part 2, we introduced several basic types and showed how to use the typing module to specify function arguments and return types. In this part, we'll explore some more advanced types and how to use them in your code. 5. Using typing.Generator, typing.Iterable, typing.Iterator for generators and iterators When defining a function that acts as a generator, specify the return type as Generat..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #2
You can see #1 here! Dive into the world of Python typing with this in-depth guide. Learn how to use the typing module effectively and enhance your code's readability and maintainability. Get ready to become an expert in Python typing! 1. Using typing.Union for mutlple types typing.Union comes in handy when a single function argument can have multiple types. Using Union ensures that your cod..
Read more
-
Making the Most of Your Weekends and Holidays
I want to share a recent experience that changed how I approach my weekends and holidays. It all started when I decided to spend the whole day working on a single project. By dedicating the entire day to this single task, I felt incredibly rewarded. By the end of the day, I was filled with a sense of accomplishment and pride. This experience made me rethink my usual approach to time off. We all ..
Read more
-
Writing Python Code Like a Pro: A Deep Dive into Type Checking #1
Python is a dynamically-typed language, which means that variable types don't need to be explicitly declared, and types can change at any point in the program. While this makes Python code more flexible and easier to write, it can also make it more prone to errors. To address this issue, Python introduced built-in support for type checking with version 3.5, allowing developers to specify the exp..
Read more
-
Embracing the Shift: Adapting and Thriving in a World Redefined by Artificial Intelligence"
Recently, artificial intelligence, including ChatGPT, has emerged as a prominent subject in public conversations.After personally experiencing ChatGPT, I've been amazed by its remarkable capabilities and potential. I was aware that a world significantly influenced by AI was on the horizon, but I didn't expect it to arrive so swiftly and surprisingly. It's vital to acknowledge that we are in the ..
Read more
-
Investing in New Paradigms and World-Changing Companies
Have you ever had a sudden thought that made you wonder about the future? I recently found myself pondering the question, "What if I had invested in Tesla when it went public?" It's a fascinating what-if scenario, but it also made me think about investing in the future. Tesla's stock price has increased by a staggering 240-fold since it went public in 2010, and it's hard to find such high return..
Read more
-
The Art of Simplifying Complexity for User Satisfaction
When it comes to designing user interfaces (UI) and creating user experiences (UX), the user's perspective should always be at the forefront of our minds. After all, without users, there is no product to design or experience to create. Key Principles of UI/UX Design One of the key principles of UI/UX design is to constantly think about the fundamental problems and needs of our users. We should a..
Read more