Slashdot videos: Now with more Slashdot!
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).
No, these are not different operations; you just altered references in different places (first in your locals, second in a list that you held two references to). I see people getting similarly confused about vector or elementwise operations in Matlab, frequently resorting to blindly slapping on a period.
As of Python 3, True and False are keywords and cannot be assigned.
- sizeof(string) (I may have got the name of the function wrong) returns the length of a single byte rather than the length of the entire string.
A number of things misleading here, which do stem from C's archaic background: Firstly, sizeof is not a function (those parenthesis are not needed and only make it confusingly resemble a function call), it is a rather special operator both in that it looks like a name and operates on types instead of values. There is no string type at all. There are two types frequently used as strings, char arrays and char pointers; only in the case of the array would sizeof return the storage size (which is larger than the string length, unless you've already encountered a buffer overflow). Otherwise you get the size of a pointer, notably also since arrays cannot be passed around but get translated into pointers. In neither case do you get the size of a character.
Of course, the more you explain about C the less sensible it appears.
Forgot to mention: I did back a kickstarter project for a bluetooth keyboard with a cellphone clip (iControlPad 2) but they failed to deliver. Trying a cheap magnetic clipon next; there were a few on aliexpress.
The square screen layout is not news (but it is problematic, with several websites breaking themselves out of spite or incompetence). The larger size got us a keyboard that looks simply too wide, not adding any of the keys we were missing; you could get used to that, but it has nothing to do with the primary problems. Blackberry used to sell on corporate support, working keyboards, and an integrated pointing device. As of the BB10 versions, it feels rather half-developed - that vaunted keyboard has markings that are not supported by the software, the pointing device is missing (the touchscreen basically mocks us by adding another layer with the popup ring), and the build quality is not the best (I have keys losing their clickyness, and I had to return one phone because the same issue made keys unusable). How on earth they decided on a keyboard device to make it impossible to answer a call with a button - and on top of that, make the end call function *move* on the screen - I'll never understand. It's quite possible this new model improves on things with the touch detection in the keyboard, but as it is I'd rather switch to Nokia E72 than take another chance with BB. While chasing fashion all manufacturers, even Jolla, seem to have agreed to not produce another practical PDA.
I have a simple explanation for a large chunk of its popularity - cinemas take a higher price for them, and therefore only show top tier movies in 2D if forced to. I went to the cinema yesterday to see Maleficent, and had to select 3D; there was no alternative. There was a choice in what 3D glasses to get; expensive single-use ones, ridiculously expensive ones that don't fit over glasses (still cheapo plastic film ones, mind you), or suffer the consequences of double picture at double brightness. The film itself made aggressive use of stereoscopic depth coupled with depth of field blur, which is a sensory conflict that continuously bugs me, and included misrendered video where the two pictures did not match, which bugs everyone. This is why 3D gets so many complaints; it's generally badly done and forced on people (try Hugo for a better film, including better stereoscopy). Meanwhile people who like the effect, which I do, aren't getting choices either; get a Fujifilm W3 (2010), because there's nothing else. Want more than 640x720 at 24fps? Tough - oh, and note that they sacrifice horisontal resolution for horisontal parallax, reducing the benefit as well as the quality, even worse if viewed on an interlaced panel like the LG polarized TVs which cut vertical resolution in half. Curved TV screens on the other hand really is a gimmick.
Sadly reality is even more confusing. Lots of Macs support multiple displays only via Thunderbolt, even though DisplayPort has multi-stream natively. Some got MST support in a firmware update. The Thunderbolt display daisy-chaining is not MST compatible.
DMA does not necessarily imply unrestricted access. PCs with IEEE 1394 (also known as Firewire) frequently do have this issue, because they can busmaster at will, and those PCs did not have any memory protection from busmasters. More modern systems frequently do, in the form of advanced IOMMUs; serious workstations did even when 1394 was introduced. This feature is present mostly on AMD chipsets (Intel have restricted it to some server-oriented ones). USB before version 3 did not have this issue because devices could not be true bus masters; the CPU would have to set up all transfers, including what memory they access. Similarly DMA on the ISA bus actually did not let the unit doing DMA transfers select the memory address, the DMA controller did. I have not yet read the host controller specifications for USB 3, so I'm not sure if the controller itself must offer this protection - even if it doesn't, the bus mastering would surely have to be enabled by the OS.
But the fact you can access internet services such as Netflix without having to pay a monthly fee, to access data you are already paying for.
Funny you should mention this.. that's another thing they just did a reversal on.
I find the interesting thing is that last time I used fglrx drivers - which was quite a few years ago, maybe before AMD bought them - they exhibited this very behaviour on Xvideo. I'm rather curious what makes them decide that a simple buffer swap for the entire screen should be done by drawing it in little triangles (presumably a variant of tiled rendering, but it's a full buffer swap!) in an unsynchronised random order (well, roughly from the right to left - but why not display order, top to bottom?). Even when they did get vsync activated, it synced not to the vertical blank but about 1/9th into the screen - so you got a *guaranteed* horisontal tear in the same place instead of random jagged ones. That was all with just one monitor - when I ran two, some versions would synchronize to the wrong monitor. Meanwhile, the very new open source radeon driver support used a rock steady video overlay.
ATI proudly proclaimed their two-step release cycle back then. What we saw in reality was drivers getting released with alternating sets of bugs. Of course, support for something as plain as video playback wasn't a priority, so maybe there were improvements I didn't notice as much.
What fascinates me is not so much that they get issues when running on multiple monitors, but that the same weird artifacts keep popping up. It's not like modern graphics cards don't have the memory to use readout driven frame buffer base address swaps.
In all, I'd say the artifacts are not news worthy, but their longevity and recurrence are cause for shame.
Dotless names are used for local hosts (and frequently other shortcuts, like ssh aliases). Many systems use the dot to decide whether to do a global DNS lookup; if there aren't enough dots in there, the local domain gets appended. It's a lot like pathnames with the slash separator, where slash in front makes it an absolute path. What most people don't realise is that there are absolute DNS names too, which end with a period. If someone were to register the "search" top level domain, the URL would look like "http://search." Including the period. On