Slashdot Mirror


User: ultrabot

ultrabot's activity in the archive.

Stories
0
Comments
1,078
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,078

  1. Re:Android on Symbian Introduces Open Source Release Plan · · Score: 1

    So open-sourcing might make it possible to re-implement the horrible part, while leaving the user-interface intact, and hopefully also allowing backwards-compatibility.

    This is what Nokia is doing with Qt for S60.

  2. Re:Big news for Symbian developers! on Symbian Introduces Open Source Release Plan · · Score: 1

    Yes, descriptors take a while to get used to, but perhaps you should read up about why they are there in the first place before writing them off?

    Descriptors are there because Symbian wanted to provide a string class with bounds checking and unicode support.

    Woohey. It wouldn't have been necessary to make them suck so much.

    Google for the different types of ROM memory phones use and the performance characteristics of each.

    Care to enlighten us how these things are related in any way to Symbian OS?

  3. Re:How about ramdisks? on Can SSDs Be Used For Software Development? · · Score: 1

    The problem discussed was wear leveling, and the whole point was to avoid disk writes.

    % man 2 sync

      % man 8 update

    You can stop reading when you start to realize the connection between file system caching and avoiding disk writes. It's kindof the whole point, you see.

    Have you ever kissed a girl?

  4. Re:I've been doing just this on Can SSDs Be Used For Software Development? · · Score: 1

    Speaking of which, the single best thing you could do to prolong the life of the SSD -or- improve the performance of the hard drive is to switch to a better version control system, like Mercurial for instance. Subversion stores about 8 files average per file you have version controlled. It also updates these files a lot. It's really a pig.

    Mercurial is really the way to go here, whether on SSD or not.

    Mercurial stores the full project history on disk, so it may be a bit expensive.

    However, mercurial also operates in fashion where it only appends to repo files (?), which should be pretty close to ideal operation in flash environment.

  5. Re:How about ramdisks? on Can SSDs Be Used For Software Development? · · Score: 1

    How about writing it to a ramdisk, and additionally writing transparently storing it to disc, just in case the power gets turned of.

    I will call this complex scheme "caching".

    Your sarcasm would be appreciated if it was related to discussion at hand.

    The problem discussed was wear leveling, and the whole point was to avoid disk writes.

  6. Re:should be fine on Can SSDs Be Used For Software Development? · · Score: 1

    If you make insertions or deletions, the following data will be shifted.

    My point was that no editor does insertions or deletions. They always write out the whole file. Editors really have no idea how a file was "edited" unless they do a diff vs. the old file, which I don't think is used in practice.

    Some editors may open, truncate and write out the same file (which is a bit unsafe), while some create & write a new file, move over the old one and rename the new file as the old one.

  7. Re:How about ramdisks? on Can SSDs Be Used For Software Development? · · Score: 1

    Can't you just instruct your compiler to place temporary files in /tmp, and make that a tmpfs?

    There is no catch-all way to do this. For example, often the object files are "fixed" to appear at certain place by whatever build system is being used.

    If build descriptions were just a list of "compile these files, producing these target files", there would be more leevay to easily tweak the details. Unfortunately, build systems are a mess.

  8. Re:Get an enterprise drive (SLC, not MLC) on Can SSDs Be Used For Software Development? · · Score: 1

    Actually now I'm thinking that you were saying you'd have to overwrite the block containing modified bytes. However, there's still no advantage to using multiple files in that case: the entire flash block has to be overwritten anyway to change any part of it.

    The good side about multiple files (over a database) is that you can just keep appending to the files if it makes sense for your application. If a file has its own block, you don't need to erase at all, but just append data to the block. This minimizes the amount of erase cycles.

  9. Re:Get an enterprise drive (SLC, not MLC) on Can SSDs Be Used For Software Development? · · Score: 1

    The database is often in one (compact) file, and if you are editing just one byte of it you will have to erase & rewrite an entire flash block when you commit your data.

    Only if you buy a crappy flash drive with a crappy controller. The good ones are worth the extra money.

    Care to explain how they do it? Any good links?

  10. Re:Get an enterprise drive (SLC, not MLC) on Can SSDs Be Used For Software Development? · · Score: 1

    Not so compact as you seem to think. Delete a record from the top of a multi-gigabyte database and I guarantee you the database won't be completely overwritten to collapse the gap.

    Of course not. Nothing does that. I meant that the database file format is rather compact compared to sparse ways of storing the data (e.g. different files on a file system). You will see integer fields next to each other, etc.

  11. Re:Developers should use *slow* machines on Can SSDs Be Used For Software Development? · · Score: 4, Informative

    That way it'll encourage them to write efficient implementations.

    Actually, the opposite is true.

    If development is painful (which it is, if your workflow is hampered by slow builds), you will produce crappier code. It's all about retaining focus & flow. Sad thing is, compilation still takes too long; you can still check your gmail or refresh slashdot.

    How many of you are reading this article while automake is checking the version of your fortran compiler in order to run gcc on a .c file?

  12. Re:Get an enterprise drive (SLC, not MLC) on Can SSDs Be Used For Software Development? · · Score: 1

    Database edits don't propagate through the database the way a code edit propagates through the files in your project.

    The database is often in one (compact) file, and if you are editing just one byte of it you will have to erase & rewrite an entire flash block when you commit your data.

    To my mind, database seems like a horrible application for flash write patterns. Anything that can work by just appending & creating files is a much friendlier environment.

    Does anyone know if any existing database optimizes for flash write patterns? Do the commit journals take care of this problem?

    In addition to the source code itself, object files, dlls, and executables will probably have to be re-written if you change a source code file.

    Object code is pretty small & tight. The entire linux kernel w/ initrd image is 8 megs...

  13. Re:should be fine on Can SSDs Be Used For Software Development? · · Score: 1

    It's not as simple as that. Make a small change (insertion or deletion) near the beginning of a large source code file, and the entire file – from the edit onward – must be written over.

    It's not like any normal editor actually opens the file in edit mode and only patches in bytes that have been modified. They all rely on the simple solution of actually writing the whole file at once.

  14. How about ramdisks? on Can SSDs Be Used For Software Development? · · Score: 2, Interesting

    Sometimes I wonder whether it would make sense to optimize the disk usage for flash drives by writing transient files to ramdisk instead of hard disk. E.g. in compilation, intermediate files could well reside on ramdisk. If you rely on "make clean" a lot (e.g. when you are rebuilding "clean" .debs all the time), you won't have that much attachment to your object files.

    Of course this may require more work than what it's really worth, but it's a thought.

  15. Botnet on Collaborative Map-Reduce In the Browser · · Score: 3, Insightful

    Imagine how much *spam* you could send using this approach.

    No, wait...

  16. Re:Flash has wonderful Linux support, I suppose on Portugal's Vortalgate — No Microsoft, No Bidding · · Score: 1

    If developers choose to use a MS only product, that's not MS's fault.

    Yeah, and it's the developers that mostly get the blame anyway.

    C.f. all the flaming around mono.

  17. Re:null or not null, that is the question on Null References, the Billion Dollar Mistake · · Score: 1

    He accused me of being an imbecile, that wasn't a legitimate MAC address. I asked him why he hadn't brought this up in any of the weekly meetings for a month, since it was there all along. Hung up on me. I took some time to creat some interesting LAAs for the various minor servers we had, especially the Internet gateway/proxy, and the email server. He was not amused, but his boss was. And told me to stop annoying him.

    Lound like a real-life BOFH story. Not that there is necessarily anything wrong with that ;-).

  18. Vote on Volt Asks Temps To 'Vote" For Microsoft Pay Cut · · Score: 3, Insightful

    "Voting" is a rather hilarious newspeak term for acceptance of a pay cut.

    Not that I see anything particularly wrong with this approach. I find it pretty absurd that a company should be "stuck" with the contract rates it offers. And considering how big salaries in USA are, it's a small miracle that they still manage to make a profit.

  19. Re:Yet another case of government getting in the w on Sun's McNealy Wants Obama to Push Open Source · · Score: 1

    Let the techies choose technology, not the bureaucrats.

    The bureaucrats and managers almost always make the major strategic technical decisions. And that's the way it's supposed to be, since they are accountable for the money spent now and in the future.

    Government is using taxpayer money, which makes the issue even more important. Incompetent techies can easily overspend, merely on grounds of being familiar with some technology or attending a corruption lunch.

  20. Re:Man... Scott McNeally on Sun's McNealy Wants Obama to Push Open Source · · Score: 1

    My point is that I would be happyest if some LINUX company would lead that kind of lobby effort and not some guy that only wants his company to come back from the dead.

    I smell treachery.

    Huh? Widespread use of open technologies benefits Sun, and the open source community. It's not like Sun's self-interest in this wasn't obvious, but as long as we are sharing the same interests, it's all good.

  21. Re:ath5k wireless drivers on 8.10's array kernel on Which Distro For an Eee PC? · · Score: 1

    With my 900, i've had no issues using the ath5k drivers compared to the ndiswrapper method or the older madwifi drivers.

    I've posted an update to the repository from the upstream ath5k developers. This is currently available as 2.6.27-11-eeepc

    You may install this version by hand to test, as its not being pushed out automatically yet.

    $ sudo apt-get install linux-image-2.6.27-11-eeepc

    -Adam

    Belated response:

    I tried your updated kernel, but still had connection problems on ath5k. Overall performance of the computer was better than with ndiswrapper, but wlan was again very slow. I reverted back to ndiswrapper (with the new kernel though).

  22. Re:Pretty eyes on Red Hat Returns To the Linux Desktop · · Score: 1

    I don't wanna sound like a queer or nothing, but Steven J. Vaughan-Nichols, Cyber Cynic, has striking green eyes. I wonder if he did that with Photoshop?

    Offtopic? The article was written by Steven J. Vaughan-Nichols, Cyber Cynic! Did you even RTFA, mods? I didn't think so.

    Now you're giving me a headache!

    That's because there is no "-1, gay" moderation option (I know, I had the points today and checked).

  23. Ubuntu 8.10 on Which Distro For an Eee PC? · · Score: 1

    Ubuntu 8.10 + array.org kernel is just fine.

    At least on eee pc 900 you still need to use ndiswrapper for wlan - even if it would appear that the native drivers work, they don't. The connection is slower and breaks easier with them.

  24. Re:Agreed .. But equally important is ... on Optimizing Linux Systems For Solid State Disks · · Score: 2, Informative

    However, for
    many of us who require better-than-average data security, the matter of SSD's read/write behaviour makes the devices extremely vulnerable to analyses and discovery of data the owner/author of which believes to be inaccessible to others: 'secure wiping', or lack thereof, is the issue.

    Obviously you should be encrypting your sensitive data.

    Also, it should be no problem to write a bootable cd/usb that does a complete wipe. Just write over the whole disk, erase, repeat. No wear leveling will get around that.

  25. Re:Opening will only degrade on Ballmer Pleads For Openness To Compete With Apple · · Score: 1

    Apple's strict control is what makes so user friendly. Forcing developers to work with in strict guide lines keeps the quality of the software up there, but limits the amount of software available. Apple's control extends to the hardware. Even their BIOS is proprietary. By controlling the hardware everything works. Microsoft can only dream of having this kind of control over their product. Opening Apple's products will only degrade them.

    Yeah, we have already seen what kind of damage an open software ecosystem creates. Multiple applications doing the same thing, multiple libraries and (god fordib) programming languages are being used in haphazard fashion.