DeveloperHell | Languages: All | PHP | Python | .NET | Java | CSS | Ruby | Javascript   Site: Statistics
want to join us? register, it's easy | help

browse by tag: intermediate in language

sort by

newest, oldest, most popular


category icon

Lightning Talk: TATFT - Test All the F***in Time

in Ruby added by admin, on 13/6/2010 intermediate rspec ruby on rails tdd testing

Video from Ruby Hoedown 2008. If you're not testing, please stop reading this and start TATFT.

1 comment save report
category icon

Django performance tips

in Python added by admin, on 12/6/2010 django framework intermediate

Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance.

comment save report
category icon

SOA Capabilities in BizTalk Server 2009: WCF SQL Server Adapter [pdf]

in .NET added by swati, on 9/8/2009 biztalk server how to intermediate microsoft soa wcf

This tutorial will explain how to use the WCF SQL Server Adapter to implement composite transactions and poll for data changes in BizTalk Server 2009

comment save report
category icon

Scraping and Converting Data with Hpricot and JSON in Ruby

in Ruby added by prodevtips, on 8/2/2009 hpricot intermediate scraping

We're retrieving information from a HTML document with Hpricot, no regular expressions needed.

comment save report
category icon

CSS Star Rating System

in CSS added by admin, on 12/5/2008 examples intermediate style

Recently I had to create a Star Rating system for a client so I thought I'd share with you the techniques I used to accomplish this. If you are not familiar with a Star Rating System, it's simply a method of voting using (usually) 5 stars in a row, which will change colour as you hover over them indicating the level at which to rate something.

comment save report
category icon

More Scintilla in WxRuby

in Ruby added by prodevtips, on 12/5/2008 examples intermediate oo programming wxruby

A discussion on custom key commands and custom behavior.

comment save report
category icon

A Lightweight Approach to Aspect-Oriented Programming in Python

in Python added by admin, on 21/4/2008 aspect-oriented intermediate

aspects.py library provides means to intercept function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first. Depending on the wrap, the execution of the original function can be omitted, or the function can be called arbitrarily many times. Wraps are able to modify the arguments and the return value of the original function. In the terminology of aspect-oriented programming, the library allows applying advices (wraps) to call join points of methods and functions in around fashion.

comment save report
category icon

Behavior-driven Testing with RSpec

in Ruby added by admin, on 31/3/2008 intermediate rspec testing

Testing fever has infected the Ruby programming community, and the infection is spreading. One of the most promising innovations in testing in the past year is the introduction and rapid growth of RSpec, a behavior-driven testing tool. Learn how RSpec can change the way you think about testing.

comment save report
category icon

Using Pyke, the Python knowledge engine

in Python added by admin, on 22/3/2008 intermediate knowledge engine

This describes how to use pyke from within your python program.

comment save report
category icon

Storing User Profiles

in .NET added by admin, on 9/3/2008 examples intermediate user

User Profiles - The profile feature in ASP.NET 2.0 allows you to define and store per-user settings to be used throughout your application. Settings can also be stored in an anonymous profile while users are not logged in, and then migrated to a logged-in user profile at a later time.

comment save report
category icon

The state of Python profilers in two words. Use cProfile.

in Python added by admin, on 1/3/2008 intermediate profiling

This is for people who still wonder what they should use every time. cProfile was added in Python 2.5 after much discussion about the downsides of existing profilers.

comment save report
category icon

Registration form with Merb and Datamapper

in Ruby added by prodevtips, on 27/2/2008 examples framework intermediate oo programming

How to setup a semi-advanced registration form with Merb and Datamapper with validators and stuff.

comment save report
category icon

Rails Messaging Tutorial

in Ruby added by admin, on 26/2/2008 examples intermediate messaging

This guide aims to be a simple, logical tutorial showing how to develop a simple Rails messaging system with all of the trimmings with Ruby on Rails (v2.0.2). This tutorial is intended for beginner to intermediate Rails users. If you've never used Rails before, I suggest you check out any of the excellent introductions out there.

comment save report
category icon

Python - 15 Line HTTP Server - Web Interface For Your Tools

in Python added by admin, on 14/2/2008 intermediate oo programming web server

