Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
76 views

CoffeeScript 2 + 2 program

I tested this program on Smooth-CoffeeScript I just wanted to have as many eyes on this as I could to learn about coffeescript; Is there anything I should do to improve it? Am I using the tools ...
Shui's user avatar
  • 173
0 votes
1 answer
723 views

Displaying job status in a jQuery Datatable

I was wondering if there was a better way to write this: ...
Wes's user avatar
  • 133
1 vote
1 answer
99 views

Kruskal's algorithm

I'm working through Coffeescript implementing simple algorithms (started with Prim's as reviewed in this previous post) and wrote out Kruskal's algorithm as below, with a few helper functions. I'd ...
sunny's user avatar
  • 1,835
2 votes
3 answers
111 views

Prim's algorithm in CoffeeScript

I'm just starting to learn CoffeeScript and am trying to work through simple examples, this one being Prim's algorithm. I'd like feedback on everything but especially on making this script take ...
sunny's user avatar
  • 1,835
10 votes
1 answer
302 views

Tabbed navigation to hide and show pages

I'm new to jQuery and trying to learn how to refactor my bloated code to make it nicer and better maintainable. I have a tabbed navigation which I'm using jQuery to hide and show pages depending on ...
user1502223's user avatar
0 votes
1 answer
349 views

Count non-transparent pixels in a canvas

I need to count non-transparent pixels in a canvas. I am pretty sure there is a nice and elegant syntax for doing this. Note that the data returned by getImageData ...
akonsu's user avatar
  • 273
4 votes
1 answer
226 views

Searching an object tree structure

I have this recursive function that searches an object tree structure: ...
Matthew Nichols's user avatar