When you are learning a new language, what is your favorite first (or close to first) exercise that you do to get the hang of it? And why?
EDIT:
Preferably looking for things that are more complicated that 'Hello World'.
...
I think all of the tutorials and stuff are great on blogs, but sometimes when you actually build an application the way you would code or interact with a system is quite different.
I was wondering if you all knew some good real world type ASP.NET MVC applications that have the source code available for experimentation.
Off hand I am aw...
So I believe I understand continuations now, at least on some level, thanks to the community scheme wiki and Learn Scheme in Fixnum Days.
But I'd like more practice -- that is, more example code I can work through in my head (preferably contrived, so there's not extraneous stuff to distract from the concept).
Specifically, I'd like to ...
Hi!
I'm looking for some code projects/examples that would be considered really good C# code and some that would be considered really bad/spaghetti deluxe code.
All links and ideas on where to find these kinds of examples are welcome.
/P
Edit: Code snippets are always nice. But What I'm really looking for is source codes for complete...
I just start learning GWT and wondering how do i make different HTML pages in my GWT application.
For example i want to create application for a book store. In this application I'll have three pages: 1) Home pages where i will welcome user and offer him books 2) Page to browse books by categories and view details (use GWT widgets) 3) Che...
Are there any tips you have for preparing useful example code ?
...
I've been looking at the D programming language recently and I'm curious if there are any demos, sample applications, or proof-of-concept code written in it. I want some code that demonstrates situations where D is particularly elegant or advantageous.
There's dsource.org of course, but the projects hosted there are full-on applications...
Hi,
I'd like to dynamically add a matrix of images to each row of a GridView. Suppose I wanted a 5 x 5 matrix of the same image per row, and the path is:
public static string PASS = "./Images/pass.png";
Also suppose that it's a Gridview within a Gridview (I'm not sure if the inner Gridview is the right control to use):
<asp:GridVie...
I wonder if anyone has some example code of a Neural network in python. If someone know of some sort of tutorial with a complete walkthrough that would be awesome, but just example source would be great as well!
Thanks
...
Hi there
I've heard many times that Linus Torvalds is a genius when it comes to writing good code. I also wish to write good code and I'd like to see how the first version of Linux was written.
Does anyone know where I can find the first version of Linux? I'm looking for the first version (not 1.0) because I think it will be smaller a...
I'm looking for an example of how to use libssh2 to setup ssh port forwarding. I've looked at the API, but there is very little in the way of documentation in the area of port forwarding.
For instance, using PuTTY plink, There is the remote port to listen on, but also the local port that traffic should be sent to. Is it the developers...
I am currently working with the Microsoft MVVM template and find the lack of detailed examples frustrating. The included ContactBook example shows very little Command handling and the only other example I've found is from an MSDN Magazine article where the concepts are similar but uses a slightly different approach and still lack in any...
Hi,
As my experience with .Net really began as working on existing in-house applications for a company, I feel I've picked up so many bad coding practices without realising it. One that i am desperately trying to move on from is that DataSets are used for everything. (I do get that strongly typed datasets have there place and they certai...
I was studying the difference between lists and tuples (in Python). An obvious one is that tuples are immutable (the values cannot be changed after initial assignment), while lists are mutable.
A sentence in the article got me:
Only immutable elements can be used as
dictionary keys, and hence only tuples
and not lists can be us...
I'm trying to add scrollbars to an IKImageView. Basically at the moment, I need some examples of a program that loads an image into a view, and if the window is too small, sets up scrollbars that do the right things...
Why can I not find these examples on the apple dev site?
Added info:
After looking at ImagekitDemo I see that eviden...
I'm trying to use Zend_ProgressBar in my project (made using MVC in Zend Framework).
Unfortunately, I cannot find any full example on how to use it. Zend Programmer's Reference Guide has only some code snippets, which are not enough for me. Basically, I don't know how incorporate Zend_ProgressBar with some action in a controller and a...
I know the iPhone has a site with sample apps and code for the iPhone. Are there any resources out there for the iPad?
I would like iPad specific examples like using split view, etc.
...
Hi
i am wondering, whether the code to create the buttons shown at the eclipse "Welcome" page can be found somewhere.
When you create a new workspace in eclipse, a "Welcome" page is shown at the very beginning. The page shows different type of buttons like, "What is new", "Tutorials", ...
I want to use these type of buttons, but was n...
From what-is-a-net-application-domain:
You can run several application domains in a single process with the same level of isolation that would exist in separate processes, but without incurring the additional overhead of making cross-process calls or switching between processes.
I would like to understand more about how/why one wo...
Could anyone supply me with very basic code examples for adding/reading items to/from an iPhone keychain? I want no other application than the one that added the item is allowed to access it. Apple's GenericKeychain example is kind of advanced so don't bring that up, please.
...