One thing you will learn writing on Medium is that you are not done when you have finished your writing. As they always say “sharing is caring” and before anybody else you need to reach out and share your articles.
Sharing your article helps you get more visits not only by getting more people’s attention but Medium will help you too. When a lot of people come to read your article right after you published it, you had a better chance of curation. Medium finds your article interesting for more peoples and curate it. …
No one like a software development team knows that the devils are in the details. But it is not enough. they also need to learn to restrain those devils. And if you could tame your devils, you may create minions out of those devils. So they could work for you, instead of harming you.
Minding the details is an important skill for every team. As a lead developer for years, I always struggled to mind these details. Also, recently I wrote documentation about our development process for my team so the whole team and new members can follow. To create a clear development process, I realized we need to pay attention to four parts of our development life cycle. These are major parts of any software development process that can make trouble for any team. …
In this post, I will explain how to create a Telegram bot in Python. Todoist is a great tool to manage to-do lists. Although this post can be just a general tutorial about creating a Telegram bot, I will go through connecting to Todoist API and bringing its power into Telegram, so you can learn more about working with real-world API and interacting with users in Telegram bots.
This post assumes you know basic Python. What you will learn includes:
When I look at the Giza pyramids, I see three smaller pyramids that are almost collapsed. I don’t know if they are first tries or other kinds of pyramids but I always wonder how many tries before humans find out how to create the greatest pyramid. When do they find the method of creating the best pyramid?
Many builders build many buildings with the bricks, but not everyone builds the pyramids.
All of us have many great plans. Building that website, recoding that podcast, starting that side project, etc. Somewhere in the middle of doing these great plans, we got lost. …
For research purposes, and to analyze the content of a Telegram channel, you may need the channel’s data in a clean JSON format.
I created a Python script to get data from Telegram channels. It has two main files: One for getting a member’s data from a channel, and second, to get the channel’s messages.
This script saves this data into JSON files; you can use them for analysis or to import into your databases.
You need Python 3 installed. Also, I used
telethon, a Python package to work with Telegram.
telethon you need to use a
Last year experience at startup school showed Y Combinator that last year curriculum was too advanced. Most of the people participating in last year startup school have no idea or have a lot of ideas and they don’t know which one to pursue.
One of the reasons many people can only work part-time on their startups is that they don’t know what do they need to be convinced to quit their jobs. Also, this is a critical skill for startups to know when to pivot. Evaluating your startup ideas tells you when to pivot, and what to pivot for that worth doing. …
Disclaimer: I’m not part of Y Combinator or Y Combinator startup school and I’m not affiliated with Y Combinator or it’s partners in anyways. This post is a regular user’s experience. I’m just trying to show you how it’s look like and what you should expect.
I am a software developer and I’ve been in the startup field for a while. Many of us have ideas about startups. Sometimes we didn’t even write them down. Sometimes it turns into a million-dollar company.
When I registered for Y Combinator startup school I don’t have a particular idea in my mind. We were working on an idea to gather data on social media around specific subjects and then analyze it, classify it and bring a better feed for users including every social media sharings he/she desires to see. …
Laravel made it so easy to implement a multi-language website. You can implement it with Laravel localization and just some tricks. Also, there is plenty of Laravel translation packages which you can use in your project. In this post, I will explain how to implement multi-language functionality.
Creating a multi-language website requires two steps. Firstly, you need to detect user local language setting and change it bu user choice. Secondly, you need to translate messages and strings into user local language, in which we use Laravel localization.
In order to detect user language setting, we need to create a language middleware. this middleware checks for locale setting in the user session. If there was no locale setting, the middleware sets a default locale setting. …
In many web projects, we have different user roles interacting with the system. Each role has its own permission. Every feature of the system can be enabled or disabled for these roles. We can define users permissions in our codes and check if they are authorized to do the requested action or not. A better way, mostly in more flexible systems, is to create a role and authorization management system. I’ll explain how to implement a Laravel authorization system and define users permission based on their roles.
In this post, firstly we manage users in groups we called roles. Every role has different permissions. In order to avoid permissions conflict, we assume each user has only one role. Secondly, Laravel authorization implemented by middleware. This middleware checks for the user’s role permission and authorizes user requests. …