HNHacker News
TopNewBestAskShowJobs

glabifrons

104 karma · joined June 7, 2010

submissionscomments
glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
"It's not just notebooks that get stolen."

Very good point. I guess I've been working in environments with datacenters too long. :)

"I'm also considering the corporate or government espionage vector, where you have a reasonably skilled on-site attacker trying to read or modify the disk contents."

Again though, that only protects you if the disks are out or the machine is down. If you have someone with that level of skill within your organization, they'll likely gain access to the running computer where the data has already been made accessible in decrypted form.

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
Filesystem encryption is very handy for a notebook computer (I use it, myself), but in a datacenter it's value is a bit more questionable.

Where do you store your encryption keys? If they're on a removable USB device (for example), you'd have to contact the datacenter personnel to plug them in in the event you had to reboot (which happens from time to time if you perform OS SRU uprades). If the USB device is left in the server and someone gains privileged access to the machine, they've got the key as well as the data. If the USB device is not in the server and someone gains privileged access to the machine, they still have access to the data.

The only time disk encryption is valuable is when the machine is off or the disks are being transported.

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
"How's zdb different from fsck?"

That's answered very well in the article connected to this other currently active HN discussion:

https://news.ycombinator.com/item?id=5460988

In short, fsck simply checks to see that the metadata makes sense, and that all inodes belong to files, and that all files belong to directories, and if it finds any that don't, it attaches them to a file with a number for a name in lost+found.

It's pretty crude compared to a filesystem debugger.

If you want to compare apples-to-apples, you'd be better off asking how zdb compares to debugfs (for ext2/3/4) as both are filesystem debuggers.

You could also ask "How's zfs scrub different from fsck?" and the answer to that would be: zfs scrub checks every bit of data and metadata against saved checksums to ensure integrity of everything on-disk. In comparison, fsck cannot detect data corruption at all, and can only detect metadata corruption when an inode points to an illegal disk region (for example).

Even that comparison shows fsck is crude when compared to scrub.

The tool to recover from corruption is a rollback: usage: clear [-nF] <pool> [device]

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
I think Oracle's decision to not keep Solaris open source, at least the ZFS portions, is enormously shortsighted.

The fact that there is a ZFS implementation (with so many of the original ZFS engineers behind it) still being developed in the open and used by multiple operating systems, but especially the Linux juggernaut, shows that Oracle really doesn't have any benefit to keeping it closed any longer.

It has forked.

We now have the Oracle ZFS with features and functionality that is not in the open source variant, and the open source ZFS that is apparently adding features and commands that are not in the closed source ZFS.

A huge selling point for the open source implementation is the fact that if you decide to change vendors or OSes, you can easily do so without having a huge data migration (zpool export on the old, zpool import on the new).

Except, for Solaris 11+. You can't go back and forth between them, so once you're on Solaris 11, you're stuck.

Yes, this is most definitely FUD, but I can easily see this being used in the not-so-distant future once Linux vendors start supporting/advertising it for themselves.

I think that if Oracle were to open (and keep open) the newer releases (even if a few releases behind, like they were originally claiming they would), it would eliminate that argument completely.

Personally, I'd be absolutely thrilled with a cross-platform on-disk ZFS (I triple-boot Linux/OSX/Solaris on my notebook).

Professionally, I'd love to see a cross-platform on-disk ZFS simply to be able to throw the appropriate OS behind the data.

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
As others have stated, if the current state has corruption, you roll it back. As I posted in response to another post above, this is as easy as "zpool clear -F $POOLNAME".

The fact that the vast majority of other filesystems have no way to detect silent corruption of data (only metadata inconsistencies) is far more frightening to me.

