HNHacker News
TopNewBestAskShowJobs

benmccann

1,314 karma · joined August 18, 2010

submissionscomments
benmccann··on Wind is outpacing coal as a power source in Texas for the first time
If you live in Texas you can switch your home's power to wind via a YC company and probably save money: getgex.com
benmccann··on On whether changes in bedroom CO2 levels affect sleep quality
It seems pretty accurate. The South Coast Air Quality Management District tested a bunch of consumer devices against a $30,000 professional device. I was deciding between the IQAir and Laser Egg 2+, which both did well according to their tests http://www.aqmd.gov/aq-spec/evaluations/field. I got the Laser Egg 2+ the other day. It's really enlightening to see how it spikes when we cook dinner or lunch on the gas stove.
benmccann··on How to visualize decision trees
I have a model trained with XGBoost Java. Can I take the model file and read it with scikit-learn to visualize it with this library?
benmccann··on You Don't Need Moment.js
I've sent a PR to date-fns to add time zone support, but the maintainer doesn't seem to have much bandwidth to review it. In the meantime, I'm going with Luxon
benmccann··on An ER visit, a $12,000 bill – and a health insurer that wouldn’t pay
Unfortunately, it doesn't seem like a hospital has had an incentive to do that in the past. They make less money by charging urgent care rates instead of emergency rates. They also have shifted liability onto themselves. When they get it wrong and tell someone to go to urgent care instead of the ER and the patient gets sicker or dies they now face increased risk of a lawsuit.

The health insurer in this case is actually changing the incentives for the better. Now the hospital risks not getting paid because they didn't triage up front. Unfortunately the patient is caught in the middle here and doesn't have any good option until a less expensive triage option is developed. Hopefully hospitals will respond to insurers denying ER visits to improve their triage as you've suggested.

benmccann··on Fossil – Next Generation
I would love if SCMs made it easier to have access controls. E.g. I want to give a contractor access to a single file or directory. That's basically impossible with git
benmccann··on Pittsburgh Gets a Tech Makeover
I'm not sure Pittsburgh is much sunnier

Rank City Annual % sunshine 164 PITTSBURGH, PA 45% 165 SEATTLE C.O., WA 43%

benmccann··on From Kafka to ZeroMQ for real-time log aggregation
What are the new options that help improve indexing rate?
benmccann··on We only hire the trendiest
Have you done this? My worry would be that sooner or later you'll have a candidate who posts the assignment online ruining your weeks of effort. It also seems like it makes it much easier to cheat if you make it a take home.
benmccann··on Why Greece and the EU aren't playing games
If debt is forgiven or defaulted upon, then it becomes harder to borrow in the future (i.e. they must do so at higher interest rates to account for the risk). If countries never paid their debt then no one would loan to them or would loan only at astronomical interest rates.
benmccann··on Firefox 42 will not allow unsigned extensions
This is very frustrating. Made worse by the fact that they just replaced their packaging tool with a new jpm tool that doesn't yet match the functionality of the old tool.
benmccann··on Kubernetes V1 Released
Agreed. That's the only reason we're not on Kubernetes right now. It really dramatically increases the amount of infrastructure we need to run when we're forced to run three Kubernetes clusters to run a single MongoDB replica set. But I love everything else Kubernetes is doing and so I'm very anxious to see that be addressed.
benmccann··on What’s new in Play 2.4
Play 1's code generation / scaffolding for CRUD apps was nice. It would be a cool feature to add to Play 2.

I really find Play 2 to be an enormous improvement over Play 1 though. As just one example, deploying your app is so much easier in Play 2. Play 1 expected you to install the framework on your production machines. Play 2 has built-in support for building deb/rpm packages, docker containers, zip archives, etc. which makes deploying so much easier.

benmccann··on What’s new in Play 2.4
Asynchronous code is often more performant, but requires you to supply a callback if you want to take further action after the async code completes. In Java, this typically means subclassing Callable or some other class and you end up with lots of anonymous subclasses, which can be quite verbose. Java 8 introduced new syntax by allowing lambdas which removed the verbosity. Play 2.4 uses Java 8 and some of its examples shrank quite a bit in terms of lines of code.
benmccann··on What’s new in Play 2.4
The big difference with 2.4 is that Play now uses DI internally. So if you want to replace some Play component with your own version of that component, you can do that. With 2.3 you could use DI with your own app, but couldn't with any Play-provided components.
benmccann··on What’s new in Play 2.4
Yes, I use Play exclusively with Java. I've never felt that Java is a second-class citizen with Play. All the features are supported from both languages and the core developers are very eager to ensure that you can work equally well with both languages.

