24 April 2014

The Ruby Reflector

Topic

ToDo

  Source Favicon
Email

TODO

OneNote has been around as a product for nearly a decade. As a Mac user, OneNote is a 1.0 and it shows. It's a really well done 1.0, but there are some missing features and functionalities that impact my workflow.

The biggest is the lack of drag-and-drop. If you have an image you want to insert into a OneNote page, good luck dragging it from your desktop and into the app. The only way is to go to the Insert menu and insert it using a standard OS X open panel. It works, …

carpeaqua.com Read
  Source Favicon
By Mike Perham of 4 months ago.
Email

TODO

In 2014, we plan to:

upgrade Linux kernel for TCP performance improvements

upgrade to Percona 5.6

upgrade to Redis 2.8 for Lua and SCAN support

upgrade to nginx 1.5 for SSL performance improvements

switch from unicorn to Puma for memory efficiency

Conclusion

Overall I'm quite happy with the year. I was never woken up by a phone call and I sleep soundly at night. I like to think that validates the choices we've made with our infrastructure; let's …

mikeperham.com Read
  Source Favicon
By Ben Orenstein of Codeulate. 8 months ago.
Email

I will sometimes insert a TODO comment in my local branch. These notes are for things I want to do before submitting my code for review. A reviewer will never see them, and I never merge them into shared branches.

Other half-formed thoughts on comments

When I am forced to leave a comment, I use proper capitalization and punctuation. If I have to bring another comment into the world it might as well look nice.

One idea I've been toying with is writing method-level documentation comments. …

codeulate.com Read
  Source Favicon
By Ben Orenstein of Codeulate. 8 months ago.
Email

Comments containing TODO or FIXME

Fee: $ 500/line

I like the occasional TODO comment in my branch, but I never merge them in. FIXME is a "fuck you" to your coworkers.

Careless naming

Fee: $ 50/"wtf" from code reviewer

Try really, really, really hard to name things well. Update and improve your names constantly as the system changes. Be eager to rename something if you've found a better choice.

Static or class methods

Fee: $ 50/each

Class methods …

codeulate.com Read
  Source Favicon
By Patrick of Kalzumeus Software 1 year ago.
Email

…the next several months on beefing up my testing suite. Also, lesson learned about resolving " TODO: This is stupid" when it would take 5 minutes to do rather than having it blow up in my face.

There, that's an experience I went through. Now you know the punchline, so hopefully you don't have to go through it as well.

Similarly, we can observe:

We need an updated list of all applications running on our servers, so that we know when a problem with a technology stack affects …

kalzumeus.com Read
  Source Favicon
On Unspace Blog 1 year ago.
Email

…are many gotchas surrounding sub-views for example that aren't typically mentioned in the many TODO list examples out there.

It is very easy to find yourself in a situation where your views are leaking memory if you aren't careful. Happily, with some recent additions to the framework and some good tools, we can identify these problems and patch them up.

The setup

Let's start with a model and a collection: class Item extends Backbone.Model

class Items extends Backbone.Collection …

rethink.unspace.ca Read
  Source Favicon
Email

Add a Run Script build phase to treat TODO and FIXME comments as warnings

These commands can be run individually as well. For example, setting the project's indentation level to 2 spaces can be done with liftoff indentation 2 .

The best part about using liftoff over another solution like a custom project template is that liftoff can be used to quickly add these settings to an existing project without worrying about stomping on your current setup.

liftoff is currently …

robots.thoughtbot.com Read
  Source Favicon
On carpeaqua by Justin Williams over 1 year ago.
Email

…a dedicated TODO section along the bottom of the main window. If you click on " TODO" it will show a listing of each file that has a TODO message inside of it and let you browse them.

I am not using AppCode as my full-time development environment, but it has proved to be an interesting utility to put in the toolbelt and to test legacy code bases against. There are a lot of interesting ideas in it that make me want to explore it even more in the coming weeks and months.

Ultimately, …

carpeaqua.com Read
  Source Favicon
Email

When the environment finishes launching and deploying the Todo application, visit it and check off/complete some tasks. Wait a minute and refresh. Shazzam! New tasks are magically created in the background (by delayed_job ).

Quirks of this approach

Running chef on deploy is a new idea, though doesn't fit in nicely yet with some aspects of Engine Yard Cloud. If you are ok with them, or their work arounds, then perhaps this is a great idea for us to productize more thoroughly.

Only …

engineyard.com Read
  Source Favicon
Email

…"todos" (instead of the actual model, which could be named TodoItem , Todo , or Item ).

Notice that the differences here are similar to the changes made to a scenario relying heavily on Cucumber Rails' old web_steps.rb (taken from Aslak's post on the reasons for removing Cucumber Rails' training wheels ): Scenario: Successful login Given a user "Aslak" with password "xyz" And I am on the login page And I fill in "User …

robots.thoughtbot.com Read