Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

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

ben blueskylabs com
Submissions

comment 14y ago · link · parent

This article is one of many that throws in "Processed food" as a presumed unhealthy food type. For example, "The good news is that laying off soda, doughnuts, processed meats and fries could allow you to keep your mind intact until your body fails you". Soda, doughnuts, and fries I get; they're essentially low-nutrition sugar sources, sometimes with ω−6 heavy vegetable oils thrown in for flavor. But how is processed meat any worse than any other sort of meat?

Later he complains about how Americans "overconsume hyperprocessed foods" without further explanation.

Is there any evidence or even a credible physical hypothesis why fast food processed mystery meats would be meaningfully less healthy than the roughly similar unprocessed cuts from the same animal?

comment 14y ago · link · parent

Has anyone come up with a good explanation for why, given the recent proliferation of databases, nobody seems to be making anything more relational than the SQL DBMSes?

It should be easier than ever, particularly if you cheat and declare rotational media an unsupported legacy format.

comment 14y ago · link · parent

I'm not sure how to square the normalized schema with the immutability; normalization implies schema changes which imply data changes, no?

In particular, what do I do when there is erroneous historical data that violates the new schema (the newly discovered constraint that was there all along)?

comment 14y ago · link · parent

This article isn't exactly inspring me to give MongoDB a shot. I wasn't even aware Map-Reduce in MongoDB was single-threaded, doesn't that defeat the entire purpose? Isn't Map-Reduce an embarrassingly parallel algorithm?

If they're using a single-thread JS engine, can't they just multiprocess? No shared state, after all...

comment 14y ago · link · parent

I'm of two minds about this. On the one hand you're right that a lot of people need the sort of organized and consistent long-term help that ad-hoc leftovers and the odd blanket won't provide.

On the other hand my limited experience with organized charity is that the biggest unmet need is agency over their own lives, something productive to do, and contact with mainstream society. If this project developed into something that would allow more people to feel OK having casual 1-on-1 contact with people at the margins of society it could have the potential to do a lot of good.

comment 14y ago · link · parent

I don't think Spanner is one of these fake-relational databases, it's an ACID datastore that's used as underlying storage for the real RDBMS F1.

From the F1 paper (http://research.google.com/pubs/pub38125.html) It looks like it's mostly intended as an improvement to sharded MySQL, by putting the sharding where it belongs, down at the physical storage level, instead of up at the client access level.

Maybe a better buzzword would be NoMySQL (NOracle?)

comment 14y ago · link · parent

Greenmountain's link below (and the Wikipedia page for Rainbow Table) cover it, but you do a space-for-speed tradeoff by basically re-hashing your hash repeatedly, and looking up if the result is in the table, which gives you a short-list of passwords from the pre-computed domain to try.

There is a diminishing-returns limit to how small your rainbow table can be before it starts getting both false positives and false negatives, and bigger password domain makes it worse, but they require less than 1 bit per covered password.

comment 14y ago · link · parent

Google's web search by date works by parsing dates on pages, not by loading actual historical search data, so it's possible to backdate information with it.

comment 14y ago · link · parent

for MD5 GPU bruteforce would be practical and not require any storage. You can do hundreds of millions of trials per second per GPU without having to manage all that storage.

comment 14y ago · link · parent

It's not just that template, it's an "obvious" 3 digit number, a 4 letter dictionary word, and "123" with shift held down. If you had some sort of statistical password ordering it wouldn't be that far down the list.

comment 14y ago · link · parent

Is the weird kerning on the lowercase i intentional?

More than anything it reminds me of the Team Fortress 2 font http://wiki.teamfortress.com/wiki/Fonts. I wonder if they're both the result of some optimization process.

comment 14y ago · link · parent

Syntax flexibility is not a virtue. Creating restrictive rules about what I can do to an object or how functions work ties my hands when I try to do tricky things, but syntax only limits my artistic urges to do esoteric code layout.

The C style syntax situation with optional if brackets is almost universally considered a flaw:

  if (foo)
    st1();
    st2();
This is not the flexibility to do hard things. It does not save a lot of typing or make some other common construct less cluttered. It is just a defect in the grammar that it's too late to fix.

It sounds like Coffeescript has more of these flaws.

comment 14y ago · link · parent

Mathematical notation is much harder to read than prose. It does a very good job of serving as a mnemonic for something you already understand, and a very poor job of explaining novel (to the reader) concepts.

It's also as bad as natural language for ambiguity and informality.

I don't think either English text or mathematical notation is a magic wand for readable programming language; It's more about reducing accidental ambiguity and the amount of mental context needed for parsing 'natural' constructs in the language.

comment 14y ago · link · parent

I'd like to see more detail about the real problem he was facing in python. It sounds like he mostly wants a non-blocking background job "I don’t want to set up another daemon, I just want to send some email in the background!" Why not just use Queue (thread-safe, waitable, built-in) and a background thread(pool)?

There's an awful global lock on the actual execution of python code, but unless the problem is performance or contention worrying about it is premature.

comment 14y ago · link · parent

It shouldn't matter so long as redundancy between headers and body result in a smaller cyphertext.

comment 14y ago · link · parent

In 2001 Java had much broader ambitions than the (large) niches it has found itself in. Java's zeitgeist definition of success back then was creating a "anything and a JVM running Java" software monoculture even more extensive than C's.

comment 14y ago · link · parent

Javascript would be an obvious choice for anything centered around creating UIs. Palm-now-HP's nice WebOS platform is essentially a recent direct competitor to Android and did that.

comment 14y ago · link · parent

How do you consider .NET and C# built on top of Java? They're certainly designed a direct competitor, with C# + .NET built to check every box that Java + JVM does, but most of the things in common between the two weren't new in Java.

In the years since, new C# features have diverged sharply from Java's.

comment 14y ago · link · parent

That shouldn't be any harder than updating one pointer atomically, modern x64s have two-pointer sized atomic exchange operations.
1
5152535455