examples

Examples of usage of JSF

Are their any good websites (characterized by high usage), that use JSF for their back-end? I have just started working with the basics of the framework. If I see some websites using JSF, may be I will be able to better appreciate the use of the technology. Also could you mention the benefits of using JSF validation viz a viz the browse...

What are canonical examples of parallel computation?

I am writing a paper to test a new application that will demonstrate the benefits of parallelized computation (compared to the traditional serialized version of this application). I want to use the canonical examples for parallel computation in my paper. My first example is the parallel computation of pi. I would ideally like an exa...

What is the difference between ASN.1 enumerated type and choice type?

Can you give me an example to show when to use an enumeration and when to use a choice type with ASN.1? ...

Any practical example of LockSupport & AbstractQueuedSynchronizer use?

Guys, can anyone give a simple practical example of LockSupport & AbstractQueuedSynchronizer use? Example given in javadocs is quite strained. Usage of Semaphore permits is understood by me. Thanks for any response. ...

Code Examples For Programming Languages

When you are designing a new programming language, or comparing existing programming languages, what types of code examples should you write? They should: emphasize the important features of the language(s) take considerations into important/common features allow learning by examples. Also, list some simple algorithms that worth to b...

Know any great examples of CSS3 Transformations/animation for sorting/filtering group of items

We are building essentially a product/image sorter in pure CSS and js. The sorter will reorder products into different groups based on filtering and selecting. It needs to be ultra fast and smooth when moving/shifting products etc Here is an example in flash of what I am talking about (click the links in the middle of the page to see an...

Looking for a non-trivial 3 layered asp.net example

Hi All I am looking for an example of an asp.net website(with source), implemented with 3 layer architecture and has some complexities like user authentication and user permissions, etc. . Does anybody know such an example? ...

Real-world programming examples of the Unix philosophy

What are some specific[1] real-world code[2]/design examples, personal anecdotes, mistakes learned (with more emphasis on personal anecdotes, mistakes learned instead of pointing out third-party software) that best illustrate the programming philosophy of Unix? For a start, here's Raymond's summarization of the philosophy from The Art of...

Where to test my skills?

Is there a webpage whith good level where I can test my skills in this languages: Actionscript php c++ java ruby ruby on rails python pl/sql sql I'm looking for a multiplechooice page with question in language with the same or more skill level as it would be this one for an algorithm test: What is the time complexity of calculatin...

"Good" Java code examples?

Can anyone point out some java code which is considered "good"? I have started programming recently, about two years ago. I mostly program using java. I write bad code. I think the reason behind this, is that I have never actually seen "good" code. I have read a couple of books on programming, but all of them just have some toy examples...

What are some well coded examples of standard data structures in PHP?

I'd like to see some well done PHP code samples of some standard data structures. Do you know of any code samples of Classes like Linear Linked Lists, Stacks, Queues, Binary Search Trees, etc? ...

How do I share single files between multiple branches in git

I have a repository that contains the software in branch master and its homepage in branch gh-pages. The project contains an examples directory with source files that should be contained in the master branch. The homepage should contain the compiled examples and possibly also the source files. How can I share the examples (that depend on...

SHA1 collision demo / example

This question is similar to this, but that one only references MD5 collision demos. Are there any actual SHA1 collision pairs of arbitrary messages known so far ? I'd like to use these to test how various software products (my own one and some third party) deal with it. Doing some Google searches only turned up the oh-so prominent MD5...

Example problems for concurrent computation

There's a plethora of paradigms and methods for concurrent programming in use today. Software transactional memory, actors, shared state concurrency, tuple spaces and many, many more. What I find lacking, however, is a library of interesting test problems for concurrency. One well known example is the "Dining Philosophers Problem", whic...

Please, help to find source with examples by glib

Hi everybody! I've looked for a lot of sites but didn't find any examples by glib. I've seen only discription types and functions... Perhaps do you know a good source? PS. Thanks for your answers! =) ...

.NET/Winforms: need an example for a nice UI for exception displaying

I'm writing a little developer tool which will (among other things) display exceptions thrown from the code that the tool is currently inspecting. Since it is a developer tool I would like to display as much information about the exception as possible (at the least type, message, stack trace and a recursive InnerException) and do it in a...

Look for an example application of "pylons + sqlalchemy"

I'm new to python, and starting to learn website development with pylons and sqlalchemy. I've read the document of sqlalchemy and pylons, but still have a lot of problems. I've tried 2 days, but a simple website with basic CRUD operations can't work yet. I met some big problems(for me), that the circular imports problem, and relationsh...

CFHTTPStream segmentation faul during NSRunLoop

I'm trying to assemble a toy application to interact with http servers via CoreFoundation. I'm not using NSURLConnection because I want to be able to specify a proxy different from the one set in the OSX System Preferences. My problem is that I wasn't able to find any working example and the Apple documentation do not provide a working ...

Can you implement Model-View-ViewModel using Powershell and WPF using PowerBoots?

Are there any examples of this? I haven't been able to find anything on google that shows how to implement this design practice using powerboots. ...

Production quality WPF examples

Hi, As I'm learning WPF I came across quite a few examples, but mostly all of them have a disclamer like 'this is not production quality code', as they refer to a specific issue they're addressing. What I would like is to see how is WPF used in reallife, the application as a whole, so that in one example I can see all of the best pract...