Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 13y ago · link · parent

Reason to use MySQL: It's easy to find people comfortable with it that won't accidentally shoot off a toe doing simple things.

The "Don't use MySQL" argument smells like the "don't use bcrypt" argument to me. You're letting the perfect be the enemy of the good, for 95% of the usecases where you're doing something dumb like using MongoDB or homebrewing something, MySQL is a better choice--even if it isn't often the best choice.

comment 13y ago · link · parent

COBRA should fix the former, but it doesn't appear to cover the latter.

comment 13y ago · link · parent

Eminent domain isn't a punishment. The lender's interest is solely financial so they should be theoretically indifferent so long as they are compensated at market value.

The reason they care (and the reason the situation doesn't resolve itself without outside intervention) is that they're dependent on reporting improbably high property and loan values in order to not appear insolvent. The city doesn't care about this and is uninterested in punishing it, but they are interested in getting a large chunk of their tax base out of legal limbo and they have the legal right to do so.

This article makes a good rundown about how this is an unremarkable taking and likely to succeed in court: http://www.bloomberg.com/news/2013-08-16/eminent-domain-isn-...

comment 13y ago · link · parent

I assumed this was going to be another case of eminent domain abuse until I found out that the bank's argument seems to be "Writing down our loans to market value would disrupt our entire industry". I don't think "this would interfere with my accounting fraud" is a legally sound reason to block an eminent domain taking.

comment 13y ago · link · parent

It isn't wrong, it's just illegal.

comment 13y ago · link · parent

Dishonesty is not required to break antitrust laws. All you have to do is become big and fail to stop doing the things that only non-big companies can legally do.

comment 13y ago · link · parent

The ORM I really want just takes my SQL and a connection to my database at compile or load time, and wires it up to the type system of the language I'm using. All the ones I've tried just seem to embrace the awfulness of the low-level database access APIs and are just trying to replace the good-enough DSL that is SQL with something worse.

comment 13y ago · link · parent

He's missing the other half of why 'select *' is bad, which really is about the star: Selecting columns by name automatically makes almost all incompatible schema changes cause the query to fail (in an easily detected place, for an obvious reason), while still allowing non-breaking schema changes like adding or dropping columns you don't use to have exactly the same behavior as before.

comment 13y ago · link · parent

In 2013 there are still people who think including a browser in your OS is optional, let alone some sort of evil conspiracy?

comment 13y ago · link · parent

Is there a rule that every three years, someone has to rediscover Marx's Inevitable Overproduction Crisis, give it a technology spin, and claim they've discovered something you should worry about? I remember the specifically robot-flavored version of this going back to the early 2000s when Marshall Brain was all over it.

This part is particularly rich:

  If you’re talking about the economic effects of technology in
  the 1980s, much less the 1930s or the nineteenth century, as if
  it has any relevance whatsoever to today’s situation, then you
  do not understand exponential growth. The present changes so 
  much faster that the past is no guide at all; the difference is
  qualitative, not just quantitative.
He is the one who doesn't understand exponential growth: When you're in it, it always looks like a slowly changing distant past that has suddenly and recently accelerated into an unprecedented imminent crisis. The self-similarity means you could have written the above paragraph in 1980 or 1930 and someone probably did.

And while I'm venting, the problem with giving the homeless a JavaScript course is that the problem the vast majority of the homeless have isn't a lack of an employable skill. Training is a useful and effective tool to help people who actually have the problem of not having the experience they need to get a new job.

comment 13y ago · link · parent

Why is this relevant in the context of Fukushima? Nobody died.

comment 13y ago · link · parent

This is a lot like what I try to do in interviews, because I'm mostly just trying to filter out liars. I pick projects out of the candidate's resume and ask them about things they had to have learned to do the job they did.

comment 13y ago · link · parent

The problem is that most companies make terrible decisions about which skills they want right out of the box. They can't get people that are 100% on everything they actually need (as such people are unhireable for the job/pay they're offering), so they settle for people who know a lot about B+ trees (or more likely, how to reverse a linked list and do a bad version of quicksort on a whiteboard) because that's what the folks who have been studying their "how to get hired at a tech company" webpage know.

comment 13y ago · link · parent

Batteries are both lossy and environmentally problematic objects to manufacture and dispose of. Also, a good fraction of all the energy used by society is spent hauling around energy storage. Wireless power would help fix both these issues even if it was fairly lossy compared to a copper wire.

comment 13y ago · link · parent

For some context, this article is part of a moral panic going on in the UK right now regarding trolling, "cyber-bullying", etc. that was set off by the suicide of a teenage girl which was blamed on internet harassment. The suicide story has fallen apart since, but never let the facts get in the way of some good outrage, and the usual suspects are in full force using it as leverage against free speech.

comment 13y ago · link · parent

The trolls and assholes are still cleaned up after. There are people who spend a few hundred bucks trolling but they're essentially invisible unless you go looking for them.

comment 13y ago · link · parent

The conclusion I get from the article, the comments, and the other threads, is this:

C++ is not a better C.