I'm not entirely sure why Play has a reputation of being for Scala except that there are fewer web frameworks for Scala than Java, so Play is more popular among Scala developers. I think the other thing that confuses newcomers is that the templates are Twirl templates. They should probably have an extension like .twirl but unfortunately use the extension .scala.html even though you're really not writing Scala at all. You're writing Twirl which is it's own thing and doesn't take more than a few minutes to pick up. (The reason for the .scala.html is that templates get compiled to Scala, but you really don't have to know or care about that)

benmccann··on What’s new in Play 2.4
This submission's title is horribly misleading because Play is not a Scala web framework. It's a web framework for Java and Scala.

As someone who's used Play heavily for the past couple of years, I'm very excited by this release, which is Play's best yet.

benmccann··on Gotchas from Two Years with Node
You can use XML in any language. No one forces you to use XML in Java. Yes, if you choose a crufty framework like J2EE or Spring then they'll use lots of XML. But you can just as easily choose a modern tools like Guice or Play Framework and not be forced to configure everything in XML.
benmccann··on Show HN: Matterhorn – Your new project manager
I got a 404 when clicking the reset password link that was emailed to me.

The create new project button was broken.

It's unclear what the pricing is. The homepage says $9/user/month. When I logged in I think the price was 9£/user/month

benmccann··on Deis 0.9.0 – Dockerfiles, Domains, and HA Routing
What is Deis using for this new HA routing? HAProxy, ELB, homegrown?
benmccann··on Standing Desk Do It Yourself (DIY)
There are desks that move up and down with you. Though I've found that a monitor and keyboard stand that slides up and down is a cheaper alternative (http://www.ergotron.com/tabid/65/PRDID/379/language/en-US/de...). It may still be tough finding one with a range of motion large enough for someone as tall as yourself.
benmccann··on Stripe Checkout
They're great the first time you charge someone. But there are things that can be really hard when you try to add seats to an account or do renewals. E.g. one thing that I know has been really frustrating to our engineers is that they don't support applying a discount amount per seat.
benmccann··on Keyboard innovation is making them worse
I think the only other options with a trackpoint are the HP EliteBook 850 G1, Toshiba Tecra Z50, and Dell M4800/M6800.
benmccann··on S.F. tech companies' civic image at stake as backlash grows
It says something about San Francisco's housing density and public transportation system that Google needs to create their transportation alternative. It's not that Google employees have "fragile sensibilities" and cannot mix with the rest of the general populace. Rather, it's that everything is spread out and it's difficult to get around using the public transportation system. There are no Google shuttles in NYC because it's more attractive to live closer to the workplace and sufficiently fast to take the existing transportation. The local residents need to accept that high tech workers are there to stay and start solving these problems.
benmccann··on Why are there so many crazy bums on San Francisco streets?
The first estimates I found on Google show 130,000 homeless in California with 500-1,500 sent here via "greyhound therapy". It's not a small amount, but it's still only ~1% of the homeless population.
benmccann··on Disruptions: If It Looks Like a Bubble and Floats Like a Bubble…
Is McDonald's really worth $100 billion?? It's some guys making hamburgers!

Valuation is based on a whole host of things including revenue, brand recognition, distribution, customer acquisition costs, customer retention rates, switching costs, growth, etc. You could start a Dropbox competitor and have none of those. The business matters far more in valuing the company than how hard it is to replicate the product. It's much easier to make a hamburger as well as McDonald's than it is to make a business as good as theirs.

benmccann··on Why I Turned Down $5 Million in VC Funding
The company issues new shares and the funds go into the company bank account. You own the same number of shares as before, but a lesser percentage.
benmccann··on Ph.D. 2.0: Rethinking the Ph.D. Application
I graduated quite some time ago. Getting letters of recommendation from professors would be impossible for me. I doubt I'd have one professor that knew me when I graduated let alone now years later. And yet, fulfilling these requirements would be very easy for me. I think it's very nice to have multiple routes in. Even if very few candidates avail themselves of this latter route, they might be interesting candidates worth strong consideration.
benmccann··on Silicon Valley Bank says no to Bitcoin businesses
They've provided us with services we've struggled to get elsewhere. E.g. not having to personally guarantee our company's credit cards and being able to give read-only account access to our accountant.
benmccann··on MongoHQ Security breach
Putting support functionality on the VPN means folks from outside the organization can't get to it without VPN access. It also means that you must give more people within your organization access to your VPN which raises the chances of having a compromised account be able to access other valuable assets on the VPN such as your production hardware. How do you make a trade-off between these?
← PreviousPage 4 of 13Next →