HNHacker News
TopNewBestAskShowJobs

tednaleid

980 karma · joined May 30, 2008

e-mail: contact@naleid.com blog: http://naleid.com/blog twitter: @tednaleid bitbucket: https://bitbucket.org/tednaleid github: https://github.com/tednaleid stackoverflow: http://stackoverflow.com/users/8912/ted-naleid
submissionscomments
tednaleid··on Use Jenkins "Build Per Branch" for Git Feature Branch Development
There are lots of advantages for us. What if the full build and test suite takes longer to run than you want to occupy your computer?

Unit tests are quick, but the full set of unit/integration/functional tests? Plus ensuring that artifacts like .war files can be successfully created, and that it runs fine on the target system rather than just on your dev laptop (which for most devs is not the same platform as they deploy to).

What if you want to show off your work-in-progress by having a job auto-deploy it to a test server so that your customers or QA can play with it before you're ready to merge to master? Sometimes a day is too long to wait to show something off. Commit and publish as a branch and you can keep working while someone else looks at it.

We have another dev code review every pull request to master to ensure code quality as well as spreading knowledge of what's happening across the team. The overhead is surprisingly low. Branches literally take about 15 seconds to make, and pull requests are no more than a minute or two unless you really go into testing instructions.

tednaleid··on Use Jenkins "Build Per Branch" for Git Feature Branch Development
Not that I'm aware of, but modifying the code to support SVN would be pretty easy to do. All it really needs from the VCS is the current list of branch names. If you modified the GitApi class (https://github.com/entagen/jenkins-build-per-branch/blob/mas...) to talk to SVN instead of git, everything else should work fine.

This project was presented at a user meeting tonight and one of the attendees there was planning on adding Mercurial support.

tednaleid··on Use Jenkins "Build Per Branch" for Git Feature Branch Development
Thats an interesting approach. If a branch is broken, which causes the job to fail, how do you communicate that and monitor when it's actually fixed (rather than another branch getting run which "fixes" it)?
tednaleid··on Use Jenkins "Build Per Branch" for Git Feature Branch Development
So what benefits are you saying are lost/given up by this model that another model preserves?

Also, feature branch development is just how we're using it. The code monitors git for any new branches and automatically clones jobs for new branches. This would support a more traditional master branch with release branches created periodically. Those release branches would automatically get Jenkins jobs created for them instead of someone manually having to do it.

tednaleid··on Rich Hickey on Datomic: Datalog, Databases, Persistent Data Structures
They were, but not on the same nodes as the data was on. They were in a different AWS security zone with different ssh keys/access privileges.
tednaleid··on Rich Hickey on Datomic: Datalog, Databases, Persistent Data Structures
I worked for a company that had a large amount of HIPAA data on Amazon's EC2 platform. We did significant encryption (including field-level encryption) on the data to help mitigate security concerns.

We were able to pass security inspections by 4 fortune 500 health companies with this model (though a couple of them needed significant hand-holding).

It made querying that data a pain in the ass because you couldn't do a SELECT ... WHERE <encrypted field> = 'foo' as the data wasn't encrypted client side.

One cool thing about datomic is that the query engine runs client side, so it can also invoke client side methods as part of the query. This means that if you had encrypted data in your store, that it could be trivially decrypted client-side and you could potentially get the full expressiveness of the language to work with your data.

tednaleid··on Mercurial vs Git: Why Mercurial?
Almost all git vs mercurial differences for most users are cosmetic/usability/culture related. With a few extensions turned on, you can use either interchangably. The biggest exception to this is if you use named branches (a fairly common thing in git, slightly less so in mercurial). Mercurial hard codes a branch name in the metadata of a commit, git doesn't do that. I prefer git's method as it means that a commit can move around on branches (or really that branches can point to different commits) without messing with the commits themselves.
tednaleid··on Mercurial vs Git: Why Mercurial?
We use tags on github for priority. Combined with milestones, we're easily able to figure out what to work on next.

Right now just limited to "High", "Medium" and "Low", but we could have whatever level of granularity we want. We can also color code the tags (red = high, orange = medium, yellow = low).

The thing I really miss on github is a place to stick a numeric estimate for how long something will take to help with knowing how much capacity we have left in a release/iteration.

