Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Comments

top

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
top

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
top

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 2 years ago
top

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 2 years ago
top

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 3 years ago
top

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
top

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
top

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 4 years ago
top

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 4 years ago
top

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
top

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

Submissions

Carl Drougge hasn't submitted any stories.

Journals

Carl Drougge has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>