Chat bots have always seemed so complex. They process natural language from text so it must be hard right? After all, how can you make sense of loose words into computer instructions and then back? It must be hard.
Well, it is hard. Kinda. A lot has already been solved around natural language processing so the amount you have to do to get started has reduced by significant amount. Tools are already there, you just have to use them.
I used those tools and still found it to be difficult. I wanted to make the process of building chat bots as easy as getting started with web development. So, I built Talkify.
Takify is an Open Source framework for building chat bots. It is written in node.js and here’s how you can build your very own chat bot in a couple of minutes.
We’ll be building a chat bot that I like to call “sidekick”. This is a simple bot that tells you knock knock and chuck norris jokes. Continue reading
Recently, I’ve been working on a project that does a lot of heavy weight image processing. In a nutshell, a user uploads an image and then the website does a whole load of processing on that image and returns with the results. Depending on the size of the image it could take a while for it to load the results. The websites does other stuff as well so the scenario where a few users are concurrently uploading images, waiting for response while a whole load of other set of users are navigating to other parts of the website is very real. The performance was respectable, however, I wanted more. Continue reading
I have been working on this for a while and now I have finally released it. This is 0.1 beta so it may contain bugs. However, I am working on it constantly and am trying to improve the API.
Job Execution API is all about job execution in Java. You have jobs which comprise of tasks. Each task is a class implementing the ITask interface. For now, the task is not Async so tasks are executed sequentially, in linear pattern. I intend to provide basic tasks which you can use to create standard jobs. You can later extend these tasks and make your own.
Download the API here and let me know how it goes:
I have been busy lately. For most of the time, I have been working on gesture API for android. Android already has a built in gesture API but to actually use it, you have to apply mathematics which makes it a bit comlicated for a normal Android developer. AGAPI (Accelerometer Gesture API) adds a layer of abstraction over the existing gesture API to make it easier to recognize gestures. Using AGAPI is very simple. Implement the ShakeListener or any gesture listener class. Register your listener to ShakeManager or corresponding gesture manager instance. Write your code in OnShake or in corresponding event methods and BAM! Your gesture rich application is ready! At this stage of development, the Shake gesture is ready to use. You can get the API here.
Note: This API is licensed under Apache License 2.0.
Well, it is really very simple. Here you go:
- Download the file. You can get it from here.
- Double click it. It should open as any other normal application.
- If it doesn’t open as expected or opens WinRAR/WinZIP/7-Zip or any other archiving software, follow here:
- Right click the file and point to Open With.
- Click on Select Default Program.
- Java should be here in the list of programs. If it isn’t then click browse and locate your java installation. It should be in C:Program FilesJavajre7binjava.exe
- If you dont have any folder called Java in Program files, then go to www.java.com and download and install it first.
- Once Java is installed, follow step 2.
- Click OK. Follow step 2.
- Click on ‘Add File’ button to add files to it. A dialog box will be presented.
- Locate your source code files. You can select more than one file by selecting one file and then holding the ‘Ctrl’ key and selecting other files. Alternatively, if you wish to select all files, you can press ‘Ctrl + A’ to select all files in the directory you are in.
- Make sure that you do not select any executable files. This may cause an error.
- Click OK/Open.
- You should see list of files in the list above ‘Add File’ button. If you wish to add more files, follow step 3.
- Once you are done, click Start. It will start counting lines in the files you have selected.
- You’re done! The table will display number of code lines in each file and below the table you’ll find total line count and line density.
I hope you like it. Feel free to shout out any suggestions/feedback you have regarding this small application. Have fun!