Here is an nice article written by someone who discovered just how unreliable disks are, after switching to ZFS (because other filesystems couldn't detect the corruption). Quite an eye-opener. http://www.oracle.com/technetwork/systems/opensolaris/data-r...

If you use chrome and are getting the same error as I am, here's the google cache link (Firefox will load it): http://webcache.googleusercontent.com/search?q=cache:caEwhGD...

The article references sources of studies of hard disk corruption, if you'd want something with even more detail and statistics:

http://research.cs.wisc.edu/wind/Publications/pointer-dsn08....

http://static.usenix.org/events/fast08/tech/full_papers/bair...

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
"How? ZFS refuses to mount/import a corrupt filesystem."

zpool clear -F $POOLNAME

http://www.c0t0d0s0.org/archives/6067-PSARC-2009479-zpool-re...

glabifrons··on ZFS on Linux 0.6.1 released: Ready for wide scale deployment
"memory consumption is ginormous"

Yes, it will use whatever memory you allow it to, but this is purely dynamic just as caching is in Linux. If you're not talking about the ARC, but about deduplication, of course it uses more memory - how would it not?

"IO performance is generally not great (lower than with "simpler" FS)"

This is sounding troll-ish, as that statement equates to: A filesystem that checksums all data and metadata and performs copy-on-write to protect the integrity of the on-disk state at all times is slower than a filesystem that does neither.

Well, of course.

But do those "simpler FS" have the ability to massively negate that effect by use of an SSD for the ZIL and L2ARC? There have been many articles showing higher throughput with large, slow 5400RPM drives combined with an SSD ZIL & L2ARC massively outperforming much faster enterprise drives.

"managing your pools isn't that easy once you get serious about it"

I'm fairly stunned by this statement, as I've yet to see an easier, more elegant solution for such a task. Before ZFS, I liked VXVM with VXFS, but I now consider it obsolete. Linux's LVM is downright painful in comparison. I've yet to play with btrfs, so I'll bite my tongue on what I've read so far on it.

The deep integration of volume and pool management directly with the filesystem, essentially making them one and the same, is simply beautiful. Having these things separate (md, LVM, fs) after years of using ZFS seems so archaic and awkward to me.

Disclosure: 100% of my ZFS experience has been on Solaris (10-11.1) and OpenSolaris/Nevada. I've not tried it on Linux, yet.

glabifrons··on The Google Graveyard - Leave a flower for a deceased Google product
I hate posting something like this without a link, but I read an article quite some time ago (supposedly) written by one of the core developers of Wave. To massively oversimplify the article, he blamed it on having way, way too many developers working on it at once... lots of inefficiencies crept in as portions were duplicated, it ended up much more bloated than it should have been, etc.

IIRC, he also acknowledged many other contributing factors, like the slow release of the features presented in the original videos (some of which never were released), people simply not knowing what to do with it, etc.

Something else I remember was that he suggested the code should/could have been a tiny fraction of the size and dramatically more efficient for what it did.

I'm not saying I agree with the article at all, it's just what I read. For all I know it could have been a hoax.

This appears to shed similar light on it: https://news.ycombinator.com/item?id=3101201

Personally, I loved Wave and was hoping to run my own server when they released what code they did release. Unfortunately, what has come of it is still lacking key features I'd want before doing so. (I'm not a Java developer, so would not be able to contribute)

glabifrons··on Introducing Roku 3
Try MyMedia out... it streams from your computer to the Roku and has a nice little "channel" too.

http://netguy204.github.com/roku_media_server/

It runs on Windows, MacOS and Linux, and it's GPLed:

http://rokumm.appspot.com/walkthrough

glabifrons··on Why are there no true cross-platform filesystems?
http://zfsonlinux.org/ They no longer list the versions on the front page. Last I saw the page was only a few months ago (max) and you couldn't even create a filesystem yet (you could create a zpool and zvols). I remember reading on that page the zpool and zfs versions implemented at that time, and they were way back.

And yes, I am using Solaris for comparison... I mentioned that I'm triple-booting with Solaris in the post you replied to.

I'm glad so see the development has caught up, but it is still quite young.

glabifrons··on German student builds electromagnetic harvester to recharge a battery
This reminds me enormously of the simplest electronics project I ever put together: A Crystal Radio back in the '70s. If you're not familiar with them, they're not much more than a coil and a "cat's-whisker" (diode) and they are powered by the radio-waves themselves.
glabifrons··on Why are there no true cross-platform filesystems?
I thought ZFS on OS X was read-only.

Linux ZFS is still quite young, only supports a very early version of the fs, and can't be updated to the newest without serious reverse-engineering.

As for ZFS on windows, I definitely would not hold my breath.

I ran into the same frustration as the author and gave up. My notebook triple-boots Linux, Solaris 11, and OS X (I have no use for windows) and would be beyond thrilled to have ZFS shared among them.

One other problem with the idea though... you'd have to export the shared fs each time you shut down and import it into the next OS you booted, which would be kind of a pain (of course you could force the imports, but that's ugly and it only saves one step).

