Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Re:I'll tell my insurance company to get right on (Score 2) 243

by Qzukk (#49132299) Attached to: The Peculiar Economics of Developing New Antibiotics

Setting aside socialism, if the system was working anything approaching optimum for the current configuration of third party payers and patent holders and everything else, insurance companies would already be inventing (and/or buying inventors of) drugs and practically giving them away to their members (or cross-licensing them with other insurers cheap to get their members the best drugs available in multiple categories). As a side effect, insurance companies would inherently aim to reduce side effects (guess who pays when you have a heart attack because of taking some drug) rather than cover side effects up (see: VIOXX). It would also eliminate the (real or imagined) conflict of interest between finding cures and finding treatments.

Comment: Re:It is about Christians (Score 1) 285

by Qzukk (#49119735) Attached to: Google Knocks Explicit Adult Content On Blogger From Public View

Are you sure no other sub group objects to porn popping into their faces?

I've never had porn just "pop into my face" if I wasn't going and looking for it. Are you sure you're not asking a bunch of people from Utah why they use more porn than any other state? "I swear I didn't go to it just popped into my face! It was a typo! a virus! moonbeams!"

That said, the only groups I can think of who tell people what they can and can't look at or listen to are liberals and bible thumping republicans (also liberals).

Comment: Re: Heating the metal to erase (Score 2) 133

by Qzukk (#49100263) Attached to: Crystal Pattern Matching Recovers Obliterated Serial Numbers From Metal

Maybe not in Europe, but here in the US reloading casings is a thing. You do need to buy the right equipment though and these days it probably does get you put on lists on either side of the pond.

Casting bullets isn't the preferred way to make them (since these days people want jacketed bullets hollow points etc) but melting lead and casting them from molds is trivial.

Comment: Re:I already solved this (Score 1) 389

by Qzukk (#49078195) Attached to: What To Do After Robots Take Your Job

Politics aside, the biggest problem with this is going to be the housing. Those "low end" apartments almost certainly didn't spring into existence at $0.96/sqft, but upgrading the 600,000 people from soggy cardboard is going to require a lot of new construction, and people building new things are going to want money for that wood, brick and property, even if the entire structure is built with robots. Terrafoam to the rescue, I guess.

That said, if you're willing to not own a lot of stuff or have a bedroom, it looks like 242sqft is plenty of space. It's probably pretty standard in Tokyo too.

Comment: Re:Moving to a future where you pay for freedom (Score 1) 111

by Qzukk (#49074749) Attached to: Privacy: the 21st Century's Newest Luxury Item

you pay - either in money or time or experience - for more freedom. Either freedom of privacy

Or you pay for the illusion of privacy, such as getting AT&T with the death star's ever watchful eye on your traffic plus ads for $70 or for only $30 more you can turn off the ads but not turn off the traffic monitoring.

Comment: Re:GOTO is a crutch for bad programmers (Score 1) 677

by Qzukk (#49043957) Attached to: Empirical Study On How C Devs Use Goto In Practice Says "Not Harmful"

This compiles in my head (it's been a looooong time since I last touched C) and uses three allocations and several places that can fail.

/* Write no more than 1024 bytes to a new file.txt */
if (-1 != (dest = creat("file.txt", S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP))) {
  if (-1 != (src = open("source.txt"))) {
    if (NULL != (buf = calloc(1024, 1))) {
      if (-1 != (rd = read(src, buf, 1024))) { /* should reading zero bytes be an error? */
        total_written = 0;
        buf_p = buf;
        break_loop = 0; /* because break is just another name for goto */
        while (total_written < rd && !break_loop) {
          if (-1 != (wr = write(dest, buf_p, rd-total_written))) {
            total_written += wr;
            buf_p += wr;
          } else {
            break_loop = 1; /* TODO check errno for fixable errors like EAGAIN or EINTR */
            perror("Error writing to file");
      } else {
        perror("Read failed");
    } else {
      perror("Memory allocation error");
  } else {
    perror("Unable to open source.txt");
} else {
  perror("Unable to create file.txt");

Feel free to bash and/or offer constructive criticism. There's probably some official order to how things should be allocated but I don't know what it is. Maybe memory and sourcefile should have come first to minimize filesystem impact. First thought is that the loop in the middle could be moved to a function to move x bytes from file a to file b using buffer c which relies on x a b c correctness instead of testing it.

Comment: Re:Don't forget (Score 1) 330

by Qzukk (#49041597) Attached to: Ask Slashdot: Affordable Large HD/UHD/4K "Stupid" Screens?

I house-sat for my sister once years ago, and she had an AV receiver that was hooked up to a DVD player. Once I got bored watching DVDs I tried hooking up my playstation but couldn't get any sound. It took me several hours to accidentally realize that the genius who created it thought it would be a great idea to have completely independent audio and video inputs so even after selecting Video 2, the DVD audio (which was off) was still coming out the speakers.

Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth. -- Nero Wolfe