I write a lot of command line tools and scripts in Python. Sometimes I need to kick them off remotely. A simple way to do this is to launch a tiny web server that listens for a specific request to start the script.

comment save report
category icon

Adding Type Checking to Ruby

in Ruby added by admin, on 6/2/2008 intermediate type

What’s the first thing you think of when you consider the Ruby Language? Dynamic types, right? Ruby is famous (infamous?) for its extremely flexible type system, and as a so-called “scripting language”, the core of this mechanism is a lack of type checking. This feature allows for some very concise expressions and a great deal of flexibility, but sometimes makes your code quite a bit harder to understand.

comment save report
category icon

Creating Multiple Choice Exam Application Part I

in .NET added by admin, on 7/1/2008 database intermediate xml

This is the first part of a multi-part series. In this series we will cover the scenario of creating a multiple choice exam for the user. In the first part I will cover the design of the application. This will include unit tests, domain objects and NHibernate mapping files

comment save report
category icon

Using RPC-Style Web Services with J2EE

in Java added by admin, on 6/1/2008 intermediate j2ee rpc webservice

Web Services provide functionality to the Internet, and are seen as the wave of the future. In this article, Martin Bond explains how to use Web Services protocols to join J2EE application components with any other software that supports those protocols. This excerpt is from Chapter (Day) 20, from Teach Yourself J2EE in 21 Days, second edition, by Martin Bond, et. al. (Sams, 2003, ISBN: 0672325586)

comment save report
category icon

Using raw SQL in django

in Python added by admin, on 3/1/2008 django framework intermediate sql

For a django project I'm working on, I need to run a simple query with COUNT and GROUP BY statements to collect some summary data. I tried working with the model API, and eventually fell back to using raw SQL instead.

comment save report
category icon

Ruby blocks gotchas

in Ruby added by admin, on 31/12/2007 blocks intermediate metaprogramming

There's this thing they say about Ruby - everything is an object. It's true, with very few exceptions, one of them being the block. Well guess what, this little gem of an inconsistency came back to bite me when I was trying to do something involving dynamic redefinition of methods.

comment save report
category icon

Human-Readable Encryption Keys

in Python added by admin, on 29/12/2007 cryptography intermediate

Somehow, we have to present these random 128-bit keys to the user, and I think I've found a pretty good way. We use RFC 1751, which defines a 'Convention for Human-Readable 128-bit Keys' - basically just a mapping of blocks of bits to strings of English words.

comment save report
category icon

Globalization and Localization

in .NET added by admin, on 27/12/2007 intermediate localization

Explains how to make international applications customizable to users belonging to different nations, cultures, or regions.

comment save report
category icon

Python: Some Concurrency Tricks

in Python added by admin, on 27/12/2007 concurrency intermediate

Here are a few concurrency tricks if you're stuck using threads. I used these tricks years ago to write a Swing application in Jython, and I found them to be helpful enough to warrant a blog post, albeit a few years delayed.

comment save report
category icon

Damn Cool Algorithms, Part 3: Anagram Trees

in Python added by admin, on 24/12/2007 algorithm general intermediate search tree

When it comes to finding anagrams of words, a frequent approach is to use an anagram dictionary - simply put, sort the letters in your word to provide a unique key that all anagrams of a word have in common. Another approach is to generate a letter-frequency histogram for each letter in your word. (Both these approaches are more or less equivalent, in fact.) These approaches make the problem of finding exact single-word anagrams for strings very efficient - O(1) if you use a hashtable.

comment save report
category icon

Python: asserting code runs in specific thread

in Python added by admin, on 23/12/2007 intermediate threads

My buddy JJ's post to the BayPiggies mailing list reminded me of a little snippet I wrote a while back that others might find useful as well. Personally, I avoid threads like the plague, but if you are forced to use them it is generally handy to keep accurate tabs on how you use them.

comment save report
category icon

Syntactic Comparison of Java and C/C++

in Java added by admin, on 13/12/2007 intermediate language syntax

Throughout this two-part series we'll endeavor into comparing the syntax of two of the most popular programming languages while heavily pointing out the similarities and differences. Needless to say, I won't claim that one is better than the other. The main focus should be on learning both up to an intermediate level from which we can grow later on.

comment save report