glabifrons··on Rethinking The Postal System
They've raised the postal rates for first-class mail (that normal humans all use) many, many times. Not a complaint, just an observation.

Why not raise the rates for junk-mail?

Sure, megacorps will scream and cry that it'll put them out of business, but it won't. They'll continue sending out junk-mail as it draws in far more in customers than they spend on it. If some don't, that much better for the environment, since I'd guess >99% of junk-mail goes straight into the garbage (with a small percentage of that being recycled).

Seeing as the vast majority of mail I've received over the decades has been junk-mail, it should be an easy way to increase revenue.

glabifrons··on We broke the tomato, and we’re using science to fix it
Strawberries suffered the same sad fate.

I'm amazed at how huge, juicy, wonderful smelling, and almost completely flavorless strawberries have gotten over the decades. I still buy them a couple times a year, and am always disappointed.

glabifrons··on We broke the tomato, and we’re using science to fix it
I agree completely... The ones that are ripened in the grocery store are bland and waxy tasting. I really miss the garden I grew up with in the '70s. There's no comparison to vine ripened tomatoes ( not to be confused with Vine Ripe brand, of course).

I don't know if you are talking about the same ones or not, but the Campari tomatoes that Costco sells are about the only store bought tomato I can stand... They're kind of like a giant cherry tomato.

glabifrons··on The Super Supercapacitor [video]
Previous discussion (same video, on hackaday): http://news.ycombinator.com/item?id=4958875

Another: http://news.ycombinator.com/item?id=3723943

And another: http://news.ycombinator.com/item?id=3710054

All 3 are linked to different articles.

glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
I find this just as interesting and relevant: http://en.wikipedia.org/wiki/Seed_saving

This process is certainly not extinct.

The Legality section has some tidbits that might actually be useful in this case.

glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
A "vague icky feeling" like anaphylaxis?

http://www.businessweek.com/debateroom/archives/2007/12/gmo_...

https://www.signaturemd.com/modern-poison-are-genetically-mo...

Not one person I know who is against GMO foods is uneducated about it - quite the opposite... they aren't interested until they start researching the topic. I couldn't care less until my wife started researching it (due to severe reactions by family members). Before then, the only thing I had against GMO was fishy-tasting tomatoes.

Another problem I have with mass deployment of GMO crops is the reduction of active species. Imagine what a simple blight would do to our food supply. Example: http://en.wikipedia.org/wiki/Great_Famine_(Ireland)

glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
Yes, what they have done is difficult, the process is what should be protected, not the product of the use of the product, nor the contamination caused by the product.

2. No, I'm not a farmer, but my ancestors were, and the family farm is surrounded by other (current) small farmers. The "field corn" (intended for cattle feed) that grew on my grandfather's farm in the '70s-'80s was far sweeter than any engineered "sweet corn" I've had from any supermarket for the last 25+ years. This corn was grown using the old methods which I've seen many claim (as you have) are no longer used. Maybe the industrialized farms aren't saving their old seed (because they're likely all using GMO seed), but the small (family) farms still are (especially organic ones). Why wouldn't you use this method? Why sell something you have to re-purchase, especially when, after several seasons, the seed is effectively acclimated to your environment and more productive? (of course you can't use this method if you're using GMO seed)

"3. Ugh..."

http://www.npr.org/templates/story/story.php?storyId=1290104...

TL;DR: 86% of "wild" canola is GMO, most of which contain multiple engineered genes (multiple generations of contamination). At this rate, it won't be long before "wild" canola is extinct.

http://articles.latimes.com/2012/feb/17/local/la-me-gs-organ...

http://www.npr.org/blogs/thesalt/2012/02/27/147506542/judge-...

This will likely be viewed by those supporting Monsanto as BS, but I'll include it anyways:

http://www.thefutureoffood.com/

Countless heritage species of corn grown by families in Mexico are GMO contaminated... effectively wiping them out.

glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
If a farmer used Roundup, his crop could not be considered organic.
glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
But in that case, they don't sell the bacteria, do they? (that would be foolish) They sell the insulin it produces. You cannot take the insulin and make more insulin with it, so no-one can take the product they bought and "let nature take its course" and end up with more.

However, if someone were to use the same process they used for gene insertion (which is more likely to be an invention than a gene they simply discovered), they may have grounds to sue.

