News for hackers. Stuff that matters.

tcopeland

Re:Seinfeld Adventure on Friday April 24, 2020 @09:01PM (#22974628)
"What writer? We're talking about a sitcom!"

https://youtu.be/EQnaRtNMGMI?t=108

Re:First Battle of the Marne – Entente forces counter attack on Tuesday November 20, 2018 @12:02PM (#18495381)
Martin Crevald has a book on the USMC reading list (https://grc-usmcu.libguides.com/usmc-reading-list/intermedia...) "The Changing Face of War: Combat from the Marne to Iraq". Interesting that he uses that battle as one of the fenceposts.
Re:Two Kinds of Tech Debt and How to Pay It Down on Tuesday October 23, 2018 @01:00PM (#18285171)
Another scenario is when an acquisition occurs for the data a company has collected and so the codebases are quietly retired. In that situation there's still some value in paying down some technical debt - security updates on libraries and whatnot - but there's a point at which the decommissioning effort becomes the primary driver.
Maybe Mary Rose Cook live coding a game as a conference presentation:

https://vimeo.com/105955605

Re:Repair is as important as innovation on Thursday October 18, 2018 @07:16PM (#18253155)
FWIW "The Box" is on the current CNO reading list:

https://www.navy.mil/ah_online/cno-readingprogram/hvo.html

Re:Where Ruby/Sinatra falls short on Monday October 15, 2018 @12:01PM (#18220836)
That's the truth. I had a thing come up the other day where a client wasn't including a content type header and thus the body was being interpreted as application/x-www-form-urlencoded. Rack middleware to the rescue on that one.
Re:Why Is Behavioral Economics So Popular? on Wednesday October 10, 2018 @01:54PM (#18187314)
"Nudge" is on the Center for Homeland Defense and Security reading list:

https://www.chds.us/c/hsbooks

Re:Upgrading GitHub from Rails 3.2 to 5.2 on Friday September 28, 2018 @01:25PM (#18095154)
> I'd definitely include "Kill your dependencies" as a bullet point

Or at least your monkeypatches!

Re:Upgrading GitHub from Rails 3.2 to 5.2 on Friday September 28, 2018 @12:55PM (#18094890)
I was always disappointed by rails:update - look at all these crazy changes, I can't do all this stuff! - until I figured out I was using it the wrong way. A good way to use it is to run it in a different branch and then scroll through the diff, picking out items that you want to update. This lets you pick and choose and do even that incrementally, so you can do some easy ones first (like removing unnecessary MIME type registrations) and then move on to more complicated ones.

Longer writeup is at https://thomasleecopeland.com/2015/08/06/running-rails-updat... - it's 3+ years old now, but, hey.

Re:The Worst U.S. Maritime Disaster in Decades on Thursday April 05, 2018 @10:35AM (#16765245)
That looks great, and my local library has a copy, thanks for the pointer!
Re:Ask HN: What books do you keep on your desk? on Wednesday April 04, 2018 @04:00PM (#16758436)
Re:Ask HN: What books do you keep on your desk? on Wednesday April 04, 2018 @02:37PM (#16757595)
Interesting, that's on the Army Advanced Situational Awareness reading list (http://www.benning.army.mil/armor/316thCav/ASA/ReadingList.h...).
Re:From Rails to Clojure, Then to Java, Then Back to Rails on Wednesday March 21, 2018 @11:24AM (#16638837)
In the "things learned from Ruby" section:

  Focus on strong object oriented programming
What I've learned from Ruby is to favor functional programming concepts - minimize side effects, isolate state mutation, etc. Ruby is definitely OO, but when my Ruby code is more functional it's less buggy, easier to understand and move around, and generally less convoluted.
Re:An Interview with the Creator of Ruby (2001) on Thursday October 12, 2017 @10:43AM (#15458303)
Yes, although many changes are performance optimizations and other under-the-covers sorts of things. Here are the changes for 2.5 which if tradition holds will be out on Christmas:

https://www.ruby-lang.org/en/news/2017/10/10/ruby-2-5-0-prev...

Re:An Interview with the Creator of Ruby (2001) on Thursday October 12, 2017 @10:40AM (#15458281)
> I'm planning a full rewrite of the interpreter for Ruby 2.0 [...] It will use a bytecode engine.

And so it did! https://en.wikipedia.org/wiki/YARV

Re:30-Day Timelapse at Sea [video] on Monday September 25, 2017 @01:19PM (#15332225)
In the morning, usually setting things up for whatever operations are scheduled for the 0800-1200. In the evening, squaring things away from whatever we did that day and maybe prepping for night helo ops.
Re:30-Day Timelapse at Sea [video] on Monday September 25, 2017 @10:11AM (#15330613)
That an interesting watch rotation to stand. At first I dreaded that one because you get less sleep. But the upside is that 0400-0800 is a quiet time aboard a ship, and 1600-2000 things are usually winding down as well.

And if you're standing that watch that means you're not standing port and starboard (i.e. 4 hours on 4 hours off) so, could be worse!

Re:Burying your dead code on Thursday September 07, 2017 @03:50PM (#15195116)
Yup but coverband doesn't do code coverage during tests (like simplecov); it does code coverage in production by sampling requests and profiling them.
Seconded; this was a good one. It was on the 2014 U.S. Navy reading list.

Older »