Better HN
topnewbestaskshowjobs
Log inSign up

wiredfool

6,558 karma · joined Jul 6, 2009 (17y ago) · 2,467 submissions

eric@wiredfool.com
Submissions

comment 16y ago · link · parent

  If you lose your master server, you are running in a
  degraded environment until you can rebuild ALL slaves from
  scratch. This really sucks if you have a very large
  database that takes a long time to rebuild.
I just tested this, and it's not quite true.

Assume you have 1 master, and 2 slaves(1=new master/2=additional slave) each replicating directly from the master. If they're in sync, then if you:

  * shutdown the master
  * shutdown slave1/new master
  * remove slave1's recovery.conf file
  * assign slave1 old master's ip address
  * start slave1 as new master
then slave2 will follow and you'll still have a replicated set. If, instead of doing the shutdown/remove recovery.conf/startup dance, you touch the trigger file, a new timeline is created and the slave2 isn't going to follow that timeline. I haven't found a way to make a slave follow to a new timeline yet.

comment 16y ago · link · parent

1 unsuccessful underwear bomber => $500 million in contracts for scanners.

There's your cost of terrorism right there.

comment 16y ago · link · parent

  it makes sure that the WAL is written on the slave
  before the transaction is committed on the master 
  means that data integrity should be top notch.
That's not my reading of the documentation. The slaves may delay applying a transaction for some configurable period of time to allow conflicting read-only queries to finish. Slaves can also disconnect and reconnect at will without stopping the master.

comment 16y ago · link · parent

Pretty reasonable, from someone who has been following postgres for 10 years. I'm not sure I'd say that postgres covers 95% of use cases, as it really only covers single master. That is probably the most common case, but I'd have a hard time putting numbers on it. Extra features cut both ways, some apps are better with postgres, some with MySql.

Postgres was 'late' to the replication party, and only in this last release have they had hot slave machines. (with core functionality, 3rd party has a range of alternatives). Currently, it is single master, multi slave replication. Previously, it was been a warm spare arrangement, up to 1 WAL log behind, for durability, and not for load balancing. There were ways of making it less laggy, but it was not trivial to restore a log, bring the db up, and then be in a position to restore another log.

comment 16y ago · link · parent

There's a Senate TSA Oversight Hearing on Wed, 11/17.

http://commerce.senate.gov/public/index.cfm?p=Hearings&C...

Call or Write your senators, especially if they're on the committee.

comment 16y ago · link · parent

No, the netbook is usually maximized (ubuntu netbook remix), but back when I had a PowerBook duo, the end of the 030era, I was running windows about 400px wide on a 640 px screen. Screens have gotten bigger, but for desktops, vie generally been at about 1/2 the screen, and laptops at 1/2-2/3 or so. I've gotten into some epic... Discussions of fluid layouts and how just because my browser was reporting lots a pixels, the layout wasn't getting them.

comment 16y ago · link · parent

My browser windows have been approx 1/2 of my screen width for as long as I can remember, at least on desktop machines.

(terminals and emacs through, more like 1/3)

comment 16y ago · link · parent

The cockpit door is armored.

comment 16y ago · link · parent

Yep: http://news.ycombinator.com/item?id=1864932

comment 16y ago · link · parent

Is varnish a drop in fix for something like this while everything is going to hell, or is there some monkeying that has to be done to make it play nice with movable type?

comment 16y ago · link · parent

And boingboing, and reddit x2, here, and a bunch of newspapers in the uk. I couldn't go anywhere yesterday without tripping over that link.

He got slammed.

If you want a picture of the future, imagine an internet stamping on a single server— for a day anyway.

comment 16y ago · link · parent

I just read Young Miles. (just as in taking up the last 4 or 5 evenings on the ipad). It's hilarious, chaotic, and sweet.

Check it out: http://baencd.thefifthimperium.com/24-CryoburnCD/CryoburnCD/ - Most of the series from the CD that Baen is distributing with the book, free and distributable, in lots of formats.

comment 16y ago · link · parent

First, I'd say, be flexible. No learning plan survives first contact with the child.

Reading is critical, but I wouldn't push it till the child is ready. Once they're ready to read, it comes quickly when taught correctly. But both you and they need to be willing to put in 1/2 hour a day, every day, for a few months.

My kids love knowing how stuff works, and as a engineering type, I'm pretty well situated to give them some good answers and point them in the right direction. David Mcauly's books are good, esp. The way things work, and Castle.

Finally, throw away your tv. It makes them do other things that take brainpower, even if it is just playing with dump trucks in the sand box. Also, when there's no tv, the stories come from books (and from their heads), so there much more of a pull to go digging for hose stories in a way that will help them in the long run.

Also,YMMV. Kids are all different, and will respond differently to the same people and stimuli. So you have to change and adapt.

comment 16y ago · link · parent

Sort of kit based, but there aren't that many lego pieces that only work for one type of thing, everything can be repurposed if they have enough other bits and pieces. (though frankly, right now all thelegos in my house are in dump truck form)

Konects are kinda cool, but the variety of what's straightforward to make is lower than Lego.

Plain old blocks are the other big construction thing around here, supplemented with some rough cut rounds from our forest. Overall though, I'd say that the legos are used at least as much as all the other construction stuff combined. Ymmv, I've got three boys, 6,3.5 and 1.

comment 16y ago · link · parent

No two kids are alike. And, things that work for nannys don't always work for parents.

comment 16y ago · link · parent

We've used all sorts of wearable baby things, and the most I can say is that they're all different. Every one of them will work for some parents and some babies. Long term, after 3 kids and 6 years of the things, the ones that we're using are a mayan style ring sling, an ergo, and a couple of fleece fitted slings that my wife made.