glabifrons··on US Supreme Court to Hear Monsanto Seed Patent Case
"Personally I believe that patenting genes in first place is overall a bad idea..."

If they actually developed the genes themselves, I'd lean towards the thought that they should be patentable.

However, in this case (and in every case that I know of involving Monsanto) they've simply patented something they discovered, not something they invented.

The gene in this case is the "Roundup Ready" gene... which comes from a bacteria they discovered that was living in the soil they saturated with their Roundup poisons. They extracted this gene and inserted it into the plant by way of a virus... so they didn't invent the insertion method either (the virus did). Yes, they had a guiding hand in which gene got transferred, but that's process and that's not what they're suing over.

In other cases, they simply patented genes that they never even interacted with, such as the large hog gene. This is fundamentally broken... I'm not sure what happened to the rules against patenting nature/life.

As to the merits of this case, I can see it going either way - the arguments are definitely novel.

Personally, I think:

1. Patentability of discoveries (not inventions) should be examined closely (and discarded!). There used to be rules against patenting nature/life... as stated above, I'm not sure what happened to those (IA-quite-obviously-NAL).

2. SCOTUS should consider that Monsanto sells a product that is intended to be used to replicate itself - then suing people who use the end product as nature intended for further replication. Consider if this were a seed that produced a seedless fruit... you'd have to be a bit more creative than following nature to replicate the plant (grafting and such). That effort wasn't applied here at all.

3. SCOTUS should examine the fact that Monsanto has completely lost control of their product and that it should be viewed as an infection.

To elaborate on that last point, imagine you're an organic farmer and you go through an extreme amount of effort and cost to ensure you have truly organic seed. You plant this seed on your land that has been organic for >3 years (requirement for getting a USDA Organic label, as I understand it) and grow your crop. Bees come to gather nectar and in doing so, pollinate your crop (nature at work). Unfortunately, there's another farm within range of the bees that has Monsanto's crop growing, and your crop gets fertilized with the neighbor's pollen. The product of your hard work now contains Monsanto's genes, they come on your property without your permission, take parts of your crop for analysis, then 2 years later (ensuring you have no proof to fight it) they launch a lawsuit against you claiming you stole their product and sue you into bankruptcy. EDIT: Not only have you lost your current crop and your money, but you've also lost your organic label since you now have a non-organic crop growing in your fields (even though the non-organic part is only the product of the plant and not the plant itself).

This is not a theoretical possibility, this is their MO. They're wiping out all sources (crop-reuse methods, included) of seed so all farmers will be forced to buy seed from them (they also control the majority of non-GMO seed, they've been buying up smaller seed companies for eons).

Edited for formatting and added one line to the 2nd-to-the-last paragraph.

glabifrons··on Declassified: America's Secret Flying Saucer
I find the US Air Force's Nuclear Flying Saucer much more interesting. It was originally published in November of 2000 by Popular Mechanics, but I am unable to locate the article on their site, so here's google's scan of the magazine in which it appeared:

http://books.google.com/books?id=MxXlKb9wIe0C&lpg=PA68&#...

glabifrons··on How battery improvements will revolutionize the design of the electric car
That's the interior of the car, which is effectively a greenhouse.

You don't put the battery packs on the inside of the car any more than you'd put the fuel tank on the inside. Typical placements are underneath the vehicle, arguably the coolest area possible. This is where the Tesla model S places the pack, as does the Fisker Karma, and this is also where the old ('97-'03) RAV4 EV placed the NiMH pack.

glabifrons··on How battery improvements will revolutionize the design of the electric car
1. Improving dramatically with improvements in energy-density. The weight of a battery-pack capable of >140miles plus electric motor weighs less than the gasoline engine it replaces, not counting the weight of a full tank. (this is based on battery packs available commercially from several years ago - a friend built an electric 911 with Kokam cells with these specs).

2. Conventional Li-Ion (cobalt) cells are definitely dangerous, best stick with NiMH or LiFePO4 to avoid that problem.

3. Those temps are a bit extreme... arguably small markets there.

4. Newer battery tech is reducing the charging time massively... I've read more than a few quotes of ~5 minutes for an 80% charge (diminishing rates beyond that). Example (granted, not near market ready): http://www.extremetech.com/extreme/134635-scientists-develop...

5. That's a much bigger problem... towtrucks would have to have a considerable powerplant on-board for this.

