About the first, I think the focus page is already very minimal. Not sure what can be moved out.
40 karma · joined February 15, 2010
About the first, I think the focus page is already very minimal. Not sure what can be moved out.
The waiting time between numbers is what requires attention.
THIS_IS_A_CONSTANT SomeClass someVariable someMethod()
def do_something
return binding.pry
do_something_but_does_not_work
end
result = do_something
process result
It might be very convenient if I put 'return binging.pry' just before the broken code. I can interactively fix the broken code and continue run outside of current method.My email is gcao99 at gmail.com
1. unify people who are looking for a standard approach to create api in Rails
2. clear separation between lower level http support and higher level html/js/css processing
3. performance improvement against using regular Rails for api
4. easier upgrade for app developers
Below is a T.js template written in Coffeescript. <code> tournamentResultTemplate = (data) -> return unless data.result
[ "div.detail"
[ "table"
[ "tr"
["td", "Result"]
["td", data.result]
]
if data.defeated
[ "tr"
["td", "Defeated"]
["td", data.defeated]
]
if data.lost_to
[ "tr"
["td", "Lost to"]
["td", data.lost_to]
]
]
]
</code>Node.js and python support will be nice.
Even ack is fast, it still takes a few seconds when I search something inside my rails project. I hate waiting. If Ag can work with same options as ack, and with ack.vim by simply creating symbol link, it'll be great.
Btw, I noticed the output of ag does not highlight matches and include line numbers. Maybe those are what make it a lot faster?
https://aws.amazon.com/marketplace/pp/B0078UB5X6/ref=gtw_msl...
class Request < ActiveRecord::Base
end
class RequestValidation < Aspector::Base
target do
def has_unique_hash_id?
exists?(:hash_id => hash_id)
end
end
before :create do
hash_id = SecureRandom.hex(12) until has_unique_hash_id?
end
endRequestValidation.apply(Request)
What new technology or methodology do you see that might have a big impact on future software development? Like object-oriented programming, concurrent programming, functional programming and Agile methodologies had in past decades.