Better HN
topnewbestaskshowjobs
Log inSign up

cmpb

749 karma · joined Jan 9, 2013 (13y ago) · 222 submissions

Submissions

comment 11y ago · link · parent

Nice list. This is more or less what I look for. It's nice to see your rules of thumb.

Anyone have any suggestions for time-estimating code review? That's the biggest issue we've faced trying to implement code review into our workflow.

comment 11y ago · link · parent

This is pretty excellent.

comment 11y ago · link · parent

From what I understand, Atom has a pretty big user base and it's getting larger. Now that they've squashed a lot of the bugs that plagued the early versions, it seems to be taking off.

Note: I've been using it for over a year, so I may have a biased view as a member of the community.

comment 11y ago · link · parent

Its because the requests aren't actually coming from China. China is redirecting worldwide users from Baidu to GitHub. Sorry, I don't have the link handy, but it was in that WSJ article on the front page.

comment 11y ago · link · parent

Mac OSX with Homebrew, iTerm, Vim (split terminal with vim on top and repl on bottom is pretty nice), Atom (for big projects), git, GitLab, Firefox browser. That's about all of my non-language-specific stack.

comment 11y ago · link · parent

And is this drought not also taking years? It think it's reasonable to expect the farm markets to capitalistically take advantage of California's decline, even if it does take years.

comment 11y ago · link · parent

I'm not entirely certain, but I believe this is a major use case of Macaroons third-party caveats.

http://hackingdistributed.com/2014/05/16/macaroons-are-bette...

188.

Phusion Passenger 5.0.1 “Raptor” Released(blog.phusion.nl ↗)

65 points · by cmpb · 11y ago · 25 comments

comment 11y ago · link · parent

This reminds me of "How a Web Design Goes Straight to Hell" [1] by The Oatmeal. It's a different moral, of course; basically, don't trust the client more than you need to.

[1] http://theoatmeal.com/comics/design_hell

comment 11y ago · link · parent

It is an insanely well-managed product (IMO).

comment 11y ago · link · parent

Given the huge feature gains in vanilla JS over the past few years (and in particular, the past year via ES6), I think we'll see more people shedding frameworks altogether. At least for the common tasks that were accomplished / made simpler by jQuery.

comment 11y ago · link · parent

This looks pretty interesting. Could someone give me a good use-case for this? I suppose spinning up dev environment on a host other than localhost could be useful? I could also see this being useful as an interface for multiple docker-installed production environments.

Perhaps someone could give me a "for instance."

comment 11y ago · link · parent

I see what you're saying about the table filtering! Very slick. Dragging columns around feels very fluid. Great work, I think I might have to go ahead and purchase this one!

comment 11y ago · link · parent

This is a nice guide on setting up integration with a PostgreSQL database from Node. I've come across a few projects recently that make similar attempts, as an ORM:

Bookshelf: http://bookshelfjs.org/

Sequelize: http://sequelizejs.com/

Waterline: https://github.com/balderdashy/waterline

comment 11y ago · link · parent

I would suggest trying Vyvanse[1] instead of Adderall. It's available by prescription and, being an amphetamine, is schedule II (meaning there are rules on how much you're allowed to have at one time, I think 30/month). Nevertheless, it has greatly increased my productivity with minimal side-effects; the only side-effect I've noted to date is diminished appetite, but it does seem to have worn off over time.

[1] http://en.wikipedia.org/wiki/Lisdexamfetamine

comment 11y ago · link · parent

It's actually somewhat of a theme in the node community to prefix your project name with 'node-', e.g. [1]. In this case, however, Mozilla is still going against that custom by also prefixing the package name itself with 'node-', which is a bit redundant.

[1] https://github.com/node-gitlab/node-gitlab

comment 11y ago · link · parent

That's pretty slick. I'll put this library in my back pocket for later.

comment 11y ago · link · parent

It is, however, amazingly convenient and capable of saving a lot of time in bug fixes.

comment 11y ago · link · parent

Looks useful! Could you provide an example of a field with validations depending on the value (or validation status) of another field?

E.g., birth_month required if birth_year is set and after a certain year.

comment 11y ago · link · parent

Reading through these makes me really miss my undergraduate days as a physics major.

Only marginally related: If you ever have a chance to go to one of the LIGO [1] sites (Laser Interferometer Gravitational-wave Observatory), do go take a tour! I've been to the one in Livingston, Louisiana [2], and it is simply amazing. The technology used and the science involved is very interesting. It's also kid-friendly!

[1] http://www.ligo.caltech.edu/ [2] http://www.ligo-la.caltech.edu/

comment 11y ago · link · parent

This person has produced some pretty incredible things with HTML/JS/CSS (including Matter.js).

http://brm.io/work/

comment 11y ago · link · parent

Genghisapp is a great drop-in GUI for Mongo btw.

comment 11y ago · link · parent

We use it for nearly everything. We use it because it's easily portable, easily configurable and extendable, and it has a very pleasant API. It's also pretty fast.

comment 11y ago · link · parent

Trying it out now. So far, I am enjoying how clean the interface is.

It really feels like a glorified TODO list (or TODO list manager), but I do think that there is potential here. I would recommend adding features that separate it from the usual TODO list, e.g.:

- Add features of flowcharts

-- conditionals (if this then go there)

-- subtasks

- Allow for finer control over the contents of the headers and items

-- Currently, it looks like you can add descriptions which display directly beneath the item or header (and is very clean looking!), but it would be nice if I were able to add html content (consider allowing markdown?)

- I may be using it incorrectly, but I started creating a list and accidentally started the list but kept adding items anyway. Consider adding the ability to add the new tasks from an already-started list to the parent list from which it was created.

- Other things? What are your currently-planned unimplemented features for this application?

I could see myself (and my team) using this application if the bullets above were addressed.

comment 11y ago · link · parent

This looks really slick! I think I can get a lot of use out of this at work.

comment 11y ago · link · parent

That's intense and really quite silly. It makes sense to modularize large or complex (or some better modifier?) portions of the code base, but there's a point at which it just becomes too deep of a rabbit hole. I don't believe there is a formal definition of how deep down the rabbit hole that mark is, but I'm sure it would be a function of the module's (and the project's) size, readability and complexity.

comment 11y ago · link · parent

He has cemented it, but I think op means formalized with express intent of autocracy.

comment 11y ago · link · parent

I like this idea since it solves the issue of easily persisting things you may want to keep around, but wouldn't it limit the types of things you can persist (e.g. can you easily persist ideas/snippets this way)?

comment 11y ago · link · parent

This is the area where I feel that Atlassian's SourceTree really shines. It is still an effective tool for manipulating git with a GUI, but the git branching display is insanely useful.
1
45678