6. Again, improving by leaps and bounds all the time. Just one example: http://www.a123systems.com/lithium-iron-phosphate-battery.ht...

7. Well designed controls should prevent this (shutting down the on-board systems when batteries get below a certain point, rather than taking them past the point of no return).

8. This is coming down fast enough that by the time you have to replace the battery pack, it'll be a non-issue.

9. Again, avoid cobalt-based Li-Ion batteries, and this is not an issue. LiFePO4 batteries are an enormous improvement on this problem - less toxic than the lead cells in your car now.

10. Yet another massive improvement that's a side-effect of the lowered internal resistance in modern batteries. This goes hand-in-hand with the improvements in charge-rates (lower internal resistance means less heat from current, whether going in or coming out of the cells).

Which 3 are you referring to?

glabifrons··on Never Make Counter-Offers (2011)
Unfortunately, this is nothing new. I saw this all the time back in the '90s - it was a running joke where I worked (which really wasn't a joke at all) that to get a raise, you quit and come back. Seriously - people would quit, work for another company for 6-months to a year, then they'd come back making massively more than before they left. This company also had percentage caps on how much you could get as a raise, even when changing positions into something completely unrelated - or at least that's what they told me when I changed positions, twice, over the 8 years I spent there. When I finally got fed up with the minuscule raises and ridiculous politics, I had my choice of job offers (was flown halfway across the country for interviews) and got a 50% salary increase with the change in employers (I could have more than doubled my pay, but liked the low-politics in the company I picked). When I submitted my resignation, my boss said to me "I know what you can make out there, so I'm not even going to insult you with a counter-offer." Those words shocked me and proved to me they knew they were underpaying me and didn't care (I made my case multiple times for a raise and promotion that I never received).

Sadly, I'm still seeing it happening and in a completely different industry and in a much higher level position.

FWIW: I'm one of those "too loyal for their own good" types (who get abused for such a trait, as described by others above).

glabifrons··on Car Dealers Sue Tesla, Citing State Franchise Laws
Apple is anything but small... they passed Exxon earlier in the year as the world's most valuable company. They ship more computers than nearly any other company (save maybe HP). So when do they start being big enough to be affected by this law?

I also find it interesting that you also compared them to Microsoft, since Microsoft is now opening retail stores.

glabifrons··on Car Dealers Sue Tesla, Citing State Franchise Laws
I must disagree.

A coworker had problems with his Mercedes SUV, opposite end of the spectrum from a used Sunfire. He had it checked out and came back to the office in a very sour mood. I asked to look at the quote - they planned to replace the plugs, wires, and coils (V8) for $3,600! I looked at it closer and saw a very common game being played. They used the numbers "from the book" for the hours required for each replaced component as if you would replace each component individually and added them all up. In reality, if you're replacing the plugs, you're already pulling the wires, so it adds no time to the work at all (maybe a few seconds per wire). There's not much to add for the coils if you're replacing the wires either.

After much prodding, I managed to get him to get a quote at a non-dealer shop and when he showed the guy his quote, he pointed out the exact same cons that I did. End result, he saved 2/3 of the dealer's quote.

I could tell you other (bait & switch, rudeness, etc.) stories about BMW and Audi dealers, including a coworker's experience trying to buy a brand new one.

glabifrons··on Car Dealers Sue Tesla, Citing State Franchise Laws
They don't make their own fan belts. The dealer would simply switch to another brand. They are standardized, after all.
glabifrons··on Car Dealers Sue Tesla, Citing State Franchise Laws
I couldn't agree more. I've heard _very_ few flattering stories from coworkers and friends over the decades of their experiences with car dealerships and their service.

When you factor in something unusual, like a Wankel engine, the experience gets exponentially worse. Just browse any RX-7 or RX-8 forum and you'll see nothing but horror stories whenever anyone asks "where should I have my car serviced?". So much for the dealer's investment in "expensive equipment and training". They don't... they hire the cheapest labor that meets their loose requirements.

Now take that difference even further and eliminate the ICE and replace it with 6k+ Li-Ion cells with their own cooling system, an AC induction motor, high powered inverter and the related heavy cabling, and you're going to have massive confusion and problems in a dealer whose primary sales and training is for conventional vehicles. Of course, a possible answer could be _exclusive_ dealerships with _extremely_ strict requirements for training and such, but I'm sure there are probably laws against that as well.

← PreviousPage 2 of 3Next →