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

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re:The Theater Experience (Score 1) 325

Exactly. I bought a fairly decent set of speakers, a projector, and a DVD player for a total of around £450 in 2003. Back then, a ticket at my local cinema cost £4.50 (it's gone up), so roughly the same as going to the cinema 100 times. Popcorn was another £4 or so (drinks another £2-3), so that brought it down to about 50 trips - one a week for a year. I split the cost of the projector with my housemates back then and we'd have friends bring a DVD and food / beer around. By the end of the year, it had more or less paid for itself. One of my housemates bought the other shares in the projector when he moved and I bought a new one and have replaced the bulb once, so I've spent a total of about £500 (plus electricity) over a period of 13 years. The up-front cost was a lot higher, but over 13 years it's been cheaper than going to the cinema once a month and not having anything to eat / drink there. And that's just the cost for me: for the first few years when living with housemates and for the last few living with my partner the benefits have been shared by multiple people. Oh, and we get to watch TV shows in the same environment.

I stopped buying DVDs for a while because renting was a lot cheaper, but as BluRay and streaming start to see adoption the second-hand market is flooded with DVDs so it's easy to pick up a film for £1 or a season of a TV show for £3-5.

The real answer to piracy? Give people the product that they want for a reasonable price. Give me a service that let's me download DRM-free movies in a standard format that will work on the FreeBSD media centre box connected to my projector, my Mac laptop, my old WebOS tablet and my new iPad and I'll happily hand over money. Until then, I'll stick to DVDs.

Comment Re:The Theater Experience (Score 1) 325

Right, because old people are the ones that have good hearing. I had a similar experience the last time I went to a cinema. Sound settings so ludicrous that any base drowned out people talking and caused distortion in the speakers. I've not been to the cinema near where I live now, but they've just done a big refurbishment that ended up with a quarter the seating space that they had before. Apparently it's doing pretty well (people like the big comfy seats), but a apparently decade ago it was able to sell out most of the screens on a regular basis. Now they always have empty seats, even with a quarter the capacity.

Comment Re:Hatchet jobs aside (Score 1) 381

I look into the witness guy's background, he has UK security clearance FFS!

Having UK security clearance is not that hard. I did for a while (though it's long-since lapsed). Anyone who works on any defence-related project is likely to have security clearance. Remember when Snowden released all of the things he could access and it turned out that over a million people in the USA had security clearance? The UK isn't that much more restrictive in who it hands our clearance to.

Comment Re:Which version of C would you use? (Score 1) 299

C11 threads are also a horrible API full of mistakes that other threading libraries learned from and fixed two decades ago. It exists solely because someone thought that you can't have atomics in a language without a mechanism in the standard library for creating threads. C++11 threads are actually quite sensible. The only significant addition in C11 is the addition of a half-arsed port of C++11 atomics (right down to accidentally including a joke footnote from the C++11 draft spec that was removed before the C++11 spec was finalised). _Generic is vaguely useful.

Comment Re:Non-linear Presentation (Score 1) 95

It's very useful to be able to create presentations with multiple paths through them. You can embed deep-dives into things that you're trying to explain and skip over them if the audience either isn't interested in that part or that they want more information about. Quite a few other presentation tools provide support for non-linear presentations, PowerPoint is playing catchup.

Comment Re:As a C programmer (Score 1) 299

Look at LLVM as an instructive example. It's a large complex beast written in heavy C++, but there are bindings for every language you'd ever want to seriously write a compiler in.

Not a great counterexample - The LLVM C bindings are maintained by hand and all of the other bindings are machine-generated from the C bindings.

Comment Re:As a C programmer (Score 1) 299

Using C++ without templates is missing the point. One of the things I miss the most when writing C is the lack of efficient generic data structures. C equivalents of things like std::list, std::dequeue, and std::unordered_map all require lots of macros that cast things through void* (and therefore avoid any possibility of compile-time errors) and typically extra layers of indirection which hurt performance from d-cache misses more than templates will hurt from increased i-cache usage.

Apple's CoreFoundation is probably the nicest-designed C library providing core features, but it is a lot harder to work with than its Objective-C equivalent for similar performance and less efficient than a C++ version (though with stronger binary compatibility guarantees).

Comment Re:As a C programmer (Score 1) 299

As for the specific example (dst - src >= len): Comparing against a dst - len operation would require an intptr_t that as you pointed out is optional. dst - src requires a ptrdiff_t type that isn't optional in C99 and can be found in stddef.h

This is correct, however it is undefined behaviour to compare two pointers to different objects. In particular, C is intended to support environments where objects are allocated as segments and can be relocated in a linear address space (I work on one such architecture and wrote the C compiler for it, though we actually do support this idiom because so much real-world code depends on it). In such an environment (which includes the version of C that targets the CLR), there is no guarantee that the ordering of two objects in memory will be stable.

Comment Re:This is NOT a matter of trademark violation (Score 2) 242

Not necessarily. Take a look at the relevant portion of the Lantham Act. It would have to fit one of the provisions therein. It might make a false suggestion of affiliation, but it's arguable.

15 U.S.C. 1125 - False designations of origin, false descriptions, and dilution forbidden

(a) Civil action

(1) Any person who, on or in connection with any goods or services, or any container for goods, uses in commerce any word, term, name, symbol, or device, or any combination thereof, or any false designation of origin, false or misleading description of fact, or false or misleading representation of fact, which

(A) is likely to cause confusion, or to cause mistake, or to deceive as to the affiliation, connection, or association of such person with another person, or as to the origin, sponsorship, or approval of his or her goods, services, or commercial activities by another person, or

(B) in commercial advertising or promotion, misrepresents the nature, characteristics, qualities, or geographic origin of his or her or another person's goods, services, or commercial activities,

shall be liable in a civil action by any person who believes that he or she is or is likely to be damaged by such act.

Comment This is NOT a matter of trademark violation (Score 1) 242

You violate a trademark if you mis-represent a good or service as that of the trademark holder. And it has to be in the same trademark category that they registered. Having a trademark does not grant ownership of a word, and does not prevent anyone else from using that word. Use of a trademark in reporting and normal discussion is not a violation.

Slashdot Top Deals

To communicate is the beginning of understanding. -- AT&T

Working...