HNHacker News
TopNewBestAskShowJobs

angelbob

2,199 karma · joined September 29, 2009

I'm a long-time programmer. These days it's mostly in Ruby.

I wrote Rebuilding Rails, which I think is pretty good: http://rebuilding-rails.com

Some stuff I've done: https://codefol.io https://github.com/noahgibbs https://codefol.io/portfolio

I'm not hard to Google for, if you want to.

submissionscomments
angelbob··on Patronizing Passwords
That tends to degenerate into resetting the password every time, or logging in from the password reset email you sent them.

In either case, you've moved security to the user's email program which is (sadly) probably an improvement.

angelbob··on Patronizing Passwords
Though he says a lot of this is to avoid bulk cracking of your passwords. As with, say, OneLogin, your keychain provides a really easy way to bulk crack all your passwords - steal the key.
angelbob··on Postgres high-availability cluster with auto-failover and cluster recovery
Redis Sentinel's semantics are an excellent solution for what I use Redis for.

Redis Sentinel's semantics are a terrible solution for things I use relational DBs for.

The fact that clustered relational systems accepts transactions in SQL and then just handle them wrong is completely unacceptable.

Redis has the advantage of making it pretty darn clear that it's best-effort, simple ops, non-transactional. If you spent all your time bragging about ACID semantics for Redis, we'd rake you over the coals at least as hard.

