So it's a lack of skill that makes JavaScript a poor choice for largescale application development?
No.
Developers like this are a large part of the reason we can't have nice things.
1,464 karma · joined May 3, 2009
http://regretful.ly
@rbxbx
r b x b x d e v (at) g m a i l (dot) c o m
So it's a lack of skill that makes JavaScript a poor choice for largescale application development?
No.
Developers like this are a large part of the reason we can't have nice things.
I did a lightning talk at SCNA this year which covered similar, if somewhat different, and certainly less comprehensive ground, which may be of interest to readers of this thread/article.
http://git.io/objects-as-closures (full code and all everything)
https://gist.github.com/1372131#file_v2.md (outline/notes)
(please don't make fun of me, Scheme peeps)
I fear you may be missing the point.
Maybe: http://www.supaspoida.com/2011/10/26/a-short-story-about-a-t...
(note: I didn't develop this, just sharing it with you all)
filteredArray = [allRecords filteredArrayUsingPredicate:
[NSPredicate predicateWithFormat:@"someField == %d", someFieldFilterValue]];
in ruby: all_records.select {|r| r.some_field == some_field_filter_value}
in clojure: (filter #(= % some-filter-value) all-records)
in haskell: filter (\someField -> x == someFilterValue) allRecordsIf you're at all interested in this and would like to have a better idea what your commute is costing you (other than time) check it out :)
It's also worth noting that to_json should not be invoked directly these days in favor of as_json. It's now meant to more or less be an internal Rails API.
It's usually agreed that accomplishing the same thing in less lines of code is, of course, better. (As long as you've maintained readability, etc)
I've never tried a completely untagged file before though... so report back when you find out?
Just because it doesn't necessarily better solve your class of problems doesn't mean it's unsuitable for other people's.
http://www.adafruit.com/icufflinks
Quite appealing if you ask me, if a bit bulky for cufflinks :)
Nice looking blog too.
Original Post http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 1: The Lexer http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 2: The AST Nodes http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 3: The Parser http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 4: AST Translation http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 5: JIT Compilation http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 6: Adding Control Flow http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 7: Playtime http://webcache.googleusercontent.com/search?q=cache:http://...
Chapter 8: Mutable Variables http://webcache.googleusercontent.com/search?q=cache:http://...
Have had moderate success with https://github.com/NoamB/sorcery lately, however I'm not yet confident in calling this a solved problem.
edit: Devise is great for getting up and running quickly. For that matter though, so is Joomla.
Dir.glob("#{ENV['HOME']}/.vimbundles/*").each do |d|
next unless File.directory?(d)
puts "updating #{d}"
`cd #{d}; git pull --rebase; cd -`
end
in ruby, would be easy enough in bash/zsh/python/perl/ as well.see also: https://github.com/hashrocket/dotmatrix/blob/master/bin/vimb...
Then... y'kno. Doing so :)
(I realize that scanning tons of a pages and ensuring quality isn't exactly a small undertaking, but I'm sure the HN community would greatly appreciate your efforts if such a thing were possible)
Thanks (or at least thanks anyway) !
I love hacking, but consulting is another matter.
Surely a simple cli app isn't the right job for this tool.
Now, all that said, it _does_ work, and blahblahblah.
Previous HN discussion: http://news.ycombinator.com/item?id=1834671
ps: standing desk :)