Unanswered Questions

10
votes
0answers
670 views

Writing a better alternative to jQuery Autocomplete

Over the last months I have been writing a jQuery plugin called Better Autocomplete (Code on Github). It originated from another project, a Drupal module called Linkit, but I decided it should be a ...
8
votes
0answers
344 views

Create a re-usable class to get different values from enum attribute decorations

I'm wanting to create a Reusable class to work on Enumerations so that I can decorate various Enums with different attributes and I can use this class to get a particular attribute property to ...
7
votes
0answers
213 views

D2.0 mixin and template-heavy code - Building a silverlight clone

I've made a mock version of silverlight in D2. It is meant to output html but since I don't know html yet, it's current output is not valid. Html is not the reason I'm here though. The goal of my ...
7
votes
0answers
577 views

Java monad implementation

I'm learning functional programming and their concept of Monads. I've found nothing more effective in learning than writing an implementation in a programming language I have experience with. I came ...
6
votes
0answers
6k views

JAXB XJC code generation - adding @XmlRootElement and Joda DateTime

Here's an interesting scenario that I encountered the other day. I did eventually reach a solution on my own. However, I'd welcome any comments and better approaches. The requirements I want to ...
5
votes
2answers
353 views

Associating a lock/mutex with the data it protects

I've recently come across some areas of code in our solution that have a few thread-safety problems. Thread-safety is a minefield at best so I thought I'd have an attempt at writing a few little ...
5
votes
1answer
183 views

jQuery Lifestream Plug-in

This is a plug-in which tracks your online activity aka a lifestream. You're currently able to use feeds like: Delicious Flickr Github Google Reader Last.fm Stackoverflow Twitter Youtube At first ...
5
votes
0answers
131 views

A* implementation

I've implemented A* according to the pseudo-code on Wikipedia. I'm going to worry about optimizing it later, but for now, I'd really like to know if the code is correct. typedef std::tuple<int, ...
5
votes
0answers
92 views

How can I make my stack monad, (in Haskell) faster?

I made a stack monad, (in Haskell), that lets one manipulate and control values on a stack. I want to know if it's correct, (it seems correct), how to make it faster, and how I could detect stack ...
5
votes
0answers
165 views

Another way to implement weak event handlers in vb.net

Summary: Please let me know, what weaknesses do you see in the described workaround for event handlers preventing garbage collection of registered listener objects... I'm in the development of and ...
5
votes
0answers
321 views

Yet another C++ Json Parser

This is a framework for a json Parser I put together last night. Any comments appreciated. JsonLexer.l: Breaks the input into lexemes JsonParser.y: Understands the language syntax JsonParser.h: ...
5
votes
0answers
324 views

How can this simple handler in NodeJS be improved?

I have a pretty simple script which I am running in NodeJS (v0.6.5) to handle requests for two different host names. The script sends back a different response based on the hostname of the request, ...
5
votes
0answers
372 views

Waiting for a lock to release with ManualResetEvent and Quartz

Follow-up to: Waiting for a lock to release with Thread.Sleep()? I've found the time I tried to rewrite my WaitForLock-Method to utilize the Quartz.NET Scheduler which I've been using for some ...
5
votes
0answers
562 views

ASP.NET MVC: Please review my implementation of a generic DropDownList attribute and templating solution

My goal was to be able to render my view models using a standard Object.cshtml editor and display template. In order to do so I needed to be able to always call Html.Editor(propertyName) or ...
5
votes
0answers
89 views

Factor script to change case of all filenames in a directory

In the absence of a full-fledged tutorial, I am teaching myself to program in the Factor language by writing a bunch of functions that I will eventually use in command-line scripts. One common ...

15 30 50 per page
1 2 3 4 5 26