September 2009
55 posts
Taking a new approach with PHP: treating it as bytecode. This is because it is just WAY too expensive to do inline metaprogramming with PHP
Are we still going to be evangelizing TDD in 2019?
August 2009
48 posts
I *just* now learned about “Hijack: Provides an irb session to an existing ruby process” even though it started in 2006 http://bit.ly/rXhj3
I would also look at relative growth, @kasthomas http://bit.ly/6zkBh
Having an I phpucking hate php moment.
rvm got no rubinius love? #ruby
An interesting side-effect of TDD when your application implements internal DSLs, is discovering you don’t even need to write new app code.
Ruby needs reflection for method argument names. That is all.
Magic method/property prefixes like ‘__’ seem like language design FAIL. I think a magical operator like ⚡ would be a better solution.
alias λ proc
Ruby developers.. check out Ruby Version Manager: http://is.gd/2Agb5 (this is awesome) (via @peterc)
Was looking for a way to download a youtube video that was in buffering hell. Google search results all $ products, but Twitter search FTW!
rvm is just amazingly convenient: rvm install jruby && rvm use jruby && echo “puts defined?(Java)” | ruby # constant
This amazing homepage just kicked my resume’s butt up it’s own ass! http://noahstokes.com/ (thanks to @gnutel0 for the link)
Is there some way to get TextMate ⌘-T to include folder names in the match? Sick of playing where’s waldo for index and show template files.
RT @dhh “Apple loves Ruby. Note how the Ruby icon for scripting language is taking precedence on the Snow Leopard page: http://bit.ly/xcxt2”
Can you spot the difference? Compare: http://bit.ly/15KCdZ and http://bit.ly/1lTZbm via @nzkoz Convenience screenshot: http://bit.ly/3l421F
Just discovered the whymirror http://whymirror.github.com/ thanks to @nebiros
Opening Google Docs today I just realized I haven’t had to use Word or Excel for work in about 3+ years now. #microsoftoffice
People overuse the word “architected,” which implies that design decisions are made with a bigger picture in mind. This is generally false.
Manual Test Scripts are Immoral. @unclebobmartin #agile2009 (via @littleidea)
TBUZZ is very clever. On any webpage, execute the bookmarklet and it shows Twitter comments about it. http://tbuzz.arc90.com
By removing the facility to overload the ‘get_method’ method call from my prototype model, I just 3x’d the speed *phew* Inching towards OKAY
Awesome, my PHP framework is kicking so much butt it just permanently segfaulted my Apache install.
Every base is base 10.
def ng(n) g=n.match /[aeiou].*$/i; “#{n} #{n} bo b#{g} banana-fana fo f#{g} fee-fi-mo-m#{g} #{n}” end #songsincode
Default RESTful Rendering in Rails 3. NICE: http://bit.ly/27YWz
“A single meeting can blow a whole afternoon, by breaking it into two pieces each too small to do anything hard in.”—PG http://bit.ly/wVspv
I hate when sites use target=”_blank” for all offsite links. I wish you could tell browsers to not open tabs or windows for targeted links.
I think Rails Resource routes need a standard GET “:id/delete” to go with DELETE “:id” in the same way as GET “:id/edit” goes with PUT “:id”
My attempt to implement PHP <=5.2.9 project using prototype object model has resulted in an average per-page request time of 50ms >.< F*CK
PHP Frameworks would suck about 90% less if they were written specifically for version 5.3.0 and later. Closures change *everything*.
Just noticed that PHP has a token_get_all() function which parses PHP and returns *almost* an AST. Okay that’s pretty handy.
The hardest part about working with PHP is looking at it. If only I had special glasses that could make this $code->look[“less”]($horrible)
Whenever I hear Java developers talking about POJOs/”Plain Old Java Objects”, it always sounds like “PLEASE HELP ME!” or “DEAR LORD, MERCY!”
All my PHP code for this work project is done using potatohead prototypes and anonymous functions. Its both quite ugly and beautiful.
Oldie but a goodie: Prolog in Ruby. http://bit.ly/xzVaw
Have been looking at various options for building parsers. Treetop, YACC, OMeta, Quex. I just found Refal today… Hmm http://bit.ly/6z1Vy
LOLZ @mfeathers Scala and Clojure may be dethroned by the latest JVM language: http://bit.ly/3OgjRt
“A poor workman blames his tools, but a lazy one settles for them.” - http://www.dadhacker.com/blog/?p=48 (DadHacker) (via @episod)
Looking forward to trying quex on the train ride home tonight. http://bit.ly/9ZYya My first real C++ project is a new programming language.
Never understood why people thought multiple inheritance in C++ was a bad thing.
Every computer language should have a standard library for parsing itself and returning an abstract syntax tree.
“The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt.” — Bertrand Russell (via @peterc)
RT @igrigorik: interesting read.. programmer competency matrix @ http://bit.ly/1exhnb
Was trying to explain YAML to some of the Java guys here (poor saps) checked out the http://yaml.org site in a while, and its way more awsm!
Phuby - PHP bindings for Ruby? Sweet Bajeezus, WHY!?!?!?! http://github.com/tenderlove/phuby