(And you don't. Thanks for that! Also, Redis is awesome.)

angelbob··on Postgres high-availability cluster with auto-failover and cluster recovery
There are systems that get this right. Just apparently none for Postgres or MySQL :-(
angelbob··on Postgres high-availability cluster with auto-failover and cluster recovery
Many of those choices to make it easier only work if you're willing to disallow a lot of SQL semantics.

Like, tradeoffs in consistency? No transactions? That requires not implementing some important bits of SQL.

angelbob··on Postgres high-availability cluster with auto-failover and cluster recovery
Can we just start posting "Jepsen or it didn't happen" on these?

Clustered relational DBs are really remarkably hard to get right. A shocking percentage of projects and vendors don't really even make a serious try (cf GaleraDB.)

This project may or may not have done a reasonable job (no clue,) but the lack of information about how they tested it is a bad sign.

angelbob··on Jessica Livingston
Yeah. Makes me very curious where they draw the line. Because it is not obvious from outside.
angelbob··on Jessica Livingston
I'm never sure how to reconcile PG's stance of "our founders are good people" / "X-ray vision for character" with some of the things that some of the portfolio companies do.

For instance, the vigorous, long-lasting and constantly denied spamming that AirBnB did off CraigsList with fake names, or some of the early Reddit fake accounts and general puffing-up (which was, to be fair, less bad.)

Maybe business tactics are explicitly not part of what PG and Jessica consider "good character"? It seems increasingly clear that they mean something different by it than I do.

angelbob··on Increased intelligence is a myth so far (2014)
The abstract mostly seems to state "increased intelligence is currently too difficult to measure, so we wouldn't know."

Which is fair. But "is a myth so far" suggests disproof, not proof that it's not currently true. As they repeatedly show, it would be very difficult for them to prove that, since they'd have to usefully measure delta in intelligence.

angelbob··on We need less powerful languages
Giving up power makes it easier to write good tools. That's one reason that IDE support for Java is amazing, but IDE support for JavaScript isn't nearly as good - JavaScript allows and encourages way more freeform do-it-however runtime unverified stuff. Java locks everything down with a lot more "must be compile time" and static type system conventions.

You can permit the dynamic stuff as an alternative (as Java more or less does.) But if people actually use it, it screws up the tools' ability to introspect into your code.

As a result, less-dynamic formats like HTML and CSS get better tooling, as a rule, because the tools have an easier job to do. And highly-dynamic languages like JavaScript and Ruby have terrible tools support, because they make the tools' lives quite difficult because of their language and library design.

angelbob··on We need less powerful languages
When there's a compromise between user and developer happiness, remember the developer is usually the one picking.

So it's understandable that users often do an end-run around what they choose.

angelbob··on We need less powerful languages
Indeed. HTML and CSS are great examples where by giving up expressiveness for the author, you can gain more power for later reprocessors -- uncommon for programming languages (because halting problem) but a common thing to do for language-like things like markup, Puppet manifests, etc.
angelbob··on Charity claims it owns “Happy Birthday” song’s copyright
We're basically there already. Disney pushes back the copyright date every decade or two so that Mickey Mouse (steamboat willy, 1920s) never gets into the public domain.
angelbob··on Beware of ads that use inaudible sound to link your phone, TV, tablet, and PC
And/or an Android phone, apparently.
angelbob··on The world is entering a third stage of a rolling debt crisis
Not sure which bit you're saying "incorrect" to. But okay. Are you arguing with "the era was famous for indebted Yuppies", then?
angelbob··on What MongoDB got right
I love the point about the Oplog.

There are a few equivalents for common SQL DBs (see LinkedIn's Databus for Oracle and MySQL), but in general, getting access to the write log is really hard. Even though it's sitting there!

It would be wonderful if there were some kind of established API or library that would let you parse the MySQL write log without doing hideous, fragile operations that change from version to version. Sure, change the format, but at least version and document it!

angelbob··on The world is entering a third stage of a rolling debt crisis
Yeah, that'd definitely be the Reagan administration you're thinking of. The UK was doing something similar at roughly the same time under Thatcher, or so I've heard.

That era was famous for its very-indebted Yuppies (and the origin of the idea of "Yuppies" as we think of them.)

Some of this can't be blamed on the politicians. Easy credit and the rise of credit cards generally did a lot for this. But politicians did get to decide how credit regulations worked. It took awhile to outlaw live (not pre-approved -- you could pick them up and just use them!) credit cards arriving at people's houses, for instance. You could literally steal one out of somebody's mailbox and go rack up money in their name.

Not any more, obviously. But they lasted longer than you'd think. Credit was pushed very hard at consumers, and politicians do control the extent to which that's legal, even if they're not really to blame for it being possible.

angelbob··on Network of ‘Scouts’ Spreads Money Through Silicon Valley
The fact that entrepreneurs are regularly encouraged to drop out, so the investor and professor roles are potentially in conflict?
angelbob··on f.lux for iOS is no longer available
Hi Josh! :-)
angelbob··on Don't copy paste from a website to a terminal
They frequently use methods where you have to double-click on an email attachment. Most people consider cut-and-paste from a web site to be safer than that.

Also, non-TLS web sites can potentially be hijacked in flight, so this could happen even if the site in question wasn't directly cooperating.

angelbob··on After raising $125M at my last company, I’m bootstrapping this one
Other than equity, there are a number of choices there. One is working conditions: you have a lot more freedom to grant people unusual working conditions if you answer to nobody. Another is compensation. Not only could you grant more equity, you can also use contractors or part-timers more freely, or otherwise mess around in ways that VCs tend to frown on.

VCs are very optimized for "go big or go home." It's nice to not have that pressure early on, for the founders and the other employees.

It's interesting how different the feel is at different companies -- VC-backed vs private-equity-backed vs public. Bootstrapped is potentially a different feel, and a better match for some people.

Does it work out that way in practice? No clue. Never worked for one of these, though I've worked for VC-backed, private-backed and public.

angelbob··on f.lux for iOS is no longer available
Mike's idealistic. I went to college with him, then worked with him at MetaCreations in Carpinteria.

He also got a nicely-ranked Hacker News post for taking apart some SSL chicanery that a hotel was doing on his honeymoon, for instance.

Doesn't mean you have to like him. But no really, he's doing this sincerely.

Also, Mike is the developer, and a pretty darn good one.

angelbob··on Don't copy paste from a website to a terminal
Whereas I kinda assume the NSA is already using it, and that's one of the big reasons to care.
angelbob··on Not So Securus - Massive Hack of 70 Million Prisoner Phone Calls
Unless at attorneys can show that they registered their phone number with Securus and that recording wasn't destroyed...
angelbob··on What happens when a culture is driven by the need for money to make more money
McDonalds is very open about investing in real estate. They own all their own locations. The restaurant is basically just to pay the rent on the land they own.
angelbob··on Old Techies Never Die; They Just Can’t Get Hired as an Industry Moves On (2012)
A reminder that one way to keep your job security is to learn an important legacy tech really well.

I have high hopes for Ruby on Rails -- it won't have the longevity of COBOL, but it's gonna be a nightmare of a legacy system ;-)

angelbob··on Old Techies Never Die; They Just Can’t Get Hired as an Industry Moves On (2012)
The passing phase in question has been going on for 10+ years. Up to 20, depending how you count.
angelbob··on Why Torture Doesn't Work: The Neuroscience of Interrogation
Whether the US gov't is good at it is irrelevant, if we assume somebody else could plausibly be better.

But if they're anywhere near an upper bound, then whether they (a well-informed first-world superpower with a huge budget and a willingness to extradite people to places like Syria where there are effectively no rules) can make torture work is very relevant.

Because if they can't, and torture is useless, then clearly the question is effectively resolved, at least in the real world. If torture is simply ineffective in real-world scenarios then the question goes away.

angelbob··on Why Torture Doesn't Work: The Neuroscience of Interrogation
Okay. Now do you trust the US Government to decide which ones are their one-off situations?
angelbob··on Why Torture Doesn't Work: The Neuroscience of Interrogation
It is frequent that it's believed to happen. It's possible, but seems unlikely, that it has literally happened, torture has worked and then the US government has somehow not crowed about it.

They are looking very hard for scenarios to justify their use of torture, and the results they have revealed (e.g. from waterboarding Al Qaeda members) aren't inspiring, so far.

It appears, for instance, that waterboarding people many times (in a few cases, 100+ times) isn't enough to keep them from lying to you.

← PreviousPage 4 of 23Next →