HN user

derickbailey

684 karma
Posts72
Comments36
View on HN
derickbailey.com 12y ago

Build your own app-specific REPL interface, for your NodeJS app

derickbailey
1pts0
derickbailey.com 12y ago

How I built a subscription screencast service in less than 1 day

derickbailey
2pts0
lostechies.com 12y ago

7 things i learned from 175,000 pairs of eyes on a failed ad

derickbailey
3pts0
blog.signalleaf.com 12y ago

50 reasons why you need to blog every podcast episode

derickbailey
1pts0
lostechies.com 12y ago

Self Publishing And The Value Of GateKeepers In Traditional Publishing

derickbailey
1pts0
lostechies.com 12y ago

JavaScript Promises: A Journey To The "Promise Land"

derickbailey
1pts0
lostechies.com 12y ago

Fixing SSL Certificate Issues On Android And Other Devices

derickbailey
1pts0
lostechies.com 12y ago

Building An Email List Component With BackboneJS

derickbailey
3pts0
lostechies.com 12y ago

How I Met My Dream Job, Left It, And Returned To Focus On Products And Services

derickbailey
1pts0
blog.kickofflabs.com 12y ago

Lessons Learned: The Seven Marketing Secrets that Grew MRR 73% in 2013

derickbailey
4pts0
lostechies.com 12y ago

Stitching Together A SaaS of SaaS (and never owning a server)

derickbailey
31pts14
lostechies.com 12y ago

SOLID JavaScript In A Wobbly World (Wide Web)

derickbailey
1pts0
blog.signalleaf.com 12y ago

MP3 Bit Rates, File Size And Audio Quality

derickbailey
2pts0
blog.signalleaf.com 12y ago

Prepare, Produce, Publish: How To Get Started In Podcasting

derickbailey
2pts0
blog.signalleaf.com 12y ago

Why can't I just host my podcast on iTunes?

derickbailey
1pts0
lostechies.com 12y ago

Minimum Viable Report

derickbailey
1pts0
www.icenium.com 12y ago

Cleaning up JavaScript callbacks with promises (screencast)

derickbailey
1pts0
tech.pro 12y ago

Rendering A Filtered Backbone.Collection (An Unexpected Journey)

derickbailey
3pts0
signalleaf.com 12y ago

SignalLeaf: Embedded Podcast Audio Hosting

derickbailey
1pts0
github.com 12y ago

MarionetteJS (Backbone.Marionette) v1.1 release notes

derickbailey
1pts0
lostechies.com 12y ago

Injecting add-ons and plugins into non-AMD libraries, with RequireJS

derickbailey
1pts2
lostechies.com 12y ago

A demo of BoEBot with Johnny-Five and bluetooth

derickbailey
1pts0
www.kendoui.com 12y ago

Build Kendo UI Mobile apps with your views stored in separate files

derickbailey
1pts0
lostechies.com 12y ago

Prototypes, Constructor Functions And Taxidermy

derickbailey
1pts0
blog.safaribooksonline.com 12y ago

Build An Arduino Powered BBQ Thermometer With JavaScript

derickbailey
1pts0
blog.safaribooksonline.com 13y ago

JavaScript Powered Arduino with Johnny-Five

derickbailey
5pts1
www.kendoui.com 13y ago

KendoUI-Lint.vim: Lint Your Kendo UI Config From VIM

derickbailey
1pts0
www.kendoui.com 13y ago

Protecting Your Mellow With JavaScript Linters

derickbailey
1pts0
lostechies.com 13y ago

My Smartphone Made Me Dumb. I Fixed It.

derickbailey
2pts0
www.kendoui.com 13y ago

Video on 2-way sync between Backbone.Collection and Kendo UI DataSource

derickbailey
1pts0

exposing methods for the purpose of testing is bad design, whether or not you are only doing it in a test environment. if you have a method that is sufficiently complex and warrants its own testing, put it in it's own module file and test that module file on it's own - no need to break your design and modify your runtime module exports based on runtime environment checks

http://lostechies.com/derickbailey/2014/01/03/semantics-modu...

"saying you don't need to own/run servers for things like a podcast is just pissing money into the wind." - that's probably true. i may end up doing something like your suggesting in the future. right now, the streaming side of things is not something i want to concern myself with. i have other things that need my attention.

linode's $160/mo plan would cover me for a while. i'm transfering around 4TB a month right now, and that would cover 16TB.

thanks for the feedback and suggestions! this is something i'll need to keep in mind in the near future.

I'm serving files from Amazon S3. This gives me the benefit of world class storage and streaming, without having to own / run the servers myself. Bandwidth from them is "cheap" at $0.12/GB... but with an average podcast of 30 minutes being 25meg file, an episode with 1,000 downloads is 2.5GB of bandwidth.

i have a customer that averages 20,000 downloads per episode, and a bunch of others with close to 1,000 downloads per episode. it adds up fast.

