Forgot your password?
typodupeerror

Comment: Re:Tempting (Score 1) 181

by Fweeky (#48364849) Attached to: Multi-Process Comes To Firefox Nightly, 64-bit Firefox For Windows 'Soon'

Multi-process architecture... I've not really noticed a problem with the threaded one, and Firefox already sticks flash objects in a separate process. So what's the real draw

Isolation. The same reason you want different apps to have their own processes instead of having the whole of userspace in one big blob. You can give processes reduced privileges to reduce the scope of exploits, hangs and crashes don't take down more than they have to, and leaks don't force you to restart the entire system to recover resources.

Plus it makes for simpler concurrency. Kind of handy when you've got a stop-the-world garbage collector if you can just split the world into many smaller independent units, each able to run at the same time and each with an order of magnitude less work to do and no synchronisation to worry about.

64bit... again, bragging points about how many bits you use, no functional difference to anyone

ASLR is a fuckload more effective when it has a reasonably sized address space to work with, and 2^32 is miles away from being reasonable. It's the difference between an attacker having to guess one of 8 locations and one of 8 billion. Plus, memory mapping things is awesome, and also a fuckload easier with a reasonably sized address space.

And hey, some of us actually use our browsers quite a lot. Mine's eating 5.5G right now. So many windows and tabs, and absolutely no fucking reason whatsoever why that should be considered even slightly unreasonable.

Comment: Re:Per-user salting (Score 1) 223

by Fweeky (#48227203) Attached to: Passwords: Too Much and Not Enough

How many people do per-user salting of the password hash?

People spouting things like this is precisely why we have tens of millions of web apps using shitty password storage solutions that boil down to HASH(salt + password) and are thus borderline fucking useless. It's like asking if someone's home-grown encryption algorithm uses an IV - that might be an important part of it but it's kind of missing the point.

If you're using passwords for authentication in your app, use a recognised key derivation function. Use PBKDF2 or bcrypt and tune them to take at least 100ms to run. If you're extra paranoid, use scrypt and tune it to take 100ms and 16MB of memory. If you're doing anything else without having a well-received peer reviewed academic paper describing it, you might want to reconsider.

Comment: Re:This does pose the question: (Score 4, Interesting) 195

by Fweeky (#47616075) Attached to: Facebook Seeks Devs To Make Linux Network Stack As Good As FreeBSD's

pkgng's made port upgrading much less burdensome - even fairly complex dependency changes can be handled automatically as of 1.3, and the official package repositories are a lot more useful now. They even have stable security-fix-only branches.

I still make my own customised builds, but I make binary packages in an isolated jail using poudriere. 99% of upgrades are a matter of updating its ports tree, running rebuild-packages, and running pkg upgrade on all my machines.

You couldn't pay me to go back to portupgrade/portmaster/portmanager.

Comment: Re:so, I'm in the more than 8 yrs ago camp (Score 1) 391

by Fweeky (#47602585) Attached to: How long ago did you last assemble a computer?

If you're actually that bothered about the data integrity benefits of ZFS, it'd probably have been a good idea to go for ECC memory. Pools can pretty much self-destruct in face of memory corruption, and memory failure rates are not that much different to disk failure rates.

Such bullshit that it's so rare and poorly supported. The actual material cost is tiny - a few more motherboard traces and 1 extra memory chip for every 8. With AMD at least it's mostly a case of finding a good motherboard vendor, instead of the server/workstation board and CPU combo Intel demand.

Comment: Re:What is BSD good for? (Score 1) 77

by Fweeky (#47474091) Attached to: FreeBSD 9.3 Released

Not really - ports doesn't even have a *concept* of upgrading, it's just uninstall/reinstall and hope you can work out how to handle all the dependencies. This is why FreeBSD's got so many tools for managing them - portupgrade, portmanager, portmaster, all with their own little and not so little quirks.

We do have an apt-alike these days, in the form of pkgng. pkgsrc also has pkgin.

Comment: Re:What is BSD good for? (Score 1) 77

by Fweeky (#47474023) Attached to: FreeBSD 9.3 Released

It's stable enough for general use, but maturity counts for a lot with filesystems, especially when they're as complex as ZFS. It's also a third-party add-on rather than an official part of the OS which does raise some issues.

Conversely it's practically the default on FreeBSD, and it's been available since 2008.

Comment: Re:I've been toying with rolling my own distro (Score 1) 533

by Fweeky (#46958947) Attached to: Ask Slashdot: Practical Alternatives To Systemd?

pkgng's still missing the ability to track certain changes automatically, so you occasionally have to force-remove a package or manually change an origin as per /usr/ports/UPDATING. I think they're expecting to resolve that in 1.3 fairly soon.

I've been using it for about 18 months across a small group of machines with about 1400 packages between them, and it's pretty much entirely demolished any apt-envy I've had.

Comment: Re:How long id a song (Score 1) 100

by Fweeky (#46496787) Attached to: How Data Storage Has Grown In the Past 60 Years

Reality disagrees with you. The user data portion of a sector is normally a power of two for convenience, being used on computers with power of two page sizes, but drives themselves are no more limited to power of two number of or size of sectors than your computer is limited to power of two size array or structure lengths, and this is readily confirmed by the existence of disks with 520 byte sectors (and somewhat different physical sizes) and an irritatingly diverse range of sector counts.

Comment: Re:How long id a song (Score 3, Informative) 100

by Fweeky (#46491517) Attached to: How Data Storage Has Grown In the Past 60 Years

Hard disk drives use sectors which at some basic level have to be addressed by a powers of two binary addressing system. This means that no matter what else you do with sector sizes or block sizes, the binary counting system *always* comes into the picture.

Right, they're addressed using LBA48, which happens to be encoded in binary because that's how we build computers. That doesn't imply disks naturally only support powers of two for sector counts or sizes - they evidently don't.

CDs and DVDs have 2,352 and 2,418 byte physical sectors. Some Fibre Channel HD's support 520 byte sectors, and of course like optical discs all HD's have substantially bigger physical sectors internally for error detection and correction. A quick sampling of some of my HD's reveals drives with 732,566,646, 3,907,029,168, 500,118,192 and 312,581,808 sectors (at least they're all even?).

Ethernet is even more flexible, supporting any frame sizes between 64 bytes to over 9KB, hardware permitting. Note 9KB is not a power of two.

Wrong, and wrong again. *All* computer peripherals transmit data to and from computers encoded in binary signals. It means that all computer based addressing is essentially binary

Um. Yes, the numbers are encoded in binary. No, this doesn't mean computers can only handle number maximums that are a power of two. Memory happens to be like that because it has to be insanely low latency and simple bit operations like masking off the lower portion of an address is very efficient, but not everything is so restricted.

Comment: Re:How long id a song (Score 4, Informative) 100

by Fweeky (#46490655) Attached to: How Data Storage Has Grown In the Past 60 Years

Why always picking on the HD manufacturers? Your GigE network runs at 1,000,000,000 bits per second, not 1,073,741,824, what a scam!

Memory is measured in multiples of powers of two because that's how the addressing works. Disks and network have no such fundamental limitations - they count in sectors and frames, which are themselves not necessarily powers of two.

The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny ..." -- Isaac Asimov

Working...