6,558 karma · joined Jul 6, 2009 (17y ago) · 2,467 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
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
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
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
comment 16y ago · link · parent
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
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
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
comment 16y ago · link · parent
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
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
Here is that app.
comment 16y ago · link · parent
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
comment 16y ago · link · parent
comment 16y ago · link · parent
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
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.)