Last week I took part in an internal Hackathon with our team. We made a chatbot assistant, that helps solve your everyday tasks. I want to share some of our experiences with RASA — an NLU framework we used to create our chatbot.
Nowadays a new category of interfaces arise. You can see how voice assistant are rising in popularity among all generations (13% of all households in the United States owned a smart speaker in 2017, per OC&C Strategy Consultants, that number is predicted to rise to 55% by 2022). …
Every project eventually grows to the point, when you no longer are able to hold all the details in your head, you need to share this information with other participants, and have ways to make new employees to on-board smoothly.
So, at that point, you start thinking about making some kind of documentation, which will help your team to collaborate and be more productive overall.
← That’s how your documentation should NOT look like
In the age of information technologies, I hope that you would prefer electronic documentation and hold paper documents in convenient places (it doesn’t work for every industry, I know). …
Good evening, everyone! I think a lot of us like games both to play and to code. Did you know that messengers, so as Facebook Messenger and Telegram, are providing APIs for games?
Probably you won’t code something AAA level for messengers, but casual games fit here quite nicely. Today I want to share with you some of my code snippets for Telegram Games 🎲. To make it simple I will use python with a Telegram api library aiogram.
What’s so good about making a game in Telegram?
Firstly, it’s an app, that’s highly likely installed on your user’s phone already. …
Recently I had time to try new stuff, so I decided to use Neo4J database.
Neo4J is a graph database, that means that you can store objects as graph nodes with associated data and have connections between those objects as graph edges.
Basic installation of Neo4J is pretty easy. Use this link to download and install Neo4J — Download.
Neo4J has lots of drivers to connect, written for different languages. We will use Python driver and I will show few simple functions.
First install neo4j package
pip install neo4j-driver and import it in your python script -
from neo4j.v1 …
Good evening everyone!
Today I’ve faced a problem with my Python web app, which required from me to trace the memory usage to find the possible memory leak. I’ve learned some methods and libraries for monitoring memory traffic and I want to share those.
One of the basic libraries for getting memory usage information is a resource. This is default Python distribution library, so you can just import it.
Let’s see how it can be used:
mem_a = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss/1000
print("Memory overused %.2fKB" % (mem_a - mem_b))
Good evening, everyone!
I’ve recently faced an objective that required to configure CI/CD for project’s test environment.
I’ve started trying to find vendor serviced solution with free plans.
There are two options that I’ve found:
Shippable seemed better for use, at first sight, but after spending a lot of time trying just to run a script on my VM, I gave up.
Bitbucket Pipelines in the opposite turned out to be very easy to set up. I have spent less than 30 minutes to make it run my projects restart scripts.
So I will tell you how I have done it, hoping that it will help you in future. …
Recently I’ve faced several problems working with MongoDB.Driver for .NET from F# project and here I’ll try to describe how you could make it all work fine.
First of all download and install mongodb from https://www.mongodb.com/ with standard configuration you like.
There’s a verbose guide and documentation that you could find about mongodb and how it works on the official web site (https://docs.mongodb.com/getting-started/shell/).
After you’ve completed the installation — create an F# script and load mongodb .NET packages using nuget. You’ll need MongoDB.Driver, MongoDB.Driver.Core and MongoDB.Bson.
Start the script with the following:
So now let’s try to insert some data to the database, let’s create a new type…
Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in virtually any Azure or 3rd party service as well as on-premises systems. Azure Functions allows developers to take action by connecting to data sources or messaging solutions, thus making it easy to process and react to events. Azure Functions scale based on demand and you pay only for the resources you consume.
Slack is a messaging app for teams
OpenWeather is a platform that collects, processes, and distributes information about our planet through easy to use tools and APIs. …
Recently I’ve taken part in the coding event that was organized by EPAM in Saint-Petersburg, that’s call CodeRetreat. The basic idea of that is that often developers have no time to improve their coding skills, because they are only developing business needed tasks, so they are constantly under pressure and couldn’t be relaxed. But when developers come to CodeRetreat they are given tasks that they could solve without any pressure like time limits or quality checking, no one requires you’ll solve this task in time. Another kind of challenge is that you’ll try to code the task in different languages, you have only 45 minutes for 1 coding session. …
Hey, everyone! today I want to talk with you about how you can increase your application performance, where you should and where you shouldn’t optimize your code and some examples of using dotTrace to find hot spots in your code.
Firstly we need to optimize our code; we need to understand how it works and how it could be analyzed better.
The code that is written in C# is compiled to Common Intermediate Language (CIL or IL) that is than performed in CLR — a .NET virtual machine. IL is a high-level assembler for .NET …