Polling vs Long-polling vs Push (books and scientific papers) - push

I'm writing master's thesis and I've already wrote much about Ajax vs Comet vs WebSocket comparison based on the information I've found on the internet.
But I need some scientific research to put into reference list.

I'm writing a paper on WebSocket at the moment (would love to see your work), and I've found +30 pages on the subject in "Pro HTML5 Programming" by Peter Lubbers, Brian Albers and Frank Salim.
EDIT: Actually, there's a better, or at least much more comprehensive, book about WebSocket called "The Definitive Guide to HTML5 WebSocket" by Vanessa Wang, Frank Salim and Peter Moskovits, published by the same guys who published Pro HTML5 Programming.

Related

Defacto tutorial for C/Unix sockets?

Is there a defacto tutorial or book on using sockets (not domain sockets)? More specifically I want to learn more about client <=> server programming.
H2CO3 mentions Beej's Guide which is a good free introduction. That's as close to a defacto tutorial as you are likely to find agreement on.
If you want more than an intro tutorial then there are the Richard Stevens books, particular Network Programming Vol 1 and Unix Network Programming. Some people think they are getting a little outdated but even with the lack of updates they are so much more comprehensive that most anything else out there I don't see it as a real drawback.

From where do I learn Interface Prototyping?

I am interested in prototyping and developing gadgets and devices using arduino board and other stuffs, however I only get tutorials on arduino but not in interface prototyping. I found a book but it is in other language not in English
(link is :http://prototypinginterfaces.com/)
I also don't know the exact term to look for in Google, for tutorials. That might be the reason why I'm not getting the suitable results. Basically what I want to learn is the same as the book says.
I have no idea from where do I start, and what to look for at first. If anybody can help me, please.
from the software perspective, I'd recommend getting into Processing. It's the programming language Arduino is derived from, and with both of them, in tandem, you can code and build interactive prototypes. O'Reilly has some excelent books and video lessons to tackle those:
Learning Processing (book and website)
Getting started with Processing
Arduino and Processing in tandem, video series
With these two references, most of what the link you provided says, is covered.
From the hardware perspective, you might also enjoy the following:
Making things Move
Making thins Talk
Arduino Cookbook
Sorry for the extreme focus on one editorial house, however, they rock!. Best luck.

CHATBOT: Programming a chatbot with Perl

I'm studing Perl language. I think programming a chatbot would be a funny way of studing that language and learn it.
The description of the chatbot I am interested in can be found here.
Does anyone know any manual or website especially focused on programming chatbot in Perl language?
Thank you!
See http://poe.perl.org/?POE_Cookbook - simple bot is described here: http://poe.perl.org/?POE_Cookbook/IRC_Bots
Documentation for Bot::BasicBot, which is a wrapper around POE::Component::IRC. http://www.drdobbs.com/web-development/184416221
Source of famous bot GumbyBrain, which of course uses POE::Component::IRC and Megahal library. Megahal library uses Markov chains to reply to messages.
Don't use Net::IRC - it is not supported anymore.
You can use Chatbot::Eliza and RiveScript for inspiration.
Openclassifier on github is an opensource and has AI implementations, but its in Java though.
Still you can refer it to understand the implementations for chatbot. The reason I am referring this is, that it is a very simplified implementation, without any complex algorithms or datastructures.
You simply copypaste your data and the chatbot is operational with that knowledge. You can refer to my blog over this on below link:
http://miracleclassifier.blogspot.com/2018/02/artificial-intelligent-chatbot-you-can.html
Hope this helps.

Good Scala introductory article/video to whet the appetite

What are some good online articles or videos you've seen that would be most likely to get a developer interested in Scala? I'm looking for an introduction that is brief & to the point that dives right into example code, and would leave a developer who does not know Scala wanting to learn more about it.
Try in this order:
Pragmatic Real-World Scala - This video shows off all kinds of things that would make a Java developer drool.
Programming In Scala - This is simply a great general-purpose programming book. In addition to being a gentle, clear introduction to the language, it's also a fantastic introduction to functional programming concepts and language design. Even if you hate Scala,
this book will make you a better programmer.
Scala For Java Refugees - Very well-written mostly gentle introduction to major Scala concepts.
Another tour of Scala - A Java-centric breakdown of fundamental Scala features.
i went to this talk, it was excellent. can't tell if it is still there due to our internet restrictions, if it's not i'll delete this post.
http://powerhost.powerstream.net/008/00102/100203Scala.wmv
I'd go straight to the horse's mouth, the Scala website itself: Code Examples.
http://www.escalatesoft.com/screencasts
Escalate software is in the process of creating a series of screencasts for Scala information sharing and training purposes. The first available screencasts are provided here for free and cover the new features of Scala 2.8. In the longer term we will create training materials in the form of these videos along with supporting material that will be for sale from this and other sources as well.
http://blog.jaoo.dk/2009/03/09/an-introduction-to-the-scala-programming-language-by-bill-venners/
Take a look at the following presentation by Jonas Bonér (a well known figure in the Scala community, responsible for the AKKA actors concurrency framework). I'm sure this will whet the appetite for Scala.
http://www.infoq.com/presentations/Scala-Jonas-Boner
german introduction, maybe useful for you: http://www.rheinjug.de/videos/gse.lectures.app/Player.html#Scala
I would recommend Chapter 1. Zero to Sixty: Introducing Scala of the Programming Scala book by Dean Wampler and Alex Payne. The rest of the book is also great. The book is freely available online.
EDIT
I recently bought and read the Atomic Scala book by Bruce Eckel and Dianne Marsh. This is the best book I have read so far for anyone wanting to learn Scala.

Text book / online resource for learning to program at system/kernel level

Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc..
I have Tannenbaum's Design and Implementation. It addresses theoretical aspects well .But a book that teaches programming in such topics would be helpful. I want to be capable of implementing thread library, scheduler et al ..
thanks
I would like to suggest both the books by Robert Love. I've read a bit of the first one and its excellent. The latter was recommended by a friend.
Linux Kernel Development
Linux System Programming: Talking Directly to the Kernel and C Library
There is one good website by the Technical editor of Book Linux Kernel Development,
Robert P J Day (he is different from Robert Love)
and the website is
http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming
Once you are done with above link I would suggest to go through
http://www.freesoftwaremagazine.com/articles/drivers_linux
and then there is a Kernel Newbies mailing list.You should subscribe to it.
Try the nice "Understanding the Linux Kernel" by O'Reilly. While Linux-specific sometimes, the basic concepts are the same everywhere.