tednaleid··on Visualized Git practices for team: branch, merge, rebase
This is the alias I use in my `.gitconfig` for running log with graphical output (got this somewhere, not sure where):

    [alias]
      l = log --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue[%an]%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
The omglog gem is also useful for working with git. It gives you a graphical log of the entire repo (not just your current branch as a normal git log does), and it auto updates by monitoring for file system changes (OSX only).

To install:

    sudo gem install omglog
Then just run `omglog` in the root of your repo, or use this alias in your `.gitconfig` to automatically run it from the root of whatever repo you're in:

    [alias]
        omg = !omglog
(shell commands, starting with a "!" command in a git alias are always run from the root of a repository)
tednaleid··on Dropbox inventor determined to build the next Apple or Google
I wonder if this is a mistake. I thought the hack was not the menu bar but messing with the icons in the finder so they have a status icon on top of the normal file icon (so a checkbox if they're uploaded to the server). That's quite a bit less common than menu bar changes and I think when they first did it, there was not an API for it (not sure if there is now in Lion).
tednaleid··on Big Data: principles and best practices (new book)
I just ordered a copy of the EAP. Looks like it's just PDF now. Do you know if they plan on offering kindle/epub versions later in the MEAP or on release? Some manning books seem to have them and some don't. Device specific formats are often much easier to read than PDFs are.
tednaleid··on Google+ passes 62 million users. Adding 625,000 new users per day.
Are you looking at the graph in the post you replied to? I see it as weekday spikes (while people are at work, maybe recruiters?) and weekend slumps. Not quarterly spikes. Though I agree that the pattern is fascinating :).
tednaleid··on Ask HN: What is the best developer conference talk you saw in 2011?
Strangeloop - great speakers (including my favorite keynote in years by Rich Hickey http://www.infoq.com/presentations/Simple-Made-Easy) and great variety (https://thestrangeloop.com/sessions). I'm also happy that all of the presentations will (eventually) be available on the web (https://thestrangeloop.com/news/strange-loop-2011-video-sche...).

I'll definitely be attending in 2012.

tednaleid··on Learn Clojure as a holiday project
I'm just diving into clojure now and have finally gotten my vim environment set up with a working repl (war scars here for vim users trying to get going: http://naleid.com/blog/2011/12/19/getting-a-clojure-repl-in-...)

This is exactly the kind of next step I was looking for beyond the 4clojure and clojure koans stuff. I'll be working through it this weekend. Thanks!

tednaleid··on Twitter releases new JS template engine: hogan.js
It really decouples the model (the data that's served in the json) from the view (the mustache template). This lets frameworks like ember and backbone do MVC on the client side where the server is really just there to serve up a model (in the same way that a database does for most current apps).

Making an http request is then equivalent to making a sql query.

tednaleid··on Twitter releases new JS template engine: hogan.js
It's because they're using an url shortener in a non-twitter/character limited situation. Makes the browser need to go through a couple of jumps to load something that the user will want to load fast.
tednaleid··on Twitter releases new JS template engine: hogan.js
One place that it really clicked for me in a real world situation was by looking at the source for NodeUp, a node.js podcast. http://nodeup.com/

It's a beautiful website, and I was curious what their HTML looked like. If you look at the source for the page, all you see is the mustache template that they then populate with the information for all of the podcasts that they've done. You then can start to see the power that templating gives you. Serve up a template in your html, request some JSON to populate it with on page load and have it replicated.

Makes your initial page very cacheable and clean. Much better than assembling html by hand with "foo" + "bar" or .append semantics.

tednaleid··on Vim: revisited
I used jj for a while as well, but once I found out that ctrl-C did the same thing out of the box, that became my "esc" key> (it's also important to remap caps lock to control, on the mac its easy: System Preferences->Keyboard->Keyboard->Modifier Keys)
tednaleid··on Louis CK self-produces, self-publishes content on his webpage
You don't have to have a paypal account, you just have to use paypal to pay. Account creation is optional.
tednaleid··on Fuck passwords
? what's your point, so there's a file that it stores on your hard drive. That's obvious. The passwords in that file are still cyphertext encrypted with your master password. Using "strings" doesn't give you anything that you can use to log in.

You need to pick a good password, but there's only 1 to remember (hence the name).

Did they store them in actual, real plaintext at one point? If so, that's not how it works now.

tednaleid··on Why Yammer is moving away from Scala
Gabble is a native client, that's why I use it, to avoid the Air client and it's CPU draining ability.
tednaleid··on You Guys Are Millionaires Right?
Right, coffee is a (mostly fungible) commodity product that requires an investment of ~3-5 minutes of drinking time and you're done.

There's basically no opportunity cost to picking the "wrong" coffee. It won't take you longer to drink, will probably give you the same amount of caffeine and just won't taste quite as good as the "right" one.

Apps can require a significant time investment to learn/use them. There's also a potentially large opportunity cost to picking the wrong app. App store searching kind of blows, without some invested time, you can't even know which one is the "right" app for you to spend some time on. Though I also agree that 15-20 minutes is much more likely than hours of research.

The $2 isn't the point, it's the cost after the purchase that you're spending time to make sure it isn't wasted.

tednaleid··on EBay acquires Hunch for $80m
Chances are the options weren't restricted options that employes could exercise ahead of time and that there was a 4 year vesting cliff. Most people don't exercise options at vesting time so I'd bet that most of the options were taxed as short term capital gains (and that would mean that 25% is actually probably a bit low for most employees with where this would get them to).
tednaleid··on Steve Losh's .vimrc
I use zsh too, but did something similar that should also work in bash: http://naleid.com/blog/2011/10/03/using-dropbox-to-share-you...

I link my dot files as well as Documents, Pictures, Music, and Desktop directories that are also normally controlled by OSX. Having those shared across multiple computers is awesome. Sit down at a computer, and it's there.

I also have my zsh files checked in to bitbucket (https://bitbucket.org/tednaleid/shared-zshrc/) so even if the computer doesn't have dropbox (like many of the linux servers I have access to), as long as it has mercurial, I can clone the repo and be ready to go.

tednaleid··on Microsoft spends $7.5m on IP addresses
I'm guessing it's related to their cloud offering. The ability to have a big pool of IP addresses that they can offer to people using their cloud means they don't have to ration them quite as strictly. Amazon already limits you in the amount of elastic IPs that you get out of the box (you can request more http://aws.amazon.com/contact-us/eip_limit_request/ but you need to fill out a form). As things get more scarce, this could become a much bigger issue. Microsoft is hoarding early so that when things really get tight, their users don't have the same pressure.
tednaleid··on Google+ is now available with Google Apps
Yep, that's the boat I'm in. I've got google apps for my own domain, and maintain 2 personal accounts on there (one for friends, one for acquaintances), my work is also on google apps. That means that there are already 3 google accounts that I'm juggling (or struggling with) and I was loathe to add a 4th account just to use google plus.
tednaleid··on Gerald Sussman: "We Really Don't Know How To Compute"
http://d1snlc0orfrhj.cloudfront.net/presentations/11-sep-wer...

You can get it with Chrome by launching with the iPad user agent and looking at source. Here's a gist with an alias for launching chrome on OSX with the iPad user agent.

https://gist.github.com/1313794

tednaleid··on Show HN: TouchBase (re-imagining the iPhone calendar)
Looks interesting enough for me to purchase it. I think it attacks a common calendar problem that's missing in the default calendar app of actions that you want to take as future events become the present. Most apps just offer alerts, but this lets you interact with the others involved in the event.
tednaleid··on Show HN: Who's Hiring? (postings mined from Twitter)
Looks like a good start to something potentially very useful.

Some suggestions:

I'd like to see how old a tweet is. I don't have any idea how fresh some of this information is (without clicking on the user and searching through their history).

Related to that, I'd also like a link to the original tweet, so that I can potentially follow any conversation on that tweet.

It'd also be nice if any hyperlinks in the tweets were active links, rather than just text that I need to cut/paste.

Something that's potentially a little harder would be to let the user determine the radius that they want to see tweets for. I'm in Minneapolis, and I'm seeing some tweets for Iowa and Wisconsin. Those could be useful to me, but I'd more likely want to filter those to a smaller radius.

tednaleid··on Vim Movement Shortcuts Wallpaper
There's a transparent png file in the source files that I've got out on bitbucket (https://bitbucket.org/tednaleid/vim-shortcut-wallpaper/src/t..., the white letters don't show up on bitbucket's white background), you can take that file and overlay it on top of another image in pretty much any image editor easily.
← PreviousPage 2 of 6Next →