HNHacker News
TopNewBestAskShowJobs

jbrechtel

245 karma · joined December 26, 2010

Developer.

http://www.keithalexanderisreadingyouremail.com

http://www.mobilemagicdevelopers.com

Email: My gmail username is the same as my HN one.

submissionscomments
jbrechtel··on Learn Emacs Lisp in 15 minutes
As others have said, Evil's emulation is really good. I've ran into the same problems you have mentioned in other Vim emulation layers so I had the same suspicious with Evil. Evil didn't disappoint. Very good so far.
jbrechtel··on Ubuntu 13.10 to ship with Mir instead of X
Haha, no. I was just curious about the feasibility these days of FreeBSD on a laptop.
jbrechtel··on Ubuntu 13.10 to ship with Mir instead of X
Are you using FreeBSD on a laptop?
jbrechtel··on Linux developer Seth Vidal killed in Hit and Run accident on his bike.
This article, with some data about accident rates in various for/against traffic situations, disagrees with your intuition about riding against traffic:

http://www.bicyclinglife.com/Library/riskfactors.htm

jbrechtel··on The JVM situation
Let's just say that Tony Morris doesn't mince words on the Scala MLs.....
jbrechtel··on State of Clojure on Android 2013
It's not bogged down by the same performance. There may be times where idiomatic Scala code generates more garbage than similar Java code and thus has more of an impact on Dalvik performance but these are straight forward to work around and well understood. For the vast majority of apps this isn't a problem.