comment 16y ago · link · parent

I've got a pair of M13s that I use on a daily basis. They're the full sized ones with a built in trackpoint nub in the middle. I wish they were narrower, but I've mostly gotten around that by switching mouse hands.

comment 16y ago · link · parent

I started running debian back in 2000 or so, and was happy with it for a while, but now I've mostly converted to ubuntu LTS releases on the server.

I find that debians support cycle for stable is troublesome for long lived servers, as the support lifetime is unknown, other than it's a year past the release date of the next stable version. That means that the minimum lifetime before needing to recheck everything for stability is one year plus however long until they release a new stable.

In contrast, ubuntu is at 5yr support for their longterm releases, with a known 2 year cycle in-between. Which means that even if you install in the worst possible time in the cycle, a new install will be supported for three years.

I really like those extra two years of security updates.

(edit for iPad text entry)

comment 16y ago · link · parent

Yet, here's an article, which presumably he got paid for. Perhaps the value in the article to him is more than what he got paid for? Or perhaps his premise is wrong. (Yeah. I'm calling a Harvard Economist wrong.)

Comparing the untaxed value + 8% over 30 years to the taxed value is a straw man. I could push that horizon out another 30 years, and the 'marginal rate' would get worse. I could shorten it and it would get better. It's a meaningless number. Also, no company pays a 35% tax on the returns to their stock, they pay 35% on taxable income. There's a huge difference. Unless he's planning on dying soon, (which he's not, because of compound interest assumptions) there's no way he can tell what the estate tax is going to be. It's a crapshoot.

Roughly, the marginal change of the rollback in taxes is going to be a couple percent, though he talks about the new percentages, not the old. The net marginal change is going to be tens of dollars. If that's enough to keep him from writing articles like this, bring it on.

comment 16y ago · link · parent

It was a dark and stormy landing page. Rain rolled off the roofs, gathered in the gutters and flowed over my shoes to the drain. I needed lots of things, a drink, a broad, and a gun, but first of all, I needed a mobile app to get me a place to dry off and a really first rate coffee while checking in and getting location points.

Here is that app.

comment 16y ago · link · parent

Personally, I find that my #1x60 Wiha can tackle just about anything. What it can't do, a drill with a replaceable #2 bit does.

comment 16y ago · link · parent

I've got an Intel 80M in my dev machine (ubuntu 10.04), running a pile of KVM virtual machines. I've got it split, 40gig to / and 40 gig to flashcache for (a large partition on( the 1TB drive that I'm using for bulk storage. It screams. It can start 6 vms in a couple of seconds, with 250+ meg random read speeds while all 6 are starting up. I've tested with flashcache off, and It's a good 4x slower.

I'm starting to cycle these SSDs into production, got a couple coming Real Soon Now as vm containers. DBs are next, I just need to decide if I'm going to use flashcache or buy enough to go raid.

comment 16y ago · link · parent

No, That quote is about the businesses, not the customers.

comment 16y ago · link · parent

It might work, but you'd need a hell of a runway. Think year plus sales cycles, if you're lucky. Not a real good fit for an agile, non-vc backed startup. Banks are slow, conservative, and no two are alike under the covers, even the ones running the same outsourced core software.

comment 16y ago · link · parent

What I learned in food service is that a general formula is 30% food cost, 30% labor, 30% overhead, 10% profit. If things are running well, you take home some money at the end of the day. The margin for error isn't huge.

comment 16y ago · link · parent

So, you hadn't dived in a year, since your cert. You planned to be in over the cert'd depth, on your first post cert dive. In a group with one dive master, over a wall, which is tricky. And then there was peer pressure to not suck down air too fast. That's not really a recipe for success.

comment 16y ago · link · parent

Evidence suggests that if my oldest were to come up with a method for multiplication it would involve: scissors, a stapler, and a stick, 5 complicated steps, 2 requests for materials from one of the parents, and it would be abandoned halfway through for some method of making a crane that involves an even bigger stick and rope.

On the other hand, going through 100 lessons on reading, spelled out to the word what I was to say and do, and 9 months after starting he's reading 100 pages of books like The Way Things Work when he's supposed to be sleeping.

Sometimes rote methods work _really_ well.

comment 16y ago · link · parent

At least a few of the people dead set against these methods are college professors seeing new students come in with no math skill whatsoever. See: http://cliffmass.blogspot.com/2010/01/how-good-are-uw-studen...

The 'classic' methods are algorithims. They work. They aren't any more complicated than the various other methods, but at least they work in all situations. The other methods, while they may be useful for fermi problems, don't always have a clear way to progress when the problems become harder. And the kicker is, they're no simpler when you account for all the 'non-easy' numbers. See: http://www.youtube.com/watch?v=Tr1qee-bTZI

Whatever the reason, there's a dramatic decline in the understanding of basic math by students at reasonably good universities over the last 20ish years. I've done the math, and I think I was on the tail end of a conservative swing. There's been one new math swing in that time, and I think we're heading back again.

(This as the parent of small kids who's done way too much reading about the various curricula that are available, and how even the best ones used in classrooms pretty much suck. Jump and Singapore are the two that I know of that are pretty good, but they're not not USAian, so they don't get used in the schools. It is kinda funny going over problems in Jump and seeing the canadian cultural content.)

comment 16y ago · link · parent

What's the appropriate number of buckets, taking into account everywhere it's used?

comment 16y ago · link · parent

This is used for everything in his environment, and has been for 20 years or so. The Odb. Local hash variables, stack frames. Both speed and size wewe important when this was created. Why it's coming up now, I have no idea.
1
7980818283