n this article, I will show you How to create a REST based service, How to host a REST,based service in Console application and How to consume a REST Service at client.
For some time now, I had been noticing some interest for monads, mostly in the form of unintelligible (to me) blog posts and comments saying “oh, yeah, that’s a monad” about random stuff as if it were absolutely obvious and if I didn’t know what they Read More......(read more)
For some time now, I had been noticing some interest for monads, mostly in the form of unintelligible (to me) blog posts and comments saying oh, yeah, thats a monad about random stuff as if it were absolutely obvious and if I didnt know what they were talking about, I was probably an uneducated idiot, ignorant about the simplest and most…
For some time now, I had been noticing some interest for monads, mostly in the form of unintelligible (to me) blog posts and comments saying “oh, yeah, that’s a monad” about random stuff as if it were absolutely obvious and if I didn’t know what they were talking about, I was probably an uneducated idiot, ignorant about the simplest and…
In my earlier articles on animation, I discussed various slide, grow and flip transitions for items and containers. In this article I want to discuss a fade animation and specifically the use of fades and auto-dismissal for informational dialogs. If you use a Mac, you may be familiar with Growl as a notification…
I am programming a 2D sidescroller in python and pygame and am having trouble making a bullet go farther than just farther than the player. The bullet travels straight to the ground after i fire it. How, in python code using pygame do I make the bullet go farther. If you need code, here is the method that handles the bullet firing:…
Although the team's intentions might have been good, the new help system in Visual Studio 2010 is a huge step backwards (more like a cannonball-shot-kind-of-leap really) from the one we all know (and love?) in Visual Studio 2008 and 2005 (and heck, even VS6).
Its biggest problem, from my point of view, is the total and complete…
This is the video of presentation I gave at UA Europe and TCUK this year. The actual sub-title was "Content strategy at Red Gate Software", but this heading feels more honest. For anybody who missed it, or is just vaguely interested, here's a link to me talking about de-suckifying the web. You can find the slideshare deck here, too*…
To randomly shuffle an array, with no bias towards any particular permutation, there is the Knuth Fischer-Yeats algorithm. In Python:
#!/usr/bin/env python
import sys
from random import randrange
def KFYShuffle(items):
i = len(items) - 1
while i > 0:
j = randrange(i+1) # 0 <= j <= i
items[j],…
From the movies-become-reality department comes this little gem:
New control system will allow satellites to 'think for themselves'
"...engineers from the University of Southampton have developed what they say is the world’s first control system for programing satellites to think for themselves. It’s a cognitive software agent…
I have an internal (intranet) site that is comprised of several blogs and forums, hundreds of static pages, lots of PDF files and several other document types. Its been glued together loosely over the last couple of years and now its my job to maintain it.
I'm looking for a search engine that I can host myself that ideally:
…
Do you remember. Some years ago, there was a huge virus attacking Windows XP in its first version. Once you had installed Windows XP, and on your first internet access, the virus installed itself on your computer, closing your internet connection and making the computer reboot after some seconds.
I wonder... How can a virus…
I am trying to make a small demo in Javascript,
I have a black border and a car the car travels randomly and a line is drawn of its trail. When the user click inside the area it creates an object (we'll call this the wall). If the car hits the wall then it goes back 3 paces and tries a different route. When its hit the wall…
Better computing and communication for emergency personnel at disaster sites
Computing - Business - Computer Science - Distributed Computing - Cloud computing
Hello!.As you may notice :), this is my first post on geekswithblogs.com . I have been using the .Net Framework mainly to develop ASP.NET WebApps for some years now and I am moving from using the .Net Framework 2.0 to using the latest features on the 4.x Frameworks, I am planning to document whenever is possible some…
I now have changed from GLKBaseEffect to a own shader implementation. I have a shader management, which compiles and applies a shader to the right time and does some shader setup like lights. Please have a look at my vertex shader code. Now, light direction should be provided in eye space, but I think there is something I…
For the architectural side of rendering, there's two main ways: having each object render itself, and having a single renderer which renders everything.
I'm currently aiming for the second idea, for the following reasons:
The list can be sorted to only use shaders once. Else each object would have to bind the shader,…
In a typical perfect-information strategy game like Chess, an agent can calculate its best move by searching the state tree for the best possible move, while assuming that the opponent will also make the best possible move (i.e. Mini-max).
I would like to use this approach in a "game" modeling economic activity, where…
Hello
I'm a senior student at my university and chairperson of IEEE Student Branch there.
Recently I was thinking of some idea to acquaint students with the professional environment, how software is produced in the industry and get a practical experience..
Obviously trips to software houses are not enough and we…
We run a small search engine and have recently been notified of a number of hate related links in our results that would upset a significant proportion of our users. Our first instinct is to summarily remove these results, but I'm concerned that this makes us little better than the oppressive regimes that censor…
Site owners looking to improve recognition and performance may wish to take some time to evaluate its present level of operation. Site owners recently completing improvements may look to see how these changes have affected site performance. The question remains: Where Do I Start?
A picture is worth a thousand words, and as developers, you know that a working code snippet can be worth even more. The developers at scisurfer.com have agreed...
More and more people are attracted by the idea of starting an online business because this can be done even on a tight budget and can be started by almost anybody. OK, you upload a website or build a blog but there are several facts you should take into consideration.
I am unable to properly insert a QTreeWidgetItem at a specific index, in this case I am removing all QTreeWidgetItems from the tree, doing a custom sort on their Date Objects and then inserting them back into the QTreeWidget.
However, upon inserting (even one at a time) the QTreeWidgetItem is not inserted into…