practice

where is the best algorithm exercises like euler project?

i need learn algorithm... ...

Any practical coding dojo/kata ideas?

I've been asked to run a workshop and coding dojo soon for people to try out Scala and try to build something with it. The attendees are all going to be new to Scala, and could come from any of a number of languages (I'm presuming they can code in at least one mainstream language - I'm including syntax comparisons with Java, C#, Python a...

Is there any PHP Object Oriented Programming in Practice Tutorial?

Hi there I've learning PHP for a while, and also have read some OOP tutorials. I tried to start my own website using OOP PHP but I got quite lost. I am not sure what to do in real project. I think maybe I need some practice tutorials, which is talking about real projects. I tried to read some code of PHP framework like CodeIgniter, bu...

Question about eval in PHP 5

Hi all, I have been doing PHP stuff for almost one year and I have never used the function eval() though I know the usage of it. But I found many questions about it in SO.So can someone show me a simple example in which it's necessary to use eval()?And is it a good or bad practice? ...

Are there any kata for practice VIM?

I've used VIM for many years as my primary text editor. And I am still learning how to use VIM for various editing tasks. The problem is that even if I learn something and use it once a week I forgot soon how I did it -- classic case is search and replace in many buffers using bufdo :(. I was wondering if there is any kata to daily VIM...

How would you go about tackling this problem? [SOLVED in C++]

Intro: EDIT: See solution at the bottom of this question (c++) I have a programming contest coming up in a bit, and I've been prepping :) I'm practicing using these questions: http://cemc.math.uwaterloo.ca/contests/computing/2009/stage2/day1.pdf I'm looking at problem B ("Dinner"). Any idea where to start? I can't really think of a...

Design Practice Retrieve Multiple Users - PHP

Greetings all, I'm looking for a more efficient way to grab multiple users without too much code redundancy. I have a Users class, (here's a highly condensed representation) Class Users { function __construct() { ... ... } public static function getNew($id) { // This is all only example code $sql = "SEL...

Coding Dojo exercises

With Coding Dojo you have the possibility to solve an isolated task with clear requirements in an agile and easy environment. In one session a mix of software engineers with different experience should participate. You and your team members can work together and benefit from each other because every participant has another point of view ...

Starting a personal reuasable code repository.

Hi, I've been meaning to start a library of reusable code snippets for a while and never seem to get round to it. At the moment I just tend to have some transient classes/files that I drag out of old projects. I think my main problems are: Where to start. What structure should my repository take? Should it be a compiled library (wher...

Where can I find sample java questions for hands-on ? Not certifications type questions

Hi all, Most google results for sample questions/problems for java, results in a link directing to mock certification questions. Does anyone know where can i find sample problems for practice ? Thanks ...

Programming practice

I've decided to get some experience working on some project this summer. Due to local demand on market I would prefer to learn Java (Standard and Enterprise Editions). But I can't even to conjecture what kind of project to do. Recently I had some ideas about C. With C I could to contribute to huge Linux projects. I don't mean that my wo...

Using IsolatedStorage on a IIS server

I'am a bit confused about the use of Isolated Storage on a IIS server. I understand the goal of Isolated Storage : provides a safe place to store data with no worry about how and where is this place. Since Isolated Storage have a by-user and by-assembly approach, I'am not to wild about using it on a IIS server where applications have a...

Is there any site/resource/book to practice and solve OO-design related problems?

Looking for some reference material where i can get some OO designing problems and solution to practice and improve designing skills. Thanks for your interest. EDIT: I have read: - Refactoring by Martin Fowler - Headfirst Design Patterns (It had problem-solution approach but very limited to a pattern in context). and have fare idea abo...

For any projects using functional programming?

Hello, I have a free time and would like to do functional programming and learn some functional programming language. But as we know the best theory it is practice. In this regard, I would like to know in which sector is most often used functional programming? I understand if the project is written in a functional language that is some...

Learning new programming language, useful projects?

So I have to learn python for an upcoming project at work. I know plenty of languages so I'm not too worried, but the project hasn't started yet so I can't learn python as I work on the project. Instead of just going through tutorials and programming random trivial stuff, is there someplace that maybe have open (but simple) problems to s...

Database trigger or a common method in code?

I have a table where I want to Log activities of some part of my application. A record will be inserted (may be updated in future) in this table when record inserted/updated in some other table. E.g. If record is inserted in Orders table an entry will be inserted in Log table. If record is inserted in Booking table an entry will be in...

Starting projects and language selection

I know everyone usually chooses languages they are familiar with. I would honestly like to know when starting an open source project; which language would you select to begin development and why? What do you use as "measurement" tools to see which language would be best suited? How do you eliminate particular languages on what criterio...

Is it Safe/Good practice to save global values in NSUserDefaults?

I am making an IPhone app in which userid and password is required in all the screens to make requests to the server, and I am thinking of saving those 2 values in NSUserDefault instead of passing an object around. I am also thinking it will be useful if user has logged in once, and use the app again then user don't have to ente...

what's the common approach while saving and editing images in a website?

I am building a website using asp.net and this website will host users images and will give them options to edit these images by resizing, cropping, watermarking,.... I am thinking of 2 ways to save images and want someone to recommend one or advice me with something different better. 1- The user will upload his images, i will put th...

Have Arrays in .NET lost their significance?

For every situation that warrants the use of an array ... there is an awesome collection with benefits. Is there any specific use case for Arrays any more in .NET? ...