definitely things that need to be considered - vendor lock in being the worst, IME. i'm less worried about API call integration, as i tend to isolate 3rd party APIs from my code... but that doesn't prevent all vendor lock-in.

for me, being able to focus on features is more important than these concerns, right now. i expect that over time i will take some of these tasks in and write the code myself, but at the moment i'm more concerned with feature growth.

good points that need to be considered in building your startup! it's a balancing act, i think, and that balance will change over time. for me, with an early stage of my service, being able to focus on my system's features and functionality is more important than the performance and customization that i would get out of writing some of these services myself. i imagine that later on in the lifecycle of this system, i will remove some of the 3rd party services in favor of my own code. but right now, being able to get features done quickly is more important than the monthly subscription costs. i don't expect everyone's situation to be the same, but i think it's a good place to start when you are bootstrapping your own apps / services

If you're writing BackboneJS apps, you need to buy this book. There's so much great information in there. It's the book I wanted to write, but they beat me too it. :)

Thanks for the feedback on that first episode! I heard similar statements from other buyers as well, and I've taken it to heart for this episode.

I took the time to script out the code and the talking points this time around. I also recorded the audio separately so that I could really focus on the code and on the audio, independently.

I hope this episode shows the level improvement I think it has! If not, I'm always looking for feedback on what I can do better.

I thought about that when I first wrote it but decided not to, because it's not a ruby app. The backbone-rails gem provides some convenience generators and other things... but I'm not sure I see the value in packaging the modelbinding plugin as a gem. Is there a specific reason you would like to see that?

disheartened? we've basically said the same thing.

as for the wizardry - it's jquery (or zepto or something else), not backbone that does this. while backbone integrates with and uses jquery heavily in the views, i don't think it's a fair claim to say backbone creates facilitates those user experiences. it helps us organize our code effectively so that we can create those user experiences in a well structured manner.

and come on, Jeremy... you know how much I love backbone! it's 80% of what I blog about these days! :)

that's one of the benefits and drawbacks of them, really. it's great to have flexibility, but it makes learning them more difficult because there's no hand-holding. it may require someone that has already formed opinions, to guide you through the learning process.

yes, that's an accurate statement.

backbone and knockout focus on two different problem spaces: app architecture (backbone) and UI wizardry (knockout).

there are several plugins for backbone that bring model binding and other user experience enhancements to it, though. plus, backbone integrates directly with jQuery, so you have access to all of jQuery's libraries and plugins, still.

It looks like LosTechies.com is down - maybe all the traffic from HN :) It's being worked on as fast as we can! Sorry about that!

"It depends" - the only viable answer :D But seriously, it largely does depend on the behavior of your application.

If you're going to use Knockout to provide wiz-bang editing and binding on single page (as opposed to a slew of jQuery code everywhere), then you might not need much more than Knockout.

If you're going to be creating multi-page JavaScript applications within a single page of your site, you should look at combining something like Backbone.js with Knockout, using the Knockback library I linked to in that article.

Alternatively, if your looking for good structure for JavaScript applications in general, I have another post that introduces a few of the concepts and links to some great resources, here: http://derickbailey.lostechies.com (unfortunately, I can't get the exact URL at the moment... site seems to be slow / not responding. just look for the "Intro to composite JavaScript apps" post)

Interesting that you say that... I've often though exactly the opposite on what I want to see.

In my experience, a project set up is such an un-common occurrence (it only happens once per project, after all) that there is really nothing special or customized about doing it. When I set up a project, I download and install everything as if I had never done it before. I don't use any special tools or scripts. I just use whatever the framework and plugin system I choose comes with.

My intention with this screencast was specifically not to show project setup, but to show the later stages of a project. I find most of the breakdown and slog through code happens after something has been in place for a while, and now needs to change - hence the need for refactoring.

... but, I do have some ideas that would play well in to what you're wanting. I'll definitely keep this in mind as I'm looking at what I'm going to work on next.

Yeah, that blog post is a companion to the screencast. The purpose of the post is to provide some additional thoughts on the high level refactorings that I did, while the screencast is intended to show _how_ to do the refactorings instead of just why.

Re: short videos - great idea.

I've got a few 5 or 10 minute videos on getting started with Test-Driven JavaScript using the Jasmine framework. I can give those away and then have a much longer episode on really diving deep into Jasmine. Hopefully I'll be able to get this done soon.

It is a risk buying from someone that you don't know. At one point, no one knew who PeepCode was either. Geoffrey grew his brand and became well known.

As for the price - PeeCode sells all their recent videos at $12 each, for ~1hr of content. So, $14 seemed reasonable to me (also based on the price I've paid at Tekpub, DestroyAllSoftware and other screencasting sites) considering the length of the content that I've produced.

But, you may be right. Maybe I should drop it since I am an unknown person in the screencasting world.