Slashdot Mirror


User: NekoXP

NekoXP's activity in the archive.

Stories
0
Comments
715
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 715

  1. Re:GCC compatibility on High Performance Linux Kernel Project — LinuxDNA · · Score: 4, Insightful

    Compilers shouldn't need to be compatible with each other; code should be written to standards (C99 or so) and Makefiles and configure scripts should weed out the options automatically.

  2. Re:Microsoft buys technology rather than develops on Microsoft Buys Motion-Detection Technology · · Score: 1

    Correcting you there: you can run Python on it, but .NET is not "like" Python and neither is .NET "like" Java..

    http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython

  3. Re:Why pretend these are ordinary disks? on Optimizing Linux Systems For Solid State Disks · · Score: 1

    Seems you didn't read the article either, or the parent. I was discussing the reason why SSD manufacturers aren't using special MTD drivers anymore, and the reason they don't is because wear-levelling generally gets done in the MTD driver if there is a simplistic flash controller behind it (although you could do it in the controller, that makes the

    The real problem is Linux uses CHS values (fake as they may be) in the block layer. Everywhere. And the partitioning tools do. And the RAID tools do by proxy.

    ext4 has absolutely no idea what the "natural" alignment of the disk blocks and how they fit in a "cylinder" is because there's no decent way to find out based on CHS values which are fixed up and hardcoded inside the block layer.

    You can find out how big a "physical" block is (512, 2048, 2352, 4096..), but 100% of available SSDs return 512 and a bunch of fake CHS all for compatibility's sake. CHS just doesn't work anymore and the compatibility means more fake CHS values are being implemented and dropped on top of the LBA addressing scheme.

    If Linux or any other OS had any way of finding out where the natural alignment stood then regardless of where the partition is created (thus moving the problem away from some userspace tools which all get updated independently) then the filesystem can be created to take advantage of that alignment.

    If the partition is created through "fake" CHS values then performance would suffer if the filesystem isn't aligned. This is the problem right now, filesystems assume that the start of the partition is naturally "cylinder" aligned. With a 128k erase block and CHS "cylinder" alignment with a 4k block size on the filesystem you could be pretty far away from well-aligned. If it knew that it had to align it's data structures then it doesn't have to make assumptions about the partitioning scheme. Let's be honest; there are more partitioning schemes than MBR. What about GPT or RDB? BSD slices?

    http://www.ipnom.com/FreeBSD-Man-Pages/fdisk.8.html

    I love this little snippet;

    If you hand craft your disk layout, please make sure that the FreeBSD slice starts on a cylinder boundary. A number of decisions made later may assume this. (This might not be necessary later.)

    So, it may be necessary or not. BSD slices are not naturally aligned - as defined - on cylinder boundaries, they use sector size only. Some tool such as fdisk tries to handle this for you. But the values the disk and the kernel pass back are just not realistic (255 heads, 63 cylinders...) and do not reflect ANY disk.

    Since you can't change the 255/63 value passed in by the disk or hardcoded in the block layer, plus cylinders and heads make zero sense on a flash drive (or a ramdisk or a virtualized block layer) why not a new ATA command set which reports the true natural alignment of the disk, with reasonable values which can be used to optimize performance, well away from the compatibility values, that the filesystem can get (as it gets the sector size) and rely on for the best performing filesystem on that media?

  4. Re:The cameras do nothing on A Surveillance Camera On Every Chicago Street Corner? · · Score: 1

    No, don't bitch about cameras and its invasion of privacy. You missed the point entirely WHILE agreeing with it.

    Bitch about the unaccountable government and law enforcement agencies and lobby for regulation to control the access and use of data.

    Cameras don't hurt anybody, just like taking a photo doesn't actually steal your soul.

  5. Re:The cameras do nothing on A Surveillance Camera On Every Chicago Street Corner? · · Score: 2, Insightful

    Public access only works if all the public watching aren't nutcases.

    Just imagine what public access surveillance would do to the "stalking industry", or people who prey on others (even such stuff as seeing who got a hell of a lot of money out of an ATM, or had a nice shiny car and is busy getting his eyes tested).

    It's probably best not to throw the entire thing out to the public.

    But it does basically throw up the accountability issue; the data and the people behind the data and using the data need to be regulated and accountable. The public is not regulated OR accountable.

    The problem with cameras right now is that cameras are AWESOME, but you got some lazy fat donut-munching wanker behind the desk with the little joystick, zooming in on some pair of tits instead of watching and acting on the mugging going on down the street. Or worse, a lazy fat donut-munching wanker who is taking bribes to "lose" footage when it's inconvenient.

  6. Re:Why pretend these are ordinary disks? on Optimizing Linux Systems For Solid State Disks · · Score: 4, Interesting

    Because Intel and the rest want to keep their wear-leveling algorithm and proprietary controller as much of a secret as possible so they can try to keep on top of the SSD market.

    Moving wear-levelling into the filesystem - especially an open source one - effectively also defeats the ability to change the low-level operation of the drive when it comes to each flash chip - and of course, having a filesystem and a special MTD driver for *every single SSD drive manufactured* when they change flash chips or tweak the controller, could get unwieldy.

    Backing them behind SATA is a wonderful idea, but this reliance on CHS values I think is what's killing it. Why is the Linux block subsystem still stuck in the 20MB hard-disk era like this?

  7. Re:Is it only linux? on Optimizing Linux Systems For Solid State Disks · · Score: 5, Insightful

    Yeah, hard disk manufacturers.

    Since they moved to large disks which require LBA, they've been fudging the CHS values returned by the drive to get the maximum size available to legacy operating systems. Since when did a disk have 63 heads? Never. It doesn't even make sense anymore when most hard disks are single platter (therefore having 1 or 2) and SSDs don't even have heads.

    What they need to do is define a new command structure for accurately determining the best structure on the disk - on an SSD this would report the erase block size or so, on a hard disk, how many sectors are in a cylinder, without fucking around with some legacy value designed in the 1980's.

  8. Re:Still too expensive... on Optimizing Linux Systems For Solid State Disks · · Score: 4, Informative

    > So why should I get a SSD vs. a CF card?

    10 times better performance and wear-leveling worth a crap.

  9. Re:Sorry to break this to you. on A Surveillance Camera On Every Chicago Street Corner? · · Score: 1

    Agreed about the lack of loss of freedom. Agreed about the waste of tax money.

    The problem with montoring a street full of shops is the people involved are about [---] this big on the camera which is not enough to discern an actual individual. You could say, there are 4 people raiding the shops.. they're wearing black hoodies.. that's about it.

    However you could make a case that if they added more cameras the cross-referencing becomes easier. 4 guys in hoodies is useless in the UK as a decription of a small gang of criminals - that would account for 20% of the jerks who walk through the town every day.

    But if they tracked everyone who parked nearby and took the license plate and watched them getting out... 50 minutes later when 4 guys in hoodies rob a shop, it's a pretty safe bet it's the same 4 guys in hoodies who got out of that car. And then got back into that car and drove away with some stolen goods :)

    The real problem is that when a small town gets a CCTV system they have one or two police offers assigned to watch it, the entire day is taped, and they're using their little jog shuttle and joystick to watch what is going on right then and there. There is no big effort to cross-reference or track or any automated heuristic detection system.

    When a crime happens one of these officers gets to sit behind - at worst, a tape deck and at best a PC with a DVD drive and a copy of Windows Media Player) and watch 9 hours of footage from each of 15 cameras.. it's quite obvious they prioritise other things and I am not sure any CCTV-monitoring police officer has the nous to work out theories on the route the criminals took, the most likely place they parked the getaway car, which camera might have gotten the best footage of their faces, and their license plate.

    If they did they wouldn't have been shoved on CCTV duty, they'd be in the CID..

    It may be that the Demolition Man-style automated monitoring system and global tracking of cars, faces and what clothes you're wearing on every camera image is exactly what will save our tax money, but nobody would dare implement it. What needs to be done is some computer flags that "a crime happened" - an alarm went off at some store on the high street - and then an officer reviews the captured data and can go back and pull out the data involved around that - based on the computer identifying 4 individuals at the crime scene and tracking back to the last time it saw 4 individuals in similar getup on the scene.

  10. Re:The cameras do nothing on A Surveillance Camera On Every Chicago Street Corner? · · Score: 4, Insightful

    That's because "high crime" is a statistic, the more crime reported or monitored, the higher it gets.

    Nobody should be worried about cameras on every corner unless they are a criminal worried about being caught in the act.

    To run around ranting that cameras invade privacy and erode civil liberties is fundamentally mis-targeted - it's not the cameras that invade privacy, and it's not within the function of a mere imaging device to erode your civil liberties.

    To say that a camera does this, implies that you're of the assumption that civil liberties exist to allow you to freely commit crimes, to take the risk if you will.
    The topic is right; "the cameras do nothing". They are passive. Put as many up as you like, I don't mind.

    What you have to be worried about is the repurposing of the data captured by the camera. This is entirely a "people problem" - people watching the cameras, people putting those images in databases, people cross-referencing that data in ways which DO invade privacy..

    However I cannot think of a single instance where the presence of a camera did any harm to anyone. I can think of several instances where while it may be disconcerting but really all they capture is ordinary life, something anyone can do with a camera phone (the current popular choice for catching a cop beating on some black guy or using excessive force). And if they are capturing criminal acts, well then the people behind the cameras can do their jobs. If they are corrupt, then maybe that footage will disappear; what there needs to be is accountability for the data and procedures in place, and THAT is the important thing.

    Let's stop whining about "cameras" and fix the corrupt law enforcement and data-selling practises that come with cameras.

  11. They may as well ahve just said... on Author's Guild Says Kindle's Text-To-Speech Software Illegal · · Score: 1

    FUCK THE PARTIALLY SIGHTED! FUCK THEM IN THE EAR!!!!!!!

    Because that's pretty much what it amounts to.

    I wonder what the difference is between reading a book on your computer with a screen reader software (if you're partially sighted for example or just don't want to burn your eyes out) and Kindle text-to-speech?

    Is Apple's text-to-speech illegal too? The Amiga narrator.device and translator.library, used to read out, say, a quote from a book? Text to speech goes back a hell of a long way in computers....

  12. Doesn't do anything if it's not for your OS... on The Broken Design of Microsoft's "Fix it" Tool · · Score: 1

    While you can download the FixIt on any OS (after all you may be grabbing it on a different machine, at work, at a library or so if your internet at home is down because of a problem you're trying to FixIt) if you run the FixIt application you got on the wrong OS.. it simply tells you the Fix is not meant for you. If it's already applied it silently churns away says, the fix is done and doesn't change a thing.

    Sniffing for user agents basically means you're restricting your fixes to systems which accurately report their OS to the webpage, which may not be true from another system, through certain proxies, using another web browser than IE, etc.

  13. Basically just a no-reverse-engineering clause? on CNN Uses P2P Video & Adds Terrible EULA · · Score: 1

    All it says is, while you may see exactly what's going on through means available to you like firewalls and antivirus programs, you are not allowed to look too hard through it because that's tantamount to working out how our P2P protocol works.

    I guess, you're not going to see a WireShark module for Octoshape protocol any time soon. Or maybe you will..

  14. Not so much planning... on Apple Planning Video-Call iPhone · · Score: 1

    How does this mean Apple are planning it?

    They've just shoved every idea into the patent so if anyone tries to go one better on the iPhone with a competitive product that DOES video conferencing, it will turn out they have to license the Apple Patent to do it. Apple wins!

    Which is the whole point of patenting it really. Apple won't allow video calling; it would cripple the carrier data networks. The same way they don't allow Skype; it would cripple the ability for the carrier to make money on calls. The only concession they have made is instant messaging rather than SMS, and given the cost of SMS these days (compared to AIM on an unlimited data plan) that's a seller for the phone (and any smart-ish phone that comes with some form of AIM or MSN client etc. - pretty much all of them since 2003 by my reckoning). But that's because instant messaging doesn't throw about half a megabit of data in both directions for a 30 minute stretch..

  15. Re:VM hacking? on Setting Up Ubuntu On a PS3 For Emulation · · Score: 1

    I wish someone WOULD create something like that :)

    There's nothing stopping you having a kernel with QEMU in it's initrd, booting it up and picking up a virtual hard disk installed in your "Other OS" partition. This may have Windows or something else on it, requiring x86. QEMU will happily emulate most processors on top of whatever host processor (ARM->x86, ARM->PPC, PPC->x86, x86->PPC, add MIPS and whatever else into the mix)

    It depends what you mean by "too slow". The PPU on the PS3 is pretty darn fast by any comparison, but obviously you're not going to get equivalent performance to a Core 2 Duo out of it. Would you be happy running Windows XP on a ~450MHz Pentium III? Because I think you could average out the performance to something like that.

    What would really suck is the lack of available memory. The PS3 has 256MB of memory and after setting up the simplest of framebuffers (albeit accelerated using DMA transfers from XDR to the GPU last I checked) you get ~200MB of "high performance" swap in the leftover video RAM to play with. With additional technology like CompCache (http://code.google.com/p/compcache) you can get some more data in there if you like, and of course disk-based swap is always an option, but you're still going to be limited to a very memory-limited environment inside the emulation based on the underlying hardware.

    Please, though, someone PLEASE go ahead and try this and see what can actually be done.. booting Windows XP on a PS3 would be pretty damn awesome by any standards, even if it is lacking in some obvious performance areas..

  16. Re:Your Reqs Are Too Specific, Try R or Octave on Open Source Software For Experimental Physics? · · Score: 1

    It's more likely he's just trolling than astroturfing. As for posting as AC, I do that all the time, it's usually because I'm too lazy to log in.

    Firefox, I can't agree with you. Not in the slightest. It crashes all the time on every platform I've run it on (Windows, Linux x86, Linux PPC, FreeBSD) and has some real annoyances like still using far too much memory (which causes horrible problems if you want to do something like LTSP).

    Right now I've come to prefer things like Arora (simplicity at its best) and I'm toying with the developer channel version of Chrome.. which also has it's bugs but they're getting fixed faster than Firefox's release strategy, and I'm getting my work done faster even in a beta browser.

    Am I most users? No. I actually watched the development of Mozilla for a number of years for the sheer morbidity of it, while they were completely rewriting their entire codebase (I was working on a browser project at the time, and we just completely rewrote ours too) and I must say the development process, the code, is just frightful. The closest thing to a decent web browser right now is Safari. If only they'd get rid of that godawful brushed metal dark-on-dark monstrosity of a UI on Windows I might actually use it..

    OpenOffice, I like, but it's really falling down because for an office package that supposedly usurps the Microsoft monopoly on Office software, it's not any smaller once it's installed (so, still bloat..) and half the features I'm used to in Office are missing. It's not really an alternative; and it suffers the same memory usage flaws of Firefox (something I can't imagine Microsoft Word managing to do, which is make my system start swapping like a lunatic). The development process is ridiculously slow and yet again the code and the people running it are frightful..

    So basically neither project does it any better than the alternative, which right now seems to be IE8 RC1 (which I find pleasing to use if jarring moving from browser to browser and losing 10% of my screen real estate to that awful toolbar) and Microsoft Office 2007, which you can now run in a web browser too, if you can find one that doesn't suck :)

  17. Re:Your Reqs Are Too Specific, Try R or Octave on Open Source Software For Experimental Physics? · · Score: 1

    The great thing about buying commercial hardware and software like this is once you have it, you have it.

    And then it becomes part of LAST YEAR'S grant budget, and therefore becomes absolutely free :)

  18. Re:Your Reqs Are Too Specific, Try R or Octave on Open Source Software For Experimental Physics? · · Score: 0, Flamebait

    He doesn't have to be a Microsoft-loving weenie, he just has to be a Firefox or OO.o user to think that.

    I really thought the whole "if you don't like it then YOU MUST LOVE BILL GATES AND MICRO$UCK!!!!! LOLOLOL" attitude had died away at Slashdot, too, but you seem to be keeping it alive and well. And you've brought back the paranoia that everything that's related to a bad comment about Linux is somehow officially sanctioned and a direct marketing or political ploy engineered by Microsoft itself..

    Congratulations, man.

  19. Same as Vista on Windows 7 To Come In Multiple Versions · · Score: 1

    They're NOT confusing, if you consider Vista has exactly the same SKUs.

    Starter Edition is basically for India and South America and such. It's basically crippled - you can only run a certain number of GUI apps at once, get 1GB of memory maximum, no ability to run servers (it won't accept incoming connections so you're limited to passive web browsing) and won't run on "high end" processors (tops out on non-HT Pentium 4).

    I got that from the bloody Wikipedia article and plenty of press releases for it are abound. I can't believe anyone could be so confused when they have Google :D

  20. AT LAST on Ubuntu Mobile Looks At Qt As GNOME Alternative · · Score: 3, Insightful

    Hoo-fucking-ray!

    At last some common sense..

    Qt outstrips GTK/GNOME just as a GUI toolkit and a bunch of middleware, even before you start thinking about stuff like KDE.

    The only thing stopping it's use - at least in the strange mix of preinstalled Linux distributions on standard hardware - was that weird problem of having to have every one of your developers buy a license just to run their app - on a Dell for example - if their license was even slightly incompatible. That was a real turn-off if you were a hardware company wanting to take advantage of open source and build communities around open source software.

    I'm glad that so soon after Nokia announced the LGPL relicensing, people are taking notice of what is quite obviously a far superior middleware solution than the GTK/GNOME nightmare, and considering developing solutions that work because of code quality and wealth of features, and not *just* because it's GPL.

  21. Re:Stupid ruling on EC Considering Removing Internet Explorer From Windows · · Score: 1

    > Wait, you're computer savvy enough to know how to buy hardware and OS separately
    > and install the OS and get the drivers working, but you're not smart enough to
    > burn your browser of choice onto a disk before starting this process?

    I am smart enough, I don't know about anyone else, though. I know people who have upgraded to Vista by buying a Retail box for their existing system, and installed that. Or bought a new OS because they lost the OEM restore CDs for their existing system, and it died and needed a reinstall (and lost their only computer for that time).

    The simple fact of it is that without a web browser you're basically removing the ability for users to install the OS (be it from OEM restore CD, recovery partition or Retail box copy) and then get instant access to drivers, updates and of course the web browser itself (and a media player, and a messenger client..).

    And simply enough, I don't think people should REQUIRE a separate CD for Windows to give it a browser. I don't need it for MacOS X, or Linux.. hell even my mobile phone has a goddamned browser by default.

  22. Stupid ruling on EC Considering Removing Internet Explorer From Windows · · Score: 1

    Let's look at this logically. You buy a laptop from Dell or HP or Asus, and it comes preinstalled with Windows. Dell or HP or Asus have seen fit to include Firefox, Opera, Chrome or even Internet Explorer (as an add-on) so you can get onto the internet right away.

    However, when you buy an OEM (with hard disk or motherboard) or retail copy (at Best Buy or so) of Windows, you get just Windows under this new ruling. How do you get out to the internet to download a new web browser like Opera, Firefox or Chrome?

    Removing Windows Media Player is fair enough; you can live without a media player built in to the OS. You can go and download any one you choose online, because the OS came with a web browser. Removing tools like email clients, messenger clients etc. is fair enough, because you can go get them with a web browser.

    But removing the web browser? It's impractical and requires end users to go through cruel and unusual steps (like finding another PC to download Firefox on, or ordering a copy of Firefox on CD (which you need an internet connection and web browser to do) or going all the way to a PC store to get a copy if they so do them..

    Probably what Microsoft will end up doing is bundling OEM/Retail Windows copies with an Internet Explorer CD, or putting it in the "addons" directory of the DVD or something, which kind of defeats the object of the ruling at all, since you're required to install it to get any other web browser anyway..

  23. QtScript on Building Linux Applications With JavaScript · · Score: 1

    Hasn't KDE had this feature since the dark ages? :D

  24. Re:Not just A on How Best To Deal With WiFi Interference? · · Score: 1

    > No, it's the OS developers who are guilty of incorrectly displaying
    > Mebi/Gibi/Bytes as Mega/Giga/Bytes.

    No, it's not, because hard disks sizes have NOT been around since before than the most common operating systems and software environments (such as DOS etc. popping up and calculating disk size divided by 1024) AND the relatively new (2005-2008) IEC standards for specifying binary measurement prefixes.

    The article explains it well enough; when your disk was 20MB, the extra few hundred bytes did not matter.

    When your disk is "200GB" and every OS written before 2 years ago says "195GB", and this cannot be put down to the old adage of "well, formatted capacity is less than disk capacity" bullshit excuse (not even the worst filesystem ever would drop that much of of the disk space) or anything else but boldfaced cheek.

    Of course your view of it is entirely revisionist, in that somehow a special new naming methodology that hadn't been standardized is NOW used which exonerates them for all the mislabeling in the past.

    > Right. Fault lies with the OS, not the hard drive. The only thing that's really
    > measured in binary bytes these days is memory space. Everything else is measured
    > decimally. Do you complain that network speeds are measured in decimal bytes?

    Network speeds are defined in decimal - 100Mbit is 100,000,000 bits. This is defined by the amount of bandwidth available and the encoding on the wire.

    Hard disk manufacturers were expected to specify the disk size in terms of how you will see this size in the applications you're meant to use it, if they are marketing to people who are using these applications. It's a simple matter of applied marketing; but the hard disk manufacturers were sued, and settled exactly because they could not hide behind "engineering" to explain why the advertised values differed, and they could not explain WHY they did not clarify it on the packaging or specification sheets of the products.

    Using "engineering" and "maths" in order to justify that the disk actually WAS "100GB" in reality and not "97GiB but marked as GB as every app made since disks were used and it's not our fault the software designed in the last 25 years was ALL buggy" - that's facetious at best. You cannot expect the unwashed public to know anything about the difference. In this, the hard disk manufacturers put their foot in it which is why they settled. They should have changed the packaging, specifications and lobbied software developers to reflect the reality, and it took a class-action lawsuit to make the do it.

    It is the disk maker's responsibility to make sure the products are well labeled and not marketed in a misleading way. The status quo was, operating systems listed GiB as GB for a very very long time, and the hard disk manufacturers exploited that fact by labeling their disks as GB and making excuses like "formatted capacity is lower". They did not say "Windows counts its disk sizes differently than the way we calculate it". They did not list it in GiB and GB to clarify the difference. They just kept the biggest number and got caught out.

    Hence, big fat lie.

  25. Re:Not just A on How Best To Deal With WiFi Interference? · · Score: 1

    http://apcmag.com/seagate_settles_class_action_cash_back_over_misleading_hard_drive_capacities.htm

    All manufacturers clearly state the units they are using NOW, however none of them lists BOTH sizes and none of them clearly state what the relationship this might be to the sizes listed in popular operating systems.

    Windows until Vista and 7 happily displayed size/some-base-2-number as Gigabytes, which always meant the disk you bought that was "100GB" actually turned out to be "98GB" or so. Hard disk manufacturers are absolutely guilty of manipulating their product marketing such that you buy one size disk and get it home to reveal it's lower than expected.

    Imagine if you clicked Properties on a folder and found it was "100GB" in Windows. You might go out and buy a 100GB disk to back it up. Obviously this would never have worked and you'd be a few files short of backing it up totally. Who would have known, if not an engineer or technician or software developer or worked in professional IT support?

    USB 3.0 is going to suffer the same thing because of the 8b10 encoding (which means that the bandwidth is actually 4/5ths of the speed it says on the box, even before packet header overhead; http://articles.techrepublic.com.com/5100-10878_11-1056753.html)

    I've seen some articles on, for instance, the Seagate website which explain that the value is the "fastest speed at which the drive can send data across the cable (or bus) from the drive buffer" which is not an outright lie, but does move into the realms of blurring and misinformation;

    http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=External_Drive_Troubleshooter_-_Performance_Issues_-_My_drive_is_slow&vgnextoid=33434a3cdde5c010VgnVCM100000dd04090aRCRD