This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn rotate [a] | |
(vec (conj (take (- (count a) 1) a) (last a)))) | |
(defn get-at [coll ch] | |
(coll (- (int ch) 65))) | |
(defn rulesFor [level] | |
(let [rulz {1 [["1A" "2D"]] 2 [["2C" "3F"] ["1B" "3E"]] | |
3 [["3D" "4A"] ["1C" "4F"]] 4 [["4E" "5B"] ["1D" "5A"]] | |
5 [["5F" "6C"] ["1E" "6B"]] 6 [["6A" "7D"] ["1F" "7C"] ["2E" "7B"]]}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jake build | |
(in /Users/kkrishnamaneni/projects/cappuccino) | |
Your copy of browserjs is out of date (version undefined). Update? yes or no: | |
yes | |
Error: Unrecognized option: "force" | |
(in /Users/kkrishnamaneni/projects/cappuccino/Objective-J) | |
Your copy of browserjs is out of date (version undefined). Update? yes or no: | |
yes | |
Error: Unrecognized option: "force" | |
Build took 11 seconds |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation RectView : CPView | |
{ | |
} | |
-(void) drawRect | |
{ | |
[super drawRect]; | |
var ov = [CPBezierPath bezierPath]; | |
[ov appendBezierPathWithOvalInRect:[self frame]]; | |
console.debug([self frame]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
real 30m18.617s | |
user 1m38.025s | |
sys 2m0.682s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[foobar@irvsrddev4 moonstone]$ time jruby -J-Xms512m -J-Xmx1024m -S bin/gumshoe_with_distance index | |
I, [2008-11-26T19:02:49.919584 #6164] INFO -- : Indexing ... | |
java.lang.String:-2:in `intern': java.lang.OutOfMemoryError: PermGen space (NativeException) | |
from org/apache/lucene/document/Field.java:266:in `<init>' | |
from org/apache/lucene/document/Field.java:232:in `<init>' | |
from sun.reflect.NativeConstructorAccessorImpl:-2:in `newInstance0' | |
from sun.reflect.NativeConstructorAccessorImpl:-1:in `newInstance' | |
from sun.reflect.DelegatingConstructorAccessorImpl:-1:in `newInstance' | |
from java.lang.reflect.Constructor:-1:in `newInstance' | |
from org/jruby/javasupport/JavaConstructor.java:226:in `new_instance' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/yellowpages/rest2/distanceSearchOfTermAtCityState.json?term=pizza&city=glendale&state=CA&pageNum=1&pageSize=10&radius=10&profileId=web&transactionId=test&userId=test&partnerId=YPCSRD | |
/Users/kkrishnamaneni/projects/bluejay/bluejay/lib/lucene-spellchecker-2.3.2.jar:/Users/adiazar/projects/lucene/bluejay/bluejay/classes:/Users/adiazar/projects/lucene/lib/mysql-connector-java-3.1.14-bin.jar:/Users/adiazar/projects/lucene/lib/classes12.jar:/Users/adiazar/projects/lucene/lib/log4j-1.2.15.jar:/Users/adiazar/projects/lucene/lib/apache-solr-1.3-dev.jar:/Users/adiazar/projects/lucene/lib/stringtree-json-2.0.5.jar:/usr/local/apache-tomcat-5.5.27/common/lib/servlet-api.jar:/Users/adiazar/projects/lucene/src:/Users/kkrishnamaneni/projects/bluejay/bluejay/lib/locallucene.jar:.:/Users/kkrishnamaneni/projects/bluejay/bluejay/lib/jsr108-0.01.jar:/Users/kkrishnamaneni/projects/bluejay/bluejay/lib/NetAcuity_API.jar:/Users/kkrishnamaneni/projects/bluejay/bluejay/lib/geoapi-nogenerics-2.1-M2.jar:/Users/kkrishnamaneni/proje |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why am I limited to 5 Elastic IP addresses? Why am I charged when my Elastic IP address is not associated with an instance? | |
Public (IPV4) internet addresses are a scarce resource. There is only a limited amount of public IP space available, and Amazon EC2 is committed to helping use that space efficiently. | |
By default, all accounts are limited to 5 Elastic IP addresses. If you need more than 5 Elastic IP addresses, we ask that you apply for your limit to be raised. We will ask you to think through your use case and help us understand your need for additional addresses. You can apply for more Elastic IP addresses here. | |
In order to help ensure our customers are efficiently using the Elastic IP addresses that they have associated with their account, we impose the $.01/hr charge when these IP addresses are not mapped to an instance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/waves/lib/ext/module.rb:21:in `[]': ./configurations/development.rb:16:in `initialize': wrong number of arguments (0 for 3) (ArgumentError) | |
from ./configurations/development.rb:16:in `new' | |
from ./configurations/development.rb:16 | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:52:in `load' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:52:in `auto_load' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:86:in `call' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:86:in `const_missing' | |
from (eval):1:in `[]' | |
from ./waves/lib/runtime/runtime.rb:58:in `eval' | |
... 8 levels... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./waves/lib/ext/module.rb:21:in `[]': ./configurations/development.rb:16: uninitialized constant Waves::Servers (NameError) | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:52:in `load' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:52:in `auto_load' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:86:in `call' | |
from /Users/kkrishnamaneni/.gem/ruby/1.8/gems/autocode-1.0.0/lib/autocode.rb:86:in `const_missing' | |
from (eval):1:in `[]' | |
from ./waves/lib/runtime/runtime.rb:58:in `eval' | |
from ./waves/lib/ext/module.rb:21:in `[]' | |
from ./waves/lib/runtime/runtime.rb:58:in `config' | |
... 6 levels... |