This was a really common attitude about a decade ago: don't use C for anything, just point cpp at your C code and use whatever random collection of C++ features you think make your life easier. We've learned since then that that's a recipe for disaster, and you should either write a C program in C (and save yourself the heartache) or embrace the fact that C++ is an entirely different language.

The author is clearly committed to writing a C program and doing that in any language other than C is a mistake.

comment 13y ago · link · parent

Well, yeah, an in-memory database company is going to be underwhelmed by EC2. Their RAM pricing isn't competitive. The Amazon sweet spot tends more towards storage and internal I/O bandwidth.

The article completely ignores this point, but if you're comparing a cloud offering to colo or building a datacenter, the extent to which the cloud system corresponds to the nature of your workload is critical. Cloud gives you one sort of flexibility (size-over-time and provisioning) and takes away another (physical architecture design).

comment 13y ago · link · parent

Want, not need.

Employees cost money. Companies want to cut costs.

comment 13y ago · link · parent

"It's a cache" isn't a semantic argument, being a cache under the definition given in the DMCA is a legal exemption from copyright infringement.

http://www.law.cornell.edu/uscode/text/17/512

comment 13y ago · link · parent

Compared to most languages you'd use for a commandline application, node has a simple, usable async I/O interface, and the libraries you can get for it actually assume async.

If you need that, there are only a handful of choices and node is one of them.

comment 13y ago · link · parent

These numbers don't make much sense to me. Only 2.5% of the site's users are running 1920x1080x32? Only 4% of people going to an EFF website are in the Pacific timezone?

comment 13y ago · link · parent

Where most of the customers are governments. The gun industry donates less than 10% of the NRA's budget going from your link.

comment 13y ago · link · parent

I'm a fan of Freenet, but it has some core (and extremely longstanding!) usability issues that Tor has proven are unforced errors.

The restrictions on JavaScript is the biggest one. The complete inability to run server-side code in a trusted context makes JS more necessary on Freenet than the HTTP web; it's absense makes developing a useful Freenet site extremely difficult. It causes interesting Freenet projects to be deployed as local applications (which necessitates auto-update to be practical). This represents an absolute trust of unknown service providers and is vastly worse than running untrusted JavaScript. It also makes maintaining parallel Freenet and HTTP sites impractical in practice (when only reader-side anonymity is needed), something Tor got right the first time.

Secondly, Freenet's JavaScript exclusion relies entirely on filtering code that's specific to Freenet and thus not anywhere near as battle-hardened as browser JS engines. You don't need a Chrome zero-day to circumvent Freenet's reader anonymity, you just need to find an edge case in its filtering code against the moving target of a self-updating browser.

Freenet's core feature of anonymous distributed hosting (as opposed to just Tor's distributed proxying and Bittorrent's bandwidth sharing) is still a relevant technological frontier that's long overdue to see the light of day, but that's not going to happen until it stops tilting at windmills on some of the crazier technical decisions.

Edit: While I'm complaining, I'm unclear on the real-world threat model that the friend-to-friend Darknet is supposed to protect against. Proving out that globally routable friend networks a la "The Crying of Lot 49" actually function is neat scientific accomplishment but it does nothing but help the Global Passive Attacker and probably makes things easier for more mundane threats too.

comment 13y ago · link · parent

If the contents of his trash can are showing up in the water supply we have bigger problems than microbeads.

comment 13y ago · link · parent

This is why I support exposing new programmers to Basic: unlearning bad ideas is a core skill we should start developing early.

comment 13y ago · link · parent

Not nearly enough ASCII art Snoopy for my taste.

comment 13y ago · link · parent

802.11u and Passpoint (the WiFi Alliance's implementation of 802.11u) do this.

comment 13y ago · link · parent

The Alioth benchmarks do a really bad job of capturing the reality of language-related performance issues. The choice of specified algorithm is going to dominate all other concerns in their benchmark, and that's not the sort of problem people face in the real world, perhaps out of rarefied HPC circles where benchmarks on one quad-core machine aren't relevant to anything.

Performance handling in high level languages is more about knowing where the landmines are (total heap usage in GCed languages, various troublesome malloc()s, weird caches in dynamic languages...) and trying to figure out as quickly and cheaply as possible if the program you're planning on writing is going to hit them, and how much it's going to cost to mitigate it. It's not relevant if the actual runtime overhead of the problem is 5% or 1000x, the end product is either fast enough or it isn't, and the workaround is either viable or it isn't.

Trying to protect yourself from this by picking the fastest language in a shootout isn't going to work because the perfect, gotcha-free language hasn't been invented yet. There are sound performance reasons to avoid any language, not just Perl.

comment 13y ago · link · parent

If you call out to a C-style library through the FFI that's expecting a cleanup call, you should call it in both a user-accessible close() function and the finalizer.

I think the easiest way to think about it is, "finalizers don't prevent handle leaks, they sometimes clean up a handle leak that already happened".

I'm not sure if any debugger environments give a warning when a finalizer gets run due to GC but they ought to--it always indicates a programmer error.

1
353637
55