Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tcopeland
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
91.
▲
by
tcopeland
12y ago
On a related note, here's Rich Kilmer talking about Ruby DSLs way back in 2008: http://www.infoq.com/presentations/kilmer-ruby-dsls Good stuff from a guy who's done some pretty massive DSLs on DARPA projects.
92.
▲
by
tcopeland
12y ago
Yup, it's a brief mention on page 147.
93.
▲
by
tcopeland
12y ago
I think it's a combination of people liking Ruby, as you said, and also just slow work day for folks in US. I agree with the 2nd ed of Metaprogramming being a great addition to the shelf. I feel like it's been a solid year for Ru
94.
▲
by
tcopeland
12y ago
Here's my list of (mostly) Ruby-related good talks from this year: http://thomasleecopeland.com/2014/10/18/good-technical-video... Andrew Turley's "What we can learn from COBOL" talk is pr
95.
▲
by
tcopeland
12y ago
Another strange alliance - when the Finns fought "with" the Germans against the Russian. I'm using quotes because they weren't allies, really, but were against a common enemy at the time. Some discussion of that in &qu
96.
▲
by
tcopeland
12y ago
That book is currently on 3 military reading lists: http://militaryprofessionalreadinglists.com/books/665-boyd-t... and it was on last year's Army (!) reading list.
97.
▲
by
tcopeland
12y ago
I'm betting most people have this setting already: irb(main):001:0> Rails.configuration.serve_static_assets => false But anyhow, it's an easy upgrade since it's just the security fix.
98.
▲
by
tcopeland
12y ago
To stress your browser, open viz.html and in irb do: module Example ; class Foo ; def bar ; end ; end ; end 100.times { Example::Foo.new ; sleep 1 }
99.
▲
by
tcopeland
12y ago
Interesting, that's on the USMC reading list: http://militaryprofessionalreadinglists.com/search?keywords=...
100.
▲
by
tcopeland
12y ago
Just added another check; now pippi finds "assert_equal nil, x" and suggests replacing it with "assert_nil x".
101.
▲
Finding suboptimal Ruby class API usage
(thomasleecopeland.com)
3 points
by
tcopeland
12y ago
|
1 comments
102.
▲
by
tcopeland
12y ago
Yup, "On Combat" is on the Air Force reading list. And "On Killing" has shown up on four different reading lists. The only author I can think of who gets more space there is probably John Keegan; he's everywhere:
103.
▲
by
tcopeland
12y ago
When I started the site 6 years ago I was on a "four word domain name" kick. Also, sadly, militaryreadinglists.com was already taken.
104.
▲
by
tcopeland
12y ago
The site only contains various military reading lists, so apparently Scheur's book hasn't been represented on any of those - at least not the ones that I've managed to collect, that is. But the "Defense Academy of the UK
105.
▲
Military Professional Reading Lists
(militaryprofessionalreadinglists.com)
65 points
by
tcopeland
12y ago
|
23 comments
106.
▲
by
tcopeland
12y ago
I go back and forth with prefixing my own blog posts - especially the softer ones, like this one on preserving technical knowledge http://thomasleecopeland.com/2014/10/01/preserving-technical... - with discla
107.
▲
by
tcopeland
12y ago
Dune was on the Army MCoE book list for a while too: http://militaryprofessionalreadinglists.com/search?keywords=... It's not on their most recent list, but Starship Troopers is.
108.
▲
by
tcopeland
12y ago
I remember Brad giving the keynote at RubyConf 2004. At that time he was pretty excited about micropayments, so after a short blurb on ObjC he mostly talked about that. I don't think micropayments ever really worked out, but he was ob
109.
▲
Some techniques for cleaning up a Rails routes file
(thomasleecopeland.com)
3 points
by
tcopeland
12y ago
|
0 comments
110.
▲
Preserving technical knowledge
(thomasleecopeland.com)
3 points
by
tcopeland
12y ago
|
0 comments
111.
▲
by
tcopeland
12y ago
Yup, per Sandi Metz: https://twitter.com/sandimetz/status/514411916480249856 I've also heard it expressed as "the pain caused by code duplication is nothing compared to the pain caused by wrong abstracti
112.
▲
by
tcopeland
12y ago
I don't plan on rewriting my Rails apps, but the talk is certainly food for thought. At the very least this is a nice explanation of Ruby metaprogramming techniques; pair it with Paolo Perrotta's "Metaprogramming Ruby"
113.
▲
by
tcopeland
12y ago
Yup this is great stuff, just be sure to get the 2nd edition which just came out: http://www.amazon.com/Metaprogramming-Ruby-Program-Like-Face... It focuses on modern Rubies, so it talks about Module#prepend and such. Nice
114.
▲
by
tcopeland
12y ago
That's a great writeup, well done. Along the same lines, here's the ever-entertaining Rich Kilmer talking about DSL experiences on some government projects: http://www.infoq.com/presentations/kilmer-ruby-dsls
115.
▲
by
tcopeland
12y ago
He's written a couple of other books relating to the atomic bomb; both were included on the STRATCOM reading list: http://militaryprofessionalreadinglists.com/search?keywords=...
116.
▲
by
tcopeland
12y ago
Ha I just did a little RubyGem to find files of which x% of the lines are more than y years old - the olde_code_finder: http://thomasleecopeland.com/2014/09/18/olde-code-finder.htm... Actually, the first vers
117.
▲
by
tcopeland
12y ago
I can see the advantages of using the Arel predicates, but to me this: User.order("id desc") reads better than: User.order(User.arel_table[User.primary_key].desc) The latter seems a lot less expressive. Also, Pat
118.
▲
by
tcopeland
12y ago
When you introduce a new API endpoint or format for data at rest, think hard Yup. I've added columns where I've used a datetime where a date would have sufficed and then regretted it later once tons of data was alr
119.
▲
by
tcopeland
12y ago
Even transiting the Panama Canal in a smallish (210 foot USCG medium endurance cutter) is kind of weird. One day you're underway making way in the Pacific, the next day you've got mules pulling you through locks.
120.
▲
by
tcopeland
12y ago
Small Ruby world!
More ›