Quantcast
Channel: 911 programming
Browsing index pages (19 articles)

Polybot Project: a Simple Pretty Logger

In a series of blog posts “Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design” (1-8) (see references) we discussed how we could design a multi-bot/multi-language webhook handler...

View Article


Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (8)

Multiple-Language Functionality In this post, we will add the multiple languages functionality to the polybot project so that our bots could speak a few languages based on the corresponding user’s...

View Article


Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (7)

Setting up Multi-Bot Design – polybot project From this blog post after, we focus on a multi-bot design: polybot project. The first step is to define our bots. Maybe the easiest way is to use a...

View Article

Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (6)

6 – Providing Decorator for Bot Commands Using a Dedicated Message Text Processing Class A good practice to design a bot command processing system is that we define a central engine which looks for the...

View Article

Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (5)

5 – Adding Commands in Single-Bot Design Let your mind fly! Let it surf over the clouds! There is no limitation on imagination on what a bot in the Telegram system can do for us. You want to know what...

View Article


Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (4)

4 – Setting up the Webhook for a Single-Bot English Speaking Bot To be able to understand and follow this post properly, you should have enough skills in python programming, and you must have some...

View Article

Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (3)

Part 3 – Some bot programming practice To start handling your bot with programming codes … as sci-tech robot movies say, uploading software in the robot! … you would need an internet connection with...

View Article

Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (2)

Part 2 – Sample operational bots There are some bots available for full functional serious applications. There are also some of them available for user test. Merex is one of them. You could access...

View Article


Python : Telegram Bot Webhook Handler : A Multi-Bot/Multi-Language Design (1)

Part 1 – The non-programming part If you are new to the concept of the Telegram bots and how you could write programs to manipulate them, you could review these references before you read this article:...

View Article


Image may be NSFW.
Clik here to view.

Spirograph for March 26, 2013

Spirograph for March 26, 2013.

View Article

Image may be NSFW.
Clik here to view.

Spirograph for March 25, 2013

Spirograph for March 25, 2013.

View Article

Image may be NSFW.
Clik here to view.

Java: Angular Helper

For engineering graphics, double type interpreted as radians is a perfect class for representing the unit for angles. all non-NaN and non-infinity values are valid and meaningful Besides user code...

View Article

Image may be NSFW.
Clik here to view.

True Modulo Operation According To Congruence Relation

In programming, I frequently need a modulo operation (a mod b) whose result (r) should fit in the range [0, b[. In fact. it is the case when both a > 0 and b > 0. I frequently encounter the...

View Article


Image may be NSFW.
Clik here to view.

Java: A Simplified Demo for Spelling Numbers

This article provides a simplified demo for previous article: Java: Spelling out a Number and Vice Versa with a Proposed Validating Method (Link:...

View Article

Image may be NSFW.
Clik here to view.

Java: Spelling out a Number and Vice Versa with a Proposed Validating Method

This program attempts to provide a method to convert a number to text (spelling the number) and vice-versa. It also provides a method to validate texts containing a spelled number. Continue reading →

View Article


Image may be NSFW.
Clik here to view.

C++: A Simple Command-Line Parser Add-in for Console-Based Applications

A well-structured non-trivial console-based application uses many options and variables which could be set by user in command-line. A unified way of handling the command-line options is an...

View Article

Image may be NSFW.
Clik here to view.

Mixed C++/Assembly: Numeric Practice using x87 Math Coprocessor

This simple prgram demostrates the use of x87 numeric (math) coprocessor in numeric analysis. Here, the taylor expansion for sin is examined. Continue reading →

View Article


Image may be NSFW.
Clik here to view.

Java: Integration Using Composite Trapezoidal Rule

This article demonstrates how we could evaluate the integration of a function using interface definition in Java. We have used a simple composite trapezoidal rule to evaluate the integration....

View Article

Image may be NSFW.
Clik here to view.

Java: Printing the Calendar Month / Year

This demo program prints the calendar month / year The month and year are given by user as two integer values. For example, for July 2010, they would enter 7    2007 The output will be July 2010 Su Mo...

View Article
Browsing index pages (19 articles)


Latest Images