Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Ask Slashdot: Best Software For Image Organization?

Carl Drougge I made my own (258 comments)

I made my own image tagging software, which is likely to be supported (for me, by me) as long as I care. It's probably not the right choice for most people. Anyone who wants to use mine is free to do so, but it's not well packaged. Undoubtedly missing features some people consider mandatory. It also makes some unconventional choices.

If anyone wants to try it I will answer email about it, and we can arrange to meet on IRC. There are several mode repos on the same github account (that are part of the same system).

Basic ideas:

Client/server model. Server in C, client in python.

Everything you do it kept forever. The only persistant metadata storage is a log of everything you've done.

Image files are never ever touched. They are identified by their hash. Anything messing with them will break this.

There's a fuse filesystem for searches, which you can use with whatever viewer you like. There's also a (crappy) web interface.

You can import raw files and see jpegs in the fuse fs/web client. (The embedded jpeg found in nearly all raw files.)

3 days ago

What's To Love About C?

Carl Drougge Re:Simple. (793 comments)

It's undefined in either case, because == is not a sequence point. (That is, the right side will yield the value C had before this statement, but the left side might not. Probably anyway, I'm not going to look it up.)

more than 2 years ago

Ask Slashdot: Temporary Backup Pouch?

Carl Drougge ZFS (153 comments)

In the grand internet tradition of answering a loosely related question which is no use at all to the asker, I will say that the "smart kids" might use something like ZFS, which almost handles this for you. (Take snapshots, save delta streams on your USB stick. Requires the backup to be a ZFS copy, not just the same files.)

Useless right now at least. But I've been pretty happy with switching my storage to ZFS, even if the Linux version sucks. (I mostly don't use the Linux version.) I'd recommend it to anyone who doesn't mind a bit of transitional pain.

more than 2 years ago

The IOCCC Competition Is Back

Carl Drougge Re:The Internet is based on C (201 comments)

Keyword: cognitive load. Case in point: hilariously excrutiating code example in linux man page of snprintf. If you need to jump through all these burning hoops to do something this mundane, imagine how much more your proficient C coder could achieve in a more sensible laguage with the same amount of effort.

A sensible C coder might use vasprintf instead of the example in that manpage. The fact that all the standard library functions aren't great for all (or sometimes any) use cases is hardly unique to C.

more than 3 years ago

As a target for malware, my main computer is ...

Carl Drougge No browsing (429 comments)

My main computer doesn't run a browser. (It does run a virtual machine with a browser.)

I think this and not being reachable from the public internet is all the protection it needs. (It's also running Ubuntu, but I don't think that makes any noticable difference compared to some other modern choice.)

more than 3 years ago

How Not To Design a Protocol

Carl Drougge Re:Why the hate.... (186 comments)

SMTP has no such restriction. (Not saying it's good exactly, but it doesn't have that particular problem.)

The unix mbox format has that problem though, but there are plenty of better options for mail storage. And there are no interoperability problems with switching, except with local software.

more than 4 years ago

Volume Shadow Copy For Linux?

Carl Drougge Re:What is wrong with just plain dump? (300 comments)

I'm pretty sure the Linux version of dump doesn't do any snapshoting. The FreeBSD version can do it because the FS supports snapshots, but ext3 does not. (Maybe it will do snapshots automatically if you have a setup that will support them, but the original problem is that this is not the case.)

more than 4 years ago

Simpler "Hello World" Demonstrated In C

Carl Drougge Re:11k Is Too Big? (582 comments)

On a decently configured modern system using a less than modern filesystem. Which isn't really the best kind of decent configuration for all situations.

more than 4 years ago

Google Finds DRAM Errors More Common Than Believed

Carl Drougge Re:ECC on a home system? (333 comments)

Yes, I am saying that. There are options for:
DRAM ECC enable
DRAM MCE enable
Chip-Kill mode enable
DRAM ECC Redirection
DRAM background scrubber
L2 cache background scrubber
DCache backdround scrubber

The full specs of my board are GA-MA770-UD3 rev 2.0 with BIOS version "FA", Kingston valueram ECC memory, Athlon X2 BE-2400 CPU. So tech support could be right for the board you asked about, though probably not.

more than 5 years ago

Google Finds DRAM Errors More Common Than Believed

Carl Drougge Re:ECC on a home system? (333 comments)

While it's certainly true that most consumer boards don't have BIOS support for ECC, my Gigabyte GA-MA-770-UD3 does, so gigabyte probably doesn't lie when they claim support on other boards. (But these options are not shown if you don't actually have ECC-memory, so you could easily fool yourself when you check for it.)

Also my slightly older ABit AN-M2HD supports ECC. Both boards were bought with ECC in mind, it's not all that common. But it's certainly possible to get.

more than 5 years ago

Intel 34nm SSDs Lower Prices, Raise Performance

Carl Drougge Re:No Battery? (195 comments)

I suspect they have a capacitor large enough to finish committing their buffers. At least they seem to see little performance degradation with write barriers, and do retain all the files they should when I pull the power while writing. (I didn't do a proper test, but it seems to work correctly, assuming your OS does.)

(And for the record, any OS that still thinks anything the HD acks is written is living in a dream world, it hasn't been true for 15 years on consumer disks.)

more than 5 years ago

DDR3 RAM Explained

Carl Drougge Re:Just a tad over the top? No ECC = NO buy (200 comments)

Running memtest is of course a good idea, but with ECC you can (assuming you have software support) know about errors during normal operation. I've had two on my desktop in the last 30 days. (975X chipset, 4GB DDR2 667MHz memory.) (This is infrequent enough that it would usually pass memtest for your 48 hours (and has). (Memtest stresses the memory more, but still.))

more than 6 years ago


Carl Drougge hasn't submitted any stories.


Carl Drougge has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?