Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:Fighting greed with greed (Score 1) 834

... but... I need an engineer with is an expert with the following languages: "Atari BASIC, Amiga 68000, GO, Rust, Erlang, COBOL'. No other candidates on the market other this particular foreign individual who happens to have all of them... phew!

(Change combinations, add extra required skills etc. BASIC and Woodwork? Whatever, it'll be enough.

I suspect you'd have to have someone who understands technology vet the requests as well.

Comment Re:Google can tell me the definition of hypocrisy (Score 1) 350

> why does the government get to have my name, contact info, salary history, and God knows what else?

IANAA, but I assume your government already knows your name, address, phone number, salary history, etc. Isn't that how they tax you?
The other stuff, I think, is things like promotions, which they *could* infer from salary, but that's probably not as accurate as they want it to be.

Comment Re:Yikes that's fast (Score 2) 324

No, I don't think so.
Common applications are multi-thread. Even at a basic level, one core driving the UI another driving the business logic.

Single thread might make a difference for games, but a well written game in 2016 won't be single threaded either.

P.S. My Note 7 reported 5499 multi-core, so it's like taking a flame thrower to the iPhone 7 plus number.

Comment Re:Compression (Score 1) 295

I've been using a Mac... including being an early adopter of Clusters.

HFS+ compression isn't designed for user files, which is why there are no native tools to use it *for end users*.
There are some hacky command line things you can do, but it's messy, can break, and is totally useless for anything that modifies the file (so, VMs, databases, and the like).

If you're going to use that, you may as well just zip the file and unzip it before you use it.

Comment Re: Compression (Score 1) 295

> That's common wisdom, but I don't think it stands up in the modern world. Here's my bonnie results on a softraid-5 partition with a 10GB test file:

Below is proof of that RLaager is accurate.

root@ViStAr:/fast/temp # bonnie -s 10000 -m zfs
File './Bonnie.29377', size: 10485760000
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
zfs 10000 382297 99.0 1219601 95.8 716616 97.7 349655 99.9 1859572 99.5 19018.9 44.7

Another aside Gzip is terrible. Below is proof, but basically, as a benchmark tool it's about the worst thing you can use.

$ sudo dd if=/dev/random of=test.raw bs=555745280 count=1
1+0 records in
1+0 records out
555745280 bytes transferred in 12.883350 secs (43136706 bytes/sec)
$ du -hs test.raw
531M test.raw
$ sudo /usr/bin/time gzip -1 test.raw
      18.18 real 17.69 user 0.47 sys
$ ls -la test.raw.gz
-rw-r--r-- 1 root wheel 555914267 Jun 14 16:45 test.raw.gz

I can write to a compressed ZFS disk faster substantially faster than you were able to write uncompressed.
the filesystem being used is ZFS, with compression on.

Same filesystem with a highly compressable file shows this result:

$ sudo dd if=/dev/zero of=test.raw bs=555745280 count=1
1+0 records in
1+0 records out
555745280 bytes transferred in 0.493310 secs (1126564044 bytes/sec)
$ du -hs test.raw
512B test.raw
$ ls -la test.raw
-rw-r--r-- 1 root wheel 555745280 Jun 14 16:50 test.raw
$ sudo /usr/bin/time gzip -1 test.raw
test.raw.gz already exists -- do you wish to overwrite (y or n)? y
        3.79 real 2.02 user 0.20 sys
$ ls -lart test.raw.gz
-rw-r--r-- 1 root wheel 2425121 Jun 14 16:50 test.raw.gz

I was able to create the original dataset much faster than gzip was able to recreate it, and compress to a much greater level.
You can also do a similar thing with an all-ones file and get similar results though you won't get the whole punching effect that was seen with /dev/zero.

Comment Re:Compression (Score 1) 295

a) Implication that it's complex to add compression.

Other common filesystems have it, NTFS, ZFS, BTRFS. Given the amount of money Apple have, I doubt it's that complex.

b) Disks are cheap.

Looking at apple.com/uk pricing, the difference between the 512GB SSD and 1TB SSD is £400. And if you choose incorrectly, you can't just open the case up and change it.
You could then use an external USB, as I do, but sleep/wake doesn't work properly, and endurance on USB keys isn't exactly ideal.
Or you could hang a whole powered drive off it, but then why have a laptop.

c) Nobody needs compression

I've got a couple of hundred GB of virtual machines. I save about 1/3 of the space by just compressing/uncompressing them all the time, but it's a waste.
I imagine a lot of developers would also find it useful; I'm playing around with 70GB text file I generated as part of some stuff I'm doing, and that compresses down to about 5GB when on my server on ZFS, but then I can't carry it with me (e.g. use on a train).

I could spin up a VM with ZFS in it, but then I'd need to hard-allocate a bunch of space to a fileserver... and back to square one.

You may have a different bunch of concerns. SSDs might be plenty big enough for you.

Comment Re:No qwerty slider? (Score 1) 45

Except this isn't the case. The G3 uses the same technique (only buttons for power/volume on the back, no buttons on the front).
For games and apps where you want the extra real estate, go into Settings->Display->Home touch buttons.
Then click on 'Hide Home touch buttons'. A list of all your apps will appear, just tick away.

Then when you're in an app you've done this with the bottom buttons will vanish but will re-appear when you slide your finger from the bottom/side of the screen where they normally are. For me, it's intuitive.

Slashdot Top Deals

"The most important thing in a man is not what he knows, but what he is." -- Narciso Yepes

Working...