Scala does suffer a similar size issue where the Scala standard library is a few megs and you don't really want to ship that around with your app. You can use ProGuard to strip out the parts of the Scala standard library you aren't using. This is baked into build tools (like jberkel's excellent android-plugin for sbt) so it's usually seamless.

FWIW, I've got a couple Android apps on the Play store written in Scala.

jbrechtel··on What technical reasons are there to have low maximum password lengths?
For the application code to complain about password length then the 4gb upload has to have already occurred.

Protecting against a DoS attack this way is done in the webserver, which doesn't care about individual fields. Sure this means there's an implicit password length limit, but not in any application-level sense.

jbrechtel··on TDD, BDD, and the tea tasting lady
In an OO-world function extraction usually results in private methods to a class. You (generally) don't test those directly so it doesn't necessarily result in more specific unit tests.
jbrechtel··on TDD, BDD, and the tea tasting lady
It'd be great if you would write a blog post with more details about the TDD vs non-TDD projects. Things like:

Duration of observation team size (over time) survey of team members anyone go from one team to another? Someone with perspective across both teams would be good. Domain complexity of each project Other code metrics (cyclomatic complexity, coupling, etc)

A post would be nice as a reference (as opposed to a comment here).

Not a small request, I understand, but I'm sure others would find it very valuable too.

jbrechtel··on Ruby 2.0.0 Released
The gp said "I'm not touching it." and you seem to have read "I can't be productive in it."
jbrechtel··on The Play Framework at LinkedIn
That doesn't make it false.
jbrechtel··on SQL Injection Vulnerability in Ruby on Rails; affects all versions
An Objective-C coder would get an answer thanks to Objective-C's terrible nil semantics.
jbrechtel··on Nexus: The best of Google, now in three sizes
Sadly enough, I'm considering it. No good reason why though.
jbrechtel··on How To Strip DRM from Kindle E-Books and Others
Yes. This part in the details section:

"Simultaneous Device Usage: Up to 4 simultaneous devices, per publisher limits"

means that it has DRM.

jbrechtel··on Mono 3.0 is out
Are you seriously claiming that Linux is "not seen at all" in the "deep web" (in-house corporate development) ?

Hyperbole aside, obviously.

Or am I misunderstanding you?

BTW, if your experience is mostly in the UK then that might explain this viewpoint. It's much less true in the US in my experience.

jbrechtel··on Missing the Point of Promises
I've never thought of the two mentioned monads (Promise and Option) as defensive. Option doesn't seem defensive because sometimes you need to represent the possibility that there is no value to be returned.

Could you elaborate on how it's defensive?

jbrechtel··on Android 4.2 to include SE Linux and other security features
Yeah, I figured that is what was being referred to...it didn't strike me as abnormal though, but I guess it is. In practice this hasn't caused me any problems while developing on Android.

Anyone else negatively impacted by this?

jbrechtel··on Android 4.2 to include SE Linux and other security features
What's abnormal about the way Android uses the Unix user and permissions model?
jbrechtel··on A better Java: Scala or Xtend?
Nothing against Clojure, but I'm curious what you read that made you think Clojure has better Java interop than Scala?

Using Java code from Scala is literally the same as using Scala code from Scala. Same thing if you replace Java with Scala and Scala with Java (with the exception of some Scala constructs that aren't present in Java).

This is not true of Clojure..

jbrechtel··on A better Java: Scala or Xtend?
There's no Scala runtime. I think you're either mistaken or using the wrong term. Do you mean the standard library? If so then what's the problem with adding that to your classpath?

I get that some of the Scala constructs (e.g. traits) may be unweildy to use from Java, but I think you're unlikely to have a large and growing surface area for that. On a case-by-case basis I think you could just provide a Java friendly interface from your Scala code.

jbrechtel··on Markets are efficient if and only if P = NP
Awkward...
jbrechtel··on Markets are efficient if and only if P = NP
I don't know. We've seen the idea of rational agents in economics go away, right?

Also...I'm not an economist so I don't really know what's going on in this area...but maybe EMH is still being taught because it's the best model we have at the moment?

Are you sure it's being taught everywhere? Maybe some places have already dropped it? Change takes time.

jbrechtel··on Markets are efficient if and only if P = NP
right....because the field of math has never changed course (see: Godel), nor physics (see: Newton, Einstein, )...

You're reading too much into the disproportionate effect mistakes in economics have had on society. Science get things wrong all the time...failure is part of the learning process.

jbrechtel··on Protocol-Relative URLs to Fix Mixed-Content Warnings
When would someone use this? If my content isn't available over HTTPS already then it's likely due to not wanting to support the load...in which case I'm not going to assume yours will handle it.

Or do you see this as more of an end user fix via a MITM proxy or something? Even then that sounds contrived.

What am I missing?

jbrechtel··on Faced with a Five-Page Limit, Lawyer Files Cartoon Amicus Brief
Yes, that's exactly what he's saying. Though, in his cartoon he makes it clear that this is only OK as a one-time event to correct what Amazon is doing (i.e. selling below cost in an attempt to put competitors out of the market and thus preventing the market from being able to efficiently price eBooks).
jbrechtel··on Hopefully more controversial programming opinions
Can you suggest any books?
jbrechtel··on The Worst Argument In The World
He's suggesting adding them to the article which would have made it less off putting for the other side of the author's political fence....which wouldn't be a bad group to target if you want to actually change anyone's mind.
jbrechtel··on Software Effort Estimation Considered Harmful
I don't understand, why not just be fully transparent?

This is the work left, we think it's this size*, this is how much work we've been getting done. It looks like we might be done at this date but that's dependent on a) our estimation being correct and b) our pace continuing.

I think it's more about managing expectations than it is about managing the information you let stakeholders have.

jbrechtel··on Software Effort Estimation Considered Harmful
Are you agreeing with the premise of the article? (It's not clear if you are or if you're just disagreeing with the GP).

If you are then... "We'll keep you posted." "up-to-date view of the runway ahead."

Where do these things come from if you're not estimating effort?

jbrechtel··on Why Explore Space? A 1970 Letter to a Nun in Africa.
No he doesn't mention it from what I recall. The data discussed is broader (and more longitudinal) than that trend.

Personally I'd guess the birth rate there is a direct result of the church's push for more children, but I don't really know.

← PreviousPage 2 of 4Next →